.custom-select {
    position: relative;
    width: 200px;
    font-family: Arial, sans-serif;


    .selected {
        /*background-color: white;*/
        padding: 10px;
        /*border: 1px solid #ccc;*/
        cursor: pointer;
        position: relative;
    }

    .selected::after {
        content: "▼";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .options {
        position: absolute;
        display: none;
        width: 100%;
        border: 1px solid black;
        z-index: 10;
        background: white;
        font-size: 18px;
        font-weight: 600;
    }

    .option {
        padding: 10px;
        color: black;
        cursor: pointer;
    }

    .option:hover {
        background-color: #0000000f;
    }
}

.search_title_top h1 {
    font-size: 20px !important;
}

.search-left-column .nb-results, .search-right-column .nb-results {
    font-size: 14px;
    font-weight: 400;
}

.search-right-column .nb-results {
    font-size: 28px;
    font-weight: 400;
}

.search-left-column .order-by-filter {
    font-size: 14px;
    font-weight: 400;
}

.residency {
    box-shadow: 0px 8px 10.5px 0px #00000029;
    color: black;
}

.residency .img-residency {
    height: 210px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.residency .title-residency {
    font-size: 17px;
    font-weight: 600;
}

.residency .address-residency {
    font-size: 14px;
    font-weight: 400;
}

.residency .price-residency {
    font-size: 14px;
    font-weight: 400;
}

.residency .price-residency span {
    font-size: 23px;
    font-weight: 900;
    line-height: 23px;
}

.residency .show-residency span {
    color: black;
    border: 5px solid black;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
}

.residency:hover .show-residency span {
    color: white;
    background: black;
}

.residency .distance-residency {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: white;
    font-size: 13px;
    font-weight: 600;
    color: #7A589D;
    padding: 5px 10px;
}

.residency .tag-residency {
    position: absolute;
    bottom: 10px;
    left: 10px;
    padding-right: 10px;
}

.residency .tag-residency span {
    display: inline;
    background-color: white;
    font-size: 13px;
    font-weight: 900;
    color: #000000;
    padding: 5px 10px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.residency .distance-residency .search_icon_distance {
    height: 22px;
    width: auto;
    aspect-ratio: 1 / 1;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #7A589D; /* Change la couleur ici */
    -webkit-mask-image: url('/wp-content/themes/twenty_campus/assets/img/svg/marker.svg');
    mask-image: url('/wp-content/themes/twenty_campus/assets/img/svg/marker.svg');
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

#filters {
    background: transparent;
    border: 0;
    text-align: right;
    font-size: 14px;
    font-family: 'Montserrat', serif;
}

@media (min-width: 576px) {
    .residency .show-residency span {
        font-size: 15px;
    }
}


@media (min-width: 992px) {

    .residency .show-residency span {
        font-size: 17px;
    }

    .search-filter {
        width: 100%;
    }

    .search-left-column {
        background-color: #FECD36;
    }

    #filters {
        font-size: 16px !important;
        font-weight: 600 !important;
    }

    .search-left-column .order-by-filter {
        font-size: 16px;
        font-weight: 900;
        text-transform: uppercase;
    }

    .residency .tag-residency span {
        font-size: 18px;

    }
}

@media (min-width: 1200px) {
    .residency .show-residency {
        position: absolute;
        bottom: 0;
        right: 0;
    }

    .residency .title-residency {
        font-size: 20px;
        font-weight: 900;
    }

    .residency .address-residency {
        font-size: 18px;
        font-weight: 400;
    }

    .residency .price-residency {
        font-size: 18px;
        font-weight: 700;
    }

    .residency .price-residency span {
        font-size: 40px;
        font-weight: 900;
    }

    .search_title_top h1 {
        font-size: 25px !important;
    }
}

@media (min-width: 1400px) {
    .residency .img-residency {
        height: 250px;
        width: 350px;
    }

    .search_title_top h1 {
        font-size: 30px !important;
    }
}

@media (min-width: 1600px) {
    #filters {
        font-size: 19px !important;
    }

    .search-left-column .order-by-filter {
        font-size: 19px;

    }

    .residency .img-residency {
        height: 250px;
        width: 400px;
    }
}

@media (min-width: 1800px) {
    #filters {
        font-size: 20px !important;
    }

    .search-left-column .order-by-filter {
        font-size: 20px;

    }
}

#topSearchResidency {
    height: 170px;
    background-size: cover;
    background-position: center;
}

#topSearchResidency .search-logement-form {
    .search-logement-input {
        width: 330px;
    }

    #sendBtn {
        width: 320px;
    }

}

@media (min-width: 1200px) {
    #topSearchResidency {
        height: 230px;

    }

    #resultsList li {
        font-size: 18px;
    }

    #topSearchResidency .search-logement-form {
        .search-logement-input {
            width: 610px;
        }

        .search-logement-input #searchInput {
            font-size: 20px;
        }

        #sendBtn {
            width: 370px;
            font-size: 20px;
        }
    }
}

