.galleryList{
	overflow-x:  auto;
	max-width: 100%;
	position: relative;
}

.gallerybox_container{
	background-color: #E6E9ED;
	width: calc(100% - 2px);
	text-align: center;
	border: 1px solid #494949;
}
.gallerybox_container .title .fa{
	color: #FFFFFF;
}
.gallerybox_container .title{
	color: #FFFFFF;
 	background-color: #494949;
 	text-align: left;
 	padding-left: 10px;

}
.gallery_box{
	width: calc(100% - 40px);
	display: inline-block;
	margin-top: 10px;
	margin-left: 10px;
	position: relative;
}

.gallery_box .gallery_box_left{
	position: absolute;
	left: -22px;
	font-size: 30px;
	top: calc(50% - 15px);
}
.gallery_box .gallery_box_right{
	position: absolute;
	right: -12px;
	font-size: 30px;
	top: calc(50% - 15px);
}

.gallery_box img{
	float: left;

	width: calc(33% - 20px);
	margin-left: 10px;
	margin-right: 10px;
	margin-bottom: 10px;
}



#gallery{
	background-color: #FFFFFF;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999999991;
	display: none;
}

#gallery .galleryRight{
		font-size: 18px;
		line-height: 26px;
	right: 0;
	position: fixed;
	width: 420px;
	height: calc(100% - 60px);
	top: 60px;
 	background-color: #E6E9ED;
}
#gallery .galleryText{
 	padding: 10px;
 	width: 400px;
 	max-height: calc(100% - 400px);
 	overflow: auto;
 	color: #000000;
    margin-right: 10px;
}

#gallery .galleryText .h1{
	background-color: #9e9e9e;
	font-size: 22px;
	line-height: 34px;
	padding: 10px;
}

#gallery .galleryTopNav{
 	height: 60px;
 	width: 100%;
 	overflow: hidden;
 	padding: 10px;
 	font-size: 16px;
 	color: #FFFFFF;
 	background-color: rgba(35, 35, 35, 1);
 	line-height: 30px;
}
#gallery .galleryTopNav > .galleryTopTitle .text{
	display: none;
}
#gallery .galleryTopNav > .galleryClose{
	cursor: pointer;
 	float: right;
 	color: #FFFFFF;
 	margin-left: 10px;
 	margin-right: 10px;
 	font-size: 35px;
}
#gallery .galleryTopNav > .galleryClose .fa{
	color: #FFFFFF;
}
#gallery .galleryTopNav > .galleryTopTitle{
 	float: left;
 	font-size: 35px;
    font-family: "20 Minuten";
    line-height: 35px;
    width: calc(100% - 200px);
    overflow: hidden;
 	white-space: nowrap;
    text-overflow: ellipsis;
}
#gallery .galleryTopNav > .gallerybc{
 	float: right;
 	margin-right: 10px;
 	font-size: 25px;
 	line-height: 35px;
}

#gallery .galleryLogo{
	height: 35px;
    vertical-align: middle;
    margin-right: 20px;
    margin-top: -7px;
}




#gallery .galleryContent{
	width: calc(100% - 420px);
	height: calc(100% - 55px);
  	display: flex;
  	align-items: center;
  	justify-content: center;
  	position: relative;

}
#gallery .galleryContent img{
	max-width: 100%;
	max-height: 100%;
}


#gallery .galleryNavigation{
	font-size: 40px;
	position: fixed;
	top: calc(50% - 20px);
	width: calc(100% - 420px);
	z-index: 4;
}
#gallery .galleryNavigation .fa{
    color: rgba(0,0,0,0.8)
}
#gallery .galleryNavigation .fa-stack-1x{
    font-size: 40px;
}
#gallery .galleryNavigation .fa-stack-2x{
	font-size: 65px;
	margin-top: 5px;
}
#gallery .galleryPrev .fa-circle{
	margin-left: 3px;
}
#gallery .galleryNext .fa-circle{
	margin-left: -3px;
}


#gallery .galleryNavigation .fa{
    color: rgba(0,0,0,0.8)
}
#gallery .galleryNavigation .fa-circle{
    color: rgba(255,255,255,0.3);
}
#gallery .galleryNavigation .disabled{
	display: none;
}

