/*
Theme Name: sauvage
Author: Rouen Webmaster
Description: Your description goes here
Version: 1.0
Template: hello-elementor

This is the child theme for Hello Elementor theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

/***************************/
/* FILTRE HOMEPAGE */
/***************************/

.filter-block {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding-top: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    /* align-items: center; */
}

.filter-block-col1 {
    /* background-color: aquamarine !important; */
    border-left: solid 1px rgb(176, 176, 176);
    padding-left: 1.5rem;
    flex-basis: 40%;
}

.filter-block-col2 {
    flex-basis: 60%;
    width: 100%;
}

.filter-find-title {
    color: #FFFFFF;
    font-family: "Noto Serif JP", Sans-serif;
    font-size: 40px;
    font-weight: 300;
    line-height: 50px;

}

/* .filter-block-col2{
    background-color: green;
} */

.filter-block-col2_row1 {
    height: 100%;
    /* flex: none; */
}

.filter-block-col2_row2 {
    display: flex;
    flex-direction: row;
    column-gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Buttons filter */

.btn-filter-shorted {
    border: none !important;
    color: #fff;
}

.btn-filter-shorted:hover {
    color: #7A7A7A;
    border-bottom: 1px solid #7A7A7A !important;
    background-color: unset;

    transition: 0.2s;
    transition-duration: 0.2s;
    transition-timing-function: ease;
    transition-delay: 0s;
}

.btn-filter-shorted_buy:hover,
.btn-filter-shorted_rent:hover {
    border-bottom: 4px solid #7A7A7A !important;
    border-radius: 0 !important;
    transition: 0.2s;
    transition-duration: 0.2s;
    transition-timing-function: ease;
    transition-delay: 0s;
}

.btn-filter-shorted_buy:active,
.btn-filter-shorted_rent:active,
.btn-filter-shorted_buy:focus,
.btn-filter-shorted_rent:focus {
    border-bottom: 4px solid #fff !important;
    border-radius: 0 !important;
    background-color: unset;
    transition: 0.2s;
    transition-duration: 0.2s;
    transition-timing-function: ease;
    transition-delay: 0s;
    outline: none;
}

.btn-filter-shorted_search {
    border-bottom: 1px solid #fff !important;
    border-radius: 0px !important;
}

.btn-filter-shorted_search:focus,
.btn-filter-shorted_search:active {
    border-bottom: 1px solid #fff !important;
    border-radius: 0px !important;
    background: unset;
    outline: none;
}

/* Input text */

.input-filter-shorted {
    background-color: #112D3E;
    color: #7A7A7A !important;
    border: none !important;
    border-radius: 0px;
    outline: none;
    color: #fff;
}

input[type="radio"] {
    visibility: hidden;
    height: 0;
    width: 0;
}

label {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
    background-color: #112D3E;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
}


label:hover {
    color: #7A7A7A !important;
    border-bottom: 1px solid #7A7A7A !important;
    border-radius: 0 !important;
    transition: 0.2s;
    transition-duration: 0.2s;
    transition-timing-function: ease;
    transition-delay: 0s;
}

input[type="radio"]:checked+label {
    background-color: #112D3E;
    border-bottom: 1px solid #fff !important;
    border-radius: 0 !important;
}


/* Custom déroulant menu filter */
.dropdown-check-list {
    display: inline-block;
}



.dropdown-check-list .anchor {
    position: relative;
    cursor: pointer;
    display: inline-block;
    padding: 5px 50px 5px 10px;
    border: 1px solid #ccc;
}

.dropdown-check-list .anchor:after {
    position: absolute;
    content: "";
    border-left: 2px solid black;
    border-top: 2px solid black;
    padding: 5px;
    right: 10px;
    top: 20%;
    -moz-transform: rotate(-135deg);
    -ms-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

.dropdown-check-list .anchor:active:after {
    right: 8px;
    top: 21%;
}

.dropdown-check-list ul.items {
    padding: 2px;
    display: none;
    margin: 0;
    border: 1px solid #ccc;
    border-top: none;
}

.dropdown-check-list ul.items li {
    list-style: none;
}

.dropdown-check-list.visible .anchor {
    color: #0094ff;
}

.dropdown-check-list.visible .items {
    display: block;
}


/* ********************* */

.budget-select-home-hidden {
    display: none;
    width: 114px;
    /* max-width: 400px; */
}

:hover::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    color: #fff;
}

:hover::-moz-placeholder {
    /* Firefox 19+ */
    color: #999;
}

:hover:-ms-input-placeholder {
    /* IE 10+ */
    color: #999;
}

:hover:-moz-placeholder {
    /* Firefox 18- */
    color: #999;
}



/*****************************************************/
/* HEADER LOCATION/TRANSACTION PAGE */
/****************************************************/
.archive-photos_row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow: hidden;
    max-height: 450px;
}

