/* couleurs */
:root {
    --orange: #F7AB61;
    --brun: #6C5D5B;
    --footer: #423836;
    --blanc: #FFF;
    --sombre: #4A4A4A;
    --noir: #000;
}

/* general */
.right{
    float: right;
}

/* splash screen sur desktop seulement */
#splash{
    display: none;
}

/* boutons */
a.elementor-button{
    background-color: var(--orange) !important;
    color: var(--blanc) !important;
}
a.elementor-button:hover{
    background-color: var(--blanc) !important;
    color: var(--orange) !important;
}

/* bouton spécial sur page Demande de devis */
body.page-id-119 a.elementor-button,
body.page-id-119 a.elementor-button:hover {
    background-color: var(--blanc) !important;
    color: var(--orange) !important;
}

/* bouton clair */
.bouton-clair a.elementor-button{
    background-color: transparent !important;
    color: var(--blanc) !important;
    border-color: var(--blanc) !important;
}
.bouton-clair a.elementor-button:hover{
    background-color: var(--blanc) !important;
    color: var(--orange) !important;
}

/* bouton orange */
.bouton-couleur a.elementor-button{
    background-color: transparent !important;
    color: var(--orange) !important;
    border-color: var(--orange) !important;
}
.bouton-couleur a.elementor-button:hover{
    background-color: var(--orange) !important;
    color: var(--blanc) !important;
}

/* bouton special boucle aides */
.boucle-aides .e-loop-item a.elementor-button{
    background-color: var(--brun) !important;
    color: var(--blanc) !important;
    border-color: var(--blanc) !important;
    margin-bottom: 10px;
}
.boucle-aides .e-loop-item a.elementor-button:hover{
    background-color: var(--orange) !important;
    border-color: var(--orange) !important;
    color: var(--blanc) !important;
}

/* bouton footer */
.bouton-footer  a.elementor-button{
    font-size: 16px !important;
    padding: 10px 15px !important;
}

/* menu */
.jourdan-menu {
	background: rgba(100,100,100,0.2);
	backdrop-filter: blur(4px);
    height: 93px;
}

/* max mega menu */
.elementor-widget-maxmegamenu{
    width: 100%;
}
#mega-menu-wrap-menu-1 #mega-menu-menu-1{
	display: flex;
	justify-content: space-around;
    width: 100%;
}
#mega-menu-wrap-menu-1,
#mega-menu-wrap-menu-1 #mega-menu-menu-1 li#mega-menu-item-100 > a.mega-menu-link{
    background: transparent !important;
}
ul.mega-sub-menu{
    margin-top: 25px !important;
}
#mega-menu-wrap-menu-1 #mega-menu-menu-1 li.space a{
    opacity: 0 !important;
}
#mega-menu-wrap-menu-1 #mega-menu-menu-1 li.reseaux{
    display: none !important;
}

/* menu > reseaux */
.jourdan-menu .e-con-inner{
    position: relative;
}
.jourdan-menu .e-con-inner .menu-reseaux{
    position: absolute;
    right: 0;
}


/* menu > categorie titre */
.activite-categorie.menu{
    display: flex;
    justify-content: left;
}
.activite-categorie .titre-container{
    width: 35px;
    height: 275px;
    position: relative;
    text-align: center;
}
.activite-categorie .titre-container .titre {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
	font-size: 15px;
	font-weight: 300;
	width: 210px;
	height: 35px;
	text-transform: uppercase;
    transform: rotate(-90deg);
    line-height: 1.2;
    letter-spacing: 8px;
    transform-origin: top left;
    position: absolute;
    bottom: -25px;
}
.activite-categorie .titre-container img{
    max-width: 32px;
    margin: 5px auto;
}
.activite-categorie .titre-container img.equipement{
    width: 19px;
    height: 32px;
}
.activite-categorie .titre-container img.installation{
    width: 16px;
    height: 30px;
}

