h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0px !important;
}

.beon-accessibility-link {
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    top: -10000em;
    width: 1px;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.beon-accessibility-link:focus {
    background-color: rgb(238.425, 238.425, 238.425);
    clip: auto !important;
    clip-path: none;
    color: #333;
    display: block;
    font-size: 1rem;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 12px 24px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

body:has(dialog[open]) {
    overflow: hidden;
}

body:has(dialog[open])>.container-wrap {
    scrollbar-gutter: stable;
    overflow: hidden;
}

.single-unit {
    font-family: var(--beon-font-family);
    color: var(--beon-unit-text-color);
    background-color: #F4F6F8;
}

.single-unit .container-wrap {
    padding: 0 26px;
}

.single-unit .main-content {
    max-width: 1520px;
    margin-left: auto;
    margin-right: auto;
}

.mobile-unit-top-row {
    display: none;
}

.unit-top-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0px;
}

.top-row-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
}

.unit-top-row .rating-wrapper,
.mobile-unit-top-row .rating-wrapper {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.unit-top-row .rating-wrapper .rating-box,
.mobile-unit-top-row .rating-wrapper .rating-box {
    height: 37px;
    width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--beon-unit-mini-rating-box-text-color);
    font: var(--beon-unit-mini-rating-box-font);
    background-color: var(--beon-unit-mini-rating-box-bg-color);
    border-radius: var(--beon-unit-mini-rating-box-border-radius);
}

.unit-top-row .rating-wrapper .rating-details,
.mobile-unit-top-row .rating-wrapper .rating-details {
    display: flex;
    flex-direction: column;
}

.unit-top-row .rating-wrapper .rating-details p,
.mobile-unit-top-row .rating-wrapper .rating-details p {
    margin: 0;
}

.unit-top-row .rating-details .rating-text,
.mobile-unit-top-row .rating-details .rating-text {
    font: var(--beon-unit-mini-rating-font-line-1);
}

.unit-top-row .rating-details .rating-count,
.mobile-unit-top-row .rating-details .rating-count {
    font: var(--beon-unit-mini-rating-font-line-2);
}

.unit-top-row .button-wrapper,
.mobile-unit-top-row .button-wrapper,
.sticky-sidebar .button-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
}

.mobile-unit-top-row .button-wrapper {
    justify-content: space-between;
}

.button-wrapper #openMapPopup,
.button-wrapper #openMapPopupMobile,
.button-wrapper .mobile-unit-gallery-button,
.mobile-unit-gallery-button:hover,
.mobile-unit-gallery-button:focus {
    padding: 0 25px;
    height: 40px;
    font: var(--beon-unit-map-button-font);
    color: var(--beon-unit-map-button-text-color);
    background-color: var(--beon-unit-map-button-bg-color);
    border: var(--beon-unit-map-button-border);
    border-radius: var(--beon-unit-map-button-border-radius);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: normal;
}

.button-wrapper #openMapPopup img,
.button-wrapper #openMapPopupMobile img,
.button-wrapper .mobile-unit-gallery-button img {
    filter: var(--beon-unit-map-button-icon-filter);
    height: 19px;
    width: 19px;
}

.open-grundriss-popup.mobile-unit-gallery-button img {
    width: 22px !important;
    height: 22px !important;
}

.button-wrapper .simplefavorite-button {
    height: 40px;
    padding: 0 25px;
    color: var(--beon-unit-fav-button-text-color);
    background-color: var(--beon-unit-fav-button-bg-color);
    border: var(--beon-unit-fav-button-border);
    border-radius: var(--beon-unit-fav-button-border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    white-space: normal;
}

.button-wrapper .simplefavorite-button:hover {
    color: var(--beon-unit-fav-button-text-color);
    background-color: var(--beon-unit-fav-button-bg-color);
    border: var(--beon-unit-fav-button-border);
    border-radius: var(--beon-unit-fav-button-border-radius);
}

.button-wrapper .simplefavorite-button.active {
    opacity: 1;
}

.button-wrapper .simplefavorite-button:focus-visible {
    outline: auto;
    color: var(--beon-unit-fav-button-text-color);
    border: var(--beon-unit-fav-button-border);
    background-color: var(--beon-unit-fav-button-bg-color);
}

.button-wrapper .simplefavorite-text {
    font: var(--beon-unit-fav-button-font);
}

.button-wrapper .simplefavorite-button img {
    filter: var(--beon-listing-favorite-icon-filter);
    width: 19px;
    height: 19px;
}

.beon-unit-row {
    display: flex;
    flex-wrap: wrap;
}

.left-col {
    width: 70%;
    padding-right: 100px;
    padding-left: 0px;
    padding-top: 26px;
}

.region-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    margin-bottom: 18px;
}

