@charset "UTF-8";
#e_place_gallery {
  width: 100%;
  margin: 0 0 10px;
  height: auto;
  background: #fff;
  position: relative;
  overflow: hidden;
  opacity: 0;
  -webkit-animation-duration: 0.3s;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-animation-duration: 0.3s;
  -moz-transition: all 0.3s ease-in-out;
  animation-duration: 0.3s;
  transition: all 0.3s ease-in-out;
}

#e_place_gallery.show_me {
  opacity: 1;
}

#e_place_gallery::after {
  content: "";
  display: block;
  height: 0;
  clear: both;
}

#e_place_gallery::before {
  content: "";
  display: block;
  width: 48px;
  height: 48px;
  border: 2px solid #f00;
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -24px 0 0 -24px;
  transform: rotate(45deg);
  animation: spin 1s infinite linear;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  -khtml-border-radius: 50%;
  border-radius: 50%;
  -webkit-animation-duration: 0.6s;
  -webkit-transition: all 0.6s ease-in-out;
  -moz-animation-duration: 0.6s;
  -moz-transition: all 0.6s ease-in-out;
  animation-duration: 0.6s;
  transition: all 0.6s ease-in-out;
}

#e_place_gallery .big_image {
  width: calc(100% - 180px);
  height: 100%;
  float: left;
  position: relative;
  overflow: hidden;
}

#e_place_gallery .big_image img {
  display: block;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  -ms-transform: translate(0, -50%);
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  -webkit-animation-duration: 0.3s;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-animation-duration: 0.3s;
  -moz-transition: all 0.3s ease-in-out;
  animation-duration: 0.3s;
  transition: all 0.3s ease-in-out;
}

#e_place_gallery .big_image img.hide_me {
  opacity: 0;
}

#e_place_gallery .thumbnails {
  float: right;
  width: 170px;
  height: 100%;
  position: relative;
  right: 0;
}

#e_place_gallery .thumbnails figure {
  margin: 0;
  padding: 0px 0;
  margin: 0 0 6px;
}

#e_place_gallery .thumbnails figure a {
  display: block;
  width: 100%;
  height: 113px;
  position: relative;
  overflow: hidden;
}

#e_place_gallery .thumbnails figure a img {
  position: absolute;
  top: 50%;
  left: 0;
  -ms-transform: translate(0, -50%);
  /* IE 9 */
  -webkit-transform: translate(0, -50%);
  /* Safari */
  transform: translate(0, -50%);
}

.vertical_slider {
  position: relative;
  height: auto;
}

.vertical_slider .swipe span {
  display: block;
  width: 100%;
  height: 100px;
  position: absolute;
  top: 100px;
  left: 0;
  -webkit-clip-path: polygon(0 12%, 100% 13%, 100% 78%, 0 78%);
  clip-path: polygon(0 12%, 100% 13%, 100% 78%, 0 78%);
}

.vertical_slider .swipe > div {
  position: relative;
  top: 0;
  -webkit-animation-duration: 0.45s;
  -webkit-transition: all 0.45s ease-in-out;
  -moz-animation-duration: 0.45s;
  -moz-transition: all 0.45s ease-in-out;
  animation-duration: 0.45s;
  transition: all 0.45s ease-in-out;
}

.vertical_slider .swipe > div.no_animate {
  -webkit-animation-duration: 0s;
  -webkit-transition: all 0s ease-in-out;
  -moz-animation-duration: 0s;
  -moz-transition: all 0s ease-in-out;
  animation-duration: 0s;
  transition: all 0s ease-in-out;
}

.vertical_slider .swipe figure a {
  display: block;
}

.vertical_slider .swipe figure a:hover img, .vertical_slider .swipe figure a.active img {
  opacity: 1;
}

.vertical_slider .swipe figure a img {
  display: block;
  width: 100%;
  opacity: 0.6;
}

.vertical_slider .link {
  padding: 0 0;
}

.vertical_slider .link a {
  display: block;
  height: 32px;
  padding: 0 12px 0 40px;
  line-height: 32px;
  color: #fff;
  background: #ea4748 url(../img/gallery_icon.svg) no-repeat 8px 50%;
  -webkit-animation-duration: 0.2s;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-animation-duration: 0.2s;
  -moz-transition: all 0.2s ease-in-out;
  animation-duration: 0.2s;
  transition: all 0.2s ease-in-out;
}

.vertical_slider .link a:hover {
  background: #f00 url(../img/gallery_icon.svg) no-repeat 8px 50%;
}

