/*
 * Accessibility
 */
.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])>main {
    scrollbar-gutter: stable;
    overflow: hidden;
}

body:has(dialog[open]) .sticky-search-wrapper {
    position: static;
}

/*
 * Site Structure
 */
#main.site-main {
    display: flex;
    flex-direction: row-reverse;
    max-width: 1250px;
    margin: 0 auto;
}

/* Left Side Structure */
.left-side-content-wrapper {
    width: 65%;
}

.left-side-content {
    padding-left: 15px;
    padding-top: 25px;
}

.left-side-content hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid var(--beon-search-hr-color);
    margin: 0;
    padding: 0;
}

.overview .filter-order-wrapper {
    display: flex;
    flex-direction: row;
    padding: 22px 0px;
    gap: 10px;
    justify-content: space-between;
}

/* 
 * Landingpage Structure
 */
.overview .lp-header-image {
    width: 100% !important;
    height: 280px !important;
    object-fit: cover !important;
    border-radius: var(--beon-search-header-image-border-radius);
}

.overview .search-title {
    margin: 0px;
    padding-top: 25px;
    font: var(--beon-search-h1-font);
    color: var(--beon-search-h1-text-color);
}

.overview .search-subtitle {
    padding-top: 16px;
    margin: 0px;
    font: var(--beon-search-h2-font);
    color: var(--beon-search-h2-text-color);
}

.overview .search-description-text {
    padding-top: 17px;
    margin: 0px;
    font: var(--beon-search-p-font);
    color: var(--beon-search-p-text-color);
    width: 100%;
}

/* 
 * Background of Searchform
 */
.searchform-small-wrapper {
    width: 70%;
    margin: 0;
    background-color: var(--beon-search-bg-color);
    padding: 7px 8px;
    border: var(--beon-search-border);
    border-radius: var(--beon-search-border-radius);
}

/* 
 * Generell Stylings of searchform
 */
.sticky-search-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 77px;
    right: 0;
    z-index: 2;
    /* width: 100vw; */
    width: calc(100vw - var(--scrollbar-width));
    padding: 10px;
    margin-bottom: 0px;
    background-color: white;
}

.searchform-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 1250px;
    gap: 17px;
}

.mobile_map_sec {
    display: none;
}

#searchform.searchpage-searchform {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    /* width: 66%; */
    font: var(--beon-search-font);
    /* border-radius: var(--beon-search-border-radius); */
    border: 0px;
    /* background-color: var(--beon-search-info-bg-color); */
    height: 55px;
    /* max-width: 1000px; */
    gap: 8px;
}

#searchform.searchpage-searchform .form-group {
    /* border-top: var(--beon-search-info-border);
    border-bottom: var(--beon-search-info-border); */
    color: var(--beon-search-info-text);
    background-color: var(--beon-search-info-bg-color);
    cursor: pointer;
    height: 50px;
    /* padding: 10px 7px; */
    font: var(--beon-search-font);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    min-width: 150px;
    width: 100%;
}

#searchform.searchpage-searchform .icon-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-right: 10px;
}

#searchform.searchpage-searchform .icon-wrapper img {
    height: 20px;
    max-width: 20px;
    filter: var(--beon-listing-region-icon-filter);
}

/*
 * Styling of Regionselect
 */
/* #searchform.searchpage-searchform .form-group.wrap-regions::after {
    content: '';
    height: 23px;
    border-right: var(--beon-search-info-border);
} */
#searchform.searchpage-searchform .form-group.wrap-regions {
    position: relative;
    padding: 0;
    border-radius: var(--beon-search-border-radius);
    border: var(--beon-search-info-border);
    max-width: 185px;
}

#searchform.searchpage-searchform .wrap-regions .icon-wrapper {
    position: absolute;
    left: 15px;
}

#searchform.searchpage-searchform .wrap-regions .select2-selection__rendered {
    line-height: normal;
    color: var(--beon-search-info-text);
    padding-left: 40px;
    padding-right: 0px;
    font-size: var(--beon-font-size-15);
    font-weight: 600;
}