.region-row p {
    font: var(--beon-unit-region-font);
    margin: 0;
    color: var(--beon-primary-color-2);
}

.region-row img {
    filter: var(--beon-unit-region-icon-filter);
    width: 20px;
    height: 20px;

}

.container-wrap .title-row h1 {
    font: var(--beon-unit-title-font);
    color: var(--beon-primary-color-2);
    margin: 0px;
}

.container-wrap .title-row::after {
    content: '';
    position: absolute;
    height: 3px;
    width: 56px;
    background-color: var(--beon-primary-color);
    margin-top: 10px;
}

/* 
 * Pop up 
 */
.beon-unit-popup::backdrop {
    background-color: var(--beon-popup-overlay-bg-color);
    backdrop-filter: var(--beon-popup-overlay-backdrop-filter);
}

.beon-unit-popup {
    background-color: transparent;
    border: none;
    padding: 16px;
    margin: auto;
}

.beon-unit-popup-main {
    border: var(--beon-popup-border);
    border-radius: var(--beon-popup-border-radius);
    background-color: var(--beon-popup-bg-color);
    padding: 30px;
}

.beon-unit-popup #description-popup-close,
.beon-unit-popup #properties-popup-close,
.beon-unit-popup #map-popup-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: 16px;
    right: calc(-1 * (100% - 16px));
    width: 32px;
    height: 32px;
    padding: 10px;
    cursor: pointer;
    border: var(--beon-popup-close-border);
    border-radius: var(--beon-popup-close-border-radius);
    box-shadow: var(--beon-popup-close-shadow);
    background-color: var(--beon-popup-close-bg-color);
}

.beon-unit-popup #description-popup-close img,
.beon-unit-popup #properties-popup-close img,
.beon-unit-popup #map-popup-close img {
    filter: var(--beon-popup-close-icon-filter);
}

.beon-unit-popup-headline {
    display: flex;
    align-items: center;
    font: var(--beon-popup-headline-font);
    gap: 5px;
    padding-bottom: 15px;
    color: var(--beon-primary-color-2);
}

.beon-unit-popup-headline img {
    height: 23px;
    filter: var(--beon-popup-headline-icon-filter);
}

hr.beon-unit-popup-hr {
    color: var(--beon-popup-hr);
    background-color: var(--beon-popup-hr);
    height: 1px;
    border: none;
    margin: 0;
}

.beon-unit-popup-content {
    max-height: 55vh;
    min-width: 500px;
    max-width: 800px;
    margin-top: 10px;
    overflow-y: auto;
    scrollbar-color: var(--beon-border-color) var(--beon-popup-bg-color);
    scrollbar-width: thin;
    color: var(--beon-primary-color-2);
}

/* 
 * Sections 
 */
hr {
    border: none;
    border-bottom: 1px solid var(--beon-unit-hr-color);
    height: 1px;
    margin: 0px;
    margin-bottom: 30px;
}

.unit-wrap-highlights {
    margin-bottom: 25px;
}

.single-unit .unit-section-heading {
    font: var(--beon-unit-section-title-font);
    color: var(--beon-primary-color-2);
    margin: 0px;
    padding-bottom: 20px;
}

