/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/


/* =Theme customization starts here
------------------------------------------------------- */

/******** FOOTER **********/

:root {
    --bleu: #2B2171;
    --bleu-secondaire: #6a649d;
    --rouge: #b72e2e;
    --jaune: #df9d00;
    --blanc: #efefef;
    --rose: #F8ACA3;
}

.flex{
	display:flex;
}

.items-center{
	align-items:center;
}

.justify-center{
	justify-content:center;
}

footer.fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

#structure_site a {
    text-decoration: none;
    color: #fff;
}

#structure_site a:hover {
    text-decoration: underline;
}

@media all and (max-width:815px) {
    .copyright-bloc {
        display: flex;
        flex-direction: column;
    }
}

/******** HEADER **********/
.et_pb_menu__menu .et-menu {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.et_pb_menu_0_tb_header.et_pb_menu ul li.current-menu-item a {
    color: var(--bleu-secondaire) !important;
}

.et_pb_menu__menu .et-menu>li>a {
    white-space: nowrap;
    padding: 0 10px;
}

@media screen and (min-width: 1281px) {
    .et_pb_menu__menu .et-menu>li>a {
        font-size: 16px;
    }
}

@media screen and (min-width: 981px) and (max-width: 1280px) {
    .et_pb_menu__menu .et-menu>li>a {
        font-size: 14px;
        padding: 0 8px;
    }
}

@media screen and (min-width: 981px) and (max-width: 1100px) {
    .et_pb_menu__menu .et-menu>li>a {
        font-size: 12px;
        padding: 0 6px;
    }
}

@media all and (min-width:981px) {
    #header .et_pb_column:nth-child(1) {
        width: 75% !important;
        padding-left: 3%;
    }

    #header .et_pb_column:nth-child(2) {
        width: 3% !important;
        margin-right: 15px;
    }

    #header .et_pb_column:nth-child(3) {
        width: 3% !important;
        margin-right: 15px;
    }

    #header .et_pb_column:nth-child(4) {
        width: 7% !important;
    }
}

@media all and (max-width:980px) {
    #header .et_pb_column {
        width: 100% !important;
        padding-left: 20px;
    }
}

#header {
    display: flex;
    align-items: center;
    font-size: calc(1.5rem + 3vw);
}

#flags.size24 a {
    transform: scale(1.5);
    margin-right: 10px;
    margin-bottom: 12px;
    margin-left: 10px;
    /* margin: 0px 10px 12px 1Opx; */
}

.mobile_menu_bar {
    padding-right: 25px;
}

.df_line_marker {
    left: 48.7% !important;
}

/* PAGE ACHETER */

.iwp__property-listing {
    margin-top: 55px;
}

.iwp__property {
    padding: 0px !important;
}

#acheter_wp_immo .iwp__searchbar-aside form .iwp__searchbar-aside__group label {
    font-size: 16px;
    line-height: 20px;
    color: var(--bleu);
    font-weight: bold;
    display: block;
    margin-bottom: 7px;
}

.ss-values .ss-disabled {
    /* display: flex;
    padding: 4px 5px;
    margin: 2px 0;
    line-height: 1em;
    align-items: center;
    width: 100%; */
    color: #756e6e !important;
    /* overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; */
}

.more_criteria {
    color: var(--bleu);
    font-size: 15px;
    font-weight: 600;
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .iwp__items.iwp__items-carousel .swiper-button-next {
        right: -30px;
    }

    .iwp__items.iwp__items-carousel .swiper-button-prev {
        left: -30px;
    }
}

/* Force le "Voir plus" à etre active et cache le "Voir Moins" sur la page "Acheter" */

/* #acheter_wp_immo .iwp__searchbar-aside__line .iwp__searchbar-aside__group {
    display: block !important;
}

#acheter_wp_immo .iwp__searchbar-aside__line .iwp__searchbar-aside__group .more_criteria {
    display: none !important;
}

#acheter_wp_immo .iwp__searchbar-aside__line .iwp__searchbar-aside__more {
    display: none !important;
} */