/* menu > activites */
ul.activite-list {
    list-style-type: none;
}
ul.activite-list li{
    margin-bottom: 5px;
}
ul.activite-list li a{
    font-size: 17px;
    font-weight: normal;
    color: var(--blanc);
    text-decoration: none;
}
ul.activite-list li.selected a,
ul.activite-list li a:hover{
    color: var(--orange);
}
ul.activite-list li.selected a{
    font-weight: bold;
}

/* page > liste activite */
.activite-categorie.page{
    position: relative;
    margin-bottom: 100px;
}
.activite-categorie.page ul.activite-list{
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
}
.activite-categorie.page ul.activite-list li.activite-item{
    width: 100%;
    height: 376px;
    margin:0 20px 20px 0;
    text-align: center;
}
.activite-categorie.page ul.activite-list li.activite-item a{
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.5s ease;
}
.activite-categorie.page ul.activite-list li.activite-item .activite-image{
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 290px;
    height: 290px;
    background-color: var(--sombre);
    margin-bottom: 20px;
}
.activite-categorie.page ul.activite-list li.activite-item .titre{
    padding: 0 20px;
}
.activite-categorie.page .titre-container{
    height: 35px;
    width: 315px;
}
.activite-categorie.page .titre-container .titre{
    width: 260px;
    letter-spacing: 2px;
    transform: none;
}

/* footer */
.footer-follow p{
    margin-bottom: 0;
}
.footer-texte a{
    text-decoration: underline;
}
.footer-texte a:hover{
    text-decoration: none;
}
/* footer > Form Brevo */
textarea:focus, input:focus{
    outline: none;
}
form.sib_signup_form input[type=email],
form.sib_signup_form p.label{
    font-size: 12px;
    font-weight: 300;
    line-height: 1.2;
}
form.sib_signup_form input[type=email],
form.sib_signup_form input[type=checkbox]{
    border-radius: 5px;
    background-color: var(--orange);
    color: var(--blanc);
}
form.sib_signup_form input[type=checkbox]{
    float: left;
	height: 24px;
	width: 24px;
	margin: 5px 10px 0 0;
}
form.sib_signup_form input[type=email],
form.sib_signup_form input[type=submit]{
    border: solid 1px var(--orange) !important;
}
form.sib_signup_form input[type=submit]{
    padding: 10px 15px;
    font-size: 14px;
    font-weight: bold;
}

/* footer > widget google avis */
.ti-widget.ti-goog > .ti-widget-container > .ti-header{
    padding-left: 0;
    padding-right: 0;
}
.ti-widget.ti-goog > .ti-widget-container > .ti-header strong{
    font-weight: normal !important;
}
.ti-widget.ti-goog{
    text-align: left !important;
}

/* partenaire galery */
/*
.elementor-image-gallery .gallery-item{
    margin-bottom: 20px !important;
}
*/
.logos-list{
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}
.logos-item{
    margin: 10px 20px;
}
.qualifications-texte-item{
    color: var(--brun);
    margin-bottom: 30px;
}
h3.qualifications-titre{
    color: var(--orange);
    font-size: 20px;
}
.qualifications-image{
    margin-bottom: 10px;
}
/* page category */
.category-description strong{
    text-transform: uppercase;
    font-weight: 500;
}
body.archive.category h2,
body.archive.category h3{
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
}
body.archive.category h3{
    margin-top: 35px;
    font-size: 17px;
}