.archive-photo_row-img {
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
    flex-shrink: 0;
}

.rechercheEtSvg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#localisation-home {
    /* width: max-content; */
    max-width: 180px;
    padding-bottom: 0;
    /* max-width: 100%; */
}

/*****************************************************/
/* FILTRE LOCATION/TRANSACTION PAGE */
/****************************************************/
.filter-archive_row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-top: 1rem;
    max-width: 100%;
    flex: 1;
    margin: 1rem;
}

.filter-archive_row-ref {
    margin-left: 0rem !important;
}


.filter-archive_logo {
    height: auto;
    max-width: 250px;
    flex-wrap: wrap;
    flex-basis: 40%;
}

.filter-archive_logo-img {
    max-width: 140px !important;
}

.filter-archive-input {
    display: flex;
    flex-direction: row;
    justify-content: center;
    column-gap: 1rem;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
}


.filter-archive-input_btn {
    color: #fff !important;
    background-color: #112d3e !important;
    text-transform: uppercase !important;
    border-radius: 2px !important;
    border: none;
    /* font-size: 18px !important; */
    font-size: 14px !important;
    font-weight: 400px !important;
    font-family: Roboto !important;
    right: 0;
    width: auto;
    max-height: 40px;
}

.filter-archive-input_btn:hover {
    background-color: #818a91 !important;
    color: #fff;
}

.filter-archive_input-city,
.input_decorate {
    position: relative;
    display: flex;
    max-height: 42px;
    flex-grow: 2;
}

.filter-archive_input-city-icon,
.input_decorate-icon {
    position: absolute;
    border-left: solid 1px #666;
    right: 0px;
    display: flex;
    align-items: center;
    padding: 6px;
    height: 100%;
    /* width: 15%; */
    background: white;
    border: solid 1px #666;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    -moz-border-radius-topright: 3px;
    -moz-border-radius-bottomright: 3px;
}

.filter-archive_input-city-icon>svg,
.input_decorate-icon>svg {
    height: 17px;
    /* position: absolute; */
    top: 10px;
    right: 10px;
    background: white;
}

/* .fa-location-crosshairs::before{
    content: "\f601";
} */

.filter-archive_input-housing,
.filter-archive_input-surface,
.filter-archive_input-budget {
    width: 100%;
}

.filter-archive_input-budget {
    max-width: unset !important;
}

.input-archive-filter-shorted {
    border: 1px solid #666 !important;
    border-radius: 0.25rem !important;
    color: #112D3E;
}

.input-archive-filter-shorted::placeholder {
    color: #112D3E !important;
}

.input-archive-filter-shorted {
    max-width: unset !important;
}

.filter-archive_input-budget {
    max-height: 44px;
}

#testSelectLocation_multiSelect {
    height: 100%;
    min-width: unset;
}

.bloc-1,
.bloc-2,
.bloc-3,
.bloc-4 {
    display: flex;
    column-gap: 1rem;
    flex-grow: 2;
}