/*
 * Styling of Dateinput
 */
#searchform.searchpage-searchform .dateInput {
    display: flex;
    flex-direction: row;
    /* justify-content: space-between; */
    align-items: center;
    width: 100%;
    background-color: var(--beon-search-info-bg-color);
    color: var(--beon-search-info-text);
    font: var(--beon-search-font);
    padding: 12px 20px 12px 20px;
    border-color: var(--beon-border-color);
}

/*
 * Styling of Guestinput
 */
#searchform.searchpage-searchform .form-group.wrap-guests {
    max-width: 190px;
    padding-left: 0px;
    border-radius: var(--beon-search-border-radius);
    border: var(--beon-search-info-border);
}

#searchform.searchpage-searchform .wrap-guests .icon-wrapper {
    padding-left: 15px;
}

/* #searchform.searchpage-searchform .form-group.wrap-guests::before {
    content: '';
    height: 23px;
    border-right: var(--beon-search-info-border);
} */
#searchform.searchpage-searchform #guests {
    width: 100%;
    display: flex;
    align-items: center;
    /* justify-content: center; */
    background-color: var(--beon-search-info-bg-color);
    color: var(--beon-search-info-text);
    font: var(--beon-search-font);
    padding: 12px 20px 12px 20px;
    border: none;
}

/*
 * Styling of Search-Button
 */
#searchform.searchpage-searchform .button_btn {
    min-width: 150px;
    height: 50px;
    border-radius: 0 var(--beon-search-border-radius) var(--beon-search-border-radius) 0;
}

/* 
 * Styling of Filter Button
 */
.searchform-wrapper .filter-button {
    height: 50px;
    min-width: 150px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border: var(--beon-search-filter-button-border);
    border-radius: var(--beon-search-filter-button-border-radius);
    font: var(--beon-search-filter-button-font);
    color: var(--beon-search-filter-button-text-color);
    background-color: var(--beon-search-filter-button-bg-color);
}

.searchform-wrapper .filter-button img {
    height: 20px;
    width: 20px;
    filter: var(--beon-search-filter-button-icon-filter);
    margin-right: 10px;
}

.searchform-wrapper .filter-button:focus,
.searchform-wrapper .filter-button:hover {
    color: var(--beon-search-filter-button-text-color);
    background-color: var(--beon-search-filter-button-bg-color);
}

/*
 * Styling of Popups
 */
/* Popup-Buttons */
#searchform.searchpage-searchform .button_btn,
#searchform.searchpage-searchform .toggleGuests #calcGuests,
#searchform.searchpage-searchform #nights-wrapper #calender_select,
.beon-search-popup #selectFilters {
    border: var(--beon-search-button-border);
    border-radius: var(--beon-search-border-radius);
    color: var(--beon-search-button-text);
    background-color: var(--beon-search-button-bg-color);
    cursor: pointer;
    padding: 10px 25px;
    font: var(--beon-search-button-font);
}

#searchform.searchpage-searchform .toggleGuests #calcGuests,
#searchform.searchpage-searchform #nights-wrapper #calender_select,
.beon-search-popup #selectFilters {
    height: 45px;
}

#searchform.searchpage-searchform .button_btn:hover,
#searchform.searchpage-searchform .toggleGuests #calcGuests:hover,
#searchform.searchpage-searchform #nights-wrapper #calender_select:hover,
.beon-search-popup #selectFilters:hover {
    color: var(--beon-search-button-text-hover);
    background-color: var(--beon-search-button-bg-color-hover);
}

#searchform.searchpage-searchform .button_btn img,
#searchform.searchpage-searchform .toggleGuests #calcGuests img,
#searchform.searchpage-searchform #nights-wrapper #calender_select img,
.beon-search-popup #selectFilters img {
    height: 12px;
    max-width: 10px;
    left: 0px;
    position: relative;
    transition: left ease-out 0.3s;
    filter: var(--beon-icon-filter-white);
}

