.bnsspinner-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex; 
    justify-content: center; 
    align-items: center;
    visibility: hidden;
    z-index: 999999;
}

.bnsspinner-container.visible {
    visibility: visible;
    background: rgba(0,0,0,0.25);
}

.bnsspinner-container img {
    max-width: 150px;
}


/*
* grid 
*/
.bns-grid .flex-container {
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.bns-grid .flex-container > * {
    flex-basis: calc(33.33% - 10px); 
    margin-right: 20px;
}

.bns-grid .flex-container > *:nth-child(3n) {
    margin-right: 0; /* Verwijder de margin-right van elke derde kolom */
}

.bns-grid .flex-center {
    justify-content: center;
}

.bns-grid .item {
  flex-basis: calc(33.33% - 40px); 
  flex-grow: 1;
  border: 1px solid #ccc;
  box-sizing: border-box; 
  max-width: calc(33.33% - 20px); 
  transition: all 0.3s;
  background: white;
  color: var(--color-content-text);
  border-radius: 0.3rem;
  box-shadow: 0 0.05rem 0.1rem rgba(0, 0, 0, 0.1), 0 0.17rem 0.5rem rgba(0, 0, 0, 0.1);
  transition-duration: 0.3s;
}

.bns-grid .item:hover {
    -webkit-box-shadow: 0 10px 6px -6px #999;
     -moz-box-shadow: 0 10px 6px -6px #999;
          box-shadow: 0 10px 6px -6px #999;
}

.bns-grid .item .inner {
    padding:2rem;
    position: relative;
    height: 130px;
}

.bns-grid .item footer {
    padding: 0 1rem 1rem;
    text-transform: uppercase;
}

.bns-grid .item .inner h2.post_title {
    /* font-size: 1.4rem !important;
    line-height: 2rem !important;
    font-weight: 100 !important; */
    font-family: 'Open Sans' !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 2rem !important;
    color:#1e186a;
    /* position: absolute;
    top: 2rem;
    left: 2rem; */
}

.bns-grid .item .inner h2.post_title a {
    color:#1e186a !important;
}

.bns-grid .item .inner h2.post_title a {
    color: #1e186a;
    transition: all 0.3s;
}

.bns-grid .item .inner h2.post_title a:hover {
    color: var(--color-content-link-hover) !important;
}

.bns-grid .item .inner h3 {
    font-size: 1em;
    color: #cb6483 !important;
    line-height: 1.2;
    font-style: italic !important; /* cursief maken */
    margin-top: 5px;
    text-transform: none !important;
    font-family: 'Open Sans' !important;
    font-weight: 400;
    text-decoration: none !important; /* underline verwijderen */
}

.bns-grid .item .inner .w-btn.us-btn-style_1.usg_btn_1 {
    font-size: 13px;
	line-height: 15px;
    /* position: absolute;
    left: 2rem;
    top: 10rem; */
}


.bns-grid .mt-3 {
    margin-top: 1rem;
}

.bns-grid .mt-4 {
    margin-top: 1.5rem;
}

.bns-grid .post_title {
    color: black;
}

.bns-grid .contact {
    font-size: 0.8rem;
    color: black;
    font-weight: 600;
    position: absolute;
    left: 2rem;
    top: 8rem;
}

.bns-grid .image-container, .bns-image-container {
  position: relative; 
  width: 100%; 
  height: 0; 
  padding-top: 100%; 
}

.bns-grid .image-container img,
.bns-image-container img {
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
}

.bns-grid .image-container.container-4-3, .bns-image-container.container-4-3 {
    padding-top: 75%; 
}

.bns-grid .image-container.container-16-9, .bns-image-container.container-16-9 {
    padding-top: 56.75%; 
}

.bns-grid ul.cats {
    list-style: none;
    margin-left: 0;
    padding-top: 5px;
}

.bns-grid ul.cats li {
    color:brown;
    display:inline-block;
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.bns-grid ul.cats li:before {
    content: '\0023';
    padding-left: 3px;
}

.bns-grid ul.cats li:after {
    font-size: 0.7rem;
    content: '\007C';
    padding-left: 4px;
    padding-bottom: 0.05rem;
}

.bns-grid ul.cats li:last-child:after {
    content: none;
}

.bns-grid .meer-profielenButton {
    cursor:pointer;
}


ul.bns-social-icons {
    list-style: none;
    display: inline-flex;
}

ul.bns-social-icons li {
    margin-right: 13px;
}

ul.bns-social-icons li svg {
    fill:#c31837;
    width:20px;
    transition: all 0.3s;
}

ul.bns-social-icons li a:hover svg {
    fill:#cb6483;
    transform: scale(1.1);
}


.w-100 {
    width: 100%;
}

.px-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.pt-0 {
    padding-top: 0 !important;
}

.mb-2r {
    margin-bottom: 2rem;
}

.mb-3r {
    margin-bottom: 3rem;
}

.flex {
    display:flex;
}

.bns-d-none {
    display: none !important;
}


.edit-profiel {
    height: 50px;
    position: relative;
    top: 20px;
    z-index: 1;
}

.edit-profiel svg {
    width: 40px;
    fill: #c31837;
}

.edit-profiel a {
    display: flex;
    align-items: center;
    color: #1e186a;
}

.edit-profiel span {
    font-size: 20px;
    font-weight: 600;
    padding-left: 10px;
}

.searchfilters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow-x: visible;
    position: relative;
    padding: 1px 0;
    flex-direction: column;
}

.searchfilters .col {
    margin-left: 1rem;
    /* width: 300px; */
}

.searchfilters .col:first-child {
    margin-left: 0;
}

/* .searchfilters-sluiten__btn {
    position: absolute;
    right: 10px;
    font-size: 18px;
    top: -27px;
    color: var(--color-content-link);
    display: flex;
    flex-direction: row;
    opacity: 0;
    transition: all 0.3s;
}

.searchfilters-sluiten__btn button {
    background: transparent;
}

.searchfilters-sluiten__btn.show {
    opacity: 1;
}

.searchfilters-sluiten__btn svg {
    fill: var(--color-content-link);
    width: 18px;
    margin-right: 10px;
} */

/* .searchfilters .searchfilters-searchbar {
    flex: 0 0 calc(100% - 220px);
    transition: all 0.3s ease-in-out;
} */

.searchfilters .searchfilters-searchbar {
    flex: 0 0 100%;
    width:100%;
}

/* .searchfilters .searchfilters-searchbar.active {
    flex: 0 0 100%;
    width:100%;
} */

/* .searchfilters .searchfilters-button {
    position: absolute;
    right: 0;
    opacity: 1;
    transition: all 0.3s ease-in-out;
} */

.searchfilters .searchfilters-button.active {
    right:-240px;
    opacity: 0;
}

.searchfilters .searchfilters-button button {
    width: 200px;
}

.searchfilters .searchfilters-filters {
    /* flex: 0 0 50%; */
    display: flex;
    flex-direction: row;
    justify-content: flex-start; 
    /* position: absolute;
    right: calc(-50% - 40px);
    width: 50%; */
    width: 100%;
    transition: all 0.3s;
    margin-top:1rem;
    padding: 2px;
}

/* .searchfilters .searchfilters-filters.active {
    right: 0%;
} */


.row.dropdowns {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.row.dropdowns .col {
    margin-right: 2rem;
}

.row.dropdowns .dropdowns-select {
    /* letter-spacing: 0.02em;
    border-radius: 3px;
    border-color: rgba(0, 0, 0, 0.5);
    color: var(--color-content-text);
    box-shadow: none;
    padding: 2px 7px;
    height: unset;
    min-height: unset;
    font-size: 15px;
    font-weight: 600; */
}

.filter-item.type_dropdown {
    position: relative;
}

.dropdowns-button {
    letter-spacing: 0.02em;
    border-radius: 1.5rem;
    border: 1px solid var(--color-content-text);
    box-shadow: none;
    padding: 0 var(--inputs-font-size);
    padding-right: calc(var(--inputs-font-size) + 20px);
    font-size: var(--inputs-font-size);
    min-height: var(--inputs-height);
    line-height: var(--inputs-height);
    font-weight: normal;
    background-color: #fff;
    position: relative;
    transition: all 0.2s;
    text-transform: capitalize;
}

.dropdowns-button:focus {
    border-color: var(--color-content-heading) !important;
    color: var(--color-content-heading) !important;
    box-shadow: 0 0 0 2px var(--color-content-primary);
}

.dropdowns-button:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 15px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #333; /* Pijl kleur */
    transform: translateY(-50%);
    pointer-events: none; /* De pijl is niet aanklikbaar */
    z-index: 1; /* Zorg ervoor dat de pijl boven andere elementen ligt */
}

.dropdown-items {
    position: absolute;
    z-index: 99;
    min-width: 15em;
    width: 100%;
    padding:0.5em 0.5em calc(0.5em - 6px) 0.5em;
    box-shadow: var(--box-shadow);
    background: var(--color-content-bg-grad);
    color: var(--color-content-text);
    display: none;
    left: 0;
    top: calc(100% + 5px);
}

.filter-item.type_dropdown.show .dropdown-items {
    display: initial;
}

.filter-item.type_dropdown .dropdown-items .drop-item {
    width: 100%;
    margin-bottom: 5px;
    text-align: left;
    padding: 2px 6px;
    background:#fff;
    transition: all 0.2s;
}

.filter-item.type_dropdown .dropdown-items .drop-item:hover {
    background-color: rgba(0,0,0,0.12);
}


.item .terms {
    color: #cb6483 !important;
    word-wrap: break-word;
    margin-top: 10px;
}

.item .terms span {
    padding-right: 3px;
    font-size: 13px;
	line-height: 15px;
	text-transform: none;
}

.item .terms span:after {
    content:'|';
    margin-left: 3px;
}

.item .terms span:last-child:after {
    content:'';
    margin-left: 0;
}

.bns-alert {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    padding: 1rem;
    border-radius: 3px;
    margin-bottom: 5px;
    margin-top: 5px;
}

.bns-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    padding: 1rem;
    border-radius: 3px;
    margin-bottom: 5px;
    margin-top: 5px;
}

