@charset "UTF-8";
.container-ba {
  position: relative;
  width: 100%;
  height: 600px;
  max-height: 600px; /*-*/
  overflow: hidden; /*-*/
  user-select: none;
}

.before-image-ba,
.after-image-ba {
  position: absolute; /*-*/
  width: 100%;
  height: 100%; /*-*/
}

.before-image-ba img,
.after-image-ba img {
  width: 100%;
  height: 100%; /*-*/
  object-fit: cover;
}

.after-image-ba img {
  height: 100%;
  object-fit: cover;
}

/* Начальное обрезание After-изображения */
.after-image-ba {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 50% 0 0);
}

/* Ползунок */
.slider-ba {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: white;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.slider-ba:hover .handle-ba-tooltip {
  opacity: 1;
  visibility: visible;
}

.handle-ba-tooltip {
  position: absolute;
  padding: 8px 12px;
  background-color: #fff;
  top: 40%;
  left: -50px;
  transform: translateY(-50%);
  display: inline-block;
  font-size: 14px;
  white-space: nowrap;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
}

.handle-ba {
  position: absolute;
  top: 0;
  left: 50%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  background-image: url("../images/bahandle.png");
}

.cs-point {
  display: inline-block;
  position: absolute;
  width: 50px;
  height: 50px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  background-color: red;
  left: 70%;
  top: 30%;
}

.e-hotspot__label.empty {
  display: inline-block;
  width: 20px; /* Размер иконки */
  height: 20px;
  background-color: transparent; /* Белый фон */
  border-radius: 50%; /* Делаем его круглым */
  text-align: center;
  line-height: 25px; /* Центрирование текста */
  font-size: 20px;
  font-weight: bold;
  color: black; /* Цвет знака "+" */
  cursor: pointer;
}
.e-hotspot__label.empty img {
  height: 20px;
  width: 20px;
}

.after-text {
  position: absolute;
  bottom: 30px;
  right: 20px;
  z-index: 3;
  font-weight: 600;
  font-size: 20px;
  color: white;
  padding: 4px 16px;
  display: inline-block;
}

.before-text {
  position: absolute;
  bottom: 30px;
  left: 20px;
  z-index: 3;
  font-weight: 600;
  font-size: 20px;
  color: white;
  padding: 4px 16px;
  display: inline-block;
}

.top-right-text {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  font-weight: 600;
  font-size: 20px;
  color: white;
  padding: 4px 16px;
  display: inline-block;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@-webkit-keyframes etheme-hotspot-expand {
  from {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    opacity: 1;
  }
  to {
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
    opacity: 0;
  }
}
@keyframes etheme-hotspot-expand {
  from {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    opacity: 1;
  }
  to {
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
    opacity: 0;
  }
}
@-webkit-keyframes etheme-hotspot-shadow {
  0% {
    -webkit-box-shadow: 0 0 0 0 var(--hotspot-animation-shadow-color, rgba(0, 0, 0, 0.4));
    box-shadow: 0 0 0 0 var(--hotspot-animation-shadow-color, rgba(0, 0, 0, 0.4));
  }
  70% {
    -webkit-box-shadow: 0 0 0 var(--hotspot-animation-shadow-size, 10px) transparent;
    box-shadow: 0 0 0 var(--hotspot-animation-shadow-size, 10px) transparent;
  }
  100% {
    -webkit-box-shadow: 0 0 0 0 transparent;
    box-shadow: 0 0 0 0 transparent;
  }
}
@keyframes etheme-hotspot-shadow {
  0% {
    -webkit-box-shadow: 0 0 0 0 var(--hotspot-animation-shadow-color, rgba(0, 0, 0, 0.4));
    box-shadow: 0 0 0 0 var(--hotspot-animation-shadow-color, rgba(0, 0, 0, 0.4));
  }
  70% {
    -webkit-box-shadow: 0 0 0 var(--hotspot-animation-shadow-size, 10px) transparent;
    box-shadow: 0 0 0 var(--hotspot-animation-shadow-size, 10px) transparent;
  }
  100% {
    -webkit-box-shadow: 0 0 0 0 transparent;
    box-shadow: 0 0 0 0 transparent;
  }
}
@-webkit-keyframes etheme-hotspot-soft-beat {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  to {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
}
@keyframes etheme-hotspot-soft-beat {
  from {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  to {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
}

/*# sourceMappingURL=site-styles.css.map */