#searchform.searchpage-searchform .button_btn:hover img,
#searchform.searchpage-searchform .toggleGuests #calcGuests:hover img,
#searchform.searchpage-searchform #nights-wrapper #calender_select:hover img,
.beon-search-popup #selectFilters:hover img {
    left: 5px;
}

/* Popup-Overlay */
/* #beon-search-popup-overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: var(--beon-popup-overlay-bg-color);
    backdrop-filter: var(--beon-popup-overlay-backdrop-filter);
    z-index: 3;
    top: 0;
    left: 0;
} */
.beon-search-popup::backdrop {
    /* background-color: #8386ec50; */
    background-color: var(--beon-popup-overlay-bg-color);
    backdrop-filter: var(--beon-popup-overlay-backdrop-filter);
}

/* Popup */
.beon-search-popup {
    /* position: fixed; */
    /* border: var(--beon-popup-border); */
    /* border-radius: var(--beon-popup-border-radius); */
    /* background-color: var(--beon-popup-bg-color); */
    background-color: transparent;
    border: none;
    /* top: 50%; */
    /* left: 50%; */
    /* transform: translate(-50%, -50%); */
    /* z-index: 5; */
    padding: 16px;
}

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

.beon-search-popup #calendar-popup-close,
.beon-search-popup #guest-popup-close,
.beon-search-popup #filter-popup-close,
#mapblocker-wrapper #mapblocker-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-search-popup #calendar-popup-close img,
.beon-search-popup #guest-popup-close img,
.beon-search-popup #filter-popup-close img {
    filter: var(--beon-popup-close-icon-filter);
}

.beon-search-popup-headline {
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    /* margin-top: -32px; */
    font: var(--beon-popup-headline-font);
    gap: 5px;
    padding-bottom: 15px;
}

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

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

.beon-search-adults,
.beon-search-children,
.beon-search-babys,
.beon-search-pets {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 9px;
    padding-bottom: 9px;
    gap: 6px;
}

.beon-search-label {
    width: 120px;
}

/* Popup Guests */
#searchform.searchpage-searchform .toggleGuests #calcGuests {
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#searchform.searchpage-searchform .toggleGuests {
    /* display: none; */
    cursor: default;
}

#searchform.searchpage-searchform .toggleGuests label {
    margin: 0;
    display: flex;
    width: 25px;
    align-items: center;
    justify-content: center;
}

#searchform.searchpage-searchform .toggleGuests button.inc,
#searchform.searchpage-searchform .toggleGuests button.dec {
    background-color: var(--beon-guest-icon-bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: var(--beon-guest-icon-border-radius);
    height: 30px;
    width: 30px;
    padding: 0;
    border: 0px;
}

#searchform.searchpage-searchform .toggleGuests button.inc.disabled,
#searchform.searchpage-searchform .toggleGuests button.dec.disabled {
    background-color: var(--beon-guest-icon-bg-color-disabled);
    cursor: not-allowed;
    border: 1px solid var(--beon-border-color);
}

#searchform.searchpage-searchform .toggleGuests button.inc img,
#searchform.searchpage-searchform .toggleGuests button.dec img {
    filter: var(--beon-guest-icon-filter);
    width: 13px;
    height: 13px;
}

#searchform.searchpage-searchform .toggleGuests button.inc.disabled img,
#searchform.searchpage-searchform .toggleGuests button.dec.disabled img {
    filter: var(--beon-guest-icon-filter-disabled);
}

/* Optional display version for pets - if pets_search_switch is true */
#searchform.searchpage-searchform .beon-search-switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 30px;
}

#searchform.searchpage-searchform .beon-search-switch input {
    opacity: 0;
    height: 0;
    width: 0;
}

