/*!
  Flashy - jQuery Lightbox & Popup Plugin
  @name flashy.css
  @description jQuery plugin for creating responsive lightboxes & popups with focus on performance and effects
  @author Max Lavretiev
  @site http://www.avirtum.com
  @copyright (c) Max Lavretiev
*/
/* 
 * Please do NOT edit this part, you can do that only if you have both knowledge and field experience
 */
 body.flashy-active {
  overflow: hidden;
}
body.flashy-active .flashy-overlay {
  opacity: 1;
  pointer-events: auto;
}

.flashy-overlay {
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  right: 0;
  bottom: 0;
  background-color: rgba(18,18,18,.65);
  overflow-y: scroll;
}

.flashy-content-outer.fx-fadeOut {
  /* margin: 0 auto;
  position: absolute;
  width: 100%;
  background: white; */
  display: none;
}

@media screen and (min-width: 768px) and (max-width: 831px){
  .flashy-content-outer.fx-fadeIn {
     height: 800px;
  }

  /* .flashy-container {
    overflow-y: scroll !important;
  } */
}

@media screen and (min-width: 830px) and (max-width: 1030px){
  .flashy-content-outer.fx-fadeIn {
    height: 1000px;
 }
}

.flashy-content-inner {
  /* max-width: 1140px;
  margin: 0 auto; */
  padding: 40px;
}


/* .overlay-Bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(18,18,18,.65);
overflow: hidden;
display: block !important;
} */


/* .flashy-content img {
  width: 100%;
  height: 565px;
  max-height: 556px;
} */

.flashy-close {
  position: absolute;
  top: 16px;
  right: 15px;
  z-index: 9999999;
}

.flashy-image {
    width: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 676px; */
    /* padding: 40px; */
}

.flashy-next {
  position: absolute;
  bottom: 20px;
  right: 46%;
  transform: translate(-46%, 0%);
}

.flashy-prev {
  position: absolute;
  bottom: 20px;
  left: 46%;
  transform: translate(-46%, 0%);
  display: none;
}


.flashy-container {
  position: absolute;
  top: 0;
  left: 50%;
  /* height: 760px; */
  width: 90%;
  max-width: 1220px;
  text-align: center;
  overflow-y: hidden;
  -webkit-transform: translate(-50%,0);
  -ms-transform: translate(-50%,0);
  transform: translate(-50%,0);
}


.flashy-content.flashy-iframe.flashy-show{
  padding: 40px;
}

.flashy-container .flashy-content.flashy-show {
  opacity: 1;
  pointer-events: auto;
  background: white;
  /* height: 676px; */
}


.flashy-container .flashy-content.flashy-error {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  width: auto !important;
}
.flashy-container .flashy-content.flashy-image img {
  max-width: 100%;
  object-fit: contain;
  /* height: 596px;
  max-height: 596px; */
}
.flashy-container .flashy-content.flashy-inline,
.flashy-container .flashy-content.flashy-ajax {
  width: 100%;
}
.flashy-container .flashy-content.flashy-iframe iframe {
  width: 100%;
  height: 596px;
  border: none;
}
.flashy-container .flashy-content.flashy-video {
  width: 100%;
  height: 260px;
}
.flashy-container .flashy-content.flashy-video iframe {
  width: 100%;
  height: 100%;
  border: none;
  background-color: #000;
}

.flashy-overlay.flashy-fullscreen .flashy-numeration,
.flashy-overlay.flashy-fullscreen .flashy-close,
.flashy-overlay.flashy-fullscreen .flashy-prev,
.flashy-overlay.flashy-fullscreen .flashy-next,
.flashy-overlay.flashy-fullscreen .flashy-title {
  opacity: 0 !important;
  pointer-events: none !important;
}
.flashy-overlay .flashy-numeration {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 10px;
  line-height: 38px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.8);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  letter-spacing: .6px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  z-index: 1003;
}
.flashy-overlay .flashy-numeration.flashy-show {
  opacity: 1;
  pointer-events: auto;
}
.flashy-overlay .flashy-title {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 0 10px;
  line-height: 38px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.8);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  letter-spacing: .6px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  z-index: 1003;
}
.flashy-overlay .flashy-title.flashy-show {
  pointer-events: auto;
  opacity: 1;
}
.flashy-overlay .flashy-close {
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url('icon-close.svg');
    display: block;
    display: block;
    width: 48px;
    height: 48px;
    background-color: #f0efed;
    border-radius: 50%;
}
.flashy-overlay .flashy-close:hover {
    cursor: pointer;
}
.flashy-overlay .flashy-prev,
.flashy-overlay .flashy-next {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  background: #f6f8fb;
  border-radius: 50%;
  padding: 20px 5px;
  background-repeat: no-repeat;
  background-position: center center;
  cursor: pointer;
  pointer-events: none;
  z-index: 1003;
  display: none;
}
.flashy-overlay .flashy-prev.flashy-show,
.flashy-overlay .flashy-next.flashy-show {
  pointer-events: auto;
  opacity: 0.8;
  display: none;
}
.flashy-overlay .flashy-prev.flashy-show:hover,
.flashy-overlay .flashy-next.flashy-show:hover {
  opacity: 1;
}
.flashy-overlay .flashy-prev {
  background-image: url(button_previous.svg);
  background-position: 50% 50%;
  background-size: auto 40%;
}
.flashy-overlay .flashy-next {
  background-image: url(button_next.svg);
  background-position: 50% 50%;
  background-size: auto 40%;
}

.flashy-preloader.flashy-show {
  opacity: 1;
}
@-webkit-keyframes flashy-spin {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
@keyframes flashy-spin {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@media screen and (max-width: 1200px){
  .flashy-container {
    max-width: 1000px;
  }
}

@media screen and (max-width: 1439px) {
 
  .flashy-content-inner {
    padding: 40px 20px 0 0;
  }

  .flashy-content img {
      /* max-height: 428px; */
      object-fit: contain;
  }

  .flashy-prev {
    left: 47%;
    transform: translate(-47%, 0%);
    margin: 0 !important;
  }

  .flashy-next {
    right: 40%;
    transform: translate(-40%, 0%);
    margin: 0 !important;
  }

  .flashy-container .flashy-content.flashy-iframe iframe {
      /* height: 400px; */
  }

  .flashy-close {
    position: absolute;
    top: 16px;
    right: 0;
    z-index: 9999999;
  }

}

@media screen and (max-width: 1024px){
  .flashy-container {
    top: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
  }
}

@media screen and (max-width: 767px) {
  .flashy-prev {
    left: 41%;
    transform: translate(-41%, 0%);
    margin: 0 !important;
  }

  .flashy-image {
    height:auto;
  }

  .flashy-next {
    right: 35%;
    transform: translate(-35%, 0%);
    margin: 0 !important;
  }

  .flashy-container {
      width: 100%;
      height: 500px;
  
  }

  .flashy-content-inner {
    padding: 57px 15px 83px 15px;
    height: 500px;
  }

  .flashy-container .flashy-content.flashy-iframe iframe {
      height: 260px;
  }

  .flashy-container .flashy-content.flashy-image img {
      /* height: 260px;
      max-height: 260px; */
  }

  .flashy-content.flashy-iframe.flashy-show {
    padding: 15px 15px 10px 14px;
    height:  auto;
  }

  .flashy-overlay .flashy-close {
    width: 30px;
    height: 30px;
    background-size: 17px;
    top: 38px;
    right: 4px;
  }

}