[hidden] { display: none !important; }
.resort-slider-controls {
    position: absolute;
    z-index: 3;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1.25rem;
    display: flex;
    gap: .5rem;
}
.resort-slider-controls button {
    width: .75rem;
    height: .75rem;
    border: 1px solid white;
    border-radius: 50%;
    background: rgba(0, 0, 0, .35);
    cursor: pointer;
    padding: 0;
}
.resort-slider-controls button[aria-pressed=true] { background: white; }
.main_top_slider { position: relative; }
.booking-fallback { display: inline-block; padding: .75rem 1rem; background: #e87019; color: #fff; border-radius: .25rem; text-decoration: none; font-weight: 700; }
#tl-search-form:not(:has(iframe)) { max-width: 1180px; margin: 0 auto; text-align: center; }
.resort-offer .main_top_slider:empty { display: none; }
.resort-offer .resort-offer-booking { position: relative; max-width: 1180px; margin-inline: auto; padding: 14px 12px 6px; }
.resort-offer .resort-offer-booking #tl-search-form { margin-inline: 0; }
.resort-offer .main_top_menu { position: static; padding: 10px 16px 14px; }
.resort-offer .main_top_menu .menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
.resort-offer .main_top_menu .menu li { float: none; margin: 0; padding: 0; border: 0; }
.resort-offer .main_top_menu .menu a { display: block; padding: 6px 0; background: transparent; line-height: 1.25; }
.resort-404 { background: #f4f7fa; color: #192d45; }
.resort-error {
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    font: 18px/1.45 'Proxima Nova', Arial, sans-serif;
}
.resort-error-brand img { width: min(50vw, 190px); height: auto; }
.resort-error-code { margin: 20px 0 0; color: #124489; font-size: clamp(3.25rem, 13vw, 6rem); font-weight: 700; line-height: 1; }
.resort-error h1 { margin: 12px 0 4px; font-size: clamp(1.5rem, 5vw, 2.25rem); }
.resort-error p { max-width: 34rem; }
.resort-error nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 20px; margin-top: 12px; }
.resort-error nav a { color: #124489; }
.resort-error nav .resort-error-primary { padding: 9px 16px; border-radius: 4px; color: #fff; background: #124489; text-decoration: none; }
.resort-error nav a:focus-visible { outline: 2px solid #e87019; outline-offset: 3px; }
.resort-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3rem) / 4);
    gap: 1rem;
    overflow: auto hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    list-style: none;
    margin: 0;
    padding: 0;
}
.resort-carousel::-webkit-scrollbar { display: none; }
.resort-carousel > * { scroll-snap-align: start; min-width: 0; }
.resort-links-offers .content, .resort-gallery-block .content { position: relative; }
.carousel-controls { display: flex; justify-content: space-between; position: absolute; left: 1rem; right: 1rem; top: 54%; pointer-events: none; }
.carousel-controls button { pointer-events: auto; width: 2.25rem; height: 2.5rem; display: grid; place-items: center; border: 0; background: #ffffff70; border-radius: 50%; color: #161514; cursor: pointer; }
.carousel-controls button:hover { background: #ffffffa8; }
.carousel-controls button::before { content: ""; width: .48rem; height: .48rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(-45deg); }
.carousel-controls button.carousel-prev::before { transform: rotate(135deg); }
.resort-gallery-block .sliderprog_items img { width: 100%; height: auto; }
.resort-links-offers { padding-bottom: 20px; }
.main_article:has(> .content > .newsmain3) { padding-block: 0 22px; }
.mobile-submenu { display: none; }
@media (min-width: 1024px) {
    #head .main_menu .menu > li { position: relative; }
    #head .main_menu .sub-menu {
        display: none;
        position: absolute;
        left: 0;
        top: 100%;
        min-width: 14rem;
        max-width: 21rem;
        z-index: 30;
        padding: .25rem 0;
        margin: 0;
        background: #fff;
        box-shadow: 0 8px 20px #12315b40;
    }
    #head .main_menu .sub-menu li { display: block; position: relative; float: none; margin: 0; padding: 0; }
    #head .main_menu .sub-menu a { display: block; padding: .55rem .8rem; text-transform: none; line-height: 1.3; white-space: normal; }
    #head .main_menu li:hover > .sub-menu, #head .main_menu li:focus-within > .sub-menu { display: block; }
    #head .main_menu .sub-menu .sub-menu { top: 0; left: 100%; }
}
.resort-lightbox { max-width: calc(100vw - 2rem); max-height: calc(100vh - 2rem); padding: .6rem; border: 0; }
.resort-lightbox::backdrop { background: rgba(0, 0, 0, .8); }
.resort-lightbox img { display: block; max-width: 100%; max-height: 82vh; object-fit: contain; }
.resort-lightbox button { display: block; margin: 0 0 .5rem auto; }
.resort-gallery .list { display: flex; gap: .7rem; flex-wrap: wrap; }
.resort-gallery img { max-width: 100%; height: auto; }
.resort-all-inclusive { max-width: 75rem; margin: 1.4rem auto; padding: 0 1rem; }
.resort-all-inclusive a { display: flex; align-items: center; gap: 1rem; color: #123b6a; text-decoration: none; font-size: 1.25rem; }
.resort-all-inclusive img { width: min(30%, 12rem); height: auto; border-radius: .2rem; }
.resort-offer { margin: 0; }
.resort-offer img { width: 100%; max-height: 32rem; object-fit: cover; display: block; }
.resort-intro, .resort-admin-links { padding-block: .8rem; }
#resort-panorama { height: min(72vh, 46rem); background: #21352d center / cover no-repeat; }
.resort-panorama-page #resort-panorama { height: 100dvh; }
.resort-panorama-page .inner_top_wrapper { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.panorama-home { position: absolute; z-index: 3; top: 1rem; left: 1rem; }
.panorama-home img { width: min(38vw, 12rem); height: auto; }
#body img { max-width: 100%; }
#body iframe { max-width: 100%; }
.table-scroll { overflow: auto; max-width: 100%; }
.form-block { margin: 1.25rem 0; }
.form-block summary { cursor: pointer; }
.form-block label { display: block; margin: .5rem 0; }
.form-block textarea { width: min(100%, 38rem); }
@media (max-width: 1023px) {
    .main_menu.is-open { display: block !important; }
    .main_menu .menu li { position: relative; }
    .main_menu .menu li > .sub-menu { display: none; }
    .main_menu .menu li.open-submenu > .sub-menu { display: block; position: static; }
    .main_menu .mobile-submenu {
        display: grid;
        place-items: center;
        position: absolute;
        top: 0;
        right: .5rem;
        min-height: 2rem;
        width: 2rem;
        background: transparent;
        border: 0;
        color: inherit;
    }
    .main_menu .mobile-submenu::after {
        content: "";
        width: .5rem;
        height: .5rem;
        border: solid currentColor;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }
    #body .inner_article, #body .main_article, #body .comment_wrapper { overflow-wrap: anywhere; }
    .fix_but { display: none !important; }
    .resort-mobile-links { display: flex !important; flex-wrap: wrap; gap: .7rem; padding: .75rem; justify-content: center; }
    .resort-gallery .list li { width: min(45%, 180px); }
    .resort-carousel { grid-auto-columns: calc((100% - 1rem) / 2); }
}
@media (max-width: 575px) {
    .resort-carousel { grid-auto-columns: 100%; }
    .main_top_slider .bx_slider li { height: 60px; padding: 0; overflow: hidden; }
    .main_top_slider .bx_slider li > img { height: 60px; object-fit: cover; }
    .resort-slider-controls { bottom: .35rem; }
}
.resort-mobile-links { display: none; }
