.spinner {
  margin: 100px auto;
  width: 50px;
  height: 40px;
  text-align: center;
  font-size: 10px;
}

.spinner > div {
  background-color: #333;
  height: 100%;
  width: 6px;
  display: inline-block;
  
  -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
  animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}

.spinner .rect3 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

.spinner .rect4 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

.spinner .rect5 {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
}

@-webkit-keyframes sk-stretchdelay {
  0%, 40%, 100% { -webkit-transform: scaleY(0.4) }  
  20% { -webkit-transform: scaleY(1.0) }
}

@keyframes sk-stretchdelay {
  0%, 40%, 100% { 
    transform: scaleY(0.4);
    -webkit-transform: scaleY(0.4);
  }  20% { 
    transform: scaleY(1.0);
    -webkit-transform: scaleY(1.0);
  }
}


.imgslider .control_container > div.control_play { display: none; }

.imgslider .control_backward {
   background-image: url('/custom/flickr2019/assets/backward.png');
}

.imgslider .control_forward {
   background-image: url('/custom/flickr2019/assets/forward.png');
}

.imgslider .control_pause {
   background-image: url('/custom/flickr2019/assets/pause.png');
}
.imgslider .control_play {
   background-image: url('/custom/flickr2019/assets/play.png');
}
.imgslider .control_fullscreen {
   background-image: url('/custom/flickr2019/assets/fullscreen.png');
}


/* .imgslider ul.images li > div.loading { */
	/* background-image: url('/custom/js/ajax-loader.gif'); */
	/* background-size: 32px 32px; */
	
/* } */

.imgslider .slideshow_container {
	background-repeat: no-repeat;
	margin-left: auto;
	margin-right: auto;
	background-size: contain;
	background-position: center center;
	cursor: pointer;
	position: absolute;
	top: 0; bottom: 0; left: 0; right: 0;	
}

.imgslider ul.images li > div
{
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	
	
	position: relative;
	width: 100%;

}

.imgslider.popup ul.images li > div {
  position: relative;
  max-height: unset;
  top: 0px;
  left: 0px;
  z-index: 1000;
  width: 100%;
  height: 100%;
  background-color: #d3d3d3cc;
}



.imgslider .overlay_container {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1010;
	/* display: none; */
}



.imgslider .control_container {
    display: none;
	border: solid 1px;
	-webkit-border-top-right-radius: 15px;
	-webkit-border-top-left-radius: 15px;
	-moz-border-radius-topright: 15px;
	-moz-border-radius-topleft: 15px;
	border-top-right-radius: 15px;
	border-top-left-radius: 15px;
	border-bottom: none;
	background-color: white;
	opacity: 0.5;	

}

.imgslider  .control_hover:hover .control_container,
.imgslider.istouch  .control_hover .control_container
{ display: inline-flex; }

.imgslider.outer_container {
	text-align: center; 
	position: relative;
	/* padding-bottom: 62.5%; */
	padding-bottom: 66%;
}

html:-webkit-full-screen .imgslider.outer_container {
	position: unset;
	padding: 0;
}
html:-ms-full-screen .imgslider.outer_container {
	position: unset;
	padding: 0;
}
html:-moz-full-screen .imgslider.outer_container {
	position: unset;
	padding: 0;
}
html:fullscreen .imgslider.outer_container {
	position: unset;
	padding: 0;
}

.imgslider .control_panel {
	width: 100%;
	text-align: center;
	height: 100%;
	position: relative;
	
		position: absolute;
	z-index: 10000;

}


.imgslider .control_container .control_fullscreen { width: 30px; }
.imgslider .control_container > div {
    display: inline-block; 
    height: 30px;
    width: 80px;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    background-size: contain;
	
}

.imgslider.outer_container.popup {
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 1000;
  width: 100%;
  height: 100%;
  padding: 1%;
  background-color: #d3d3d3cc;
}

.imgslider .control_hover { 
	height: 25%; 
	position: absolute; 
	bottom: 0px;
	width: 100%;
	z-index: 10;
}
.imgslider .control_filler {height: calc( 100% - 30px ); }

.mask { 
	float:left;
	overflow:hidden;  
}

ul.images, ul.images li, ul.images li > div {width: 100%; height: 100%; }
ul.images { 
	position:absolute; 
	top:0px;
	left:0px; 
	list-style-type: none;
	padding: 0px;
	margin: 0px;
}

ul.images li { float:left; }

div.overlay {
	top: 0px;
	left: 0px;
	position: absolute;
	z-index: 10000;
	background-color: white;
	
}