.charte-img-conteneur #charte-img-ampoule,
.charte-img-conteneur #charte-img-logo,
.charte-img-conteneur #charte-img-robinet,
.charte-img-conteneur #charte-img-chauffage{
    opacity: 0;
    position: absolute;
    opacity: 0;
    animation-delay: 4s;
    animation-duration: 4s;
    animation-fill-mode: forwards;
}
.charte-img-conteneur #charte-img-ampoule{
    left: -20px;
    top: 80px;
    animation-name: showcharteimgampoule;
}
.charte-img-conteneur #charte-img-robinet{
    left: 155px;
    top: 131px;
    animation-delay: 4.25s;
    animation-name: showcharteimgrobinet;
}
.charte-img-conteneur #charte-img-chauffage{
    left: 11px;
    top: 173px;
    animation-delay: 4.5s;
    animation-name: showcharteimgchauffage;
}
/* home > apparition des illustrations dans le bloc Charte */
@keyframes showcharteimgampoule {
    0% {
        opacity: 0;
        top: 80px;
    }
    100% {
        opacity: 1;
        top: -20px;
    }
}
@keyframes showcharteimgrobinet {
    0% {
        opacity: 0;
        top: 131px;
    }
    100% {
        opacity: 1;
        top: 31px;
    }
}
@keyframes showcharteimgchauffage {
    0% {
        opacity: 0;
        top: 173px;
    }
    100% {
        opacity: 1;
        top: 73px;
    }
}

.page-header{
    position: fixed;
}

/* single activite */
.single-activite-description strong,
.contact-description strong{
    /* text-transform: uppercase; */
    font-weight: 700;
}

/* single activite > realisations */
.realisation-liste{
    display: block;
}
.realisation-item{
    position: relative;
    z-index: 1;
    width: 100%;
    margin-bottom: 50px;
    height: 427px;
    background-color: var(--blanc);
    border-radius: 10px;
}
.realisation-item a h3, .realisation-item a h4{
    color: var(--brun);
    font-size: 17px;
    font-weight: normal;
}
.realisation-item a h3.ville{
    font-weight: bold;
    text-transform: uppercase;
    width: 100%;
    padding-bottom: 15px;
    border-bottom: solid 1px var(--orange);
}
.realisation-item .texte{
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 265px;
    padding: 30px;
    background: linear-gradient(var(--blanc) 65%, transparent);
    border-radius: 10px 10px 0 0;
}
.realisation-item .image{
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 290px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 0 0 10px 10px;
}

/* single realisation */
.single-realisation.titres h1,
.single-realisation.titres h2{
    text-align: center;
    text-transform: uppercase;
}
.single-realisation h1{
    font-size: 30px;
    font-weight: 200;
    line-height: 1.2em;
}

.single-realisation h2{
    text-transform: uppercase;
    font-size: 17px;
    font-weight: 700;
}

/* single realisation > pagination */
ul.pagination{
    justify-content: center;
    flex-wrap: wrap;
}
ul.pagination li{
    border: none !important;
}
ul.pagination li:first-child{
    border-radius: 10px 0 0 10px;
}
ul.pagination li:last-child{
    border-radius: 0 10px 10px 0;
}
ul.pagination li a{
    color: var(--brun);
}
ul.pagination li:hover a,
ul.pagination li.active a{
    color: var(--orange);
}
ul.pagination li.active a{
    font-weight: bold;
}
ul.pagination li.active{
    background-color: var(--brun);
}

/* contact > form */
form.wpcf7-form input[type="text"],
form.wpcf7-form input[type="email"],
form.wpcf7-form textarea{
    font-size: 17px;
    font-weight: 300;
    background-color: var(--orange);
    color: var(--blanc);
    border: solid 1px  var(--orange);
    border-radius: 10px;
}
form.wpcf7-form input[type="text"]::placeholder,
form.wpcf7-form input[type="email"]::placeholder,
form.wpcf7-form textarea::placeholder {
    color: var(--blanc);
}