#gallery .galleryPrev:hover .fa-stack-1x{
	color: #FFF;
}
#gallery .galleryPrev:hover .fa-circle{
	color: #000;
}
#gallery .galleryNext:hover .fa-stack-1x{
	color: #FFF;
}
#gallery .galleryNext:hover .fa-circle{
	color: #000;
}

#gallery .galleryPrev{
	cursor: pointer;
	float: left;
	margin-left: 20px;
}
#gallery .galleryNext{
	cursor: pointer;
	float: right;
	margin-right: 20px;
}


#gallery .galleryRight .ad.gallery{
	position: fixed;
	width: 410px;
	bottom: 5px;
	right: 5px;
	max-height: 400px;
	text-align: center;
	overflow: hidden;
}


@media only screen and (max-width: 1280px) {



	#gallery .galleryRight{
		width: 320px;
	}
	#gallery .galleryText{
	 	width: 300px;
		max-height: calc(100% - 300px);
	}

	#gallery .galleryContent{
		width: calc(100% - 320px);
	}
	#gallery .galleryNavigation{
		width: calc(100% - 320px);
	}
	#gallery .galleryRight .ad.gallery{
		width: 310px;
	}

}
.media-slideshow-stop{
	display: none;
}
.gallerybc .media-slideshow{
	float: left;
	margin-right: 10px;
	color: #FFFFFF;
}
.gallerybc .media-slideshow-stop{
	float: left;
	margin-right: 10px;
	color: #FFFFFF;
}
.gallerybc .media-slideshow .fa{
	color: #FFFFFF;
}
.gallerybc .media-slideshow-stop .fa{
	color: #FFFFFF;
}
@media (max-width: 1024px) {


	#gallery .ad.gallery{
		display: none !important;
	}

	#gallery .galleryRight{
		display: none;
	}

	#gallery .galleryTopNav > .galleryTopTitle .text{
		display: inline;
	}

	#gallery .galleryContent{
		width: 100%;
		height: calc(100% - 60px);
	}
	#gallery .galleryContent img{
		max-width: 100%;
		max-height: 100%;
	}

	#gallery .galleryNavigation{
		top: calc(50% - 20px);
		width: 100%;
	}





	#gallery .galleryTopNav > .galleryTopTitle{
	 	font-size: 25px;
	 	width: calc(100% - 170px);
	}
	#gallery .galleryTopNav > .gallerybc{
		font-size: 20px;
	}
	#gallery .galleryTopNav > .galleryClose {
		margin-top: -1px;
	}
	#gallery .galleryTopNav > .galleryClose .fa{
		font-size: 25px;
	}
	#gallery .galleryPrev{
		float: left;
		margin-left: 10px;
	}
	#gallery .galleryNext{
		float: right;
		margin-right: 10px;
	}

	#gallery .galleryContent{
		width: 100% ;
		height: calc(100% - 115px);
	}
}

@media only screen and (max-width: 460px) {
	.ad.bannerflata{
		display: block;
		min-height: 90px;
	}
}
@media only screen and (max-width: 320px) {
	.ad.bannerflata{
		display: block;
		min-height: 87px;
	}
}


@media only screen and (max-width: 425px) {
	#gallery .galleryNavigation .fa-stack-1x{
    	font-size: 22px;
	}
	#gallery .galleryNavigation .fa-stack-2x{
		font-size: 35px;
		margin-top: 22px;
	}
	#gallery .galleryPrev .fa-circle{
		margin-left: 2px;
	}
	#gallery .galleryNext .fa-circle{
		margin-left: -2px;
	}


}

@media only screen and (max-height: 425px) and (orientation: landscape) {

	#gallery .galleryContent{
		  height: calc(100% - 35px);
	}
	.galleryRight{
		display: none;
	}


}

