/*
==================================================================
 (c) Prizma 66 OOD 2019
==================================================================
*/
.gallery_background {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	background-color: rgba(0,0,0,0.4);
}

.gallery_imgDiv {
	position: absolute;
	top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
		-webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
	display: block; 
	background-color: white; 
	padding: 16px; 
	box-shadow: 0px 0px 32px 0px rgba(0,0,0,0.4);
}

.gallery_close {
	position: absolute;
	width: 50px;
	height: 50px;
	max-width: 20%;
	max-height: 20%;
	top: -15px;
	right: -15px;
	background-image: url('gallery/gallery-close.png');
	background-position: right top;
	background-repeat: no-repeat;
	cursor: pointer;
	z-index: 5;
}

.gallery_next, .gallery_prev {
	cursor: pointer;
	display: block;
	position: absolute;
	top: 0px;
	background-repeat: no-repeat;
	height: 100%;
	width: 50%;
	
	
}

.gallery_next, .gallery_prev, .gallery_close {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	-webkit-tap-highlight-color: transparent;
}

.gallery_next {
	background-position: 95% center;
	right: 0px;
	z-index: 2;
}

.gallery_next:hover {
	background-image: url('gallery/gallery-next.png');
}

.gallery_prev {
	background-position: 5% center;
	left: 0px;
	z-index: 3;
	
}

.gallery_prev:hover {
	background-image: url('gallery/gallery-prev.png');
}

.gallery_image {
	max-width: 100%;
	max-height: 100%;
}

.shMC11, .shMC2_1, .shMC4_3, .shMC16_9, .shMC728_90, .shMC440_554 {position: relative; width: auto; overflow: hidden;}
.shMC11:before, .shMC2_1:before, .shMC4_3:before, .shMC16_9:before, .shMC728_90:before, .shMC440_554:before {content: ""; display: block; padding-top: 100%;}
.shMC2_1:before {padding-top: 50%;}
.shMC4_3:before {padding-top: 75%;}
.shMC16_9:before {padding-top: 56.25%;}
.shMC728_90:before {padding-top: 12.363%;}
.shMC440_554:before {padding-top: 125.909%;}
.shC, .shCS {
	position: absolute; top: 0; left: 0; right: 0; bottom: 0;
}
.shSlide {
	position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-repeat: no-repeat; background-size: cover; background-position: center center;
}
.shSlideOp {
	opacity: 0; visibility: hidden;
}
.shSelContainer {
	list-style-type: none; display: inline-block; background-color: rgba(200,200,200,0.5); border: 2px solid rgba(255,255,255,0.5); min-width: 3em; min-height: 0.5em; margin: 0.3em; border-radius: 10px; text-align: left; padding: 0.35em 0.45em; line-height: 0.8em; background-clip: padding-box;
}
.shSelCtrl {
	display: inline-block; margin:0px 0.15em; cursor: pointer;
}
.shSelSVG {
	width: 0.7em; height: 0.7em;
}
.shNav {display: block;}
.shTicker {position: absolute; top:0px; left:0px; height:2px; z-index:3; background-color:#00D5FF;}
.shCircle {position: absolute; top:10px; left:10px; z-index:4;}

.shMC11_U, .shMC2_1_U, .shMC4_3_U, .shMC16_9_U, .shMC728_90_U, .shMC440_554_U {position: relative;}
.shMC11_U .shNav, .shMC2_1_U .shNav, .shMC4_3_U .shNav, .shMC16_9_U .shNav, .shMC728_90_U .shNav, .shMC440_554_U .shNav {display: none;}
.shMC11_U .shC, .shMC2_1_U .shC, .shMC4_3_U .shC, .shMC16_9_U .shC, .shMC728_90_U .shC, .shMC440_554_U .shC {position: relative; top: auto; left: auto; right: auto; bottom: auto;}
.shMC11_U .shSlide, .shMC2_1_U .shSlide, .shMC4_3_U .shSlide, .shMC16_9_U .shSlide, .shMC728_90_U .shSlide, .shMC440_554_U .shSlide {position: relative;  width: auto; overflow: hidden;}
.shMC11_U .shSlide:before {content: ""; display: block; padding-top: 100%;}
.shMC2_1_U .shSlide:before {content: ""; display: block; padding-top: 50%;}
.shMC4_3_U .shSlide:before {content: ""; display: block; padding-top: 75%;}
.shMC16_9_U .shSlide:before {content: ""; display: block; padding-top: 56.25%;}
.shMC728_90_U .shSlide:before {content: ""; display: block; padding-top: 12.363%;}
.shMC440_554_U .shSlide:before {content: ""; display: block; padding-top: 125.909%;}

.testBox { 
	display: inline-block; visibility: hidden; position: absolute; top:0px; left:0px;
}
@media screen and (pointer: coarse) {
	.gallery_next {
		background-image: url('gallery/gallery-next.png');
	}
	.gallery_prev {
		background-image: url('gallery/gallery-prev.png');
	}
	.shSelCtrl {margin:0px 0.3em;}
	.shSelSVG {width: 0.9em; height: 0.9em;}
	.shSelContainer {line-height: 0.9em;}
}

@media only screen and (max-width: 600px) {
	.shSelContainer, .shTicker, .shCircle {display: none;}
	.shSlide+.shSlide {margin-top:1rem;}
}

@media only screen and (max-width: 450px) {
	.shSelSVG {width: 0.9em; height: 0.9em;}
}
@media only screen and (max-width: 300px) {
	.shSelSVG {width: 0.9em; height: 0.9em;}
}
