select#dhvc_form_control_search-kanton,select#dhvc_form_control_search-property-type,select#dhvc_form_control_search-property-status,select#dhvc_form_control_search-city,select#dhvc_form_control_search-price,#dhvc_form_control_search-rooms {
    pointer-events: none;
}
.select_po {
    padding: 5px;
}
.loading-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #ffffff8c !important;
    z-index: 1000;
    top: 0px;
}
h1{
  color: var(--color-content-heading) !important;
    font-size: 1.45rem !important;
    font-family: var(--h1-font-family) !important;
    font-weight: 700 !important;
}

.fa-caret-up:before {
    content: "\f106" !important;
    font-size: 1.1rem;
    color: #E40D2A;
    margin-right: 5px;
}

.selected_value:before{
    content:'\2022';
    width: 10px !important;
    height:10px;
    position:absolute;
    display: block;
    visibility: visible;
    padding-left:10px;
    padding-top:5px;
    color:#E40D2A;
    font-size:35px;
    top:-10px;
}

.selected_value select {
    padding-left: 25px !important;
}

select#dhvc_form_control_search-kanton {
    position: relative;
}

select#dhvc_form_control_search-city:disabled ,.dhvc-form-search-rooms-box.disabled select {
    background: #ccc !important;
    pointer-events: none;
}
.dhvc-form-search-city-box.disabled,.dhvc-form-search-rooms-box.disabled {
    pointer-events: none;
}
/*
.column.disabled{
  pointer-events:none;
}*/
.column.disabled input[type=checkbox]{
    background-color: #D3D0D0 !important;
    color: #D3D0D0 !important;
}
.column.disabled label {
    color: #828282 !important;
    
}
.column.disabled input{
  pointer-events:none;
}
.column input[type="radio"] {
    visibility: hidden;
    width: 1px;
    height: 1px;
    overflow: hidden;
    padding: 0px !important;
    margin: 0px !important;
    position: absolute;
}
div#cityOptions .column.checked label {
    font-weight: bold !important;
    border-bottom: 1px solid #27AE60;
    width: max-content;
}

div#cityOptions #allProperties {
    border-radius: 20px !important;
}
div#cityOptions #allProperties:before {
    border-radius: 20px !important;
    content:' ' !important;
    width:14px;
    height:14px;
    top:1px;
    position:relative;
    left:1px
    
}
button.applybutton {
    margin-left: 10px;
}

button.applybutton {
    font-family: default;
    font-size: 14px;
    line-height: 1.2 !important;
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border-radius: 0.3em;
    padding: 0.7em 1em;
    background: var(--color-content-primary);
    border-color: transparent;
    color: #ffffff !important;
    box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.25);
    margin-right:auto;
    display:block;
    margin-top:10px;
    margin-bottom:10px;
    min-width:120px;
}
.range .actions {
    text-align: right;
    position: absolute;
    bottom: 24px;
    left: 150px;
    font-size:14px;
}
.range .actions a{
  cursor:pointer;
}

div#filter_container {
    position: relative;
}

.clear_all {
    position: absolute;
    right: 0px;
    top: 20px;
    cursor: pointer;
    font-size: 14px;
    font-family: 'Oswald';
}
.agent_name{
  font-size:16px !important;
}
img.iconinfoform.searchinfo {
    position: absolute;
    margin-left: 4px;
}

.header_mobile_search {
    display: none;
}
.allfilters{
  display:none;
}
.on_mobile_to,.title_mob,.filter_box_count{
  display:none;
}
.dhvc-form-search-property-type-box {
    margin-top: 10px !important;
}
@media(max-width:768px){
  .on_mobile_to{
    display:block;
      font-size: 14px;
      min-width: 40px;
      text-align: center;
      padding-top: 40px !important;
  }
  .range .actions {
    text-align: right;
    position: absolute;
    top: 30px;
    left: 0px;
    font-size: 14px;
    width: 100%;
    height: 30px;
    padding-left: 10px;
    padding-right: 15px;
}
.title_mob {
    display: block;
    float: left;
    font-weight: bold;
}
.checkbox-columns.range  table.options_table {
    margin-top: 50px;
    margin-bottom: 0px;
}
.container_forms:not(.visible)  .hidemobile {
    position: absolute;
    height: 1px;
    width: 1px;
    visibility: hidden;
    overflow: hidden;
}

.container_forms.visible .dhvc-form-search-property-type-box,.container_forms.visible .dhvc-form-search-property-type-box,.container_forms.visible .dhvc-form-search-property-status-box,.container_forms.visible  .dhvc-form-search-price-box ,.container_forms.visible  .dhvc-form-search-rooms-box {
    visibility: hidden;
    height: 1px;
    overflow: hidden;
    width: 1px;
}

.container_forms.visible #PropertyStatusOptions,.container_forms.visible #propertyTypeOptions,.container_forms.visible #pricefilter,.container_forms.visible #roomsFilter{
    display: block !important;
    position: relative !important;
    width:100% !important;
}


.container_forms.visible form {
    padding: 20px;
}

select#dhvc_form_control_search-kanton {
    /* max-width: 80%; */
}

.container_forms:not(.visible) .dhvc-form-group.dhvc-form-search-kanton-box.dhvc_form_select {
    max-width: 75%;
}