/* Section-Buttons */
.single-unit button.beon-unit-section-button {
    font: var(--beon-unit-section-button-font);
    color: var(--beon-unit-section-button-text-color);
    background-color: var(--beon-unit-section-button-bg-color);
    border: var(--beon-unit-section-button-border);
    border-radius: var(--beon-unit-section-button-border-radius);
    height: 45px;
    padding: 0 30px;
    width: fit-content;
    white-space: normal;
}

.single-unit button.beon-unit-section-button:hover,
.single-unit button.beon-unit-section-button:focus {
    font: var(--beon-unit-section-button-font);
    color: var(--beon-unit-section-button-text-color);
    background-color: var(--beon-unit-section-button-bg-color);
    border: var(--beon-unit-section-button-border);
    border-radius: var(--beon-unit-section-button-border-radius);
}

.single-unit button.beon-unit-section-button img {
    filter: var(--beon-unit-section-button-icon-filter);
}

.unit-wrap-properties,
.unit-wrap-ratings,
.unit-wrap-boutique,
.unit-wrap-bedrooms,
.unit-wrap-ankunft {
    margin: 60px 0;
}

.ankunftpoint-wrapper {
    padding: 50px 0px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    color: var(--beon-primary-text-color);
}

.ankunftwrapper p {
    color: var(--beon-primary-text-color);
    font-size: 20px;
    font-family: var(--beon-font-family-highlight);
}

.ankunft_info {
    display: flex;
    align-items: center;
    gap: 30px;
}

.verticle_line {
    width: 1px;
    height: 61px;
    background-color: var(--beon-border-color);
}

.unit-wrap-boutique .boutiquewrapper {
    background-color: var(--beon-primary-color-2);
    padding: 40px 30px;
    border: var(--beon-unit-feedback-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    color: var(--beon-white);
    border-radius: var(--beon-border-radius-small);
}

.boutiquewrapper p {
    font-size: 18px;
    margin: 0px;
    padding-top: 10px;
}

.boutiquewrapper ul.columns {
    columns: 2;
    padding: 0px;
}

.boutiquewrapper ul li {
    display: flex;
    align-items: start;
    gap: 10px;
    width: 94%;
    padding-bottom: 28px;
    position: relative;
    padding-left: 40px;
}

.check-red::before {
    content: "";
    background: url(/wp-content/themes/weber-foehr-theme/assets/images/check_red.svg);
    position: absolute;
    left: 0;
    right: 0;
    width: 28px;
    height: 28px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.boutiquewrapper h2 {
    color: var(--beon-primary-color) !important;
    font-size: 55px !important;
    font-family: var(--beon-font-family-eye) !important;
}

/* 
 * Right Column 
 */
.sticky-sidebar {
    position: sticky;
    top: 100px;
    margin-bottom: 30px;
}

.unit-booking-box {
    z-index: 2;
    margin-bottom: 20px;
}

.unit-sidebar-box {
    border: var(--beon-unit-sidebar-box-border);
    border-radius: var(--beon-unit-sidebar-box-border-radius);
    background-color: var(--beon-unit-sidebar-box-bg-color);
    color: var(--beon-unit-sidebar-box-text-color);
    padding: 25px;
}

.unit-sidebar-box-title {
    font: var(--beon-unit-sidebar-box-title-font);
    margin-top: 0;
    padding-bottom: 13px;
}

.unit-sidebar-box-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font: var(--beon-unit-sidebar-box-text-font);
}

.unit-sidebar-box-content img {
    width: 12px;
    height: 12px;
    margin-top: 4px;
}

.unit-sidebar-box-row {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: start;
}

/* Work further */
#map {
    display: block;
    height: 45vh;
    min-height: 45vh;
    border-radius: var(--beon-border-radius-small);
}

.distances-list {
    display: flex;
    justify-content: space-between;
    padding: 0;
    flex-wrap: wrap;
    margin: 0;
    row-gap: 5px;
}

.distances-list .single-distance {
    width: 50%;
    text-align: left;
}

.single-distance p {
    margin-bottom: 0;
    font: var(--beon-unit-map-popup-distance-font);
}

