/* GALLERY */
#mainphotoarea {
	position: relative;
	display: block;
	clear: both;
	margin-top: 40px; 
	text-align: center;
	vertical-align:top;
	width: 950px;
	
}

#photo {
	position: relative;
	display: inline;
	float: left; 
	padding-top: 10px;
	padding-bottom: 10px;
	/* height: 533px;
	min-height: 533px; */
	
}

.mainphoto {
	position: relative;
	display: inline;
	float: left;
	
}

.thumbnail {
	padding-right: 3px; 
	cursor: pointer; 
	
}

.seriesimage {
	opacity: 0.5;
}

.seriesimage:hover {
	opacity: 1;
}

#seriesthumbnails{
	position: relative;
	display: inline-block;
	top: 10px; 
	width: 150px; 
	
}

.seriesthumbnail{
	position: relative;
	display: block;
	cursor: pointer;
	padding-left: 10px; 
	padding-right: 10px; 
	padding-bottom: 10px; 
	padding-top: 30px; 
	
}


#frmSeries{
	display: none;
}

.seriesthumbcell {
	position: relative; 
	display: block;
	text-align: left;
	padding-bottom: 30px; 
	cursor: pointer; 
	
}

.photospace {
	padding-left: 0px;
	padding-right: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
	width: 800px;
	
}

#select_series_DELETE {
	position: relative; 
	display: inline;
	float: left;
	text-align: left;
	width: 150px;
}
#select_series {
	/* vertical-align: middle; */
}
#photoinfo {
	position: relative;
	display: inline; 
	text-align: left;
	
}

.photodesc {
	display: inline; 
	font-weight: bold;
	
}

.photodesc_untitled {
	display: inline; 
	font-style: italic;
	font-weight: normal;
	
}

#photoinfotable {
	position: relative;
	display: block;
	left: 150px; 
	float: left;
	clear: both;
	width: 800px;
	max-width: 800px; 
	min-height: 185px; 
	text-align: left;
	
}

#thumbnailwrapper {
	width: 800px;
	max-width: 800px; 
	overflow: scroll;
	padding-top: 10px; 
	
}

#navbar {
	position: relative;
	display: block;
	float: left;
	width: 50%; 
	z-index:3;
	padding-top: 8px; 
	padding-bottom: 15px; 
	left: 150px; 
	
}

#navLeft {
	display: inline-block;
	float_DELETE: left;
	cursor: pointer;
	
}

#navRight {
	display: inline-block;
	float_DELETE: right;
	cursor: pointer;
	
}

#showstatement {
	cursor: pointer;
	font-style: italic;
	color: #999999;
	text-decoration: none;
	
}

#seriesstatement {
	display: none;
	
}

/* END ORIGINAL ITEMS  */

.series_wrapper {
	border: 1px solid #f00;
	
}

.gallery_image_wrapper {
	/* border: var(--border-light); */
	border: 1px solid #555;
	width: fit-content;
	height: fit-content;
	/* max-height: 600px; */
	margin-bottom: 10px;
}

.image_tn { 
	min-width: 150px;
	max-width: 250px;
	/* border: 1px solid #c0c0c0; */
}
.image_tn_wrapper {
	/* border: 1px solid #00f; */
	/* padding: 10px 5px 10px 5px; */
	vertical-align: top;
}

.series_wrapper_div {
	display: inline-block;
	width: fit-content;
	cursor: pointer;
	
}
.image_list_item {
	padding-right: 20px;
}
.series_link_header {
	font-weight: bold;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
.series_link {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
#photo_viewer_wrapper {
	width: 100%;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}
#photo_viewer {
	margin-left: auto;
	margin-right: auto;
	/* background-image: url('../images/loading_image.png'); */
}
#current_photo {
	width: 100%;
	max-width: 100%;
	padding-bottom: 15px;
	margin-left: auto;
	margin-right: auto;
	max-height: var(--gallary-photo-height);
}

.nav_arrow, .gallery_view {
	
}

.nav_arrow_enabled, .nav_arrow_disabled {
	font-size: 2.0em;
	font-weight: 900;
	height: 2.0em;
	color: #ff0;
	max-width: 70px;
	max-height: 30px;
	
}
.nav_arrow_enabled {
	cursor: pointer;	
}
.nav_arrow_disabled {
	cursor: normal;
}

#image_nav_wrapper {
	margin: 0px auto 20px auto;
	text-align: center;
}
.series_photo {
	width: 100%;
	max-width: 100%;
	position: absolute;
	display: none;
	
}
#series_list {
	text-align: center;
}
a.FullScreen {
	color: #777;
	
}

.gallery_view_icon {
	padding: 0px 10px 0px 10px;
}

#fullscreen_wrapper.popup_wrapper {
	display: block;
	position: fixed;
	top: 20px;
	left: 20px;
	/* right: 20px;
	bottom: 20px; */
	width: 95%;
	width: calc(100% - 40px);
	height: calc(100% - 40px);
	vertical-align: middle;	
	margin-left: auto;
	margin-right: auto;
	background-color: var(--background-color);
	/* background-color: #f00; */
}

#fullscreen_popup {
	display: flex;
	position: relative;
	vertical-align: middle;
	/* height: 100%; */
	/* width: 100%; */
	max-height: 100%;
	/* max-height: calc(100% - 20px); */
	max-width: 100%;
	/* max-width: calc(100% - 40px); */
	padding: 10px;
	/* background-color: var(--background-color); */
    
}

#image_fullscreen {
	display: block;
	position: relative;
	/* max-height: 100%; */
	max-height: calc(100vh - 60px);
	max-width: 100%;
	vertical-align: middle;
	margin-left: auto;
	margin-right: auto;
}

#fullscreen_logo_wrapper, #grid_view_wrapper {
	display: inline-block;
	vertical-align: middle;
	
}
#fullscreen_logo, #grid_view_logo {
	/* display: inline-block; */
	display: none;
	position:relative;
	float:right; 
	cursor:pointer; 
	height: 25px;
	
}

#fullscreen_logo_Nav {
	display: inline-block;
	position:relative;
	cursor:pointer; 
	
}

#FSLinkText {
	display: inline;
}

#image_status {
	/* color: var(--color-warning); */
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	font-size: 0.9em;
	
}

fieldset.show_info {
	border: var(--border-med);
	padding: 0px 5px 3px 5px;
	margin: 10px 0px 10px 0px;
	color: #999;
	background-color: var(--background-color-darker);
	font-size: 0.9em;
}
legend.show_info {
	font-size: 1.0em;
	color: var(--color-med);
	background-color: var(--background-color-darker);
}
.photo_info_header {
	font-weight: bold;
}
.photo_info_header_title, .series_info_header_title {
	color: var(--color-med);
	font-weight: bold;
}