/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/***** HEADER *****/
.fusion-main-menu {
    overflow: visible !important;
}

.fusion-main-menu .current-menu-item a:after,
.fusion-main-menu .current_page_item a:after {
    content: "";
    position: absolute;
    left: calc(50% - 10px);
    bottom: -9px;
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10.0px 10.0px 0 10.0px;
    border-color: #a6160c transparent transparent transparent;
}


@media(min-width: 768px) and (max-width: 1005px) {
	.fusion-mobile-logo {
	    display: block;
	}

	.fusion-standard-logo {
	    display: none;
	}

	.fusion-main-menu > ul > li > a {
    height: 60px!important;
	}
}

/***** MODIFIER *****/
.uppercase,
nav.fusion-main-menu a,
.title-uppercase h4,
.title-uppercase h2 {
    text-transform: uppercase;
}

.hundred-percent-height {
    height: calc(100vh - 110px) !important;
}

@media (max-width: 1024px) {
    .fusion-fullwidth.nonhundred-percent-fullwidth {
        padding: 40px 10px !important;
    }

    .hundred-percent-height {
        height: auto !important;
    }
}


.text-shadow {
    text-shadow: 0 0 7px rgba(0, 0, 0, 0.7);
}

/***** IMMO *****/
.global-link {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 1;
}

/*** SEARCH ENGINE ***/
.searchbar {
    width: 100%;
}

.searchbar .tab-pane form {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px 40px;
    background: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
}

.searchbar label {
    display: flex;
    flex-direction: column;
}

.searchbar .label {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

@media(min-width: 768px) {
	.searchbar .label {
    max-width: 430px;
	}

}

.searchbar .label .text-semibold {
    display: block;
    text-transform: initial;
    color: #362f2d;
    font-size: 18px;
    font-weight: 900;
}

@media(min-width: 1200px) {
	.searchbar .label {
    display: flex;
	}

	.searchbar .label .text-semibold {
    margin-top: 24px;
    margin-bottom: 16px;
	}
}

@media(min-width: 768px) {
	.searchbar .label .slider {
	    max-width: 300px;
	}

}

.searchbar .label .slider {
    width: 100%;
    overflow: visible;
}

.searchbar label,
.searchbar .label {
    font-size: 18px;
    color: #c61a0e;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.2;
    position: relative;
}

.searchbar select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    cursor: pointer;
    height: auto;
    margin: 15px 15px 0 0;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    padding: 15px 40px 15px 15px;
    background: #FFFFFF;
    text-transform: initial;
    line-height: 1em;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 0.9rem;
    color: #362f2d !important;
}

.searchbar label:after {
    content: "\f0dd";
    cursor: pointer;
    pointer-events: none;
    position: absolute;
    right: 30px;
    bottom: calc(50% - 24px);
    line-height: 1;
    color: #aaaaaa;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.noUi-target {
    height: 24px !important;
    margin: 15px 0 15px;
    box-shadow: none !important;
    border: 1px solid #e6e6e6 !important;
    border-radius: 12px !important;
    background: #FFFFFF !important;
}

@media(min-width: 768px) and (max-width: 1199px) {
	.noUi-target {
    margin-top : 7px!important;
    margin-bottom: 0!important;
	}
}

.noUi-connect {
    border: 0 !important;
    background: #dddddd !important;
    border-radius: 12px !important;
}

.noUi-handle {
    top: -7px !important;
    width: 36px !important;
    height: 36px !important;
    border: 2px solid #ffffff !important;
    border-radius: 50% !important;
    background: #aaaaaa !important;
    box-shadow: none !important;
}

.noUi-handle:before,
.noUi-handle:after {
    display: none !important;
}

.searchbar button[type=submit] {
    cursor: pointer;
    position: relative;
    align-self: center;
    border: 0;
    padding: 20px 40px 20px 74px;
    background: #c61a0e;
    font-family: 'Roboto Condensed', 'Arial', sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 400;
    color: #ffffff;
}

.searchbar button[type=submit] .fusion-button-text-right {
    position: relative;
    z-index: 1;
}

.searchbar button[type=submit] .button-icon-divider-left {
    padding: 0 0 0 40px !important;
    border: 0;
}

.searchbar button[type=submit] .button-icon-divider-left i {
    font-size: 22px;
    line-height: 60px;
}