#searchform.searchpage-searchform .beon-search-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--beon-guest-switch-background-color);
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: var(--beon-guest-switch-background-border-radius);
}

#searchform.searchpage-searchform .beon-search-slider:before {
    position: absolute;
    content: "";
    height: 30px;
    width: 30px;
    left: 0px;
    bottom: 0px;
    background-color: var(--beon-guest-switch-color);
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: var(--beon-guest-switch-border-radius);
}

#searchform.searchpage-searchform input:checked+.beon-search-slider {
    background-color: var(--beon-guest-switch-background-color-active);
}

#searchform.searchpage-searchform input:checked+.beon-search-slider:before {
    background-color: var(--beon-guest-switch-color-active);
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Popup Calendar & Nights Select */
#searchform.searchpage-searchform #calender-wrapper {
    cursor: default;
}

#searchform.searchpage-searchform #nights-wrapper {
    justify-content: space-between;
    display: none;
    /*will be displayed as flex, as soon as dates are selected*/
    align-items: end;
    gap: 50px;
}

#searchform.searchpage-searchform #nights-wrapper #calender_select,
#searchform.searchpage-searchform #nights-wrapper #calcNights {
    width: 50%;
}

#searchform.searchpage-searchform #calcNights {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    /* width: -webkit-fill-available; */
}

#searchform.searchpage-searchform .nights_min-wrapper .select2-selection::before {
    content: "Min.";
    align-self: flex-start;
    padding-right: 5px;
    font: var(--beon-cal-nights-mini-text-font);
    color: var(--beon-cal-nights-mini-text-color);
}

#searchform.searchpage-searchform .nights_max-wrapper .select2-selection::before {
    content: "Max.";
    align-self: flex-start;
    padding-right: 5px;
    font: var(--beon-cal-nights-mini-text-font);
    color: var(--beon-cal-nights-mini-text-color);
}

#calender-wrapper .select2-dropdown {
    bottom: 50px;
}

#searchform.searchpage-searchform .nightselect-wrapper .select2-container .select2-selection--single {
    flex-direction: column;
}

#searchform.searchpage-searchform .nightselect-wrapper .select2-container .select2-selection--single .select2-selection__rendered {
    color: var(--beon-cal-nights-text-color);
    font: var(--beon-cal-nights-text-font);
}

#searchform.searchpage-searchform .nightselect-wrapper .select2 {
    border: var(--beon-cal-nights-border);
    border-radius: var(--beon-cal-nights-border-radius);
    padding: 5px 15px;
    padding-right: 25px;
    user-select: none;
    min-width: 120px;
}

#searchform.searchpage-searchform .nightselect-wrapper .select2-selection__rendered {
    padding-top: 5px;
    padding-left: 0px;
}

#searchform.searchpage-searchform .nightselect-wrapper .select2-selection__rendered::after {
    content: "";
    background: url(/wp-content/themes/hochimnorden/assets/images/arrow_down.svg);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    width: 10px;
    height: 15px;
    top: 50%;
    transform: translate(0, -50%);
    right: 15px;
    /* TODO Filter! */
}

.select2-container--default .select2-results>.select2-results__options {
    border-radius: 5px;
    background-color: var(--beon-popup-bg-color);
    border: 1px solid var(--beon-border-color);
    min-width: 120px;
    max-height: 200px;
    overflow-y: auto;
    scrollbar-color: var(--beon-border-color) var(--beon-popup-bg-color);
    scrollbar-width: thin;
}

.select2-results__option {
    border-bottom: 1px solid var(--beon-border-color);
    padding: 7px;
    padding-left: 12px;
    text-align: left;
    color: var(--beon-search-info-text);
    font: var(--beon-search-font);
}

#calender-wrapper .select2-results__option {
    color: var(--beon-cal-nights-text-color);
    font: var(--beon-cal-nights-text-font);
}

.select2-results__option:hover,
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    color: var(--beon-white);
    background-color: var(--beon-primary-main);
}

