:root {
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p {
        margin-block-start: 0rem;
        margin-block-end: 0rem;
    }
}

.main-content {
    max-width:1250px;
    padding: 100px 0px;
    margin-left: auto;
    margin-right: auto;
}

.title-row {
    height: 100px;
    align-items: center;
    display: flex;
    justify-content: flex-start;
}

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

.left-col {
    width: 70%;
    padding-left: 0px;
    padding-top: 21px;
}

.right-col {
    width: 30%;
    padding-left: 80px;
}


.unit-section-separator {
    border-bottom: 1px solid var(--beon-divider-color);
}

.unit-section-separator h5 {
    margin: 0px;
    line-height: 30px !important;
}

a#min-price-btn {
    width: auto;
    text-align: right;
    position: absolute;
    right: 0;
    top: 0;
    padding: 20px;
    background: var(--button-color);
    color: var(--link-color);
    transform: translate(0, -50%);
    border-radius: var(--border-radius);
    font-size: var(--font-size-medium);
}

.contact_area ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.contact_area ul a {
    display: flex;
    align-items: center;
    padding-bottom: 10px;
    color: inherit;
    font-size: var(--font-size-medium);
}

a#min-price-btn p {
    padding: 0;
    margin: 0;
}


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

/*Favourites*/

.favouritebtn {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.favouritebtn.mobile {
    display: none;
}

.favouritebtn .simplefavorite-button {
    padding: 0;
    font-size: 0;
    cursor: pointer;
    width: 35px;
    height: 35px;
    background-color: white;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 50%;
    border: none;
    display: grid;
    place-items: center;
    /* color: #b3b3b3 !important; */
    position: relative;
}

.favouritebtn .simplefavorite-button:hover,
.back-button:hover {
    background-color: var(--beon-primary-color) !important;
}

.favouritebtn .simplefavorite-button:hover::before {
    content: "";
 background-image: url(/wp-content/themes/ilovesylt/assets/images/heart-regular-white.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    width: 18px !important;
    height: 18px !important;
}

.favorites-button {
    position: relative;
}

.simplefavorite-button::before {
    content: "";
     background-image: url(/wp-content/themes/ilovesylt/assets/images/favorite.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    width: 18px;
    height: 18px;
}

.simplefavorite-button:focus {
    outline: none;
    border: none;
}

.simplefavorite-button.active {
    opacity: 1 !important;
}

.simplefavorite-button.active::before {
    content: "";
    background-image: url(/wp-content/themes/ilovesylt/assets/images/heart-solid.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    width: 18px;
    height: 18px;
}

.simplefavorite-button.active:hover::before {
    content: "";
    background-image: url(/wp-content/themes/ilovesylt/assets/images/heart-solid-white.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    width: 18px;
    height: 18px;
}


.simplefavorite-button:hover {
    background-color: transparent !important;
}


.region-row {
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
    padding-bottom: 10px;
    align-items: center;
}

.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;
}

.top-breadcrumps-row {
    padding-bottom: 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 15px;
}

.top-breadcrumps-row p {
    margin: 0;
    flex: 0 1 auto;
}


.top-breadcrumps-row p a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.unit-region {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.top-breadcrumps-row p,
.breadcrumps-row a,
.breadcrumps-row-mobile a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    color: var(--beon-text-color);
    margin: 0px;
}

.breadcrumps-img {
    width: 40px !important;
    height: 40px !important;
}

.unit-rating-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ratingnumber-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1em;
    background: var(--beon-green-color);
    color: white;
    height: fit-content;
    background-size: contain;
    background-repeat: no-repeat;
    height: 36px;
    width: 55px;
    border-radius: 50px 50px 0px 50px;
}

.right-box-rating {
    flex: 0 1 auto;
    display: flex;
    gap: 80px;
    align-items: center;
    justify-content: center;
}

#dark-bg-overlay,
.modal-overlay {
    display: none;
    position: fixed;
    padding: 0;
    margin: 0;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(2px);
    z-index: 10;
}

.beon-nav-tabs {
    display: flex;
    justify-content: center;
    flex: 1;
    z-index: 1;
    height: 70px;
}

.unit-wrap-gallery.unit-single-section {
    position: relative;
}

.box-right-vorteile {
    margin: 20px 0px;
    padding: 20px;
    background-color: var(--beon-highlight-color);
    border-radius: var(--beon-border-radius);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vorteile {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
}

.vorteile p {
    margin: 0px !important;
}

.vorteile img {
    width: 22px;
    height: 22px;
}

.more_properties p {
    margin: 0px;
}

button#moreIntroBtn.more_intro,
button#moreIntroBtn.more_intro:hover {
    border: 1px solid var(--beon-text-color);
    background-color: inherit !important;
    color: var(--beon-text-color);
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin: 23px 0px;
    height: 50px;
    font-weight: 400;
}

.wrap-description {
    height: 50vh;
    overflow-y: scroll;
    padding-right: 15px;
}

.more_intro p {
    margin: 0px !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.more_intro p img {
    width: 20px;
    height: 20px;
}

.toggleBeschreibung h4 {
    border-bottom: 1px solid var(--beon-border-color);
    margin: 0px;
    color: var(--beon-text-color);
    text-align: left;
    margin-bottom: 20px;
    font-weight: var(--beon-bold);
}

.toggleMap-unit,
.toggleBeschreibung {
    display: none;
    position: fixed;
    background-color: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    padding: 2rem;
    border: 1px solid var(--beon-popup-border-color);
    border-radius: var(--beon-border-radius);
    margin:0px;
}

.wrap-region {
    display: flex;
}

#mapButton-unit {
    display: flex;
    background-color: var(--beon-secondary-button-color);
    color: white;
    font-weight: 400;
    gap: 10px;
    align-items: center;
    justify-content: center;
    border: 0;
    width: 100%;
}

#map {
    min-height: 50vh !important;
    min-width: 500px !important;
}

#map-close-unit,
#beschreibung-close,
#video-close {
    position: absolute;
    top: -1rem;
    right: -1rem;
    /* width: 2rem; */
    height: 28px !important;
    padding: 0.3rem;
    cursor: pointer;

    img {
        display: flex;
    }
}

#map-close-unit img,
#beschreibung-close img,
#video-close img {
    width: 28px !important;
    height: 28px !important;
    object-fit: cover;
}

