/**********************************
  structure globale du site
***********************************/


/* ------------
HEADER (EN-TETE)
--------------*/

.head-nav-menu {
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    padding: 0;
}

.sub-menu {
    position: relative;
    z-index: 1;
}

.banner {
    position: relative;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    width: 100%;
    background: rgba(51, 51, 51, .7);
    overflow: hidden;
}

@media screen and (max-width: 760px) {
    .banner h1 {
        margin-bottom: 20px;
        /* font-size: 35px; */
        /* line-height: 1.1em; */
    }
}

.banner-background {
    position: absolute;
    top: 0;
    z-index: -1;
}

.bt-red {
    border-bottom: 2px solid var(--red);
}

.bt-orange {
    border-bottom: 2px solid var(--orange);
}

.bt-green {
    border-bottom: 2px solid var(--green);
}

.bt-blue {
    border-bottom: 2px solid var(--blue);
}

.p-lg-relative {
    position: relative;
}

.orange {
    fill: #F07E1E;
}

.red {
    fill: #D04119;
}

.blue {
    fill: #36B2C2;
}

.green {
    fill: #76B82A;
}

.st1 {
    fill: #38383F;
    transition: .5s;
}

.term-travaux-agricoles .mon-logo {
    fill: #F07E1E;
}

.term-batiment .mon-logo {
    fill: #D04119;
}

.term-travaux-publics .mon-logo {
    fill: #36B2C2;
}

.term-amenagement-exterieur .mon-logo {
    fill: #76B82A;
}


/* ----------------------
CONTACT FIXED RIGHT
-----------------------*/

.sticky-tools {
    position: fixed;
    top: 20vh;
    right: -240px;
    z-index: 1000;
}
@media (max-width:956px){
    .sticky-toolsContentPhone{
        background-color: var(--orange);
        padding: 20px !important;
    }
}

.find-icon,
.contact-mail,
.contact-phone {
    margin-bottom: 10px !important;
    cursor: pointer;
}

.contact-mail>.row,
.contact-phone>.row {
    margin: 0;
}

.contact-phone ul li,
.contact-mail ul li {
    line-height: 1;
    margin-bottom: 1rem;
}

.info-item:last-child {
    margin: 0;
}

.info-item {
    font-weight: 300;
}

.info-item strong {
    font-size: 2.5rem;
}
/* .sticky-tools .aider .row .sticky-toolsContent {
    width: 168px;
    padding-right: 20px;
} */
.sticky-tools .aider .row .sticky-toolsContent a,
.sticky-tools .aider .row .sticky-toolsContent a:visited,
.sticky-tools .aider .row .sticky-toolsContent a:link {
    color: #fff;
    font-weight: 500;
}
.sticky-tools .row .sticky-toolsContent {
    padding: 10px;
    width: 240px;
    height: 60px;
}
.sticky-tools > .contact-phone .tools-item:hover {
    transform: translateX(-240px);
    -webkit-transform: translateX(-240px);
    -moz-transform: translateX(-240px);
    -ms-transform: translateX(-240px);
    -o-transform: translateX(-240px);
}
.sticky-tools > .aider  .tools-item:hover {
    transform: translateX(-158px);
    -webkit-transform: translateX(-158px);
    -moz-transform: translateX(-158px);
    -ms-transform: translateX(-158px);
    -o-transform: translateX(-158px);
}
.sticky-tools > .aider .sticky-toolsContent {
    color: #fff;
    font-weight: 500;
}
.sticky-tools .aider .row .sticky-toolsContent {
    width: 158px;
    line-height: 120%;
    display: flex;
    align-items: center;
}
.sticky-tools .row {
    transition: 0.2s;
    /* transform: translateX(240px); */
    /*margin-right: -240px;*/
    margin-left: 0;
}

/*.sticky-tools .row:hover ,
.sticky-tools .row.active {
    /* transform: translateX(0); */
    /*margin-right: 0;
}*/

/* .tools-item {
    margin-left: auto;
    background-color: var(--orange);
} */

.theme-red .tools-item {
    background-color: var(--red);
}

.theme-green .tools-item {
    background-color: var(--green);
}

.theme-blue .tools-item {
    background-color: var(--blue);
}

.theme-orange .tools-item {
    background-color: var(--orange);
}
.contact-icon-phone {
    height: 60px;
}

.sticky-tools .row:hover .contact-icon-phone ,
.sticky-tools .row.active .contact-icon-phone {
    height: auto;
}

.find-icon,
.contact-icon-phone,
.contact-icon-mail,
.image-aide {
    min-height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.35);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.35);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.35);
}


.theme-red .aider{
    display: none !important;
}
.contact-mail .ico-white-mail {
    width: 21px;
    min-width: 21px;
    height: 14px;
    background-position: -518px -34px !important;
}
.ico-white-find {
    width: 19px;
    min-width: 19px;
    height: 22px;
    background-position: -410px 0 !important;
}

.contact-phone .ico-white-phone {
    width: 20px;
    min-width: 20px;
    height: 20px;
    background-position: -476px -32px !important;
}


/* ----------------------
ZONE INTERIEURE (CONTENU)
-----------------------*/


/* ----------------------
HEADER PAGE
-----------------------*/

.header-top {
    background-color: var(--blanc);
}


/* ------------
COLONNES
--------------*/


/* -------------------
FOOTER (PIED DE PAGE)
--------------------*/

.footer {
    background-color: var(--gray2);
    padding: 39px 0 21px 0;
}

.footer .h-26 {
    letter-spacing: 0 !important;
}