#localisation::placeholder,
#testSelectLocation_input::placeholder,
#testSelectCities_input::placeholder,
#budget_min::placeholder,
#budget_max::placeholder,
#surface_min::placeholder,
#surface_max::placeholder,
#chambre::placeholder {
    font-size: 12px !important;
}

/* Specificity to transaction */
.filter-archive_input-housing-transaction {
    /* width: 50%; */
}

.filter-archive_input-city-transaction {
    /* width: 80%; */
    width: 100%;
}


/*****************************************************/
/* GRID LOCATION/TRANSACTION PAGE */
/****************************************************/

.archive-grid_parent {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, auto));
    grid-gap: 2rem;
    overflow: hidden;
}

#archive_housing {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    column-gap: 2rem;
    row-gap: 2rem;
    width: 100%;
    /* padding: 0 90px; */
}

#archive_housing-grid::after {
    /* permet de revenir à la ligne en flex */
    /* content: "";
    flex: auto; */
}

.archive_housing-link {
    flex-grow: 2;
    flex-basis: 0;
    min-width: fit-content;
}


.archive_housing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(1, 1fr);
    grid-column-gap: 23px;
    grid-row-gap: 23px;
    /* height: 100%; */
    /* max-height: 100%; */
    margin-bottom: 1rem;
}


.archive-grid_product {
    display: flex;
    flex-direction: column;
    row-gap: 2px !important;
    justify-content: space-between;
    width: 100%;
}

.archive-grid_product p {
    margin-bottom: 0 !important;
}

.archive-grid_product-price {
    margin-top: 0.5rem;
}

.archive-grid_product-price>p {
    font-weight: 400 !important;
    font-family: Roboto !important;
    font-size: 20px;
    line-height: 24px !important;
    margin-bottom: 8px;
}

.archive-grid_product-text {
    font-size: 20px !important;
    color: #112D3E;
}

.archive-grid_product-text-type {
    font-size: 16px !important;
    font-weight: 400;
    line-height: 24px;
    color: #54595F;
    text-transform: lowercase;
}

.archive-grid_product-text-type::first-letter {
    text-transform: capitalize;
}

.archive-grid_product-text-city {
    text-transform: uppercase !important;
}

.archive-grid_product-img {
    overflow: hidden;
}

.img-box {
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
    /* max-height: 260px; */
    /* flex-shrink: 0; */
    flex-shrink: 1;
}

#product_loadmore_archive {
    color: #fff !important;
    cursor: pointer;
}

#loader_loadmore>.elementor-widget-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.archive-grid_product .archive-grid_product-img img {
    opacity: 1;
    -webkit-transition: .1s ease-in;
    transition: .1s ease-in;
}

.archive-grid_product .archive-grid_product-img:hover img {
    opacity: .7;
}


/*****************************************************/
/* GUSTOM SELECTBOX  */
/****************************************************/
/* The container must be positioned relative: */
.custom-select-home,
.custom-select-archive {
    position: relative;
    width: 100%;
}

.custom-select-archive {
    max-width: 200px;
}

.custom-select-home {
    max-width: 170px;
}

.custom-select-home select,
.custom-select-archive select {
    display: none;
    /*hide original SELECT element: */
}

.select-selected-archive {
    background-color: #fff;
}

.select-selected-archive:hover {
    background-color: #fff;
    color: black !important;
}

.select-selected-home {
    color: #7A7A7A !important;
}

/* Style the arrow inside the select element: */
.select-selected-home:after {
    position: absolute;
    content: "";
    top: 20px;
    bottom: 0px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #fff transparent transparent transparent;
}