.scroll-list {
    display: flex;
    justify-content: center;
    background-color: #fff;
    border-radius: var(--beon-btn-border-radius);
    box-shadow: var(--beon-box-shadow);
    padding: 7px 8px;
    position: fixed;
    z-index: 0;
    height: 69px;
    list-style-type: none;
}

.scroll-list li a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--beon-text-color);
    padding: 15px 20px;
    min-width: 117px;
    width: 100%;
    height: 100%;
    font-size: var(--beon-regular-font-size);
}
.scroll-list li a:hover{
     font-size: var(--beon-regular-font-size) !important;
}
.scroll-list li {
    flex-grow: 1;
    background-color: transparent;
    transition: background-color 0.3s ease;
    border-radius: 30px;
}

.scroll-list li.active {
    background-color: var(--beon-primary-color);
    color: white;
}

.scroll-list li.active a {
    color: white !important;
}

.scroll-list li.active img {
    filter: invert(1);
}

.scroll-list li img {
    width: 20px;
    margin-right: 8px;
}

.booking-conditions {
    background-color: var(--beon-highlight-color);
    padding-top: 50px;
    padding-bottom: 90px;
}

.booking-conditions h5 {
    margin: 0px !important;
}

.booking-conditions .divider {
    content: '';
    border: 1px solid var(--beon-border-color);
}

.booking-conditions .container {
    max-width: 1250px;
    margin: 0 auto;
}

.booking-conditions .row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 50px;
    width: 100%;
}

.booking-conditions .column1 {
    width: 36%;
    padding: 0px;
}

.booking-conditions .column2 {
    width: 36%;
    padding: 0px;
}

.booking-conditions .column3 {
    width: 28%;
    padding: 0px;
}


.booking-conditions h4 {
    margin: 0px !important;
    padding-bottom: 20px;
}

.booking-conditions ul {
    list-style-type: none;
    padding: 0;
}