.container_forms.visible .box_filter{
  display:none;
}
.show_mobile {position: relative;}

.box_filter {
    position: absolute;
    border: 1px solid #828282;
    width: 74px;
    height: 40px;
    right: 0px;
    top: 0px;
    background-image: url("/wp-content/uploads/2024/09/Group.png");
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 4px;
}

#cantonOptions,#cityOptions {
    position: fixed; /* Make the container fixed to the viewport */
    top: 0px;          /* Align to the top of the viewport */
    left: 0;         /* Align to the left of the viewport */
    width: 100vw !important;    /* Full width of the viewport */
    height: 100vh;   /* Full height of the viewport */
    z-index: 10000;   /* Ensure it's on top of other content */

    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    padding: 0px;   /* Optional: add some padding */
    overflow-y: auto; /* Allow scrolling if content overflows */
    box-sizing: border-box; /* Include padding and border in element's width and height */
}

.checkbox-container .header_container,
.checkbox-container .body_container {
    width: 100%; /* Ensure the content fills the width of the container */
}

.checkbox-container .applybutton {
    width: 100%; /* Make the Apply button span the full width of the container */
}


.header_container {
    max-height: 60px !important;
    min-height: 60px !important;
}
#cantonOptions .button_container,.button_container.allfilters,#cityOptions .button_container {
    position: fixed;  /* Fixes the container to the viewport */
    left:0px;
    bottom: 0px;     /* Positions the container 20px from the bottom */
    width: 100%;      /* Makes the container span the full width of the viewport */
    display: flex;    /* Use flexbox for aligning the button */
    text-align: right; /* Center the button horizontally */
    z-index: 1001;    /* Ensure it's above other content (higher than cantonOptions' z-index) */
    box-sizing: border-box; /* Include padding and border in element's width */
    padding: 0 0px;  /* Optional: add horizontal padding */
    background-color:#F1F1F1;
    min-height:70px !important;
    
}
div#cityOptions .checkbox-columns {
    padding: 20px;
}

.count_properties_mob {
    align-self: center;
    margin-left: 20px;
    font-size: 14px;
}

span#total_results_mobile {
    font-weight: bold;
}

#cityOptions .button_container .applybutton,#cantonOptions .button_container .applybutton,.button_container.allfilters .applybutton {
    width: 72px;      /* Make the button span the full width of the container */
    max-width: 300px; /* Optional: limit the max width of the button */
    padding: 10px;    /* Optional: adjust padding for the button */
    font-size: 16px;  /* Optional: adjust font size */
    position:absolute;
    right:20px;
    top:5px;
}
.container_forms .allfilters{
  display:none;
}

.container_forms.visible .allfilters{
  display:flex !important;
}

.container_forms.visible .checkbox-container:not(#cantonOptions):not(#cityOptions) .button_container:not(.allfilters),.container_forms.visible .range .applybutton{
  visibility:hidden;
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
}
.container_forms.visible .header_mobile_search {
    display: flex !important;
    min-height: 50px;
    align-items: center;
    padding: 20px;
    background: #F1F1F1;
}

.container_forms.visible .header_mobile_search .clear_all {
    top: 22px;
    right: 62px;
}

a.close_mobile_filter {
    position: absolute;
    right: 10px;
    top: 17px;
}
span.pipe_mobile {
    position: absolute;
    right: 45px;
    top: 14px;
    font-size: 20px;
    color: #828282;
}
.count_section {
    margin-top: -30px;
}

.container_forms.visible {
    position: fixed !important;
    top: 0px;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    padding: 0px !important;
    background: white;
}

.container_forms.visible .l-section-h.i-cf {
    overflow-y: auto; /* Enables scrolling for overflow content */
    width: 100%; /* Ensures it takes full width */
}
.container_forms.visible .first_row .l-section-h.i-cf{
overflow-y: hidden !important; /* Enables scrolling for overflow content */
}

.filter_box_count {
    width: 20px;
    height: 20px;
    border-radius: 20px;
    background: #27AE60;
    text-align: center;
    color: white;
    position: absolute;
    right: 0px;
    top: -9px;
    display:block;
}

section#result_section {
    padding-left: 0px;
    padding-right: 0px;
}

.header_container {
    background-color: #fff !important;

}
.checkbox-container, .select-container {
    box-shadow: none !important;
}
.checkbox-container .checkbox-columns {
    margin-top: 0px !important;
}
.checkbox-container:before {
    content: ' ';
    width: 600px;
    height: 2px;
    background: #000 !important;
    display: block;
    position: absolute;
}
.select-container:before {
    content: ' ';
    width: 600px;
    height: 1px;
    background: #ccc !important;
    display: block;
    position: absolute;
    top: 0px;
}

}


/* search sorting */


.ordemgrid.w-order>label {
    font-family: var(--h1-font-family) !important;
    font-weight: 300 !important;
    margin-right: 0.1em !important;
}


.ordemgrid select#us_grid_order_1 {
    font-family: var(--h1-font-family) !important;
    color: #E40D2A !important;
}

.ordemgrid select {
    border-color: white !important;
    box-shadow: none !important;
    padding: 1px 20px 0px 10px!important;
}

.ordemgrid .w-order-select:after {
    content: '\f107' !important;
    top: 13px !important;
    border: 0px !important;
    font-family: FontAwesome !important;
    color: #E40D2A !important;
}