.distances-wrapper {
    max-height: 9vh;
    margin-top: 1vh;
    overflow-y: auto;
    scrollbar-color: var(--beon-border-color) var(--beon-popup-bg-color);
    scrollbar-width: thin;
}

.right-col {
    width: 30%;
    padding-left: 10px;
    padding-top: 50px;
}

.unit-section-separator .beon-open-accordeon,
.unit-section-separator .beon-open-accordeon:hover,
.unit-section-separator .beon-open-accordeon:focus {
    background: transparent !important;
    border: none;
    box-shadow: none;
    display: none;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    outline: none;
    color: inherit;
    padding: 0;
    margin: 0;
}

.unit-section-separator .beon-open-accordeon .unit-section-icon-wrapper {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--beon-unit-section-m-border-radius);
    background-color: var(--beon-unit-section-m-background-color);
}

.unit-section-separator .close.beon-open-accordeon .unit-section-icon-wrapper img {
    transform: rotate(0deg);
}

.unit-section-separator .beon-open-accordeon .unit-section-icon-wrapper img {
    transform: rotate(180deg);
    filter: var(--beon-unit-section-m-icon-filter);
    width: 12px;
}


.top-unitrating-wrapper {
    position: relative;
    padding-left: 35px;
}

.top-unitrating-wrapper::before {
    content: "";
    background: url(/wp-content/plugins/beon-voffice/assets/images/star-solid.svg);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(0px, -50%);
    width: 20px;
    height: 20px;
}

.mobile-rating-box,
.mobile-unit-gallery-button {
    display: none;
}

.top-sticky-wrap {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--beon-bg-color);
    border-bottom: 1px solid var(--beon-border-color);
    height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: height 0.3s ease, opacity 0.3s ease;
}

.top-sticky-wrap.visible {
    height: 50px;
    opacity: 1;
    pointer-events: all;
}

/* header.hidden {
    display: none;
} */


.top-row-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font: var(--beon-cal-day-font);
}

.scroll-list {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
    list-style-type: none;
    gap: 40px;
}

.scroll-list span {
    height: 50px;
}

.scroll-list a {
    font: var(--beon-cal-day-font);
    color: var(--beon-primary-text-color);
    display: flex;
    align-items: center;
    height: 100%;
}

.scroll-list span.active a,
.scroll-list a.active,
.scroll-list a:hover {
    font: var(--beon-fp-search-font);
    color: var(--beon-primary-text-color);
    border-bottom: 3px solid var(--beon-primary-color);
}

.top-rating-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--beon-primary-color-2);
}

#gallery-tab,
#ausstattung-tab,
#rating-tab,
#anreise-tab {
    scroll-margin-top: 60px;
}