.searchbar button[type=submit]:hover,
.searchbar button[type=submit]:focus,
.searchbar button[type=submit]:active {
    background: #9e0b0f;
}

@media (max-width: 1024px) {
    .fusion-fullwidth.hundred-percent-height {
        padding: 40px 10px !important;
    }

    .searchbar .tab-pane form {
        padding: 20px;
        flex-wrap: wrap;
    }

    .searchbar label, .searchbar .label {
        width: calc(25% - 7px);
        margin-bottom: 20px;
    }

    .searchbar .label .slider {margin-top: 12px;}

    .searchbar select {margin-right: 0; width: 100%;}

    .searchbar .label {
        flex-direction: column;
    }

    .searchbar .label .text-semibold {
        display: block;
    }

    .searchbar button[type=submit] {
        width: 100%;
    }
}

@media(max-width: 767px) {
	.searchbar .tab-pane form {
        flex-direction: column;
    }

    .searchbar label, .searchbar .label {
        width: 100%;
    }
}

@media(max-width: 767px) {
	.search-ref form, .search-ref form label {
		width: 100%;
	}
}

.search-ref form {
    justify-content: flex-end;
}

.search-ref form,
.search-ref form label {
    display: flex;
    /*padding: 20px;*/
}

.search-ref form label span {
    min-width: 200px;
    padding: 14px 20px;
    text-align: center;
    background: #e6e6e6;
    color: #362f2d;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 16px;
}

.search-ref input[type=text] {
    height: 54px;
    border: 1px solid #e6e6e6;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 16px;
}

.search-ref button[type=submit] {
    cursor: pointer;
    width: 54px;
    height: 54px;
    border: 0;
    background: #c61a0e;
    text-align: center;
    line-height: 54px;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 18px;
    color: #ffffff;
}

.search-ref button[type=submit]:hover,
.search-ref button[type=submit]:focus,
.search-ref button[type=submit]:active {
    background: #9e0b0f;
}

@media (max-width: 1024px) {
    .search-ref form {
/*        margin-top: 20px;
*/    }

    .search-ref form, .search-ref form label {
/*        flex-direction: column;
/**/        padding: 0;
*/    }

    .search-ref button[type="submit"] {
        position: absolute;
        align-self: flex-end;
    }
}

/*** Liste biens ***/
.liste-accueil {
    display: flex;
    justify-content: space-between;
    margin: 60px auto 50px;
    flex-wrap: wrap;
}

.liste-achat {
    display: flex;
    justify-content: flex-start;
    margin: 60px auto 50px;
    flex-wrap: wrap;
}

.liste-achat .one-prog {
    margin: 0 10px 20px;
}