.booking-conditions li {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    font-size: var(--beon-medium-font-size);
    margin-bottom: 10px;
    line-height: 32px;
}

.booking-conditions img {
    margin-right: 10px;
    width: 28px;
    height: 28px;
}


.booking-conditions .step {
    display: flex;
    align-items: center;
    padding-top: 10px;
    /* margin-bottom: 20px; */
}

#horizontal-line {
    width: 2px;
    height: 40px;
    background: var(--beon-border-color);
    position: relative;
    left: 25px;
}

.step-number {
    background-color: white;
    font-size: 25px;
    border-radius: 50%;
    min-width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: var(--beon-font-weight-thin);
}

.step-text {
    font-size: var(--beon-medium-font-size);
    padding-left: 12px;
}

.beon-mobile-btn,
.map-wrapper-mobile,
.mobile-video {
    display: none;
}

#mapButton-unit img,
#mapButton-mobile-unit img {
    width: 20px;
    height: 20px;
}

.premium-highlight-wrapper {
    position: absolute;
    left: 20px;
    top: 20px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: var(--beon-border-radius);
    width: 135px;
    max-width: 135px;
    height: 60px;
    background: white !important;
    opacity: 1;
    gap: 5px;
}

.left-icon-wrapper img,
.left-icon-wrapper {
    height: 40px !important;
    object-fit: contain !important;
}

.premium-highlight-wrapper .premium-highlight p {
    color: var(--beon-secondary-color);
    font-size: 12px;
    margin: 0px !important;
    line-height: 15px;
    text-align: center;
}

.box-right {
    position: sticky;
    top: 150px;
    z-index: 1;
}

#mapButton-tab {
    position: sticky;
    top: 390px;
}

.contact_area {
    height: 100%;
}

.gallerybtns {
    background-color: var(--beon-secondary-button-color);
    border: none;
    display: flex;
    width: 140px;
    height: 50px;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    outline: none;
    color: white !important;
    border-radius: 50px;
    padding: 0px 20px;
    box-shadow: var(--beon-box-shadow);
}

.gallerybtns img {
    height: 20px;
    width: 20px;
    filter: invert(1);
}

.grundriss_btn {
    position: absolute;
    z-index: 1;
    bottom: 20px;
    left: auto;
    left: 20px;
}

.back-button {
    padding: 0;
    font-size: 0;
    cursor: pointer;
    width: 35px;
    height: 35px;
    background-color: white;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 50%;
    border: none;
    display: flex;
    /* position: relative; */
    justify-content: center;
    align-items: center;
}

.back-button::before {
    content: "";
    background-image: url(/wp-content/themes/ilovesylt/assets/images/chevron-left.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    width: 16px;
    height: 16px;
    transform: rotate(180deg);
}

.back-button:hover::before {
    content: "";
    background-image: url(/wp-content/themes/ilovesylt/assets/images/chevron-right.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    width: 16px !important;
    height: 16px !important;
    transform: rotate(180deg);
}


.toggleVideo {
    display: none;
    position: fixed;
    background-color: var(--beon-form-background);
    top: 50%;
    left: 50%;
    padding: 1.5rem;
    transform: translate(-50%, -50%);
    z-index: 100;
    border-radius: var(--beon-border-radius);
    max-width: 100vw;
    max-height: 90vh;
}

.toggleVideo .unit-wrap-video {
    height: 100%;
}

.wrap-panorama {
    height: max-content;
}

.wrap-panorama video {
    width: 100% !important;
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media only screen and (max-width:1550px) and (min-width:1025px) {
    .main-content {
    max-width: 1140px;
}
    .container-wrap::before {
        display: none;
    }
    .booking-conditions {
        padding: 40px 100px;
    }

    .right-box-rating .rating-description-wrapper {
        display: none;
    }

    #map {
        min-height: 65vh;
        width: 100%;
    }

    .beon-nav-tabs {
        margin: 0px 25%;
    }

    .right-box-rating {
        display: flex;
        gap: 30px;
        align-items: center;
        justify-content: center;
    }

    .right-col {
        padding-left: 30px;
    }

    .booking-conditions .column1 {
        width: 38%;
    }

    .booking-conditions .column2 {
        width: 32%;
    }

    .booking-conditions .column3 {
        width: 30%;
    }

    .booking-conditions .row {
        padding-bottom: 50px;
    }

}

@media only screen and (max-width: 1024px) {
    .main-content{
        padding:100px 30px;
        width: 100%;
    }
    .container-wrap::before {
        display: none;
    }
    .booking-conditions {
        padding: 50px 30px;
    }

    .toggleVideo {
        width: auto;
    }

    .toggleMap-unit,
    .toggleBeschreibung {
        width: 70vw;
    }

    .booking-conditions .row {
        flex-direction: column;
    }

    .beon-nav-tabs {
        display: none;
    }

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

    #map {
        width: 100%;
        height: 50vh !important;
        min-width: 200px !important;
    }

    .price_content {
        margin-bottom: 30px;
    }

    .booking-conditions .column1,
    .booking-conditions .column2,
    .booking-conditions .column3 {
        width: 100% !important;
        padding: 0px;
    }

    #beonVofficeBooking-container {
        width: 100%;
        text-align: center;
        position: fixed;
        bottom: 0px;
        z-index: 999;
        left: 0;
    }

    .wrap-region {
        flex-direction: column;
        gap: 20px;
    }
}