#calender-wrapper .select2-results__option:hover,
#calender-wrapper .select2-container--default .select2-results__option--highlighted[aria-selected] {
    color: var(--beon-cal-nights-hover-text-color);
    background-color: var(--beon-cal-nights-hover-bg-color);

}

/*Select2 ( for the regions) */
#searchform.searchpage-searchform .wrap-regions .select2-container {
    height: 100%;
    width: 100% !important;
    /* padding: 10px 15px; */
}

#searchform.searchpage-searchform .select2-container .select2-dropdown {
    border: var(--beon-search-info-border);
    border-radius: var(--beon-search-border-radius);
    overflow: hidden;
}

#searchform.searchpage-searchform .select2-container--default .select2-selection--single {
    border: none;
    background: transparent;
}

#searchform.searchpage-searchform .select2-container .select2-selection--single {
    height: 100%;
    display: flex;
    align-items: center;
    width: 100%;
    /* justify-content: space-around; */
}

#searchform.searchpage-searchform span.select2-selection__arrow {
    opacity: 0;
}

/* Filter Popup */
#filter-popup {
    /* display: none; */
    min-width: 25%;
}

#filter-popup #selectFilters {
    width: 100%;
}

#filter-popup .beon-search-filter-section-wrapper {
    max-height: 50vh;
    overflow-y: auto;
    scrollbar-color: var(--beon-border-color) var(--beon-popup-bg-color);
    scrollbar-width: thin;
    margin-bottom: 5px;
    padding: 2px;
}

#filter-popup .beon-search-filter-section {
    margin-bottom: 35px
}

#filter-popup .beon-search-filter-section h3 {
    font: var(--beon-filter-section-heading-font);
    color: var(--beon-filter-section-heading-text-color);
    ;
}

#filter-popup .beon-search-filter-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Option Filter */
#filter-popup .beon-search-dropdown-filter-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#filter-popup .select2-container {
    min-width: 200px;
}

#filter-popup .select2-container--default .select2-selection--single {
    border: none;
}

#filter-popup .select2-selection__rendered::before {
    content: "";
    background-color: var(--beon-filter-dropdown-icon-bg-color);
    border-radius: var(--beon-filter-dropdown-border-radius);
    width: 26px;
    height: 26px;
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translate(-50%, -50%);
}

#filter-popup .select2-selection__rendered::after {
    content: url(/wp-content/themes/hochimnorden/assets/images/arrow_down.svg);
    width: 11px;
    height: 6px;
    position: absolute;
    top: 12%;
    left: 15px;
    transform: translate(-50%, -50%);
    filter: var(--beon-filter-dropdown-icon-filter);
}

#filter-popup .select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 46px;
}

/*checkbox*/
#filter-popup .checkbox-wrapper {
    cursor: pointer;
    padding-left: 46px;
    padding-right: 3px;
    display: flex;
    align-items: center;
    position: relative;
    height: 26px;
}

#filter-popup .checkbox-wrapper label {
    display: flex;
    justify-content: space-between;
    width: 100%;
    color: var(--beon-filter-text-color);
    font: var(--beon-filter-font);
}

#filter-popup .checkbox-wrapper label .checkbox-count {
    font: var(--beon-filter-count-font);
}

#filter-popup .checkbox-wrapper:has(input[type="checkbox"]:focus-visible) {
    outline: solid 2px black;

}

#filter-popup .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 26px;
    width: 26px;
    background-color: transparent;
    border: var(--beon-fp-search-border);
    border-radius: var(--beon-filter-border-radius);
    cursor: pointer;
}

#filter-popup input:checked~.checkmark {
    background-color: var(--beon-filter-bg-color-checked);
}

#filter-popup input:checked~.checkmark::before {
    background: url(/wp-content/plugins/beon-voffice/assets/images/check-solid.svg);
    background-repeat: no-repeat;
    background-size: contain;
    content: '';
    display: flex;
    height: 12px;
    width: 13px;
    margin: 7px;
    filter: var(--beon-filter-icon-filter);
}