.select-selected-archive:after {
    position: absolute;
    content: "";
    top: 20px;
    bottom: 0px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: rgb(0, 0, 0) transparent transparent transparent;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected-home.select-arrow-active-home:after {
    border-color: transparent transparent #fff transparent;
    top: 7px;
}

.select-selected-archive.select-arrow-active-archive:after {
    border-color: transparent transparent #000 transparent;
    top: 7px;
}

/* style the items (options), including the selected item: */
.intro-select-budget {
    color: #54595F !important;
}

.select-items-home div,
.select-selected-home,
.select-items-archive div,
.select-selected-archive {
    /* color: #ffffff; */
    color: #112D3E;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid transparent;
    cursor: pointer;
}

.select-selected-home:hover {
    color: #fff !important;
}

.select-items-home div,
.select-items-archive div {
    border-color: transparent transparent rgba(245, 241, 241, 0.1) transparent;
}

/* Style items (options): */
.select-items-home,
.select-items-archive {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    background-color: #fff;
    text-align: left;
    /* padding-left: 1rem; */
}

/* Hide the items when the select box is closed: */
.select-hide-home,
.select-hide-archive {
    display: none;
}

.select-items-home div:hover,
.same-as-selected-home,
.select-items-archive div:hover,
.same-as-selected-archive {
    background-color: rgba(0, 0, 0, 0.1);
}




/*
** MEDIA QUERIES
**/


/* FILTER HOME */
@media only screen and (max-width: 1020px) {
    .filter-block {
        row-gap: 2rem;
    }

    .filter-block-col1 {
        flex-basis: 100%;
    }

    .filter-block-col2 {

        flex-basis: 70%;
    }

}

@media only screen and (max-width: 900px) {
    .filter-block {
        row-gap: 2rem;
    }

    .filter-block-col1 {
        flex-basis: 100%;
    }

    .filter-block-col2 {

        flex-basis: 100%;
    }

    .multiselect-wrapper {
        width: 30%;
    }

    /* .filter-block-col2_row2 > #localisation{
        flex-basis: 50%;
    } */

}

@media only screen and (max-width: 540px) {
    .multiselect-wrapper {
        /* width: 22px; */
        min-width: unset;
        /* flex-basis: 50%; */
    }

    .custom-select-home {
        width: 124px;
    }

    .archive_housing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media only screen and (max-width: 425px) {
    .archive_housing-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 2rem;

    }
}


@media only screen and (max-width: 1049px) and (min-width: 1021px) {

    .to-none,
    .custom-select-home {
        max-width: 150px;
    }

}

@media only screen and (max-width: 455px) {
    .to-none {
        display: none;
    }

}

#testSelect1_multiSelect {
    max-width: 125px;
    /* max-width: 140px; */
    /* min-width: unset !important; */
}

/* #testSelect1_multiSelect>.multiselect-input-div {
    max-width: 125px;
} */

.multiselect-input {
    text-overflow: ellipsis;
    caret-color: #112D3E !important;
}

.input-archive-filter-shorted::placeholder,
.filter-archive_input-budget {
    caret-color: #112D3E !important;
    font-weight: 500;
    font-size: 12px !important;
}

#testSelect1_input {
    /* max-width: 125px; */
    min-width: 234px;
    width: 100%;

}

#testSelect1_inputCount,
#selectCities_inputCount,
#testSelectLocation_inputCount {
    /* visibility: hidden !important;
    left: 0 !important; */
    visibility: visible;
    left: -25px !important;
}

.filter-block-col2_row2 {
    width: 100%;
}

.formed #selectCities_multiSelect {
    width: 30%;
}

.input-multiselect-transaction,
.input-multiselect-location {
    max-width: unset !important;
}



#selectCities_multiSelect>.multiselect-input-div {
    /* max-width: 125px; */
}

#selectCities_input {
    /* max-width: 125px; */
    text-overflow: ellipsis;
}


/* FILTER LOCATION */


/* @media only screen and (max-width: 1100px){ */
@media only screen and (max-width: 1340px) {
    .filter-archive_logo {
        display: none;
    }

    .filter-archive-input {
        flex-wrap: wrap;
        justify-content: flex-start;
        column-gap: 1rem;
        row-gap: 1rem;
    }
}

