@media (min-width: 1400px){
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1140px !important;
    }  
}
.post, .page {
    margin: 0;
}
.post, .page, .site-main, .footer-width-fixer {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}
.page-content, .entry-content, .entry-summary {
    margin: 0;
}
p{
    margin-bottom:  1.5em;
}
a:visited {
    color: inherit;
}
:focus {
    outline: none;
}
.elementor-icon-list-item > .elementor-icon-list-text{
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
    box-sizing: border-box;
}
/* divider gradient color */
.bg-divider .elementor-divider-separator{
    border-image: linear-gradient(
    90deg,
    #3A963F,
    #CDE4CE
  ) 1;
}

/* header */
.header-section {
	background: white;
	box-shadow: 0 0 10px rgba(60, 72, 88, 0.05);
}
/* Accueil - section slider */
@media (max-width: 767px) {
    .slider-btn .n2-ss-layer-row-inner {
        justify-content:center !important;
    }
}

/* Accueil - section : L'ingénierie territoriale en chiffres */
.chiffre-bloc{
    box-shadow: 0 8px 10px -6px rgba(0, 0, 0, 0.25);
}
.chiffre-bloc,
.chiffre-bloc *{
  transition: all 0.5s ease;
}

.chiffre-bloc:hover,
.chiffre-bloc.active {
  background: #317F31 !important;
}
.chiffre-bloc:hover .elementor-counter-number-prefix,
.chiffre-bloc:hover .elementor-counter-number,
.chiffre-bloc:hover .elementor-counter-number-suffix,
.chiffre-bloc.active .elementor-counter-number-prefix,
.chiffre-bloc.active .elementor-counter-number,
.chiffre-bloc.active .elementor-counter-number-suffix,
.chiffre-bloc:hover .elementor-counter-title,
.chiffre-bloc.active .elementor-counter-title{
    color:#fff !important;
}
/* Accueil - section : NOS DOMAINES d’EXPERTISE */
.expertise-card{
    transition: all 0.5s ease;
}
.expertise-card:hover{
    background: #3DA0C4 !important;
}
.expertise-card:hover *{
    color: #fff !important;
    fill:#fff !important;
}

/* Accueil - section : Partenaires & Acteurs accompagnés */
.partners-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 10px;
    max-width: 760px;
    margin: 0 auto;
}

.partner-tag {
    padding: 5px 10px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 30px;
    font-size: 11px;
    color: #555;
    white-space: nowrap;
    transition: all 0.5s ease-in-out;
}
.partner-tag.active {
    background: #2f8132;
    border-color: #2f8132;
    color: #fff;
    font-weight: 600;
}

/* Accueil - section : Une ingénierie globale à votre service */
.ing-card ul {
    margin: 0;
    padding-left: 23px;
}

/* page A propos */
.raison-etre-card{
    transition: all 0.5s ease;
}
.raison-etre-card:hover{
    background: #317F31 !important;
}
.raison-etre-card:hover .elementor-heading-title,
.raison-etre-card:hover .elementor-widget-text-editor{
    color: #fff !important;
    
}
.raison-etre-card:hover .elementor-icon{
    background-color: #fff !important;
    color: #317F31 !important;
    fill:#317F31 !important;
}
.eael-infobox .infobox-content {
    min-height: 100%;
    border-radius: 12px;
}  
.zones-cards .infobox-content .infobox-title-section::after {
    content: "";
    display: block;
    width: 35%;
    height: 1.5px;
    background-color: #317F31;
    margin: 7px auto;
}
.vision-card{
     transition: all 0.3s ease;
     min-height:100%;
}
.vision-card:hover{
   background:#317F31 !important;
}
.vision-card:hover .elementor-heading-title,
.vision-card:hover .elementor-widget-text-editor,
.vision-card:hover .elementor-icon{
    color:#fff !important;
}
.vision-card:hover svg{
    color:#fff !important;
    fill:#fff !important;
}
.vision-card .vision-value-header{
    max-width:245px;
}
.vision-card:hover .elementor-divider-separator{
    --divider-color: #fff;
}
/* page services */
@media (min-width: 768px) {
    .service-card,
    .service-card .elementor-widget-button,
    .service-card .elementor-widget-icon
    {
        transition: all 0.5s ease;
    }
    .service-card:hover .elementor-widget-button,
    .service-card:hover .elementor-widget-icon
    {
        display:block;
    }
    .service-card:hover::before{
        background-color: #000 !important;
    }
}
@media (max-width: 767px) {
    .service-card::before{
        background-color: #000 !important;
    }
}
.methodologie-card {
    position: relative;
}
.methodologie-card * {
    transition: all 0.3s ease;
}
.methodologie-card:hover .elementor-heading-title {
    color: #000 !important;
}
.methodologie-card:hover p {
    color: #000 !important;
}
.methodologie-card:hover .elementor-icon {
    color:#317F31 !important;
    background-color: #FBFBFB  !important;
}
.methodologie-card:hover img {
    opacity: 1 !important;
}
.methodologie-card:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: -34px;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: bold;
    color: #1e293b;
    z-index: 10;
}
@media (max-width: 1024px) {
    .methodologie-card:not(:last-child)::after {
        right: -22px;
        font-size: 16px;
    }
}
@media (max-width: 767px) {
    .methodologie-card::after {
        display: none;
    }
}

