/*!
* Lightbox Gallery v1.0 (https://github.com/kawshar/lightboxgallery)
* Copyright 2017 Kawshar Ahmed
* Licensed GPLv3 https://www.gnu.org/licenses/gpl-3.0.en.html
*/

 

/* .lightboxgallery-modal-open {overflow: hidden;} */

.lightboxgallery-modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1033;
  background: #fff;
  overflow: hidden;
  text-align: center;
  cursor: -webkit-zoom-out;
  cursor: zoom-out;
}

.lightboxgallery-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  background: #fff;
  z-index: 1034;
  max-width: 100%;
  max-height: 100%; 
/*   -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .2);
-moz-box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    box-shadow: 0 0 10px rgba(0, 0, 0, .2); */
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
  cursor: pointer;
}

.lightboxgallery-modal-body {padding-bottom: 90px;}

.lightboxgallery-next,
.lightboxgallery-prev {
  position: fixed;
  top: 0;
  width: 60px;
  height: 100%;
  opacity: 0;
  -webkit-transition: opacity 300ms;
  -moz-transition: opacity 300ms;
  -o-transition: opacity 300ms;
  transition: opacity 300ms;

}

.lightboxgallery-next {right: 30px;}

.lightboxgallery-prev {left: 30px;}

.lightboxgallery-modal-wrapper:hover .lightboxgallery-next,
.lightboxgallery-modal-wrapper:hover .lightboxgallery-prev {
  opacity: 1;
}

.lightboxgallery-next > span,
.lightboxgallery-prev > span {
  display: block;
  position: relative;
  top: 50%;
  width: 20px;
  height: 20px;
  border-top: 5px solid #aaa;
}

.lightboxgallery-next > span {
  left: 20px;
  border-right: 5px solid #aaa;
  -webkit-transform: rotate(45deg) translateY(-50%);
  -moz-transform: rotate(45deg) translateY(-50%);
  -o-transform: rotate(45deg) translateY(-50%);
  -ms-transform: rotate(45deg) translateY(-50%);
      transform: rotate(45deg) translateY(-50%);
}

.lightboxgallery-prev > span {
  left: 20px;
  border-left: 5px solid #aaa;
  -webkit-transform: rotate(-45deg) translateY(-50%);
  -moz-transform: rotate(-45deg) translateY(-50%);
  -o-transform: rotate(-45deg) translateY(-50%);
      -ms-transform: rotate(-45deg) translateY(-50%);
          transform: rotate(-45deg) translateY(-50%);
}

.lightboxgallery-close.lightboxgallery-hidden,
.lightboxgallery-hidden {
  display: none;
}

.lightboxgallery-close,
.lightboxgallery-close:hover,
.lightboxgallery-close:active,
.lightboxgallery-close:focus {
  display: block;
  font-size: 50px;
  height: 50px;
  width: 50px;
  line-height: 0;
  color: #aaa;
  text-align: right;
  position: absolute;
  top: -50px;
  right: 0;
  text-decoration: none;
  outline: none;
  -webkit-transition: color 300ms;
  -moz-transition: color 300ms;
  -o-transition: color 300ms;
  transition: color 300ms;
}



@media print, screen and (min-width: 64em) {
    
    .lightboxgallery-close,
.lightboxgallery-close:hover,
.lightboxgallery-close:active,
.lightboxgallery-close:focus {

  font-size: 30px;
  height: 30px;
  width: 30px;
  top: -30px;

}

}




/* iphone in landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape)    {
          
          .lightboxgallery-image-medium,
          .lightboxgallery-image-size,
          .lightboxgallery-image-price,
          .lightboxgallery-gallery-stat {
 
      opacity: 0;

}

.lightboxgallery-close,
.lightboxgallery-close:hover,
.lightboxgallery-close:active,
.lightboxgallery-close:focus {

  top: -30px;

}
}




.lightboxgallery-close:hover {color: #aaa;}

.lightboxgallery-modal-close:hover,
.lightboxgallery-modal-close:active,
.lightboxgallery-modal-close:focus {
  color: #2384d3;
}

.lightboxgallery-image-wrapper {position: relative;}

/* @media print, screen and (min-width: 64em) {
    
    .lightboxgallery-image-wrapper {padding-bottom: 90px;}

} */

.lightboxgallery-image {width: 100%;}

/* .lightboxgallery-modal-body {overflow: hidden;} */

.lightboxgallery-image-content {
  position: absolute;
  z-index: 1;
  background: #fff;
  background: rgba(255, 255, 255, .9);
  color: #555;
  color: rgba(0, 0, 0, 0.7);
  bottom: -150px;
  left: 0;
  right: 0;
  font-size: 14px;
  line-height: 20px;
  text-align: left;
  -webkit-animation: fadeInUp 500ms;
  -moz-animation: fadeInUp 500ms;
  animation: fadeInUp 500ms;
}




/* @media print, screen and (min-width: 40em) {
    
    .lightboxgallery-image-content {bottom: -50px;}

} */


@media print, screen and (min-width: 64em) {
    
    .lightboxgallery-image-content {bottom: -60px; font-size: 16px;}

}


.lightboxgallery-image-content p {margin: 0;}



/* gallery image counter */
.lightboxgallery-gallery-stat {color: #777;}


/* progress between images */
.lightboxgallery-gallery-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -20px;
  margin-top: -20px;   
  border-radius: 50%;
  width: 40px;
  height: 40px;
  border: .1rem solid rgba(255, 255, 255, .2);
  border-top-color: #868b81;
  -webkit-animation: spin 1s infinite linear;
  -moz-animation: spin 1s infinite linear;
  animation: spin 1s infinite linear;
}

.lightboxgallery-image-subtitle {color: #7d8cc1;}
.lightboxgallery-image-price {color: red;}




@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-webkit-keyframes pulse {
  50% {
    background: white;
  }
}
@keyframes pulse {
  50% {
    background: white;
  }
}

@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}