.zoombox-box {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: rgba(34, 34, 34, 0.8);
  -webkit-transition-duration: '.2s';
  transition-duration: '.2s';
  -webkit-animation-duration: '.2s';
  animation-duration: '.2s';
  z-index: 1000;
  font-weight: 300;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.zoombox-close-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}

.img_click {
    position: absolute;
	top:  207px;
    left: 207px;
	width: 33px;
	pointer-events: none;
}

.zoombox-image {
  position: absolute;
  max-height: 90%;
  max-width: 100%;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition-duration: .5s;
  transition-duration: .5s;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  opacity: 1;
  cursor: pointer;
}

.slide {
  -webkit-animation: in ease;
  animation: in ease;
}

.zoombox-controls {
  height: 30px;
  width: auto;
  cursor: pointer;
}

.zoombox-close {
  position: absolute;
  top: 5%;
  right: 5%;
  height: 27px;  /*23*/
}

.zoombox-next, .zoombox-prev {
  position: absolute;
  bottom: 3%;
  left: 5%;
}

.zoombox-next {
  right: 5%;
  left: auto;
}

.zoombox-play {
  position: absolute;
  top: 5%;
  left: 5%;
}

.zoombox-zoom-out, .zoombox-zoom-in {
  position: absolute;
  bottom: 35%;
  right: 5%;
  height: 40px;
}

.zoombox-zoom-in {
  bottom: 45%;
}

.zoombox-caption {
	display: none;
}

.zoombox-captionL {
	display: none;
}

.zoom-cap-balon {
	position: absolute;
	color: transparent; 
	height: 27px;
	width: 50px;
    border-style: solid;
    border-width: medium;	
	bottom: 82% !important;
	text-align: right !important;
    left: 94.5% !important;
	/*right: 5% !important;*/
	font-size: 0px !important ;
    border-radius: 7px !important;  
	transform: translate(-50%, -50%) !important;
    background-color: rgba(94,158,255, 0.77) !important;  	
}

.zoom-cap-balonL {
	color: transparent; 
	height: 0px;
	width: 0px;
	font-size: 0px !important ;	  
}

@media only screen and (min-width: 300px) and (min-height: 600px) {	
.zoombox-caption {
  display: block;
  text-align: left;
  font-size: 1.2em;
  color: #fff;
  position: absolute;
  border-radius: 0.5em;  
  padding-top: 0.3em;
  padding-right: 0.7em;
  padding-bottom: 0.3em;
  padding-left: 0.7em;	  
  background-color: rgba(12,12,12, 0.47); 
  bottom: 6%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;  /*1px 1px 12px #000;*/
}

.zoombox-captionL {
  display: inline-block;	
  text-align: center;  /*uvijek*/
  font-size: 1.3em;
  font-weight: 600;
  color: #fff;
  position: absolute;
  /*border-radius: 0.3em;  
  padding-right: 0.3em;
  padding-left: 0.3em;
  padding-bottom: 0.2em;  
  background-color: rgba(12,12,12, 0.27);    
  bottom: 88%; */
  top: 6%;  
  left: 5%;
  right: 5%; 
  /*-webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);*/
  text-shadow:  -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;  
}
}

@media only screen and  (max-width: 1300px) {
.zoombox-caption {
	left: 3%;
	right: 3%;
	bottom: 7%;
	transform: translate(0%, -37%);
	/*right: 27%;*/
}
.zoombox-captionL {
	left: 3%;
	right: 9%;	
	top: 6%;
  /*  bottom: 87%; 	*/
}	
}

.zoombox-count {
  color: #aaa;
  position: absolute;
  top: 2%;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.zoombox-load {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  height: 80px;
}

.zoombox-zoomValue {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  padding: 5px;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-weight: 200;
  -webkit-transition-duration: .7s;
  transition-duration: .7s;
  opacity: 0;
}

.zoombox-about {
  position: absolute;
  top: 0;
  left: 0;
  color: #555;
  font-size: 0.7rem;
}

.zoombox-preview {
  position: absolute;
  bottom: 1%;
  left: 47.5%;
  -webkit-transition-duration: .3s;
  transition-duration: .3s;
  -webkit-transform: translateX(1);
  transform: translateX(1);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.preview-box {
  height: 60px;
  width: 60px;
  margin: 0px 5px;
  opacity: 0.3;
  -webkit-transition-duration: .3s;
  transition-duration: .3s;
}

.preview-box[zoombox-active=yes] {
  opacity: 1;
}

.preview-image {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

@media only screen and (min-width: 2000px) {
  .zoombox-controls {
    height: 55px;
  }
}

@media only screen and (max-width: 500px) {
  .zoombox-caption {
    font-size: 15px;
  }
  .zoombox-captionL {
    font-size: 15px;
	right: 12%;
  }  
  .zoombox-preview {
    left: 40%;
  }
  .preview-box[zoombox-active=yes] {
    -webkit-transform: scale(1);
    transform: scale(1);
    margin: 0px 5px;
  }
.zoom-cap-balon {
    left: 91.5% !important;	
}
}

@-webkit-keyframes in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