/* FIN PAGE ACHETER */

/* AFFICHAGE DES AVIS CLIENTS */


.entete-client {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.info-client {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-client h3 {
    font-family: 'Montserrat';
    color: #000;
    font-size: 30px;
    font-weight: 600;
}

.etoiles span:before {
    content: "\e033";
    font-family: 'ETmodules';
    color: #DC7743;
    font-size: 22px;
}

.img-avis-client {
    border-radius: 50%;
    height: 150px;
    width: 150px;
}

.text-avis-client {
    margin-top: 15px;
    font-size: 22px;
    color: #000;
    line-height: 1.1em;
    font-style: italic;
    font-family: 'Montserrat';
    font-weight: 300;
    text-align: center;
    overflow-y: auto;
    max-height: 340px;
    height: 340px;
}

@media screen and (max-width: 768px) {
    .text-avis-client {
        font-size: 16px;
    }
}

.sp-button {
    width: 65px !important;
    border-radius: 5px !important;
    border: 2px solid var(--bleu);
}

.sp-selected-button {
    background-color: var(--bleu);
}


/* FIN DE L'AFFICHAGE DES AVIS CLIENTS */

/* DEBUT CODE LOADER  */

.et_pb_section_0_tb_header {
    z-index: 5;
}

.content-loader {
    display: block;
    z-index: 99999999;
    position: fixed;
    background: #fff;
    width: 100%;
    height: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.logo-loader {
    position: fixed;
    z-index: 200;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
}

.logo-loader img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: logoFade 1.5s ease-in-out infinite;
}

@keyframes logoFade {
    0% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
        transform: translateY(-1.5%);
    }

    100% {
        opacity: 0.3;
    }
}

@keyframes logoRotate {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(90deg);
    }

    50% {
        transform: rotate(180deg);
    }

    75% {
        transform: rotate(270deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* FIN CODE LOADER */

.iwp__header-meta{
    margin-top:25px;
}

/* FORMULAIRE POUR PAGE VENDRE & ESTIMER  */

.half-form {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.half-form>div {
    flex: 1;
}

.full-form {
    width: 100%;
    margin-top: 20px;
}

@media screen and (max-width: 768px) {
    .half-form {
        flex-direction: column;
        gap: 10px;
    }

    .wpcf7-form-control.wpcf7-radio {
        flex-direction: column;
        align-items: start !important;
        gap: 0px !important;
    }

    #form-agence [type="submit"] {
        left: 25% !important;
        width: 100%;
        left: 0;
    }

    #form-agence label {
        font-size: 20px !important;
    }

    #form-vendre-estimer [type="submit"] {
        left: 25% !important;
        width: 100%;
        left: 0;
    }

    #form-vendre-estimer [type="submit"] {
        font-size: 20px !important;
    }
}

#form-vendre-estimer label {
    display: block;
    margin-bottom: 10px;
    font-family: 'Montserrat';
    font-size: 23px;
    font-weight: 600;
    color: var(--bleu);
    line-height: 1.6em;
    position: relative;
    padding-left: 25px;
}

#form-vendre-estimer input,
#form-vendre-estimer textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--bleu);
    border-radius: 4px;
    font-size: 16px;
}

#form-vendre-estimer [type="radio"] {
    margin-right: 5px;
    display: none;
}

span.wpcf7-form-control.wpcf7-radio label span.wpcf7-list-item-label:before {
    content: "";
    width: 12px;
    height: 12px;
    position: absolute;
    background: var(--blanc);
    padding: 2px;
    outline: var(--bleu) 1px solid;
    margin: 2px;
    left: 0;
    top: 9px;
    border-radius: 50%;
}

span.wpcf7-form-control.wpcf7-radio label input:checked+span.wpcf7-list-item-label:after {
    background: var(--bleu-secondaire);
    content: "";
    width: 8px;
    height: 8px;
    position: absolute;
    top: 11px;
    padding: 2px;
    /* outline: #000 1px solid; */
    margin: 2px;
    left: 2px;
    border-radius: 50%;
}