@media only screen and (max-width: 425px) and (orientation: portrait){
	#gallery .galleryTopNav > .galleryTopTitle{
		font-size: 18px;
		width: calc(100% - 150px);

	}
	.media-slideshow .slideshow{
		max-width: 20px;
	}
	#gallery .galleryTopNav > .gallerybc{
		font-size: 16px;
	}
	#gallery .galleryRight{
		height: 78px;
	}
	#gallery .galleryContent{
		  height: calc(100% - 135px);
	}

	#gallery .galleryText{
		width: calc(100% - 20px);
		float: left;
		margin-top: 19px;
	}


}



.slideshow {
  position: relative;
  overflow: hidden;
}


.slideshow-caption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 5px;
  cursor: pointer;
  width: auto;
  max-width: calc(80%-20px);
}
.slideshow-caption .title {
  font-size: 20px;
  line-height: 25px;
  margin-bottom: 5px;
  color: #fff;
  background-color: rgba(0,0,0,0.7);
  padding: 5px;
  width: auto;
  font-weight: bold;
  float: left; clear: both;
}
.slideshow-caption .credit {
	float: left; clear: both;
  font-weight: bold;
  font-size: 15px;
  line-height: 15px;
  padding: 2px;
  color: #000;
  background-color: rgba(255,255,255,0.7);
  width: auto;
}
.slideshow-image {
  position: absolute;
  width: 100%;
  height: 100%;
  background: no-repeat 50% 50%;
  background-size: contain;
  background-color: #000000;
}

.small_thumbs{
	width: 100%;
	float: left;
	clear: both;
	height: 85px;
	display: none;

}

.small_thumbs img{
	width: 75px;
	height: 75px;
	margin-right: 10px;
	float: left;
}

.small_thumbs .more{
	background-color: #E6E9ED;
	font-size: 30px;
	line-height: 75px;
	font-weight: bold;
	color: #000000;
	display: inline-block;
	height: 75px;
	width: 75px;
	text-align: center;
	float: left;
}


#gallery .galleryContent .ad.gallery {
	display: block !important;
	width: auto;
	margin: auto;
	min-width: 300px;
	min-height: 250px;
}



.imgwrap:hover .vjs-playlistButton{
    display:  block;
}


.imgwrap .vjs-playlistButton{
		position: absolute;
    top: 15px;
    right: 30px;
    cursor: pointer;
    display:  none;
}

.imgwrap .vjs-playlistButton .fa{
	color:  #FFF;
	font-size:  20px;
}
.imgwrap .vjs-playlistButton:hover .fa{
	opacity: 1;
}
.imgwrap:hover .vjs-playlistButton{
	display:  block;
}

.imgwrap .vjs-playlist{
    position:  absolute;
    height:  100%;
    top:  0;
    right: 0;
    width:  30%;
    overflow: hidden;

}

#gallery .galleryContain{
	position: absolute;
	bottom:  20px;
	right:  20px;
	font-size:  30px;
	z-index: 50;
}
#gallery .galleryContain .fa{
	color: rgba(0,0,0,0.8);
}
#gallery .galleryContain .fa-circle{
	color: rgba(255,255,255,0.3);
}
#gallery .galleryContain .fa-stack-1x{
	font-size: 30px;
}
#gallery .galleryContent.fullscreen{
	height:  calc(100% - 35px);
}

.galleryContent.fullscreen{
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}
.galleryContent.fullscreen.cover{
	background-size: cover;
}
.fullscreen .slideshow-caption{
	bottom:  70px;
}


.imgwrap:hover .vjs-playlist{
    display:  block;

}

.galleryContentHeader{
    padding: 20px;
}

.gallery-thumbnail{
	display: block;
	width: 90px;
	height: 90px;
	text-align: center;
}
.gallery-thumbnail img{
	width: 100%;
	height: 100%;
}
.gallery-thumbnail .gallery-thumnail-plus{
	display: block;
	width: 100%;
	height: 100%;
	line-height: 90px;
	background-color: #ddd;
	color: #000;
	font-weight: bold;
	font-size: 1.4rem;
	border-radius: 0.625rem !important;
}


@media (min-width: 1025px) {
	.galleryContent.fullscreen{
		 background-size: contain;
	}

	.galleryContain {
		display: none;
	}
}