.footer-2 {
    padding: 10px 0;
    background-color: var(--gray1);
}

.footer a,
.footer li,
.footer p,
.footer h4 {
    color: white;
}

.footer li {
    list-style: outside;
    line-height: 1;
    margin-bottom: 10px;
}

.footer .list-unstyled {
    margin: 0;
}

.footer .list-unstyled li {
    list-style: none;
}

.footer li::marker {
    color: white !important;
}

.widgettitle {
    margin-bottom: 3.4rem;
    /* font-size: 1.8rem; */
    letter-spacing: 0;
    font-weight: 400;
    text-transform: uppercase;
}
@media (min-width:1400px){
    .widgettitle {
    font-size: 1.8rem;
    }
}
.footer-2 .widget_nav_menu:last-child {
    margin: 0;
}

.footer-2 .widget_nav_menu ul li {
    list-style: none;
}

.widget .menu {
    line-height: 35px;
}

.footer-2 .menu {
    display: flex;
    justify-content: space-between;
    list-style: none;
}

.footer-2 .menu-item a {
    color: var(--white);
    font-size: 1.2rem;
    text-decoration: none;
}
    @media (min-width:1400px){
        .footer-2 .menu-item a {
            font-size: 16px;
        }
    }

.footer-2 .menu-item a:hover {
    text-decoration: underline;
}

/* .widget_nav_menu:last-child {
    margin-top: 63px;
} */

    /* Réseaux sociaux */
    .box-rs{
        
    }


    .contact_links li{
        list-style:none;
    }
    .contact_links{
        list-style:none;
        margin: 0;
    }
    .link-icon{
        width: 38px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
/* -------------------
RESPONSIVE
--------------------*/

@media (min-width: 960px) {
    .secondLevel {
        /* display: grid;
        grid-template-columns: repeat(6, 1fr); */
        display: inline-flex;
        position: absolute;
        /* bottom: -48px; */
        left: 0;
        transform: scaleY(0);
    }
    .nav-tab-item.couleur .link-tab {
        color: var(--white) !important;
    }
    .secondLevel li{
        flex: 1 0 auto;
    }

}

@media (max-width: 956px) {
    .head-nav-control {
        display: flex;
        align-items: center;
    }
    .head-nav-control svg {
        max-height: 30px;
    }
}

@media (max-width: 1396px) {
    .sectionSmallCard {
        padding: 0 !important;
    }
    /* .head-nav-menu-logo {
        display: none;
    } */
}


/* @media (max-width: 1078px) {
    .nav-main-link {
        padding: 30px 15px !important;
    }
} */

@media (max-width: 766px) {
    /* .widget_nav_menu {
        display: none;
    } */
    .widgettitle {
        font-size: 1.4rem;
        margin: 15px 0 10px;
    }
    #custom_html-2 aside {
        justify-content: center;
    }
    .widget_nav_menu a {
        /* display: none; */
        font-size: 1.2rem;
    }
    .widget_nav_menu li::marker {
        color: transparent !important;
    }
    [id="js-footer-responsive"] {
        justify-content: center !important;
        flex-direction: column;
        text-align: center;
    }
    .lg-order-1 {
        -webkit-box-ordinal-group: 0;
        -ms-flex-order: 0;
        order: 0;
    }
    .lg-order-2 {
        -webkit-box-ordinal-group: 0;
        -ms-flex-order: 0;
        order: 0;
    }
    .card-item {
        display: flex;
        justify-content: center;
        margin-bottom: 38px;
    }
    .card-home {
        margin-bottom: 48px;
        padding: 0;
    }
    .card-footer,
    .card-sub-title,
    .card-body::before {
        display: none;
    }
    .card-body {
        background: var(--white);
    }
    .smallCard-link {
        max-width: 100%;
        height: 161px;
        overflow: hidden;
    }
    .card-item-title {
        top: 50%;
        transform: translate(0, -50%);
        -webkit-transform: translate(0, -50%);
        -moz-transform: translate(0, -50%);
        -ms-transform: translate(0, -50%);
        -o-transform: translate(0, -50%);
    }
    .sectionTexteImage .h-36 {
        margin: 25px auto 19px auto;
    }
    .sectionTexteImage {
        margin-top: 80px !important;
    }
    .sectionSmallCard {
        margin-top: 0;
    }
    .sectionCard {
        padding-bottom: 0;
    }
    .wpforms-field {
        width: 100% !important;
        margin-left: 0 !important;
    }
    .sectionSmallCard {
        padding: 0 !important;
    }
}

.btn-search {
    display: block;
    /* margin-left: auto; */
    cursor: pointer;
    display: flex;
    width: 60px;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease-in-out;
}

.ico-search {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background-position: -660px -60px;
}

#header.active .ico-search {
    background-position: -660px -100px;
}

#header.active .btn-search {
    background-color: var(--orange);
}

.theme-red #header.active .btn-search {
    background-color: var(--red);
}

.theme-blue #header.active .btn-search {
    background-color: var(--blue);
}

.theme-green #header.active .btn-search {
    background-color: var(--green);
}


/* -------------------
MINI-TABLETTE et MOBILE
--------------------*/

@media (max-width: 1396px) {
    .sectionSmallCard {
        padding: 0 !important;
    }
    /* .head-nav-menu-logo {
        display: none;
    } */
}



/* En tête de page */
.text-en-tete-contenu{
    line-height: 160%;
}
@media (min-width:1200px){
    .text-en-tete-contenu{
        font-size: 1.6rem;
    }

}