#form-vendre-estimer [type="submit"] {
    background-color: var(--bleu);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 25px;
    width: 200px;
    left: 44%;
}

#form-vendre-estimer [type="submit"]:hover {
    background-color: var(--bleu-secondaire);
}

.et_pb_button::after {
    font-size: 42px !important;
}

.wpcf7-form-control.wpcf7-radio {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wpcf7-list-item {
    width: 200px;
    white-space: nowrap;
    margin-right: 30px;
}

.wpcf7-list-item label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.wpcf7-list-item input[type="radio"] {
    margin: 0;
}

.wpcf7-list-item-label {
    margin-left: 5px;
}

.wpcf7-list-item label {
    display: flex !important;
}

/* Formulaire de la page Agence et Contact */

#form-agence [type="submit"] {
    background-color: var(--bleu);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 25px;
    width: 200px;
    left: 44%;
}

#form-agence [type="submit"]:hover {
    background-color: var(--bleu-secondaire);
}

#form-agence label {
    display: block;
    margin-bottom: 10px;
    font-family: 'Montserrat';
    font-size: 23px;
    font-weight: 600;
    color: var(--bleu);
    line-height: 1.6em;
    position: relative;
    padding-left: 25px;
}

#form-agence input,
#form-agence textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--bleu);
    border-radius: 4px;
    font-size: 16px;
}

#form-agence [type="radio"] {
    margin-right: 5px;
    display: none;
}

/* MODIFICATION DU DESIGN DE L'AFFICHAGE DES BIENS A ACHETER */

.iwp__items .iwp__item .iwp__item-content .iwp__item-overview {
    background-color: var(--bleu) !important;
}

.iwp__items .iwp__item .iwp__item-content .iwp__item-overview div svg {
    fill: var(--blanc) !important;
}

.iwp__items .iwp__item .iwp__item-content .iwp__item-overview div span {
    font-family: 'Montserrat';
    color: var(--blanc);
    font-weight: 500 !important;
}

.iwp__items .iwp__item .iwp__item-header .iwp__item-meta ul li.iwp__heart {
    background-color: var(--rouge);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--bleu) !important;
}

/* FOOTER DEFACTO  */

.copyright-bloc {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: white;
}

.copyright-bloc a {
    text-decoration: none;
    color: white;
}

/* PAGE PLAN DU SITE (COPIER SUR PIERRE RICHARD) */
.wsp-pages-list {
    display: flex;
    flex-direction: row;
    list-style: none;
    flex-wrap: wrap;
    padding: 0 !important;
}

.wsp-pages-list li.page_item {
    flex-basis: 32%;
    background-color: rgba(142, 111, 72, 0.1);
    margin: 0.5%;
    border: 1px solid var(--bleu);
    transition: all .3s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-weight: bold;
}

.wsp-pages-list li.page_item a {
    padding: 10px;
    display: block;
    text-align: center;
    color: var(--bleu);
    width: 100%;
    transition: all .3s ease;
}

.wsp-pages-list li.page_item:hover {
    background-color: var(--bleu-secondaire);
}

.wsp-pages-list li.page_item:hover a {
    color: #FFFFFF;
}

.wsp-pages-title {
    display: none;
}

#text-with-picture{
	margin-left: auto !important;
    margin-right: auto !important;
}
/* AFFICHAGE DES GUILLEMETS POUR LE BLOC CITATION DE LA PAGE D'ACCUEIL */
.citation-bloc{
    line-height: 1.8em;
    font-family: 'Montserrat', Georgia, "Times New Roman", serif;
    font-weight: 700;
    font-size: 23px;
    letter-spacing: 1px;
    line-height: 1.8em;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    max-width: 720px;
}

