.cd-modal-bg {
  display: inline-block;
  height: 64px;
  background-color: #fff;
  position: fixed;
  z-index: 150;
  left: 50% !important;
  top: 50% !important;
  width: 64px;
  margin-top: -32px !important;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transform: translateX(-2em);
  -moz-transform: translateX(-2em);
  -ms-transform: translateX(-2em);
  -o-transform: translateX(-2em);
  transform: translateX(-2em);
  -webkit-transition: visibility 0s 0.2s;
  -moz-transition: visibility 0s 0.2s;
  transition: visibility 0s 0.2s;
}

.cd-modal-bg.is-visible {
  opacity: 1;
  visibility: visible;
  display: block !important;
  z-index: 3003;
}

.fancybox-lock .fancybox-overlay {
  overflow: hidden;
}

.fancybox-overlay {
  background: #fff;
  opacity: 0;
}

.fancybox-wrap {
  max-width: 100%;
  padding-top: 0 !important;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
  text-align: center;
  position: fixed !important;
}

.fancybox-skin {
  width: 100% !important;
  position: static;
  display: inline-block;
  vertical-align: top;
  box-shadow: none;
  background: #fff;
  border-radius: 0;
  height: 100% !important;
  max-width: 100%;
}

.fancybox-outer {
  height: 100%;
  display: flex;
  display: -webkit-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  height: 100%;
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
}

.fancybox-wrap #company_video {
  margin: 0 auto;
}

.fancybox-wrap:not(.show_video) #company_video {
  opacity: 0;
}

.fancybox-wrap iframe {
  height: 100%;
  width: 100%;
}

.fancybox-wrap .fancybox-inner {
  overflow: hidden !important;
  max-width: 100%;
  text-align: center;
  max-height: 100%;
  margin: 0 auto;
}

.fancybox-wrap:not(.fancybox-type-image) .fancybox-inner {
  width: 100% !important;
}

.fancybox-wrap .fancybox-skin {
  padding: 40px !important;
}

.fancybox-inner video {
  display: block;
  max-height: 100%;
  max-width: 100%;
}

.fancybox-inner .fancy {
  display: block !important;
  height: 100%;
}

.fancybox-inner .fancybox-content {
  /*height: 100%;*/
  padding: 0px;
  background-color: var(--black_bg_black);
}

.fancybox-slide--html .fancybox-close-small {
  background: rgba(30, 30, 30, 0.6);
}

.fancybox-close.svg {
  top: 20px;
  right: 20px;
  background: #fff;
  width: 48px;
  height: 48px;
  border-radius: 100%;
  position: absolute;
}

.fancybox-close svg.svg.svg-close {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  opacity: 0.35;
  background: 0 0;
  transition: opacity 0.2s ease;
}

.fancybox-close:hover svg.svg.svg-close {
  opacity: 1;
}

.fancybox-button--close .svg svg path {
  stroke-width: 4;
}

.fancybox-container .fancybox-bg,
.fancybox-container .fancybox-button {
  background: #fff;
  background-color: var(--black_bg_black);
  opacity: 1;
}

.fancybox-container svg path {
  fill: #999;
}

.fancybox-container .fancybox-infobar {
  color: #999;
  mix-blend-mode: normal;
}

.fancybox-slide--iframe {
  padding: 0px;
}

.fancybox-navigation .fancybox-button {
  top: calc(50% - 19px);
  width: 44px;
  height: 38px;
  outline: none;
  background: transparent;
}

.fancybox-navigation .fancybox-button div {
  align-items: center;
  border-radius: 4px;
  display: flex;
  height: 100%;
  justify-content: center;
  padding: 0;
  width: 100%;
}

.fancybox-navigation .fancybox-button .svg {
  top: 0;
}

.fancybox-navigation .fancybox-button--arrow_left {
  padding: 0px 0px 0px 6px;
}

.fancybox-navigation .fancybox-button--arrow_right {
  padding: 0px 6px 0px 0px;
}

.fancybox-navigation .fancybox-button--arrow_right div {
  margin-left: auto;
}

.fancybox-navigation .fancybox-button[disabled] {
  opacity: 0.4;
  pointer-events: none;
}

.fancybox-button.fancybox-button--close {
  padding: 28px;
  width: 80px;
  height: 80px;
  outline: none;
}

.fancybox-is-open .fancybox-button:hover div {
  background-color: var(--theme-base-color);
}

.fancybox-is-open .fancybox-button.fancybox-button--close svg path {
  stroke: #999;
}

.fancybox-is-open .fancybox-button.fancybox-button--close:hover svg path {
  stroke: var(--fill_dark_light_white_hover);
}

.fancybox-is-open .fancybox-navigation .fancybox-button:hover svg path {
  fill: #fff;
  stroke: #fff;
}

.fancybox-show-thumbs .swiper-button-prev,
.fancybox-show-thumbs .swiper-button-prev:hover,
.fancybox-show-thumbs .swiper-button-next,
.fancybox-show-thumbs .swiper-button-next:hover {
  background-color: initial;
}