/* references page */
.ref-left-bloc > .e-con-inner{
    margin-right:0;
    margin-left:auto;
}

/* Grille des projets */
#section-projets {
    scroll-margin-top: 100px;
}
.agrodev-projets {
    width: 100%;
}
.agrodev-projets-sidebar {
    background: #fafafa;
    padding: 15px;
    height: 100%;
}
.agrodev-projets-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}
.agrodev-projets-categories li:not(:last-child) {
    border-bottom: 1px solid #dedede;
}
.agrodev-projets-categories li a {
    display: block;
    padding: 12px 0;
    color: #777;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: all 0.25s ease;
}
.agrodev-projets-categories li a:hover,
.agrodev-projets-categories li a.active {
    color: #000;
    font-weight: 700;
}
.agrodev-projet-card {
    background: #fafafa;
    border-radius: 10px;
    padding: 22px;
    transition: all 0.3s ease;
}
.agrodev-projet-card:hover {
    background: #fff;
    box-shadow: 0 3px 15px rgba(0,0,0,0.07);
    transform: translateY(-3px);
}

.agrodev-projet-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.agrodev-projet-year {
    display: inline-block;
    background: #bcbcc2;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.agrodev-projet-card:hover .agrodev-projet-year {
    background: #317F31;
}
.agrodev-projet-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: #292929;
    margin-bottom: 12px;
}
.agrodev-projet-excerpt {
    font-size: 13px;
    line-height: 1.5;
    color: #555;
    text-align: justify;
}
@media (max-width: 991px) {

    .agrodev-projets-sidebar {
        height: auto;
        margin-bottom: 10px;
    }

    .agrodev-projets-categories {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content:center;
    }

    .agrodev-projets-categories li {
        border: 0;
    }

    .agrodev-projets-categories li a {
        padding: 8px 12px;
        background: #f2f2f2;
        border-radius: 5px;
    }

    .agrodev-projets-categories li a.active {
        background: #267b82;
        color: #fff;
    }
}

/* Pagination Bootstrap */
.agrodev-projets .pagination {
    margin-bottom: 0;
}
.agrodev-projets .page-link {
    color: #222;
    border-color: #e5e5e5;
    border-radius: 4px;
}
.agrodev-projets .page-item.active .page-link {
    color: #fff;
    background-color: #317f31;
    border-color: #317f31;
}
.agrodev-projets .page-link:focus {
    box-shadow: 0 0 0 .2rem rgba(52, 120, 58, .2);
}
.eael-filterable-gallery-item-wrap .eael-gallery-grid-item{
    padding:20px;
}

/* footer */
@media (max-width: 767px) {
    .agrodev-footer .hfe-nav-menu a.hfe-menu-item, 
    .agrodev-footer .hfe-nav-menu a.hfe-sub-menu-item
    {
        justify-content: center !important;
    }
}