.citation-bloc::before{
    content:"{";
    font-family:"ETmodules";
    font-size:2.2em; 
    position:absolute;
    top:0px;
    left:0px;
    transform: rotate(180deg) translate(-50%, 100%);
}

.citation-bloc::after{
    content:"{";
    font-family:"ETmodules";
    font-size:2.2em; /* font-size :40px pour mobile*/
    position:absolute;
    right:0px;
    bottom:0px;
    transform:translate(50%, 100%);
}

/* SLIDER PHOTO DE LA PAGE ACCUEIL AVEC UTILISATION DE VEGAS JS */
.vegas {
    width: 100%;
    height: 820px;
    position: relative;
    overflow: hidden;
}

@media screen and (max-width:980px) {
    .vegas {
        height: 250px;
        padding-bottom: 30px;
        margin-top: 30px;
    }
    .citation-bloc::after{
        font-size:40px;
    }
    .citation-bloc::before{
        transform: rotate(180deg) translate(50%, 100%);
    }
	#flex-direction-column{
		flex-direction:column;
	}
}

@media screen and (max-width: 1194px){
	.et_pb_menu_0_tb_header.et_pb_menu ul li a{
		font-size:0.9rem !important;
	}
	.et_pb_menu .et-menu>li{
		padding-left: 3px;
    	padding-right: 3px;
	}
	.et_pb_menu--style-left_aligned .et_pb_menu__logo{
		margin-right:0px;
	}
}
.vegas-slide-inner {
    width: 100%;
    height: 100%;
}


html body #tarteaucitronRoot.tarteaucitronBeforeVisible{
    z-index: 999999;
    &:before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 9998;
    }
    #tarteaucitronAlertBig {
        display: flex !important;
        flex-direction: column;
        #tarteaucitronPersonalize, #tarteaucitronPersonalize2,.tarteaucitronCTAButton,.tarteaucitronAllow {
            font-size: 18px !important;
            height: 40px !important;
            border-radius: 10px !important;
            border: 1px solid #F1F0F2;
        }
        button#tarteaucitronPrivacyUrl{
            color: #ADADAD !important;
            font-weight: 500;
            text-decoration: underline;
            padding-top: 10px;
        }
        #tarteaucitronCloseCross{
            font-size: 1rem !important;
            right: 6px !important;
        }
    }
}

#tarteaucitronPersonalize2 {
    order: 1;
    border-color: transparent;
}

#tarteaucitronPersonalize2:hover {
    opacity: 0.8;
}

#tarteaucitronCloseAlert {
    order: 2;
}

#tarteaucitronAllDenied2 {
    order: 3;
    border-color: #d9dce0;
}

#tarteaucitronPrivacyUrl {
    order: 4;
    background: none;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    margin-top: 5px;
    border-bottom: 1px solid;
    padding: 0;
    width: auto;
    border-color: currentColor;
}

#tarteaucitronPrivacyUrl:hover {
    opacity: 0.8;
}

#tarteaucitronRoot button#tarteaucitronCloseAlert {
    font-size: 18px !important;
    height: 40px !important;
    border-radius: 10px !important;
}

#tarteaucitronRoot span#tarteaucitronDisclaimerAlert {
    font-size: 17px !important;
    font-weight: 500 !important;
    margin-top: 20px !important;
}

#tarteaucitronRoot div#tarteaucitronAlertBig:before{
    font-size: 26px !important;
    font-weight: 700 !important;
    padding-top: 20px !important;
}

html body #tarteaucitronRoot div#tarteaucitronAlertBig{
    max-width: 285px !important;
    @media screen and (max-width: 980px){
        max-width: 100% !important;
    }
}



@media screen and (max-width: 600px) {
    #tarteaucitronAlertBig {
        width: 85%;
        padding: 20px 15px;
    }

    #tarteaucitronAlertBig:before {
        font-size: 24px;
    }

    #tarteaucitronDisclaimerAlert {
        font-size: 16px;
    }

    /*#tarteaucitronAlertBig button {
      width: 90%;
    }*/
}