div#photo_dialog_background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #FFFFFFee;
	-webkit-backdrop-filter: blur(30px);
	backdrop-filter: blur(30px);
}
div#photo_pos, div#photo_pos a { color: #222; }
div#photo_pos a { opacity: 0.6; transition: 0.3s; text-decoration: none; }
div#photo_pos a:hover { opacity: 1; }

div#photo_pos {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
div#photo_dialog_area {
	position: relative;
	margin: 0 auto;
	overflow: hidden;
	width: 100%;
	height: 100%;
}
h1#photo_title_area {}
div#photo_description_area {
	position: absolute;
	top: 0px;
	left: 60px;
	max-width: calc(100% - 320px);
	background-color: rgba(255,255,255,0.7);
}
div#photo_counter_area {
	position: absolute;
	bottom: 10px;
	left: 10px;
	background-color: rgba(255,255,255,0.7);
}
div#photo_close_area {
	position: absolute;
	top: 10px;
	right: 18px;
	z-index: 25;
	display: flex;
	flex-direction: row-reverse;
}
#photo_close_area a {
	display: block;
	width: 65px;
	height: 64px;
	line-height: 33px;
	border: 5px solid;
	border-radius: 50%;
	box-sizing: border-box;
	overflow: hidden;
	margin-left: 1rem;
	position: relative;
}
#photo_close_area a::before,
#photo_close_area a::after {
	display: block;
	width: 37px;
	height: 37px;
	text-align: center;
	font-size: 44px;
	font-weight: bold;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	padding: 0;
	margin: 0;
}
#photo_close_area a#pg_slideshow::after { content: "\25B6"; }
#photo_close_area a#pg_slideshow.photo_slideshowPauseButton::after { content: "\25A0"; line-height: 22px; }
#photo_close_area a.photo_downloadButton::after { content: "\2913"; }
#photo_close_area a.photo_fullSizeButton::after { content: "\21F1"; transform: translate(-50%,-50%) rotate(90deg); }

#photo_close_area a.photo_closeButton::before, #photo_close_area a.photo_closeButton::after { content: ""; height: 0; width: 45px; border-bottom: 5px solid; }
#photo_close_area a.photo_closeButton::before { transform: translate(-50%,-50%) rotate(45deg);}
#photo_close_area a.photo_closeButton::after { transform: translate(-50%,-50%) rotate(-45deg);}

div#photo_pred_area,
div#photo_next_area {
	z-index: 24;
	position: absolute;
	top: 0px;
	width: 26px;
	height: 100%;
}
div#photo_pred_area {left: 30px;}
div#photo_next_area {right: 30px;}

a.photo_pred, a.photo_next {
	display: block;
	width: 48px;
	height: 48px;
	position: absolute;
	border-radius: 3px;
	border-left: 5px solid;
	border-top: 5px solid;
	top: 0;
	bottom: 0;
	margin: auto;
	opacity: 0.7;
}
a.photo_pred { transform: rotate(-45deg); left: 0; }
a.photo_next { transform: rotate(135deg); right: 0; }


a.photo_closeButton {background-position: 0 -178px;}
a:hover.photo_closeButton {background-position: -26px -178px;}
a.photo_slideshowPlayButton {background-position: 0 -256px;}
a:hover.photo_slideshowPlayButton {background-position: -26px -256px;}
a.photo_slideshowPauseButton {background-position: 0 -204px;}
a:hover.photo_slideshowPauseButton {background-position: -26px -204px;}
a.photo_downloadButton {background-position: 0 -230px;}
a:hover.photo_downloadButton {background-position: -26px -230px;}
a.photo_fullSizeButton {background-position: 0 -152px;}
a:hover.photo_fullSizeButton {background-position: -26px -152px;}

div#photo_image_area {
	position: relative;
	margin: 0 auto 0 auto;
	width: 100%;
	height: 100%;
	padding: 0;
	box-sizing: border-box;
	background-repeat: no-repeat;
	overflow: hidden;
}
div#photo_image_area div {
	position: absolute;
	display: block;
	top: 76px;
	bottom: 20px;
	left: 70px;
	right: 70px;
	margin: 0;
	padding: 0;
}
img#photo_loader {
	display: block;
	position: relative;
	margin: 0 auto 0 auto;
	top: 50%;
}
img#photo_image {
	display: none;
	margin: auto;
	max-width: 100%;
	max-height: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

.lb {
	cursor: pointer;
}

@media(max-width:1024px) {
	div#photo_close_area { right: 8px; }
	#photo_close_area a {
		width: 32px;
		height: 32px;
		border-width: 3px;
		line-height: 15px;
	}
	#photo_close_area a.photo_closeButton::before, #photo_close_area a.photo_closeButton::after {
		width: 22px;
		border-width: 3px;
	}
	#photo_close_area a::before, #photo_close_area a::after {
		width: 18px;
		height: 18px;
		font-size: 22px;
	}
	div#photo_image_area div {
		top: 46px;
		bottom: 10px;
		left: 50px;
		right: 50px;
	}
	a.photo_pred, a.photo_next {
		width: 24px;
		height: 24px;
		border-width: 3px;
	}
	div#photo_next_area {right: 10px;}
	div#photo_pred_area {left: 10px;}
	div#photo_description_area { left: 10px; }

	div#photo_description_area {
		left: 10px;
		max-width: calc(100% - 160px);
	}

}
