/* Fancybox */
.fancybox-bg {
  background-color: rgba(0, 0, 0, 0.35);
}

.fancybox-slide {
  padding: 50px;
}

.fancybox-slide::before {
  display: none;
}

.fancybox-content {
  overflow: visible;
  padding: 0;
}

.fancybox-close-small {
  width: 33px;
  height: 33px;
  top: -50px;
  padding: 0;
  opacity: 1;
}

.fancybox-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  cursor: pointer;
  border: 0;
  background: transparent;
}

.fancybox-close:hover .fancybox-close-icon path {
  stroke: var(--color9);
}

.fancybox-button .fancybox-button-arrow {
  width: 14px;
  height: 10px;
}

.fancybox-nav-block {
  display: flex;
  justify-content: space-between;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.fancybox-button {
  padding: 0;
  position: absolute;
  top: 0;
  width: 40px;
  height: 100%;
  background: transparent;
}
.fancybox-button svg path {
  fill: transparent;
  stroke-width: 2;
}

.fancybox-button--arrow_right {
  right: -55px;
}

.fancybox-button--arrow_left {
  left: -55px;
}

.fancybox-button-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--color6);
}
.fancybox-slide--image .fancybox-close-small {
  top: -50px;
  right: -50px;
  background-color: transparent;
}

.fancybox-toolbar {
  display: none;
}

.fancybox-infobar {
  display: none;
}

.fancybox-active .wrapper {
  -webkit-filter: blur(15px);
  -moz-filter: blur(15px);
  -o-filter: blur(15px);
  -ms-filter: blur(15px);
  filter: blur(15px);
}

@media screen and (max-width: 770px) {
  .fancybox-slide {
    padding: 50px 11px;
  }
  .fancybox-close {
    top: 13px;
    right: 13px;
  }
  .fancybox-button--arrow_right {
    right: 10px;
  }
  .fancybox-button--arrow_left {
    left: 10px;
  }
  .fancybox-button-icon {
    width: 35px;
    height: 35px;
  }
}
/* /Fancybox */

.decor-popup {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.popup {
  width: 100%;
  max-width: 490px;
  border-radius: 10px;
  box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.1);
}
.popup-content {
  padding: 60px;
}
.popup-title {
  display: block;
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: 500;
  line-height: 36px;
  letter-spacing: 0.84px;
  color: var(--color2);
}
.popup-info {
  margin-bottom: 25px;
  font-size: 12px;
  line-height: 14px;
  color: var(--color9);
  letter-spacing: 0.36px;
}
.popup-button {
  width: 100%;
  text-transform: none;
  font-weight: 600;
}
.popup-subtitle {
  text-align: center;
  margin-bottom: 25px;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.36px;
}
.popup-city {
  max-width: 1300px;
  border-radius: 10px;
}
.popup-city .popup-content {
  padding-top: 30px;
  padding-bottom: 40px;
}
.popup-city .popup-title {
  text-align: left;
  font-weight: 600;
}
.popup_success {
  max-width: 360px;
}
.popup_success .popup-title {
  text-align: center;
}
.popup_success .popup-buttons {
  text-align: center;
}
@media screen and (min-width: 1500px) {
  .popup_success .popup-content {
    padding-bottom: 50px;
  }
}
@media screen and (max-width: 992px) {
  .popup-content {
    padding: 37px 22px 30px;
  }
  .popup-title {
    margin-bottom: 10px;
    font-size: 26px;
    line-height: 30px;
  }
  .popup-info {
    margin-bottom: 24px;
    font-size: 13px;
    line-height: 21px;
  }
  .popup-city {
    max-width: 443px;
  }
  .popup-city .popup-content {
    padding-top: 29px;
    padding-left: 25px;
    padding-right: 25px;
  }
  .popup-city .popup-title {
    text-align: left;
  }
}