#filter-popup input[type="checkbox"] {
    height: 30px;
    border: none;
    position: absolute;
    opacity: 0;
    width: 100%;
    left: 0;
    top: -1px;
    cursor: pointer;
}

#filter-popup input[type="checkbox"]:focus-visible {
    outline: solid 2px black;
}

/* 
 * Order Dropdown
 */
.sort-wrapper .select2-container {
    max-width: 300px;
}

.sort-wrapper span#select2-order-container::after {
    content: "";
    background: url(/wp-content/themes/hochimnorden/assets/images/arrow_down.svg);
    width: 10px;
    height: 10px;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    right: 15px;
    filter: var(--beon-search-order-dropdown-icon-filter);
}

.sort-wrapper .select2-container .select2-selection--single .select2-selection__rendered {
    font: var(--beon-search-order-dropdown-font);
    color: var(--beon-search-order-dropdown-text-color);
    padding-left: 15px;
}

.sort-wrapper .select2-container--default .select2-selection--single {
    background-color: var(--beon-search-order-dropdown-bg-color);
    border: var(--beon-search-order-dropdown-border);
    border-radius: var(--beon-search-order-dropdown-border-radius);
    display: flex;
    align-items: center;
    height: 40px;
    justify-content: center;
}

/* 
 * Active Filter
 */
.active-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font: var(--beon-search-active-filter-font);
    color: var(--beon-search-active-filter-text-color);
}

.active-filter .parameter-wrapper {
    height: 40px;
    background-color: var(--beon-search-active-filter-bg-color);
    border-radius: var(--beon-search-active-filter-border-radius);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px 0 15px;
    gap: 5px;
}

.active-filter .parameter-wrapper a.parameter-close {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.active-filter .parameter-wrapper a.parameter-close img {
    width: 14px;
    height: 14px;
    filter: var(--beon-search-active-filter-icon-filter);
}


/* Unit direct search */
#dropdown_search_units {
    font: var(--beon-search-name-search-font);
    color: var(--beon-search-name-search-text-color);
}

#dropdown_search_units .select2-container {
    background-color: var(--beon-search-name-search-bg-color);
    border: var(--beon-search-name-search-border);
    border-radius: var(--beon-search-name-search-border-radius);
    text-align: center;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 240px;
    width: 100% !important;
}

#dropdown_search_units .select2-dropdown {
    top: 0px !important;
}

#dropdown_search_units span.selection {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

#dropdown_search_units .select2-selection--single {
    background-color: transparent;
    border: none;
    border-radius: 0;
    justify-content: flex-start;
    height: 100%;
    display: flex;
    width: 100%;
    align-items: center;
    padding-left: 20px;
}

#dropdown_search_units .select2-selection--single .select2-selection__rendered {
    padding-left: 30px;
    position: relative;
    color: var(--beon-search-name-search-text-color);
    font: var(--beon-search-name-search-font);
}

#dropdown_search_units .select2-selection--single .select2-selection__rendered::before {
    content: "";
    background: url(/wp-content/themes/hochimnorden/assets/images/search.svg);
    background-repeat: no-repeat;
    background-size: contain;
    filter: var(--beon-search-name-search-icon-filter);
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translate(-50%, -50%);
}

#dropdown_search_units .select2-selection__placeholder {
    color: var(--beon-search-name-search-text-color);
    font: var(--beon-search-name-search-font);
}

span.select2-selection__arrow {
    opacity: 0;
}

#dropdown_search_units~span.select2-container.select2-container--default.select2-container--open {
    top: 0px !important;
}

.select2-search--dropdown {
    height: 55px;
    padding: 5px;
}

.select2-search--dropdown input {
    height: 45px;
}

.select2-container--default .select2-results>.select2-results__options {
    scrollbar-color: var(--beon-border-color) var(--beon-popup-bg-color);
    scrollbar-width: thin;
}