form.wpcf7-form textarea{
    height: 166px;
}
form.wpcf7-form .wpcf7-list-item-label{
    font-size: 12px;
    line-height: 1.2;
}
form.wpcf7-form .wpcf7-list-item{
    margin-left: 0;
}
form.wpcf7-form input[type="checkbox"] {
	box-sizing: border-box;
	padding: 0;
	height: 24px;
	width: 24px;
	float: left;
	margin: 5px 10px 0 0;
}
form.wpcf7-form input[type="submit"] {
    float: right;
    width: 108px;
    height: 38px;
    background-color: var(--footer);
    color: var(--blanc);
    border: solid 1px var(--footer);
    font-size: 16px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 10px;
}
form.wpcf7-form input[type="submit"]:hover,
form.wpcf7-form input[type="submit"]:focus {
    background-color: var(--brun);
    border: solid 1px var(--orange);
    color: var(--orange);
}

/* contact > tel */
.telephone{
    width: 175px;
    height: 74px;
    background-color: var(--orange);
    margin-bottom: 20px;
}
.telephone > div{
    width: 100%;
    height: 37px;
    text-align: center;
}
.telephone > div.portable{
    background-color: var(--footer);
}
.telephone a{
    color: var(--blanc);
    font-weight: bold;
    font-size: 20px;
    line-height: 37px;
}

/* carousel aides */
.boucle-aides .e-loop-item p{
    margin-bottom: 0 !important;
}
.elementor-widget-loop-carousel.elementor-element :is(.swiper, .swiper-container) ~ .elementor-swiper-button-next,
.elementor-widget-loop-carousel.elementor-element :is(.swiper, .swiper-container) ~ .elementor-swiper-button-prev{
    top: calc(50% - 7px);
}
.boucle-aides .e-loop-item img{
    width: auto;
    max-height: 85px;
    margin-top: 10px;
}

/* page mentions */
.mentions-texte a{
    color: var(--brun);
    text-decoration: none;
}
.mentions-texte a:hover{
    text-decoration: underline;
}
.mentions-texte h2{
    color: var(--brun);
    font-size: 30px;
    margin: 60px 0 30px 0;
    font-weight: bold;
}