.place_gallery {
  overflow: hidden;
  line-height: 0;
}

.place_gallery figure {
  width: calc(33.333% - 5px);
  float: left;
  margin: 0 0 5px 5px;
}

.place_gallery figure:nth-child(3n-2) {
  margin: 0 0 5px;
}

.place_gallery figure a {
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #000;
  transform: translateZ(0);
}

.place_gallery figure a::after {
  content: "";
  display: block;
  width: 48px;
  height: 48px;
  background: url(../img/zoom_icon.svg) no-repeat 0 0;
  background-size: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -24px 0 0 -24px;
  opacity: 0;
  -webkit-animation-duration: 0.2s;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-animation-duration: 0.2s;
  -moz-transition: all 0.2s ease-in-out;
  animation-duration: 0.2s;
  transition: all 0.2s ease-in-out;
}

.place_gallery figure a:hover::after {
  opacity: 1;
  -moz-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}

.place_gallery figure a img {
  display: block;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  -ms-transform: translate(0, -50%);
  /* IE 9 */
  -webkit-transform: translate(0, -50%);
  /* Safari */
  transform: translate(0, -50%);
}

.darkness {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: #000;
  opacity: 0;
  visibility: hidden;
  z-index: 100500;
  -webkit-animation-duration: 0.9s;
  -webkit-transition: all 0.9s ease-in-out;
  -moz-animation-duration: 0.9s;
  -moz-transition: all 0.9s ease-in-out;
  animation-duration: 0.9s;
  transition: all 0.9s ease-in-out;
}

.darkness.show_me {
  visibility: visible;
  opacity: 0.8;
}

/* Modals end */
.e_light_zoom {
  position: fixed;
  z-index: 100500;
  -webkit-animation-duration: 0.6s;
  -webkit-transition: all 0.6s ease-in-out;
  -moz-animation-duration: 0.6s;
  -moz-transition: all 0.6s ease-in-out;
  animation-duration: 0.6s;
  transition: all 0.6s ease-in-out;
}

.e_light_zoom.mobile a.prev {
  left: 0;
}

.e_light_zoom.mobile a.next {
  right: 0;
}

.e_light_zoom.mobile a.close {
  right: 0;
}

.e_light_zoom.no_animate {
  -webkit-animation-duration: 0s;
  -webkit-transition: all 0s ease-in-out;
  -moz-animation-duration: 0s;
  -moz-transition: all 0s ease-in-out;
  animation-duration: 0s;
  transition: all 0s ease-in-out;
}

.e_light_zoom.first_show::before {
  opacity: 0.6;
}

.e_light_zoom.second_show {
  -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.75);
  left: 50% !important;
  top: 50% !important;
}

.e_light_zoom.second_show a.close {
  width: 32px;
  height: 32px;
}

.e_light_zoom.second_show .image img, .e_light_zoom.second_show .image iframe {
  opacity: 1;
}

.e_light_zoom.last_show .image img, .e_light_zoom.last_show .image iframe {
  opacity: 1;
}

.e_light_zoom.last_show a.close::before {
  -moz-transform: rotate(225deg);
  /* Для Firefox */
  -ms-transform: rotate(225deg);
  /* Для IE */
  -webkit-transform: rotate(225deg);
  /* Для Safari, Chrome, iOS */
  -o-transform: rotate(225deg);
  /* Для Opera */
  transform: rotate(225deg);
}

.e_light_zoom.last_show a.close::after {
  -moz-transform: rotate(135deg);
  /* Для Firefox */
  -ms-transform: rotate(135deg);
  /* Для IE */
  -webkit-transform: rotate(135deg);
  /* Для Safari, Chrome, iOS */
  -o-transform: rotate(135deg);
  /* Для Opera */
  transform: rotate(135deg);
}

.e_light_zoom.last_show a.prev::before, .e_light_zoom.last_show a.next::before {
  width: 30px;
}

.e_light_zoom.last_show a.prev::after, .e_light_zoom.last_show a.next::after {
  width: 30px;
}

.e_light_zoom.last_show p, .e_light_zoom.last_show time {
  opacity: 1;
}

.e_light_zoom.last_video_show {
  width: 800px !important;
  height: 450px !important;
  margin: -225px 0 0 -400px !important;
}

.e_light_zoom.preload::after {
  opacity: 1;
}

