/*imageViewer*/
#imageViewer {
	display: none;
	position: fixed;
	z-index: 70;
	width: 100%;
	height: 100vh;
	top: 0;
	left: 0;
	opacity: 0.0;
	transition: all 0.3s;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
#imageViewer[data-open="true"]{
	display: block;
}
#imageViewer[data-open="true"][data-efx="true"] {
	opacity: 1.0;
}
	#imageViewer[data-efx=""] .im {
		opacity: 0.0;
		transform: scale(1.1);
		filter: blur(2em);
	}
#imageViewer figure {
	width: 100%;
	height: 100vh;
	position: relative;
	background-color: rgba(0, 0, 0, 1.0);
	display: table;
}
#imageViewer .imwrap {
	width: 100%;
	height: 100vh;
	position: relative;
	z-index: 0;
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	overflow: hidden;
}
#imageViewer .imwrap .im {
	opacity: 1.0;
}
#imageViewer[data-efx="true"] .im {
	transform: scale(1.0);
	filter: blur(0);
	transition: all 0.3s;
}
#imageViewer[data-dir="wide"] .imwrap .im {
	max-width: 100vw;
	height: auto;
}
#imageViewer[data-dir="tall"] .imwrap .im {
	max-height: 100vh;
	width: auto;
}
#imageViewer figure {
	text-shadow: 0 0px 3px #000;
}
#imageViewer figure figcaption {
	display: block;
	position: fixed;
	z-index: 5;
	bottom: 5em;
	left: 0;
	padding: 0 2.5em;
	color: #fff;
	max-width: 740px;
}
#imageViewer figure figcaption > * {
	/*shadow margin*/
	padding: 0.1em;
}
#imageViewer figure figcaption .maincaption {
	line-height: 1.6em;
	font-size: 1.6em;
	font-weight: 600;
	margin-bottom: 0.5em;
	overflow-x: hidden;
	max-width: 100%;
}
#imageViewer figure figcaption .subcaption {
	line-height: 1.8em;
	font-size: 0.9em;
	font-weight: 500;
	opacity: 1.0;
	overflow: auto;
	display: block;
	max-width: 100%;
	max-height: 28vh;
	word-break: break-all;
	white-space: pre-line;
}
#imageViewer figure figcaption .subcaption::-webkit-scrollbar {
	width: 6px;
	height: 10px;
	background-color: rgba(0, 0, 0, 0);
}
#imageViewer figure figcaption .subcaption::-webkit-scrollbar-thumb {
	border-radius: 6px;
	background-color: rgba(255, 255, 255, 0.31);
	border: 1px solid rgba(255, 255, 255, 0.28);
}
@media only screen and (max-width: 800px){
	#imageViewer figure figcaption {
		font-size: 3.2vw;
	}
	#imageViewer figure figcaption .subcaption {
		max-height: 15vh;
	}
}

#imageViewer[data-loading="true"] {
	
}
	#imageViewer[data-loading="true"]::before {
		content: "";
		display: block;
		position: absolute;
		z-index: 10;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		background-repeat: no-repeat;
		background-image: url(/share/im/prl_spinpulsate-wh.png);
		background-position: center center;
		background-size: 4em auto;
	}
	#imageViewer[data-open="true"][data-loading="true"] .im {
		opacity: 0.0;
		transform: scale(1.1);
		filter: blur(2em);
	}

#imageViewer a.closer {
	width: 9vw;
	height: 9vw;
	top: 4vw;
	right: 4vw;
}
#imageViewer a.downloader {
	position: absolute;
	z-index: 10;
	width: 9vw;
	height: 9vw;
	top: 4vw;
	right: 17vw;
	display: none;
}
#imageViewer[data-download="true"] a.downloader {
	display: inline-block;
}
#imageViewer a.downloader::before {
	background-image: url(/share/im/mrk_download-b-wh.svg);
}
@media only screen and (min-width: 800px){
	#imageViewer a.closer {
		width: 64px;
		height: 64px;
		top: 2rem;
		right: 2rem;
	}
	#imageViewer a.downloader {
		width: 64px;
		height: 64px;
		top: 2rem;
		right: 8rem;
	}
}

/**/
#imageViewer nav.cover {
	position: absolute;
	z-index: 5;
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}
	#imageViewer[data-group=""] a.nv-slide {
		display: none;
	}
	#imageViewer a.nv-slide {
		position: absolute;
		width: 30%;
		height: 100%;
		top: 0;
		background-repeat: no-repeat;
		background-size: 5% auto;
	}
	#imageViewer a.nv-slide.pre {
		left: 0;
		background-position: left 1.6em center;
		background-image: url(/share/im/nv_simar-return-wh.svg);
		cursor: w-resize;
	}
	#imageViewer a.nv-slide.nx {
		right: 0;
		background-position: right 1.6em center;
		background-image: url(/share/im/nv_simar-wh.svg);
		cursor: e-resize;
	}
@media only screen and (max-width: 800px){
	#imageViewer a.nv-slide {
		background-size: 3vw auto;
	}
}