/* GESTION EXCLUSIF */
.imageBien {
    position: relative !important;
    height: 260px;
    width: 100%;
    overflow: hidden;
}

.ribbonLeft {
    position: absolute;
    z-index: 10;
    top: 0;
    left: auto;
    left: 0;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(89deg);
    width: 124px;
    overflow: hidden;
    height: 125px;
    font-weight: 800;
}

.imageBien .ribbonLeft span::after {
    display: flex;
    align-items: center;
    justify-content: center;
    content: "EXCLUSIVITE";
    background-color: #112D3E;
    color: #FFFFFF;
    margin-top: 100px;
    transform: translateY(-110%) translateX(-53%) translateX(50px) rotate(225deg);
    font-size: 16px;
    width: 125%;
    height: 30px;
}

/* Gestion des bandeaux SOUS OFFRE */
/* .statutSousOffre {
    position: absolute;
    z-index: 10;
    top: 0;
    left: auto;
    left: 0;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(89deg);
    width: 124px;
    overflow: hidden;
    height: 125px;
    font-weight: 800;


} */

.statutVendu,
.statutSousCompromis,
.statutSousOffre {
    position: absolute;
    z-index: 10;
    top: 0;
    left: auto;
    left: 0;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(89deg);
    width: 124px;
    /* overflow: hidden; */
    height: 125px;
    font-weight: 800;
}

.imageBien .statutSousCompromis span::after,
.imageBien .statutVendu span::after,
.imageBien .statutSousOffre span::after {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    margin-top: 12px;
    font-size: 11px;
    width: 330%;
    height: 30px;
}

.imageBien .statutSousOffre span::after {
    content: "OFFRE EN COURS" !important;
    background-color: #60708d !important;
    transform: translateY(165%) translateX(-45%) translateX(12px) rotate(225deg);
}


.imageBien .statutSousCompromis span::after {
    content: "SOUS COMPROMIS" !important;
    background-color: #2271b3 !important;
    transform: translateY(101%) translateX(-35%) rotate(225deg);
}

.imageBien .statutVendu span::after {
    content: "VENDU PAR SAUVAGE" !important;
    background-color: #083970 !important;
    transform: translateY(153%) translateX(-40%) translateX(13px) rotate(225deg);
}

.imageBien .secondRibbon.statutVendu span::after {
    content: "VENDU PAR SAUVAGE" !important;
    background-color: #083970 !important;
    transform: translateY(180%) translateX(-45%) translateX(13px) rotate(225deg);
}

.secondRibbon {
    position: absolute;
    z-index: 10;
    top: 49px !important;
    /* left: auto; */
    left: -9px !important;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(89deg);
    width: 182px !important;
    overflow: unset !important;
    height: 125px;
    font-weight: 800;
}

/* AUCUN RESULTAT  */

.err-msg-archive {
    color: #112d3e !important;
    position: relative;
    margin-bottom: 4rem;
}

.err-msg-archive>h4 {
    border-left: 1px solid #7A7A7A;
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.err-msg-archive-href {
    padding-left: 1rem;
}

.btn-contact-category {
    border-radius: unset !important;
}

/* form{
    opacity: 0; */
/* display: none; */
/* } */

/* #testSelectLocation_itemList{
    display: none;
} */
/* .filter-archive_input-housing{
    opacity: 0;
    display: none;
} */

/* ********************* */
.input-filter-shorted_v2::placeholder {
    color: #fff !important;
}

.input-filter-shorted_v2 {
    color: #fff !important;
}

.input-filter-shorted_v2:focus::placeholder {
    color: transparent !important;
}

.input-filter-shorted_v2::placeholder::hover {
    color: #fff !important;
}

@media all and (max-width: 540px) {
    .filter-block-col2_row2 {
        row-gap: 1rem;
    }

    .formed #selectCities_multiSelect {
        width: 75%;
    }

    #testSelect1_multiSelect {
        width: 75%;
        max-width: max-content;
    }
}