.e_light_zoom::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: #000;
  opacity: 0;
  -webkit-animation-duration: 0.6s;
  -webkit-transition: all 0.6s ease-in-out;
  -moz-animation-duration: 0.6s;
  -moz-transition: all 0.6s ease-in-out;
  animation-duration: 0.6s;
  transition: all 0.6s ease-in-out;
}

.e_light_zoom::after {
  content: "";
  display: block;
  width: 48px;
  height: 48px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -26px 0 0 -26px;
  opacity: 0;
  transform: rotate(45deg);
  animation: spin 1s infinite linear;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  -khtml-border-radius: 50%;
  border-radius: 50%;
  -webkit-animation-duration: 0.6s;
  -webkit-transition: all 0.6s ease-in-out;
  -moz-animation-duration: 0.6s;
  -moz-transition: all 0.6s ease-in-out;
  animation-duration: 0.6s;
  transition: all 0.6s ease-in-out;
}

.e_light_zoom p {
  font-size: 16px;
  line-height: 32px;
  color: #fff;
  position: absolute;
  left: 0;
  top: -32px;
  opacity: 0;
  -webkit-animation-duration: 0.3s;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-animation-duration: 0.3s;
  -moz-transition: all 0.3s ease-in-out;
  animation-duration: 0.3s;
  transition: all 0.3s ease-in-out;
}

.e_light_zoom time {
  font-size: 14px;
  line-height: 32px;
  color: #fff;
  position: absolute;
  left: 0;
  bottom: -32px;
  opacity: 0;
  -webkit-animation-duration: 0.3s;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-animation-duration: 0.3s;
  -moz-transition: all 0.3s ease-in-out;
  animation-duration: 0.3s;
  transition: all 0.3s ease-in-out;
}

.e_light_zoom .image img, .e_light_zoom .image iframe {
  display: block;
  width: 100%;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-animation-duration: 0.6s;
  -webkit-transition: all 0.6s ease-in-out;
  -moz-animation-duration: 0.6s;
  -moz-transition: all 0.6s ease-in-out;
  animation-duration: 0.6s;
  transition: all 0.6s ease-in-out;
}

.e_light_zoom a.close {
  width: 0;
  height: 0;
  position: absolute;
  top: -32px;
  right: -32px;
  -webkit-animation-duration: 0.3s;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-animation-duration: 0.3s;
  -moz-transition: all 0.3s ease-in-out;
  animation-duration: 0.3s;
  transition: all 0.3s ease-in-out;
}

.e_light_zoom a.close:hover {
  -moz-transform: scale(0.8);
  -webkit-transform: scale(0.8);
  transform: scale(0.8);
}

.e_light_zoom a.close::before {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  position: absolute;
  top: 50%;
  left: 0;
  margin: -1px 0 0;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  -khtml-border-radius: 2px;
  border-radius: 2px;
  -webkit-animation-duration: 0.6s;
  -webkit-transition: all 0.6s ease-in-out;
  -moz-animation-duration: 0.6s;
  -moz-transition: all 0.6s ease-in-out;
  animation-duration: 0.6s;
  transition: all 0.6s ease-in-out;
}

.e_light_zoom a.close::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  position: absolute;
  top: 50%;
  left: 0;
  margin: -1px 0 0;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  -khtml-border-radius: 2px;
  border-radius: 2px;
  -webkit-animation-duration: 0.6s;
  -webkit-transition: all 0.6s ease-in-out;
  -moz-animation-duration: 0.6s;
  -moz-transition: all 0.6s ease-in-out;
  animation-duration: 0.6s;
  transition: all 0.6s ease-in-out;
}

.e_light_zoom a.prev {
  width: 32px;
  height: 100%;
  position: absolute;
  top: 0;
  left: -32px;
  -webkit-animation-duration: 0.3s;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-animation-duration: 0.3s;
  -moz-transition: all 0.3s ease-in-out;
  animation-duration: 0.3s;
  transition: all 0.3s ease-in-out;
}

.e_light_zoom a.prev:hover {
  -ms-transform: translate(-10px, 0);
  /* IE 9 */
  -webkit-transform: translate(-10px, 0);
  /* Safari */
  transform: translate(-10px, 0);
}

.e_light_zoom a.prev.hide_me {
  opacity: 0;
  visibility: hidden;
}