.fancybox-show-thumbs .swiper-button-prev::after,
.fancybox-show-thumbs .swiper-button-next::after {
  display: none;
}

.fancybox-show-thumbs .swiper-button-prev:hover svg path,
.fancybox-show-thumbs .swiper-button-next:hover svg path {
  fill: var(--fill_dark_light_white_hover);
}

.fancybox-show-thumbs .swiper-button-next .svg {
  transform: rotate(180deg);
}

.fancybox-show-thumbs .fancybox-toolbar {
  right: 0;
}

.fancybox-show-thumbs .fancybox-thumbs {
  background: none;
  bottom: 0;
  height: 140px;
  left: 0;
  right: 0;
  top: initial;
  width: 100%;
}

body .fancybox-show-thumbs .fancybox-inner {
  left: 0;
  right: 0;
  bottom: 140px;
}

.fancybox-show-thumbs .video-block.popup_video {
  position: absolute;
  left: calc(50% - 16px);
  top: 100%;
  font-size: 0;
}

.fancybox-thumbs__wrapper {
  display: flex;
  height: 100%;
  justify-content: center;
  max-width: 420px;
  position: relative;
  width: 100%;
}

.fancybox-thumbs__wrapper .swiper-container {
  margin-bottom: auto;
  margin-top: auto;
  max-width: calc(100% - 120px);
  width: 300px;
}

.fancybox-thumbs__wrapper .swiper-button-prev,
.fancybox-thumbs__wrapper .swiper-button-next {
  left: 50%;
  position: absolute;
  right: 0;
  width: 60px;
  transform: rotateZ(-90deg);
  height: 45px;
}

.fancybox-thumbs__wrapper .swiper-button-prev::after,
.fancybox-thumbs__wrapper .swiper-button-next::after {
  transform: rotateZ(90deg);
}

.fancybox-thumbs__wrapper .swiper-button-prev {
  top: 50%;
  left: 0;
}

.fancybox-thumbs__wrapper .swiper-button-next {
  top: 50%;
  left: auto;
  right: 0;
}

.fancybox-thumbs__list.swiper-wrapper {
  box-sizing: content-box;
  overflow: hidden;
}

.fancybox-thumbs__list.swiper-wrapper .swiper-slide {
  background-color: transparent;
  background-size: contain;
  float: none;
  margin: 0;
  max-height: none;
  max-width: none;
  opacity: 0.4;
  width: 60px;
}

.fancybox-thumbs__list.swiper-wrapper .swiper-slide.fancybox-thumbs-active {
  opacity: 1;
}

.fancybox-thumbs__list.swiper-wrapper .swiper-slide::before,
.fancybox-thumbs__list.swiper-wrapper .swiper-slide.fancybox-thumbs-active::before {
  display: none;
  content: unset;
}

body .fancybox-show-thumbs .fancybox-thumbs {
  align-items: center;
  display: flex;
  height: 140px;
  justify-content: center;
  left: 0;
  overflow: hidden;
  padding: 0;
  right: 0;
  width: 100%;
}

@media screen and (min-width: 1024px) {
  .fancybox-thumbs__wrapper {
    height: 100%;
  }
}

@media (min-width: 600px) {
  body .fancybox-show-thumbs .fancybox-infobar {
    left: -162px;
  }

  body .fancybox-show-thumbs .fancybox-toolbar {
    right: -72px;
  }

  body .fancybox-show-thumbs .fancybox-thumbs {
    height: 100%;
    left: 0;
    overflow: hidden;
    padding: 0;
    top: 0;
    width: 140px;
  }

  body .fancybox-show-thumbs .fancybox-inner {
    right: 72px;
    left: 162px;
    bottom: 0;
  }

  .fancybox-thumbs__wrapper {
    flex-direction: column;
    max-height: 450px;
    height: 100%;
    width: 100%;
  }

  .fancybox-thumbs__wrapper .swiper-container {
    height: calc(100% - 90px);
    max-width: none;
    width: auto;
  }

  .fancybox-thumbs__wrapper .swiper-button-prev,
  .fancybox-thumbs__wrapper .swiper-button-next {
    transform: translateX(-30px);
  }

  .fancybox-thumbs__wrapper .swiper-button-prev {
    top: 22.5px;
    left: 50%;
  }

  .fancybox-thumbs__wrapper .swiper-button-next {
    top: calc(100% - 22.5px);
    left: 50%;
    right: auto;
  }

  .fancybox-navigation .fancybox-button div {
    height: 72px;
    width: 72px;
  }

  .fancybox-navigation .fancybox-button {
    width: 33.33%;
    height: calc(100% - 80px);
    top: 80px;
    /* background: var(--black_bg_black); */
  }

  .fancybox-button.fancybox-button--close {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 767px) {
  .fancybox-is-open .fancybox-navigation .fancybox-button:hover svg path,
  .fancybox-is-open .fancybox-navigation .fancybox-button svg:hover path {
    fill: var(--theme-base-color);
  }

  .fancybox-navigation .fancybox-button .svg {
    height: 45%;
  }
}