.one-prog {
    width: calc(25% - 20px);
    margin-bottom: 20px;
    box-shadow: 0 0 23px rgba(0, 0, 0, 0.07);
    background-color: #ffffff;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.one-prog .img-prog {
    position: relative;
    min-height: 250px;
    background-size: cover;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.one-prog .img-prog:before {
    content: "\f061";
    display: block;
    width: 100%;
    height: 250px;
    background-color: rgba(0, 0, 0, 0.4);
    text-align: center;
    line-height: 250px;
    font-family: "Font Awesome 5 Free";
    font-size: 40px;
    font-weight: 900;
    color: #FFFFFF;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    opacity: 0;
}

.one-prog .img-prog .etiquette {
    position: absolute;
    top: 25px;
    left: -6px;
    padding: 8px 16px;
    background: #666666;
    font-size: 14px;
    color: #ffffff;
}

.one-prog .content-prog {
    min-height: 250px;
    border-bottom: 4px solid #c61a0e;
    padding: 18px;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.one-prog .content-prog h3 {
    margin-bottom: 20px;
    line-height: 1.2;
    font-size: 24px;
    color: #c61a0e;
    text-transform: uppercase;
}

.one-prog .content-prog p {
    margin: 0;
}

.one-prog .content-prog .price {
    display: block;
    font-size: 20px;
}

.one-prog .content-prog .price-notices {
    display: block;
    font-size: 12px;
    color: #666666;
}

.one-prog .content-prog a.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #c61a0e;
    font-size: 16px;
    color: #FFFFFF;
}

/* Styles au hover */
.one-prog:hover .img-prog:before {
    opacity: 1;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.one-prog:hover .content-prog {
    border-bottom: 4px solid #e5e5e5;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.one-prog .content-prog a.btn:hover,
.one-prog:hover .content-prog a.btn {
    background: #9e0b0f;
}

@media (max-width: 1024px) {
    .liste-accueil, .liste-achat {
        margin: 40px auto 20px;
    }

    .liste-accueil .one-prog, .liste-achat .one-prog {
        width: calc(50% - 20px);
    }

    .one-prog .img-prog {
        min-height: 300px;
    }

    .one-prog .img-prog::before {
        height: 300px;
        line-height: 300px;
    }

    .one-prog .img-prog .etiquette {
        top: 15px;
    }

    .one-prog .content-prog {
        min-height: auto;
    }
}

@media(max-width: 767px) {
	.liste-accueil, .liste-achat {
        flex-direction: column;
    }

	.liste-accueil .one-prog, .liste-achat .one-prog {
        width:100%;
    }

    .one-prog .img-prog {
        min-height: 300px;
    }

     .one-prog .img-prog::before {
        height: 300px;
        line-height: 300px;
    }
}


/***** TESTIMONIALS *****/
.reviews q {
    min-height: 210px !important;
    font-style: normal !important;
}

.reviews .author {
    color: #000000 !important;
    font-weight: 900;
}

@media (max-width: 1024px) {
    .contact-wrapper {
        background-position: center right !important;
    }
}


/***** FORMULAIRES *****/
/* Base for label styling */
[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
    position: absolute;
    left: -9999px;
}

[type="checkbox"]:not(:checked) + span,
[type="checkbox"]:checked + span {
    position: relative;
    padding-left: 2.5em;
    cursor: pointer;
    font-size: 13px;
}

/* checkbox aspect */
[type="checkbox"]:not(:checked) + span:before,
[type="checkbox"]:checked + span:before {
    content: '';
    position: absolute;
    left: 0;
    top: -2px;
    width: 1.5em;
    height: 1.5em;
    border: 2px solid #ccc;
    background: #fff;
    border-radius: 4px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .1);
}

/* checked mark aspect */
[type="checkbox"]:not(:checked) + span:after,
[type="checkbox"]:checked + span:after {
    content: '\f00c';
    position: absolute;
    top: .15em;
    left: .22em;
    font-size: 1.3em;
    line-height: 0.8;
    color: #aaa;
    transition: all .2s;
    font-family: "Font Awesome 5 Pro";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

/* checked mark aspect changes */
[type="checkbox"]:not(:checked) + span:after {
    opacity: 0;
    transform: scale(0);
}

[type="checkbox"]:checked + span:after {
    opacity: 1;
    transform: scale(1);
}

/* disabled checkbox */
[type="checkbox"]:disabled:not(:checked) + span:before,
[type="checkbox"]:disabled:checked + span:before {
    box-shadow: none;
    border-color: #bbb;
    background-color: #ddd;
}

[type="checkbox"]:disabled:checked + span:after {
    color: #999;
}

[type="checkbox"]:disabled + span {
    color: #aaa;
}

/* accessibility */
[type="checkbox"]:checked:focus + span:before,
[type="checkbox"]:not(:checked):focus + span:before {
    border: 2px dotted #aaa;
}

[type=radio] {
    margin: 0 2px 0 0;
}

.wpcf7-radio label {
    margin-right: 20px !important;
}

/* hover style just for information */
span:hover:before {
    /*border: 2px solid #aaa !important;*/
}

span.wpcf7-list-item {
    margin: 0 !important;
}

form.wpcf7-form .d-flex > label {
    margin-bottom: 20px;
}

@media (min-width: 1024px) {
    form.wpcf7-form .d-flex {
        display: flex;
        justify-content: space-between;
    }

    form.wpcf7-form .d-flex > label {
        width: calc(50% - 20px);
    }
}


/***** FORMULAIRES D'ESTIMATION *****/
.formulaire.d-flex {
    display: flex;
    flex-direction: row;
}

.formulaire.d-flex label {
    width: 33%;
    margin-top: 20px;
    margin-bottom: 10px;
}

.formulaire.d-flex label:not(:last-child) {
    margin-right: 20px;
}

.formulaire-text {
    margin-top: 20px;
    line-height: 40px;
}

.formulaire-text .wpcf7-form-control-wrap {
    display: inline-block !important;
    vertical-align: middle;
}

.formulaire-text select {
    padding-left: 5px !important;
    padding-right: 32px !important;
    color: #414146 !important;
}

.label-textarea {
    display: block;
    margin-top: 20px !important;
}

textarea {
    margin-top: 5px !important;
}

select, input:not([type=submit]), textarea {
    font-family: "Roboto Condensed", sans-serif !important;
    color: #362f2d !important;
    font-size: 16px !important;
}


.tableau .tab-row {
    display: flex;
}

.tableau .tab-row {
    margin: 0;
    padding: 8px 0;

}

.tableau .tab-row > div {
    padding: 0;
    width: 50%;
}

.tableau .tab-row .col-7 {
    width: 70%;
}

.tableau .tab-row .col-full {
    width: 100%;
}


.tableau .tab-row:not(:last-child) {
    border-bottom: 1px solid #eee;
}

.tableau .tab-row > div:not(:last-child) {
    font-weight: 600;
}

.tableau .price {
    /*	display: block;
    */
    font-weight: 700;
    font-size: 16px;
    padding-right: 10px !important;
    padding-left: 10px !important;
}

.titre3 {
    margin-top: 20px !important;
}

.titre3 h3 {
    font-family: 'Oswald', 'Arial', sans-serif !important;
    font-weight: 300 !important;
    font-size: 20px !important;
    text-transform: uppercase;
    line-height: 24px !important;
}


/* SWIPER SLIDER */
/***** Slider ***/
@media (min-width: 1024px) {
    .swiper-home-container .parallax-bg {
        height: 500px;
        background-position: center center;
    }
}

@media (max-width: 991px) {
    .swiper-home-container .parallax-bg {
        height: 500px;
        background-position: center center;
        background-size: cover;
    }
}

@media (min-width: 1200px) {
    .swiper-details-container .parallax-bg {
        height: 500px;
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
    }
}

@media (max-width: 1199px) {
    .swiper-details-container .parallax-bg {
        height: 400px;
        background-position: center center;
        background-size: contain;
        background-repeat: no-repeat;
    }
}


@media (max-width: 767px) {
    .swiper-details-container .parallax-bg {
        height: 250px;
    }
}


.swiper-container .content-slider {
    background: rgba(255, 255, 255, 0.7);
    display: block;
    padding: 15px 30px 15px 15px;
    position: absolute;
    bottom: 0;
    text-transform: uppercase;
    line-height: 34px;
}

.swiper-container .content-slider .title {
    color: #2b324a;
    font-size: 28px;
}

.swiper-container .content-slider .subtitle {
    color: #2b324a;
    font-size: 28px;
}

.swiper-container .content-slider .text {
    color: #2b324a;
    font-size: 24px;
}

.swiper-container .content-slider .text p {
    margin-bottom: 0;
}

/* slider thumbnails */
.gallery-top {
    width: 100%;
}


.gallery-thumbs {
    height: 70px;
    box-sizing: border-box;
    padding: 0;
}

.gallery-thumbs .swiper-wrapper {
    transform: translate3d(0px, 0px, 0px) !important;
}

.gallery-thumbs .swiper-slide {
    width: 10% !important;
    height: 100%;
    margin: 10px;
    margin-left: 0 !important;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #fff;
    opacity: 0.5;
}

@media (max-width: 991px) {
    .gallery-thumbs .swiper-slide {
        width: 90px !important;
        height: 60px;
    }
}

.gallery-thumbs .swiper-slide.swiper-slide-active {
    opacity: 1;
}

.gallery-thumbs .swiper-slide:hover {
    cursor: pointer !important;
}


.content--boxes .content-box-heading {
    font-family: Oswald, Arial, Helvetica, sans-serif;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0px;
    font-style: normal;
    text-transform: uppercase;
}


/* SIMULATEURS */
.fusion-button.button-2.btn-simu {
    border: 0 !important;
    background: #dfdfdf;
    margin-top: 20px;
}

.fusion-button.button-2.btn-simu .fusion-button-text,
.fusion-button.button-2.btn-simu:hover .fusion-button-text,
.fusion-button.button-2.btn-simu i {
    color: #414146 !important;
}


/*.fusion-button.button-2.btn-simu:hover .fusion-button-text,
.fusion-button.button-2.btn-simu:hover i {
    color: #ffffff!important;
}*/


.button-default .button-icon-divider-right {
    /*background: #414146!important;*/
}


.slider-simulation .noUi-connects {
    background: #eee !important;
}


.titre-simu h3 {
    font-family: 'Oswald', 'Arial', sans-serif !important;
    font-weight: 500 !important;
    font-size: 20px !important;
    text-transform: uppercase;
    line-height: 24px !important;
    margin: 0;
}

.result-estimation-label {
    margin: 0;
}

.result-estimation-label span {
    background: #ffe900;
    padding: 5px 10px;
    font-weight: 600;
    font-size: 18px;
}

#result-estimation-emprunt, #resultpinel {
    display: none;
}


/***** FOOTER *****/
.icon-bottom {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 0 !important;
}

.icon-bottom span {
    margin-bottom: 1em;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.icon-bottom i {
    background: url(/wp-content/uploads/2019/03/icon-mail.png);
    display: block;
    width: 54px;
    height: 54px;
    margin: 0 !important;
}

.icon-bottom i.fa-envelope { background: url(/wp-content/uploads/2019/03/icon-mail.png); }
.icon-bottom i.fa-phone { background: url(/wp-content/uploads/2019/03/icon-tel.png); }
.icon-bottom i.fa-calendar { background: url(/wp-content/uploads/2019/03/icon-rdv.png); }

.icon-bottom i:before {
    content: "" !important;
}


.fusion-content-widget-area .widget {
    margin-bottom: 0;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
	 #menu-widget-2 > .fusion-widget-menu ul {
        display: flex !important;
    }

    #menu-widget-2 > .fusion-widget-menu li {
/*        display: block !important;
*/        width: 100%;
    }

    #menu-widget-2 ul li a {
        padding: 10px 0 !important;
    }

    #menu-widget-2 ul li a::after {
        padding: 0 !important;
    }
}