/* Right Side and Map*/
.right-side-content-wrapper {
    width: 35%;
    position: sticky;
    left: 0;
    top: calc(75px + 100px);
    /* height: 100%; */
    max-height: calc(100vh - (75px + 20px + 86px));
    border-radius: 10px;
    overflow: hidden;
    margin-top: calc(0px + 20px);
    margin-right: 10px;
}

#map-popup-close {
    display: none;
}

.map-container {
    height: 100%;
}

.map-container #map {
    height: 100%;
}

.mobile_map_btn img {
    filter: var(--beon-icon-filter-main);
}

.mobile_map_sec .mobile_map_btn {
    height: 40px;
    border-radius: var(--beon-map-blocker-button-border-radius);
    border: var(--beon-map-blocker-button-border);
    color: var(--beon-map-blocker-button-text-color);
    background-color: var(--beon-map-blocker-button-bg-color);
    padding: 8px 35px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 250px;
    font: 500 15px var(--beon-font-family);
    gap: 19px;
}

#button-click {
    color: #FFF;
    border: none;
}


/* Facility slider Base arrow styles */
.facility-img-slider .flex-direction-nav {
    opacity: 1 !important;
    display: block !important;
}

.facility-img-slider .flex-direction-nav .flex-prev {
    left: 0;
    opacity: 1;
}

.facility-img-slider .flex-direction-nav .flex-next {
    right: 0;
    opacity: 1;
}

.facility-img-slider.flexslider:hover .flex-direction-nav .flex-next,
.facility-img-slider.flexslider:hover .flex-direction-nav .flex-prev {
    opacity: 1 !important;

}

.facility-img-slider .flex-direction-nav a {
    overflow: hidden;
    line-height: 0;
    font-size: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--beon-white);
    display: flex;
    justify-content: center;
    align-items: center;
}


.facility-img-slider .flex-prev::before {
    content: url('/wp-content/themes/hochimnorden/assets/images/arrow_left.svg') !important;
   filter: var(--beon-listing-gallery-icon-filter);
    display: block;
    width: 12px;
    height: 12px;
    padding-bottom: 5px;
}

.facility-img-slider .flex-next::before {
    content: url('/wp-content/themes/hochimnorden/assets/images/arrow_right.svg') !important;
    filter: var(--beon-listing-gallery-icon-filter);
    display: block;
    width: 12px;
    height: 12px;
}

.facility-img-slider .flex-next#text {
    display: none !important;
}

@media only screen and (min-width:1200px) {
    #map-mobile-popup #mapblocker-wrapper {
        display: block;
        padding: 0;
        width: 100%;
        height: 100%;

        & #mapblocker-popup-close {
            display: none;
        }

        & .map-container {
            padding: 0;
        }
    }
}

/* work further*/
@media only screen and (max-width: 1220px) {

    /*
    * Site Structure
    */
    .left-side-content {
        padding-left: 20px;
    }
}

