/* .hotspot-carousel */
html {
  scroll-behavior: smooth;
}

.hotspot-carousel .carousel-inner {
    position: relative;
}

.hotspot-carousel .carousel-items {
    position: relative;
    aspect-ratio: 39/22;
}

.hotspot-carousel .carousel-items.focus {
    padding: 2px;
    border: solid 3px #005a9c;
}

.hotspot-carousel .carousel-item {
    position: absolute;
    overflow: hidden;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    animation: fade-out 500ms forwards;
    transition: all 0.5s ease-in-out;
}

.hotspot-carousel .carousel-item.active {
    display: block;
    opacity: 1;
    visibility: visible;
    animation: fade-in 500ms forwards;
}

.hotspot-carousel .carousel-item .carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 39/22;
}

.hotspot-carousel .controls {
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.hotspot-carousel button {
    display: block;
    position: absolute;
    top: calc(50% - 15px);
    height: 30px;
    width: 30px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.2);
    background-image: url(https://www.omnihotels.com/assets/css/img/slick-nav-arrow.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30%;
    border: 1px solid white;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

@media screen and (min-width: 768px) {
    .hotspot-carousel button {
        display: block;
        top: calc(50% - 25px);
        height: 50px;
        width: 50px;
        background-size: 24%;
    }
}
.hotspot-carousel button.previous {
    left: 0;
    left: 15px;
    transform: rotate(180deg);
}

.hotspot-carousel button.next {
    right: 0;
    right: 15px;
    transform: rotate(0deg);
}

.hotspot-carousel .all-tooltipx {
    z-index: 20;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fade-out {
    100% {
        opacity: 0;
    }
    0% {
        opacity: 1;
    }
}