.contact-wrapper .fusion-builder-row {
	display: flex;
}

@media(min-width: 1320px) {
	.contact-wrapper .fusion-builder-row .fusion-layout-column {width:25%!important; margin:0!important;}
	.contact-wrapper .fusion-builder-row .fusion-layout-column:first-child {width:50%!important;}
}


@media(max-width: 1319px) {
	.contact-wrapper .fusion-builder-row .fusion-layout-column {width:33%!important; margin:0!important;}
	.contact-wrapper .fusion-builder-row .fusion-layout-column:first-child {width:33%!important;}
}

@media(max-width: 991px) {
	.contact-wrapper .fusion-builder-row .fusion-layout-column:first-child {width:0%!important;}
}

@media(max-width: 575px) {
	.contact-wrapper .fusion-builder-row .fusion-layout-column .fusion-button .fusion-button-text
	{
		display: none!important;
	}
}

@media(max-width: 767px) {
	.contact-wrapper {background-image: none!important;}
}

@media(max-width: 1024px) {
	.fusion-fullwidth.nonhundred-percent-fullwidth.contact-wrapper {padding: 80px 10px!important;}
}


@media(max-width: 1024px) {
	.fusion-footer .fusion-columns .fusion-column:nth-child(2),
	.fusion-footer .fusion-columns .fusion-column:nth-child(3) {
	 width: 50%!important;
	}	
}


/* pagination */
.pagination {
list-style-type: none;
justify-content: flex-start;
padding: 0!important;
margin: 30px 0!important;
}

.pagination>li>a, 
.pagination>li>span {
	border-radius: 0!important;
	border: 2px solid #c61a0e;
	color: #c61a0e;
    margin-right: 10px;
    padding: 5px 10px;
    font-size: 17px;
}

.pagination>.active>a, 
.pagination>.active>a:focus, 
.pagination>.active>a:hover, 
.pagination>.active>span, 
.pagination>.active>span:focus, 
.pagination>.active>span:hover {
	color: #fff;
    background-color: #c61a0e;
    letter-spacing: 0;
    border-color: #c61a0e;
}

.pagination>li>a:focus, 
.pagination>li>a:hover, 
.pagination>li>span:focus, 
.pagination>li>span:hover {
    color: #fff;
     letter-spacing: 0;
    background-color: #c61a0e;
    border-color: #c61a0e;
}
