body.open-hoteles-carousel {
    overflow: hidden;
}

/* prettier-ignore */
dialog#hoteles::backdrop {
    background-color: rgba(0, 0, 0, 0.3);
    transition: display 0.7s allow-discrete, overlay 0.7s allow-discrete, background-color 0.7s;
}

dialog#hoteles[open] {
    width: 75%;
    max-width: 843px;
    height: 75%;
    max-height: 582px;
    user-select: none;
    border-radius: 20px;
    display: flex;
    flex-direction: row;
    /* position: relative; */
    padding: 0;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
}

dialog#hoteles button.close {
    width: 34px;
    height: 34px;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

dialog#hoteles button.close svg path {
    color: white;
}

dialog#hoteles div.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: 100%;
}

dialog#hoteles div.carousel div.item {
    min-width: 100%;
    box-sizing: border-box;
    position: relative;
}

dialog#hoteles div.carousel img {
    width: 100%;
    height: 100%;
    display: block;
}

dialog#hoteles div.carousel div.overlay {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

dialog#hoteles div.carousel div.item h3.caption {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 2;
    /* font-size: 24px; */
    font-size: 1.2em;
    color: white;
    width: 100%;
    text-align: center;
}

dialog#hoteles button.control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 2;
    font-size: 24px;
    color: white;
}

dialog#hoteles button.control.prev {
    left: 20px;
}

dialog#hoteles button.control.next {
    right: 20px;
}

dialog#hoteles button.control.prev svg,
dialog#hoteles button.control.next svg {
    height: 34px;
    width: 34px;
    stroke-width: 3px;
}

dialog#hoteles button.control.prev svg path,
dialog#hoteles button.control.next svg path {
    color: white;
    stroke-width: 2px;
}

@media (max-width: 1024px) {
    dialog#hoteles[open] {
        /* border-radius: 0;
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        max-height: 100vh; */
        width: 90%;
        max-width: 843px;
        height: 90%;
        max-height: 450px;
    }

    dialog#hoteles div.carousel div.item h3.caption {
        top: 100%;
        transform: translate(-50%, -100%);
    }
}