@media only screen and (max-width:1023px) {
    .bns-grid .item {
        flex-basis: calc(50% - 40px); 
        max-width: calc(50% - 20px); 
    }

    .bns-grid .flex-container > *:nth-child(3n) {
        margin-right: 20px;
    }

    .bns-grid .flex-container > *:nth-child(2n) {
        margin-right: 0;
    }

    /* .searchfilters {
        flex-direction: column;
        gap: 10px;
        margin-top: 50px;
        justify-content: flex-start;
        align-items: flex-start;
    } */

    /* .searchfilters .searchfilters-searchbar {
        flex: 0 0 100%;
        width: 100%;
    }

    .searchfilters .searchfilters-button {
        display: none;
    }

    .searchfilters .searchfilters-filters {
        flex: 0 0 100%;
        position: relative;
        justify-content: flex-start;
        width: 100%;
        right: 0;
    }

    .searchfilters .searchfilters-filters  .col:first-child {
        margin-left: 0;
    } */
    
}

@media only screen and (max-width:600px) {
    .bns-grid .item {
        flex-basis: calc(100% - 40px); 
        max-width: 100%; 
    }

    .bns-grid .flex-container > *:nth-child(3n) {
        margin-right: unset;
    }

    .bns-grid .flex-container > *{
        margin-right: 0;
    }

    .edit-profiel {
        height: 30px;
    }
    
    .edit-profiel svg {
        width: 30px;
    }

    .edit-profiel span {
        font-size: 16px;
    }

    .row.dropdowns {
        flex-direction: column;
    }
    
    .row.dropdowns .col {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .row.dropdowns .col:last-child {
        margin-bottom: 0;
    } 

    .searchfilters .searchfilters-filters {
        display: block;
    }

    .searchfilters .searchfilters-filters .col {
        margin-left: 0;
        margin-bottom: 10px;
        width: unset;
    }

    .searchfilters .searchfilters-filters .col:last-child {
        margin-bottom: 0;
    } 

}


/* PONCK - geselecteerde woonstijlen in multiselect */
.filter-item.type_dropdown[data-source="woonstijlen"] .drop-item.is-selected {
    background: rgba(0, 0, 0, 0.12);
    font-weight: 700;
}
.filter-item.type_dropdown[data-source="woonstijlen"] .drop-item.is-selected:not(:first-child)::before {
    content: "✓ ";
}