@media only screen and (max-width: 767px) {
.main-content{
    padding:75px 0px;
}
    .left-col.float-left {
        padding: 0px !important;
    }

     .left-col,.unit-wrap-highlights,
    .unit-wrap-description,
    .unit-wrap-seasonprices,
    .beon_highlight {
        padding: 0px 20px;
    }

    .container-wrap::before {
        display: none;
    }

    .favouritebtn.mobile,.beon-mobile-btn,
    .map-wrapper-mobile,
    .mobile-video {
        display: block;
    }

    .unit-region {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        margin: 0px;
    }

    .beon-mobile-btn {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .booking-conditions .column1,
    .booking-conditions .column2,
    .booking-conditions .column3 {
        width: 100% !important;
        padding: 0px;
    }

    #mapButton-mobile-unit {
        position: relative;
        bottom: 0px;
        right: 0px;
        background-color: var(--beon-secondary-button-color);
        border: none;
        display: flex;
        width: 200px !important;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        outline: none;
        font-size: inherit;
        color: white;
        font-family: inherit;
        border-radius: 30px;
        padding: 15px;
        z-index: 0 !important;
        gap: 10px;
        height: 50px !important;
    }

   .toggleMap-unit, .toggleBeschreibung,
    .toggleVideo {
        width: 90vw;
        padding: 20px;
    }

    .booking-conditions li {
        font-size: var(--beon-regular-font-size);
    }

    button#moreIntroBtn.more_intro,
    button#moreIntroBtn.more_intro:hover {
        width: 100%;
    }

    .booking-conditions {
        padding: 30px 20px 80px 20px;
    }

    .booking-conditions .row {
        flex-direction: column;
    }

    .booking-conditions .column {
        padding: 0px;
    }

    .booking-conditions .column h4 {
        font-size: 20px !important;
        padding-bottom: 10px;
    }

    .booking-conditions img {
        height: auto;
        width: auto;
    }

    #video-modal {
        width: 90vw;
        height: 70vh;
        padding: 20px;
    }

    #video-modal iframe {
        height: 65vh;
    }

    .beon-unit-row {
        padding: 0px 0px;
        background: #ffffff;
        margin-top: -10px;
        position: relative;
        border-radius: 10px;
    }

    .unit-top-row,
    .box-right-vorteile,
    .map-wrapper {
        display: none;
    }

    #beonVofficeBooking-container {
        width: 100%;
        text-align: center;
        position: fixed;
        bottom: 0px;
        z-index: 999;
        left: 0;
    }

    #premium-image-highlight-wrapper {
        display: none;
    }

    .price_content {
        margin-bottom: 30px;
    }

    .top-breadcrumps-row {
        flex-direction: column;
        align-items: start;
    }

    .right-box-rating {
        flex-wrap: wrap;
    }

    #mapButton-unit img {
        width: 20px !important;
        height: 20px !important;
    }
}