a.back-link,
a.back-link:hover {
    color: var(--beon-primary-color-2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.weber-expose-box {
    background-color: var(--beon-primary-color-light);
    border-radius: var(--beon-border-radius-small);
    margin-top: 30px;
}

.weber-expose-content {
    padding: 18px 24px 30px 24px;
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.weber-expose-image img {
    height: 220px !important;
    width: 100%;
    border-radius: var(--beon-border-radius-small) var(--beon-border-radius-small) 0 0;
}

.weber-expose-content a .arrow-icon {
    transition: transform 0.3s ease;
    position: absolute;
    left: auto;
    right: 70px;
}

.weber-expose-content a:hover .arrow-icon {
    transform: translateX(4px);
}

.weber-expose-content a img {
    width: 6px;
    height: 10px;
}

.weber-expose-content a,
.weber-expose-content a:hover {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--beon-primary-color-2);
    border: none;
    border-radius: var(--beon-border-radius-large);
    color: var(--beon-white);
    border: none;
    font: var(--beon-fp-search-font);
}

#beon-search-maps-vue {
    height: 400px;
}

@media only screen and (max-width: 1550px) {
    .single-unit .main-content {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

}

@media only screen and (min-width:1200px){
     header {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform: translateY(0);
    opacity: 1;
}

header.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}
}

@media only screen and (max-width: 1200px) {
    .top-sticky-wrap {
        display: none;
    }

    header.hidden {
        display: block;
    }

    hr {
        margin-bottom: 10px;
    }

    .sticky-sidebar .button-wrapper {
        display: none;
    }

    .single-unit .container-wrap {
        padding: 0;
    }

    .button-wrapper .unit-favorite {
        width: 48%;
    }

    .button-wrapper #openMapPopupMobile,
    .button-wrapper .mobile-unit-gallery-button,
    .mobile-unit-gallery-button:hover,
    .mobile-unit-gallery-button:focus {
        width: 48%;
        justify-content: center;
        gap: 10px;
        background-color: white !important;
        color: inherit !important;
    }


    .mobile-rating-box {
        background-image: url(/wp-content/themes/weber-foehr-theme/assets/images/rating_star.svg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        color: var(--beon-unit-rating-box-text-color);
        font: var(--beon-unit-rating-box-font);
        display: flex;
        align-items: center;
        justify-content: center;
        width: fit-content;
        position: absolute;
        top: 20px;
        right: 20px;
        height: 36px !important;
        width: 36px;
        padding-bottom: 3px;
    }

    .button-wrapper .mobile-unit-gallery-button img {
        height: 12px;
        width: 12px;
    }

    .unit-top-row {
        display: none;
    }

    .beon-unit-row {
        background-color: var(--beon-unit-mobile-overlay-bg-color);
        border-radius: var(--beon-border-radius-medium) var(--beon-border-radius-medium) 0 0;
        position: relative;
        padding: 0 16px;
    }

    .mobile-unit-gallery-button {
        display: block;
    }

    .left-col,
    .right-col {
        width: 100%;
        padding: 16px 0;
    }

    .region-row p {
        font: var(--beon-unit-region-font-m);
    }

    .container-wrap .title-row h1 {
        font: var(--beon-unit-title-font-m);
        width: 80%;
    }

    .single-unit .unit-section-heading {
        font: var(--beon-unit-section-title-font-m);
    }

    .unit-wrap-highlights {
        margin-bottom: 15px;
    }

    .unit-wrap-properties,
    .unit-wrap-ratings,
    .unit-wrap-boutique,
    .unit-wrap-bedrooms,
    .unit-wrap-ankunft {
        margin: 15px 0;
    }

    .mobile-unit-top-row {
        display: flex;
        flex-direction: column;
        margin-top: 30px;
        margin-bottom: 25px;
    }

    .mobile-unit-top-row .rating-wrapper .rating-box {
        margin-bottom: 20px;
    }

    .mobile-unit-top-row .rating-wrapper .rating-details {
        margin-bottom: 20px;
    }

    

    .mobile-unit-top-row .button-wrapper #openMapPopupMobile {
        padding: 0 10px;
    }

    .region-row {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .container-wrap .title-row {
        margin-top: 10px;
    }

    .unit-section-separator .beon-open-accordeon,
    .unit-section-separator .beon-open-accordeon:hover,
    .unit-section-separator .beon-open-accordeon:focus {
        display: flex;
        padding-bottom: 12px;
    }

    .unit-section-heading {
        display: none;
    }

    .beon-open-accordeon .unit-section-heading {
        display: block;
        padding: 0px;
    }

    .boutiquewrapper p {
        font-size: var(--beon-font-size-15);
    }

    .boutiquewrapper ul.columns {
        columns: 1;
    }

    .wrap-ratings-content,
    #bedroomswrapper,
    .unit-boutiquewrapper,
    .unit-ankunftwrapper {
        display: none;
    }

    /*Pop Up*/
    .beon-unit-popup {
        max-width: 95vw;
    }

    .beon-unit-popup-main {
        padding: 20px;
    }

    .beon-unit-popup-content {
        min-width: inherit;
        max-width: calc(95vw - 2 * 20px);
    }

    /* Booking component */
    .sticky-sidebar {
        position: inherit;
    }

    .unit-booking-box {
        position: fixed;
        bottom: 0;
        left: 0;
        top: auto;
        width: 100%;
        margin-bottom: 0;
        z-index: 3;
    }
}