/* page domaine */
/* =========================================================
   domaines DESIGN : Affiches tt les domaines avecs leurs contents 
========================================================= */
.ab-domaines-design {
    width: 100%;
}
/* =========================================================
   TABS
========================================================= */
.ab-domaines-tabs {
    display: flex;
    width: 100%;
    background: #f8f8f8;
}
.ab-domaine-tab {
    flex: 1;
    padding: 15px 12px;
    border: 0;
    background: transparent;
    font-size: 12px;
    line-height: 1.3;
    color: #30343b;
    cursor: pointer;
    transition: all .25s ease;
    font-weight:700;
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}
.ab-domaine-tab:hover {
    background: #ffffff;
}
.ab-domaine-tab.is-active {
    background: #317F31;
    font-weight: 600;
    color:#FFF;
    fill:#fff;
}
.ab-domaine-tab.is-active .ab-domaine-icon {
    filter: brightness(0) invert(1);
}
/* =========================================================
   PANEL
========================================================= */
.ab-domaine-panel {
    display: none;
}
.ab-domaine-panel.is-active {
    display: block;
}
/* =========================================================
   LAYOUT
========================================================= */
.ab-domaine-layout {
    display: grid;
    grid-template-columns:
        minmax(0, .95fr)
        minmax(0, 1.05fr);
    gap: 55px;
    padding-top: 35px;
}

/* =========================================================
   HEADING
========================================================= */
.ab-domaine-sub-title{
   font-size:14px;
   color:#317F31;
   font-family: "Sora", Sans-serif;
   padding-left:10px;
   padding-right:10px;
   margin-bottom:15px;
   font-weight: 700;
}
.ab-domaine-heading {
    margin-bottom: 8px;
}
.ab-domaine-heading h2 {
    font-family: "Sora", Sans-serif;
    margin: 0;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
    color: #20232a;
    padding-left:10px;
    padding-right:10px;
}
/* =========================================================
   ICON
========================================================= */
.ab-domaine-icon {
    width: 26px;
    height: 26px !important;
    object-fit: contain;
    flex-shrink: 0;
}
/* =========================================================
   DESCRIPTION
========================================================= */
.ab-domaine-description {
    font-family: "Inter", Sans-serif;
    margin-bottom: 10px;
    margin-top:15px;
    font-size: 16px;
    line-height: 1.35;
    color: #4d4d4d;
    padding-left:10px;
    padding-right:10px;
}
/* =========================================================
   the_content()
========================================================= */
.domaine-detail .infobox-icon,
.ab-domaine-detail .infobox-icon{
    display: flex !important;
    align-self: stretch !important;
    align-items: stretch !important;
    height: auto !important;
    background: #fffbe0;
    padding:10px;
}
.domaine-detail .eael-infobox,
.ab-domaine-detail .eael-infobox{
    transition: all 0.5s ease;
    min-height:100%;
}
.domaine-detail .eael-infobox:hover .infobox-icon,
.ab-domaine-detail .eael-infobox:hover .infobox-icon{
    background: #317F31;
}
.domaine-detail .eael-infobox:hover .infobox-icon-number,
.ab-domaine-detail .eael-infobox:hover .infobox-icon-number{
    color: #fff !important;
}
.ab-domaine-right {
    width: 100%;
    height:100%;
    min-height: 335px;
    max-height:700px;
    overflow: hidden;
    border-radius: 8px;
}
.ab-domaine-image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center center;
    border-radius: 8px !important;
}
/* AUCUNE IMAGE */
.ab-domaine-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #EEE;
    color: #555;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}
@media (max-width: 1024px) {
    .ab-domaine-layout {
        gap: 30px;
    }
    .ab-domaine-right {
        min-height: 300px;
    }
   .ab-domaine-heading h2 {
        font-size: 26px;
    }
  .ab-domaine-description {
        font-size: 14px;
    }
}
@media (max-width: 767px) {
    .ab-domaine-layout {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding-top: 25px;
    }
    /* Contenu en premier */
    .ab-domaine-left {
        order: 1;
    }
     .ab-domaine-right {
         order: 2;
        min-height: 260px;
        height:100%;
        max-width:460px;
        margin-left:auto;
        margin-right:auto;
    }
    .ab-domaine-no-image{
        display:none;
    }
    .ab-domaines-tabs {
        overflow-x: auto;
        justify-content: flex-start;
    }
    /*.ab-domaines-tabs::-webkit-scrollbar {*/
    /*    display: none;*/
    /*}*/
    .ab-domaine-tab {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 12px 15px;
    }
    .ab-domaine-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 25px;
    }
    .ab-domaine-heading {
        justify-content: center;
    }
    .ab-domaine-description,
    .ab-domaine-sub-title{
        text-align:center;
    }
    .ab-domaine-heading h2 {
        font-size: 24px;
        text-align:center;
    }
    .ab-domaine-icon {
        width: 26px;
       
    }
    .ab-domaine-services {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