@media only screen and (max-width: 1200px) {

    /*
    * Site Structure
    */
    #main.site-main {
        display: flex;
        flex-direction: column;
    }

    .left-side-content-wrapper {
        width: 100%;
    }

    .left-side-content {
        padding: 20px;
    }

    /* .right-side-content-wrapper {
        display: none;
    } */
    .overview .search-title {
        margin-top: 10px;
        font-size: var(--beon-font-size-medium);
        font-weight: 400;
    }

    .overview .search-description-text {
        width: 100%;
    }

    .overview .filter-order-wrapper {
        /* align-items: end; */
        flex-direction: column-reverse;
    }

    /* 
    * Wrapper of Searchform
    */
    .sticky-search-wrapper {
        width: 100%;
        position: relative;
        top: 0;
        padding: 20px;
        margin-bottom: 0;
    }

    .searchform-wrapper {
        flex-direction: column;
        /* flex-wrap: wrap; */
        gap: 10px;
        justify-content: center;
        align-items: center;
    }

    /* 
    * Background of Searchform
    */
    .searchform-small-wrapper {
        width: 100%;
        background-color: var(--beon-search-bg-color-m);
        padding: 0px;
        border: var(--beon-search-border-m);
        border-radius: var(--beon-search-border-radius-m);
    }

    /* 
    * Generell Stylings of searchform
    */
    #searchform.searchpage-searchform {
        flex-wrap: wrap;
        max-width: 500px;
        width: 100%;
        gap: 10px;
        justify-content: space-between;
        height: 100%;
        margin: 0 auto;
    }

    /*
    * Styling of Regionselect
    */
    #searchform.searchpage-searchform .form-group.wrap-regions {
        max-width: 100%;
        border-radius: var(--beon-search-border-radius);
        border-right: var(--beon-search-info-border);
    }

    /*
    * Styling of Dateinput
    */
    #searchform.searchpage-searchform .form-group.wrap-range {
        border-radius: var(--beon-search-border-radius);
    }

    #searchform.searchpage-searchform .dateInput {
        justify-content: left;
    }

    /*
    * Styling of Guestinput
    */
    #searchform.searchpage-searchform .form-group.wrap-guests {
        border: var(--beon-search-info-border);
        border-radius: var(--beon-search-border-radius);
        width: calc(50% - 5px);
        max-width: none;
        min-width: unset;
    }

    #searchform.searchpage-searchform .form-group.wrap-regions::after,
    #searchform.searchpage-searchform .form-group.wrap-guests::before {
        border-right: none;
    }

    /*
    * Styling of Search-Button
    */
    #searchform.searchpage-searchform .button_btn {
        width: calc(50% - 5px);
        min-width: unset;
        border: var(--beon-search-button-border);
        border-radius: var(--beon-search-border-radius);
    }

    /* 
    * Styling of Filter Button
    */
    .searchform-wrapper .filter-button {
        width: 100%;
        max-width: 500px;
    }

    /*
    * Styling of Direct Search
    */
    .direct-name-search {
        width: 100%;
        max-width: 500px;
    }

    #dropdown_search_units .select2-container {
        width: 100% !important;
        max-width: 100%;
    }

    /*
    * Styling of Popups
    */
    .beon-search-popup {
        max-width: 90vw;
        padding: 20px;
    }

    /* .beon-search-popup #calendar-popup-close, .beon-search-popup #guest-popup-close, .beon-search-popup #filter-popup-close {
        top: -32px;
        right: calc(-1*(100% + 0px));
    } */
    #map-popup-close {
        display: none;
    }

    /* Popup Guests */
    #filter-popup,
    .toggleGuests {
        min-width: 50vw;
    }

    .beon-search-label {
        width: 60%;
    }

    #dropdown_search_units .select2-selection--single {
        justify-content: center;
    }

    .mobile_map_sec {
        display: block;
        margin-top: 40px;
    }

    #mapblocker-wrapper[aria-modal="true"] {
        min-width: 80vw;
    }
    #mapblocker-wrapper[aria-modal="true"] .map-container {
        height: 60vh;
    }
    #mapblocker-wrapper[aria-modal="true"] .map-container #map {
        border-radius: 10px;
    }
    #searchform.searchpage-searchform #nights-wrapper {
        flex-wrap: wrap;
        gap: 15px;
    }
    #searchform.searchpage-searchform #nights-wrapper #calender_select, #searchform.searchpage-searchform #nights-wrapper #calcNights {
        width: 100%;
    }
}

@media only screen and (max-width: 750px) {
    .overview .search-subtitle {
        font-size: 24px;
    }

    #filter-popup,
    .toggleGuests {
        min-width: 90vw;
    }
}

@media only screen and (max-width:575px) {

    .mobile_map_sec .mobile_map_btn,
    .sort-wrapper .select2-container {
        width: 100% !important;
        max-width: 100%;
    }
}