.e_light_zoom a.prev::before {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #fff;
  position: absolute;
  top: 50%;
  right: 2px;
  margin: -7px 0 0;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  -khtml-border-radius: 2px;
  border-radius: 2px;
  -webkit-animation-duration: 0.3s;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-animation-duration: 0.3s;
  -moz-transition: all 0.3s ease-in-out;
  animation-duration: 0.3s;
  transition: all 0.3s ease-in-out;
  -moz-transform: rotate(-30deg);
  /* Для Firefox */
  -ms-transform: rotate(-30deg);
  /* Для IE */
  -webkit-transform: rotate(-30deg);
  /* Для Safari, Chrome, iOS */
  -o-transform: rotate(-30deg);
  /* Для Opera */
  transform: rotate(-30deg);
}

.e_light_zoom a.prev::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #fff;
  position: absolute;
  top: 50%;
  right: 2px;
  margin: 7px 0 0;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  -khtml-border-radius: 2px;
  border-radius: 2px;
  -webkit-animation-duration: 0.3s;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-animation-duration: 0.3s;
  -moz-transition: all 0.3s ease-in-out;
  animation-duration: 0.3s;
  transition: all 0.3s ease-in-out;
  -moz-transform: rotate(30deg);
  /* Для Firefox */
  -ms-transform: rotate(30deg);
  /* Для IE */
  -webkit-transform: rotate(30deg);
  /* Для Safari, Chrome, iOS */
  -o-transform: rotate(30deg);
  /* Для Opera */
  transform: rotate(30deg);
}

.e_light_zoom a.next {
  width: 32px;
  height: 100%;
  position: absolute;
  top: 0;
  right: -32px;
  -webkit-animation-duration: 0.3s;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-animation-duration: 0.3s;
  -moz-transition: all 0.3s ease-in-out;
  animation-duration: 0.3s;
  transition: all 0.3s ease-in-out;
}

.e_light_zoom a.next:hover {
  -ms-transform: translate(10px, 0);
  /* IE 9 */
  -webkit-transform: translate(10px, 0);
  /* Safari */
  transform: translate(10px, 0);
}

.e_light_zoom a.next.hide_me {
  opacity: 0;
  visibility: hidden;
}

.e_light_zoom a.next::before {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #fff;
  position: absolute;
  top: 50%;
  left: 2px;
  margin: -7px 0 0;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  -khtml-border-radius: 2px;
  border-radius: 2px;
  -webkit-animation-duration: 0.3s;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-animation-duration: 0.3s;
  -moz-transition: all 0.3s ease-in-out;
  animation-duration: 0.3s;
  transition: all 0.3s ease-in-out;
  -moz-transform: rotate(30deg);
  /* Для Firefox */
  -ms-transform: rotate(30deg);
  /* Для IE */
  -webkit-transform: rotate(30deg);
  /* Для Safari, Chrome, iOS */
  -o-transform: rotate(30deg);
  /* Для Opera */
  transform: rotate(30deg);
}

.e_light_zoom a.next::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #fff;
  position: absolute;
  top: 50%;
  left: 2px;
  margin: 7px 0 0;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  -khtml-border-radius: 2px;
  border-radius: 2px;
  -webkit-animation-duration: 0.3s;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-animation-duration: 0.3s;
  -moz-transition: all 0.3s ease-in-out;
  animation-duration: 0.3s;
  transition: all 0.3s ease-in-out;
  -moz-transform: rotate(-30deg);
  /* Для Firefox */
  -ms-transform: rotate(-30deg);
  /* Для IE */
  -webkit-transform: rotate(-30deg);
  /* Для Safari, Chrome, iOS */
  -o-transform: rotate(-30deg);
  /* Для Opera */
  transform: rotate(-30deg);
}

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

@media only screen and (max-width: 639px) {
  #e_place_gallery {
    height: auto;
  }
  #e_place_gallery .big_image {
    width: 100%;
    height: 600px;
  }
  #e_place_gallery .thumbnails {
    width: 100%;
    position: static;
  }
  #e_place_gallery .thumbnails .swipe {
    overflow: hidden;
    padding: 5px 0;
  }
  #e_place_gallery .thumbnails figure {
    width: calc(33.333% - 4px);
    float: left;
    margin: 0 0 0 6px;
    position: relative;
    overflow: hidden;
  }
  #e_place_gallery .thumbnails figure:first-child {
    margin: 0;
  }
  #e_place_gallery .thumbnails figure img {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    /* IE 9 */
    -webkit-transform: translate(-50%, -50%);
    /* Safari */
    transform: translate(-50%, -50%);
  }
}

@media only screen and (max-height: 480px) {
  .e_light_zoom a.close {
    top: 0;
  }
}