@media screen and (min-width: 768px){
    /* aides */
    .boucle-aides .e-loop-item img{
        max-height: 122px;
        margin-top: 0;
    }
    .boucle-aides .e-loop-item a.elementor-button{
        margin-bottom: 10px;
    }
    /* splash screen sur desktop seulement */
    body{
        z-index: 999;
    }
    #splash,
    #splash .img-container{
        width: 100%;
        height: 100%;
    }
    #splash,
    #splash img{
        animation-delay: 2s;
        animation-duration: 4s;
        animation-fill-mode: forwards;
    }
    #splash{
        display: block;
        background-color: var(--brun);
        position: absolute;
        z-index: 9999;
        top: 0;
        left: 0;
        opacity: 1;
        animation-name: movesplash;
    }
    #splash .img-container{
        z-index: 99999;
        overflow: hidden;
    }
    #splash img{
        width: 699px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        animation-name: moveimg;
    }
    .home-pages-icone{
        position: relative;
    }
    .home-pages-icone{
        width: 158px;
        height: 158px;
    }
    .home-pages-icone img{
        opacity: 0;
        animation-delay: 4s;
        animation-duration: 4s;
        animation-fill-mode: forwards;
        animation-name: showcat;
        position: absolute;
        left: 0;
        bottom: -100px;
    }

    /* home > splash screen */
    @keyframes movesplash {
        0% {
            z-index: 9999;
            width: 100%;
            height: 100%;
            opacity: 1;
            background-color: var(--brun);
        }
        50% {
            z-index: 9999;
            width: 80%;
            height: 80%;
            top: 10%;
            left: 10%;
            opacity: 0.5;
            background-color: var(--orange);
        }
        100% {
            z-index: -1;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            opacity: 0;
            background-color: var(--orange);
        }
    }

    /* home > splash screen > deplacement du logo */
    @keyframes moveimg {
        0% {
            top: 50%;
            opacity: 1;
        }
        50% {
            top: 50%;
            opacity: 0.5;
        }
        80% {
            opacity: 0;
        }
        100% {
            top: 150%;
            opacity: 0;
        }
    }

    /* home > apparition des 3 pictos de catégories */
    @keyframes showcat {
        0% {
            opacity: 0;
            bottom: -100px;
        }
        75%,
        100% {
            opacity: 0.6;
            bottom: 0;
        }
    }

    /* page > liste activite */
    .activite-categorie.page ul.activite-list li.activite-item{
        width: 30%;
        max-width: 319px;
    }
    .activite-categorie.page ul.activite-list{
        padding-left: 75px;
    }
    .activite-categorie.page .titre-container{
        position: absolute;
        top: calc(50% - 157px);
        height: 315px;
        width: 35px;
    }
    .activite-categorie.page .titre-container .titre{
        text-align: right;
        transform: rotate(-90deg);
    }

    /* single activite > realisations */
    .realisation-liste{
        display: flex;
        flex-wrap: wrap;
        justify-content: start;
    }
    .realisation-item{
        margin: 0 35px 35px 0;
        width: 45%;
    }

    /* single realisation */
    .single-realisation h1{
        font-size: 48px;
    }
    .single-realisation.contenu{
        display: flex;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    .single-realisation.contenu > div{
        width: 45%;
    }

    /* contact */
    .contact-description{
        max-width: 487px !important;
    }

    /* page et single image décalage absolute */
    .single-image, .page-image{
        position: absolute;
        left: 0;
        bottom: -150px;
    }
    .page-image{
        bottom: -250px;
    }
    
    /* contact > tel */
    .telephone{
        width: 350px;
        height: 37px;
        background-image: url('../img/fond-telephone.jpg');
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    .telephone > div{
        width: 50%;
        text-align: center;
    }
    .telephone > div.portable{
        background-color: transparent;
    }
    /* qualification texte */
    .qualifications-texte-item{
        display: flex;
        margin-bottom: 15px;
    }
    .qualifications-image{
        width: 20%;
    }
    .qualifications-texte{
        width: 80%;
    }
}

@media screen and (min-width: 1024px){
    /* partenaire galery */
    .partenaire-galery .elementor-image-gallery .gallery-columns-8 .gallery-item{
        max-width: 6%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .partenaire-galery .elementor-image-gallery .gallery-columns-8{
        justify-content: space-between !important;
        display: flex;
        margin: 0 10px;
    }

    /* single activite > realisations */
    .realisation-item{
        width: 30%;
    }
}


@media screen and (min-width: 1400px){
    .bouton-devis a.elementor-button,
    body.single-activite .bouton-devis a.elementor-button{
        top: 75px;
        right: -200px;
        transform-origin: center;
        transform: rotate(-270deg);
        position: relative;
    }
}

/*
.bouton-devis.side a.elementor-button,
body.single-activite .bouton-devis a.elementor-button{
    top: 75px;
    right: -200px;
    transform-origin: center;
    transform: rotate(-270deg);
    position: relative;
}
*/

@media screen and (max-width: 1024px){
    /* bouton devis */
    header{
        background-color: var(--brun);
    }
}

/* masquer bouton devis sur la page contect/devis */
body.page-id-119 .bouton-devis a.elementor-button{
    display: none;
}

@media screen and (max-width: 1400px){
    /* bouton devis */
    body.single-activite .bouton-devis a.elementor-button,
    body.page-template-default .bouton-devis a.elementor-button{
        display: none;
    }
}

@media screen and (max-width: 768px){
    .activite-categorie.page .titre-container .picto{
        position: absolute;
        top: 0;
        left: 0;
    }
    .activite-categorie.page .titre-container{
        margin-bottom: 30px;
    }
    .activite-categorie.page .titre-container .titre{
        position: relative;
        transform: none;
        bottom: auto;
        padding-left: 30px;
        width: auto;
    }
    .activite-categorie.page ul.activite-list{
        padding-left: 0;
    }
    .ti-widget.ti-goog{
        text-align: center !important;
    }
}
