/*
 Theme Name:   Ecotone
 Theme URI:    https://www.ecotone.bio
 Description:  Ecotone
 Author:       SEO.fr
 Author URI:   https://www.seo.fr
 Template:     generatepress
 Version:      0.1
*/

/* General START */
:root{
    --black: #21201e;
    --green: #93bc38;
    --dark-green: #45673f;
}

body{
    font-family: 'BioRhyme', serif;
    font-weight: 300;
    font-size: 16px;
}

body.menu-open{
    overflow-y: hidden;
}

.grid-container {
    padding-right: 0;
    padding-left: 0;
}

.is-layout-flex {
    justify-content: center;
}

:where(.wp-block-columns.is-layout-flex):not(:has(.wp-block-embed-youtube)) {
    gap: 0;
}

.wp-block-image,
.wp-block-embed {
    margin: 0 0 1em;
}

.grecaptcha-badge{
    display: none;
}

a{
    text-decoration: underline;
    color: inherit;
    -webkit-transition: all ease 300ms;
       -moz-transition: all ease 300ms;
        -ms-transition: all ease 300ms;
         -o-transition: all ease 300ms;
            transition: all ease 300ms;
}

a:hover{
    opacity: 0.7;
}

.no-sidebar .entry-content .alignfull{
    margin-left: auto;
    margin-right: auto;
}

h2{
    font-size: 40px;
    font-weight: 300;
    line-height: 48px;
    margin-bottom: 40px;
}

.entry-content > .wp-block-columns{
    padding: 50px 0;
}

.wp-block-buttons > .wp-block-button{
    margin: 0;
}

.button, .wp-block-button .wp-block-button__link, .p-to-btn a{
    padding: 15px 45px;
    line-height: 16px;
    -webkit-border-radius: 0;
            border-radius: 0;
    font-weight: bold;
    min-width: 190px;
}

.p-to-btn a{
    color: #fff;
    text-decoration: none;
    background: var(--green);
    display: inline-block;
}

figure.wp-block-image img, figure.wp-block-image a, .wp-block-image figure img{
    display: block;
}

.wp-block-columns.bg-blue{
    background: url('assets/img/blue-texture.jpg') center center;
    -webkit-background-size: cover;
         -o-background-size: cover;
            background-size: cover;
}

.wp-block-columns.bg-green{
    background: url('assets/img/green-texture.jpg') center center;
    -webkit-background-size: cover;
         -o-background-size: cover;
            background-size: cover;
}

.wp-block-columns.bg-orange{
    background: url('assets/img/orange-texture.jpg') center center;
    -webkit-background-size: cover;
         -o-background-size: cover;
            background-size: cover;
}

.wp-block-columns.bg-grey-blue{
    background: url('assets/img/bg-grey-blue.png') center center;
}

.wp-block-columns{
    margin-bottom: 0;
}

main#site{
    max-width: calc(100% - 12rem);
    margin: 0 auto;
}

p.regular{
    font-weight: 400;
}

div#modal-video {
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 9999;
    margin: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    display: none;
}

div#modal-video .player-yt {
    width: 98%;
    height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

div#modal-video iframe {
    width: 80%;
    height: 100%;
    margin: auto;
    opacity: 0;
    animation: fadeIn 0.3s ease;
    animation-fill-mode: both;
}

div#modal-video div#close-video-lp {
    width: 40px;
    height: 40px;
    position: absolute;
    right: 30px;
    top: 30px;
    cursor: pointer;
}
/* General END */

/* Table START */
 table.dcf-table {
    background-color: transparent;
    border-collapse:collapse;
    border: none;
}

.dcf-table tbody tr{
    border-bottom: solid 1px #fff;
}

.dcf-table tbody tr.no-border{
    border: none;
}

.dcf-table th {
    text-align:left;
}

.dcf-txt-center {
    text-align: center;
}

.dcf-table td, .dcf-table th {
    padding-right: 1.78em;
    border: none;
}

.dcf-table thead td, .dcf-table thead th {
    padding-bottom: 1em;
    vertical-align: center;
}

.dcf-table tbody td, .dcf-table tbody th, .dcf-table tfoot td, .dcf-table tfoot th {
    padding-top: 1em;
    vertical-align: center;
}

.dcf-table tbody td, .dcf-table tbody th {
    padding-bottom: 1em;
}

.dcf-table.evolution-target td, .dcf-table.evolution-target th{
    border: solid 1px rgba(0,0,0,0.1);
    padding: 10px;
}

@media only screen and (max-width:600px) {
    .dcf-table-responsive thead {
        clip: rect(0 0 0 0);
        -webkit-clip-path: inset(50%);
        clip-path: inset(50%);
        height: 1px;
        overflow: hidden;
        position: absolute;
        width: 1px;
        white-space: nowrap
    }
    .dcf-table-responsive tr {
        display: block
    }
    .dcf-table-responsive td {
        -webkit-column-gap: 3.16vw;
        -moz-column-gap: 3.16vw;
        column-gap: 3.16vw;
        display: grid;
        grid-template-columns: 1fr 2fr;
        text-align: left!important
    }
    .dcf-table-responsive:not(.dcf-table-bordered) tbody tr {
        padding-bottom: .75em
    }
    .dcf-table-responsive:not(.dcf-table-bordered) tbody td {
        padding-bottom: 0
    }
    .dcf-table-responsive:not(.dcf-table-bordered):not(.dcf-table-striped) tbody td {
        padding-right: 0
    }
    .dcf-table-responsive tbody td:before {
        content: attr(data-label);
        float: left;
        font-weight: 400;
        /*padding: 0px 10px 10px 0;*/
        width: 160px;
    }

    table.dcf-table tbody tr{
        border: none;
    }

    table.dcf-table tbody th{
        padding-bottom: 10px;
        padding-left: 0;
        font-size: 18px;
    }

    table.dcf-table tbody th br{
        display: none;
    }

    table.dcf-table tbody td{
        border-bottom: 1px solid #fff;
        padding: 10px 10px 10px 0 !important;
    }
}

.dcf-overflow-x-auto {
    overflow-x: auto!important;
    -webkit-overflow-scrolling: touch
}
/* Table END */

/* Header START */
#header{
    margin: 0;
    padding: 10px 0;
}

#header .wp-block-columns, #header .wp-block-image{
    margin-bottom: 0;
}

#header .logo img{
    position: relative;
    z-index: 2;
}

#header .grid-container{
    -webkit-align-items: center;
            align-items: center;
}

#header .social-links{
    margin-bottom: 5px;
    -webkit-justify-content: flex-end;
            justify-content: flex-end;
    gap: 18px;
    -webkit-align-items: center;
            align-items: center;
}

#header .social-links .wp-block-column{
    margin-left: 0;
    -webkit-flex: 0 0 auto;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
}

.wpml-ls-legacy-dropdown{
    width: auto;
}

.wpml-ls-legacy-dropdown a.wpml-ls-item-toggle{
    padding-right: calc(5px + 1.4em);
}

#header-menu ul{
    list-style: none;
    margin: 0;
    display: flex;
    -webkit-flex-flow: row wrap;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
    -webkit-justify-content: flex-end;
            justify-content: flex-end;
    gap: 25px;
}

#header-menu ul li{
    position: relative;
    padding: 5px 0;
}

#header-menu ul li a{
    text-decoration: none;
    font-size: 16px;
    color: var(--black);
    text-transform: lowercase;
}

#header-menu ul.sub-menu{
    position: absolute;
    width: 300px;
    background: #fff;
    z-index: 10;
    padding: 20px 25px;
    flex-direction: column;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    top: 33px;
    display: none;
    gap: 10px;
}

#header-menu ul.sub-menu li{
    padding: 0;
}

#header-menu ul li:hover ul.sub-menu{
    display: flex;
}

#burger-menu {
    display: none;
    width: 30px;
    height: 25px;
    position: relative;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

#burger-menu span {
    display: block;
    position: absolute;
    height: 4px;
    width: 50%;
    background: var(--green);
    opacity: 1;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

#burger-menu span:nth-child(even) {
  left: 50%;
}

#burger-menu span:nth-child(odd) {
  left:0px;
}

#burger-menu span:nth-child(1), #burger-menu span:nth-child(2) {
  top: 0px;
}

#burger-menu span:nth-child(3), #burger-menu span:nth-child(4) {
  top: 10px;
}

#burger-menu span:nth-child(5), #burger-menu span:nth-child(6) {
  top: 20px;
}

#header.open #burger-menu span:nth-child(1),#header.open #burger-menu span:nth-child(6) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#header.open #burger-menu span:nth-child(2),#header.open #burger-menu span:nth-child(5) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#header.open #burger-menu span:nth-child(1) {
  left: 4px;
  top: 7px;
}

#header.open #burger-menu span:nth-child(2) {
  left: calc(50% - 4px);
  top: 7px;
}

#header.open #burger-menu span:nth-child(3) {
  left: -50%;
  opacity: 0;
}

#header.open #burger-menu span:nth-child(4) {
  left: 100%;
  opacity: 0;
}

#header.open #burger-menu span:nth-child(5) {
  left: 4px;
  top: 14px;
}

#header.open #burger-menu span:nth-child(6) {
  left: calc(50% - 4px);
  top: 14px;
}

.icon-search i{
    color: var(--green);
}

#header-menu{
    position: relative;
}

#search-box{
    display: none;
    position: absolute;
    right: 0;
    z-index: 11;
}

#search-box.active{
    display: flex;
}

#search-box .wpcf7-form input{
    font-size: 14px;
    width: auto;
    font-family: 'BioRhyme', serif;
}

#search-box .wpcf7-form input[type="submit"]{
    background: var(--green);
    color: #FFF;
    font-weight: bold;
    border: solid 1px var(--green);
    padding: 10px 20px 11px;
}
/* Header END */

/* Home START */
/*#home-slider{
    margin-bottom: 0;
    display: none;
}*/

#home-slider-full{
    padding: 0;
    background: none;
}

#home-slider-full .grid-container{
    padding:  1px 5px 10px;
    background: rgba(255,255,255,0.5);
    max-width: 60%;
}

#home-slider-full img{
    height: 630px;
    object-fit: cover;
}

/*#home-slider .gutentor-module-slider .gutentor-col-wrap .gutentor-slider-caption{
    position: relative;
    -webkit-transform: none;
       -moz-transform: none;
        -ms-transform: none;
         -o-transform: none;
            transform: none;
    max-width: none;
    padding: 0;
}*/

#home-slider-full .gutentor-module-slider .gutentor-col-wrap .gutentor-slider-caption{
    top: auto;
    bottom: 60px;
    -webkit-transform: none;
       -moz-transform: none;
        -ms-transform: none;
         -o-transform: none;
            transform: none;
}

/*#home-slider .gutentor-slider-caption .slider-title,*/
#home-slider-full .gutentor-slider-caption .slider-title{
    margin-top: 25px;
    font-weight: normal;
    font-size: 30px;
    margin-bottom: 10px;
}

/*#home-slider .gutentor-module.gutentor-module-slider .slick-dots{
    position: relative;
    bottom: auto;
    padding: 0;
}*/

#home-slider-full .gutentor-module.gutentor-module-slider .slick-dots{
    bottom: 10px;
}

/*#home-slider .gutentor-module .slick-dots li, */
#home-slider-full .gutentor-module .slick-dots li{
    width: 15px;   
    height: 15px;
    -webkit-border-radius: 50px;
            border-radius: 50px;
    border: solid 2px #5b5b5b;
    background: #5B5B5B;
    -webkit-transition: all ease 300ms;
       -moz-transition: all ease 300ms;
        -ms-transition: all ease 300ms;
         -o-transition: all ease 300ms;
            transition: all ease 300ms;
}

/*#home-slider .gutentor-module .slick-dots li.slick-active, #home-slider .gutentor-module .slick-dots li:hover,*/
#home-slider-full .gutentor-module .slick-dots li.slick-active, #home-slider-full .gutentor-module .slick-dots li:hover{
    background: none;
}

#home-banner{
    margin-bottom: 0;
    mix-blend-mode: darken;
    margin-top: -17px;
}

.home-icons{
    max-width: 960px;
    margin: 0 auto 30px;
}

.home-icons .wp-block-column:not(:first-child){
    margin-left: 1em;
}

.home-icons .wp-block-image{
    height: 95px;
    margin-bottom: 20px;
    display: flex;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-justify-content: flex-end;
            justify-content: flex-end;
}

.home-icons p, #home-biodiversity p{
    font-size: 20px;
    margin-bottom: 0;
}

.home-icons p strong{
    color: #67959A;
}

#home-biodiversity{
    padding: 60px 0;
}

#home-biodiversity .wp-block-image{
    margin-bottom: 30px;
}

#home-biodiversity > .wp-block-column > .wp-block-columns{
    margin-bottom: 30px;
}

#home-brands p{
    font-size: 16px; 
    line-height: 20px;  
}

#home-brands p.title{
    color: var(--dark-green);
    font-size: 25px;
    margin: 25px 0 10px;
    line-height: 30px;
}

.gutentor-carousel-row .slick-list, .gutentor-module-carousel-row .slick-list{
    margin: 0 !important;
}

.gutentor-post-module .slick-prev, .gutentor-post-module .slick-next, .gutentor-module .slick-prev, .gutentor-module .slick-next, .gutentor-section .slick-prev, .gutentor-section .slick-next{
    top: 40% !important;
    -webkit-transition: all ease 300ms;
       -moz-transition: all ease 300ms;
        -ms-transition: all ease 300ms;
         -o-transition: all ease 300ms;
            transition: all ease 300ms;
}

.gutentor-post-module .slick-prev, .gutentor-module .slick-prev, .gutentor-section .slick-prev{
    left: -40px !important;
}

.gutentor-post-module .slick-next, .gutentor-module .slick-next, .gutentor-section .slick-next{
    right: -45px !important;
}

#news-grid .gutentor-post-item{
    background: #FFF;
    margin-bottom: 30px;
}

#news-grid .gutentor-post-module .gutentor-post-image-box{
    margin-bottom: 15px;
}

#news-grid .gutentor-post-module .gutentor-post-image-box img{
    height: 250px;
    object-fit: cover;
}

#news-grid .gutentor-post-item .gutentor-post-title, #news-grid .gutentor-post-item .gutentor-post-desc, #news-grid .gutentor-post-item .gutentor-post-button{
    padding: 0 20px;
}

#news-grid .gutentor-post-item .gutentor-post-title a{
    color: var(--dark-green);
    font-size: 25px;
    line-height: 30px;
}

#news-grid .gutentor-post-item .gutentor-post-desc{
    font-size: 16px;
    line-height: 19px;
    margin-bottom: 20px; 
}

#news-grid .gutentor-post-item .gutentor-post-button{
    font-weight: bold;
    color: var(--green);
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 16px;
    background: none;
    -webkit-border-radius: 0;
            border-radius: 0;
}

#news-grid .gutentor-post-item .gutentor-entry-meta-primary{
    border-top: solid 1px var(--black);
    margin: 0 20px 20px;
    padding-top: 15px;
    font-size: 16px;
}

#news-grid .gutentor-post-item .gutentor-entry-meta-primary i{
    opacity: 0.8;
}
/* Home END */

/* Contact START */
.wrapper-form{
    max-width: 750px;
    margin: 0 auto;
}

.gutentor-module-accordion .gutentor-module-accordion-item{
    margin: 10px 0;
}

.gutentor-module-accordion-item .gutentor-module-accordion-item-heading{
    background: var(--dark-green) !important;
    -webkit-transition: all ease 300ms;
       -moz-transition: all ease 300ms;
        -ms-transition: all ease 300ms;
         -o-transition: all ease 300ms;
            transition: all ease 300ms;
    font-weight: 400;
    font-size: 18px;
}

.gutentor-module-accordion-item.gutentor-module-accordion-active .gutentor-module-accordion-item-heading, .gutentor-module-accordion-item .gutentor-module-accordion-item-heading:hover{
    background: var(--green) !important;
}

.gutentor-module-accordion-body{
    border: none !important;
    background: #f7f7f7;
}

.gutentor-module-accordion-body p:last-child{
    margin-bottom: 0;
}

.wpcf7-form > p{
    display: flex;
    -webkit-flex-flow: row wrap;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
    -webkit-justify-content: space-between;
            justify-content: space-between;
    -webkit-align-items: center;
            align-items: center;
    position: relative;
}

.wpcf7-form > p > label{
    display: block;
    width: 20%;
    text-align: right;
}

.wpcf7-form > p > span:not(.gdpr){
    display: block;
    width: 75%;
}

.wpcf7-form span.gdpr label{
    width: 100%;
    text-align: left;
    display: flex;
    -webkit-flex-direction: row;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-align-items: flex-start;
            align-items: flex-start;
}

.wpcf7-form span.gdpr input{
    margin: 5px 10px 0 0;
}

.wpcf7-form select, .wpcf7-form input[type=text], .wpcf7-form input[type=email], .wpcf7-form textarea{
    background: #fff;
    width: 100%;
    font-family: 'BioRhyme', serif;
    font-weight: 300;
}

.wpcf7-form textarea{
    height: 100px;
}

input.wpcf7-submit{
    background: var(--green);
    width: auto;
}

.wpcf7-form p.submit{
    -webkit-justify-content: center;
            justify-content: center;
}

.wpcf7-form p.submit span{
    width: 24px !important;
    display: none;
}

.wpcf7-form.submitting p.submit span{
    display: inline-block;
}

.wpcf7-not-valid-tip{
    margin: -2px 0 0 5px;
    font-size: 12px;
    position: absolute;
}

.wpcf7 form .wpcf7-response-output{
    text-align: center;
}

.wpcf7-list-item{
    margin: 0;
}

.mention-contact-form{
    font-size: 12px;
    font-style: italic;
    margin: 20px 50px;
}
/* Contact END */

/* Other pages START */
.page-hero{
    height: 500px;
    position: relative;
}

.page-hero.video-title{
    height: calc(100vh - 150px);
}

.page-hero.video-title .inside-page-hero, .page-hero.video-title #content-video{
    width: 100%;
    height: 100%;
}

.page-hero.video-title #content-video{
    position: relative;
}

.page-hero.video-title #content-video #link-video{
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%,-50%);
       -moz-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
         -o-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
}

.page-hero.video-title iframe{
    display: none;
}

.page-hero #content-hero {
    position: absolute;
    width: 100%;
    bottom: 35px;
    left: 50%;
    -webkit-transform: translateX(-50%);
       -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
         -o-transform: translateX(-50%);
            transform: translateX(-50%);
}

.page-hero #content-hero h1{
    color: #fff;
    font-weight: 400;
    font-size: 30px;
    text-shadow: 0 0 5px #000;
    text-align: center;
    margin-bottom: 0;
}

.page-hero #content-hero p{
    color: #fff;
    font-size: 18px;
    text-shadow: 0 0 5px #000;
    text-align: center;
    margin-bottom: 0;
}

.page-hero::before{
    content: "";
    display: block;
    width: 100%;
    height: 100px;
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.8), transparent);
}

.page-intro{
    margin-bottom: 0;
}

.page-intro p{
    font-size: 20px;
    line-height: 24px;
    font-weight: 400;
    max-width: 575px;
    margin: 0 auto;
}

.page-intro p.light{
    font-weight: 300;
}

.page-intro > .wp-block-column > *{
    margin-bottom: 25px;
}

.page-intro > .wp-block-column > *:last-child{
    margin-bottom: 0;
}

h2.with-intro{
    margin-bottom: 20px;
}

p.bloc-intro{
    max-width: 520px;
    margin: 0 auto 40px;
}

p.bloc-intro.foundation{
    font-size: 18px;
}

.columns-services{
    margin-bottom: 30px;
}

#core-categories .columns-services{
    margin-bottom: 60px;
}

#core-categories .columns-services:last-child{
    margin-bottom: 0;
}

.columns-services .wp-block-column:not(:first-child){
    margin-left: 15px;
}

.columns-services .wp-block-image{
    margin-bottom: 15px;
}

.columns-services:last-of-type{
    margin-bottom: 0;
}

.columns-services .column-title{
    font-size: 20px;
    line-height: 24px;
    font-weight: 400;
    margin: 0 20px 10px;
}

.columns-services p{
    margin: 0 45px;
}

.columns-services .wp-block-buttons{
    margin-top: 25px;
}

.wp-block-columns.row-pictos{
    margin-top: 20px;
    padding: 0 25px;
    gap: 15px;
}

.wp-block-columns.row-pictos .wp-block-image{
    margin-bottom: 10px;
}

.wp-block-columns.row-pictos p{
    margin: 0;
    text-align: center;
}

.wp-block-columns.row-pictos strong{
    color: #67959a;
}

.wp-block-columns.row-pictos .wp-block-column:not(:first-child){
    margin: 0;
}

#title-table-biodiversity{
    position: relative;
    max-width: 750px;
    margin: 0 auto 40px;
}

#title-table-biodiversity::before, #title-table-biodiversity::after{
    content: "";
    width: 90px;
    height: 90px;
    position: absolute;
    top: 0;
}

#title-table-biodiversity::before{
    background: url('assets/img/bee.png');
    left: -80px;    
}

#title-table-biodiversity::after{
    background: url('assets/img/tree.png');
    right: -80px;
}

#careers-versus .logos .wp-block-column{
    display: flex;
    -webkit-flex-flow: row wrap;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
    -webkit-justify-content: center;
            justify-content: center;
    -webkit-align-items: flex-end;
            align-items: flex-end;
}

#careers-versus .logos{
    margin-bottom: 20px;
}

#careers-versus .logos > .wp-block-column:nth-child(2){
    -webkit-justify-content: flex-start;
            justify-content: flex-start;
}

#careers-versus .logos > .wp-block-column:nth-child(2) .wp-block-image{
    /* margin-left: 75px; */
    margin-left: 90px;
}

#careers-versus .logo-versus{
    display: none;
}

#careers-versus .text-versus{
    font-weight: bold;
    font-size: 20px;
    line-height: 24px;
}

#careers-versus .text-versus > .wp-block-column{
    margin-right: 90px;
}

#careers-versus .text-versus > .wp-block-column:nth-child(2){
    margin-right: 0;
    margin-left: 90px;
}

#careers-versus .text-versus p{
    height: 48px;
}

#careers-versus .text-versus > .wp-block-column:nth-child(2) p{
    color: #fff;
    position: relative;
}

#careers-versus .text-versus > .wp-block-column:nth-child(2) p::before{
    content:"VS";
    position: absolute;
    left: -115px;
    top: 0;
    background: #96c18c;
    color: #fff;
    -webkit-border-radius: 50px;
            border-radius: 50px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    width: 50px;
    height: 50px;
    padding: 13px 0;
}

#careers-team{
    padding-bottom: 0;
}

#careers-team .wp-block-image{
    margin-bottom: 30px;
}

#menu-page{
    background: #67959B;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 5;
}

#menu-page > .wp-block-column{
    display: flex;
    -webkit-flex-flow: row wrap;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
    -webkit-justify-content: center;
            justify-content: center;
    gap: 15px 50px;
}

#menu-page p{
    margin-bottom: 0;
}

#menu-page p a{
    color: #fff;
    text-decoration: none;
    font-weight: 400;
}

.section-page-group p{
    font-size: 20px;
    margin: 0 50px 30px;
}

.section-page-foundation p{
    font-size: 18px;
    margin: 0 50px 30px;
}

#brands p.title, .foundation-work .title, #team .name, .img-title-link .title{
    font-size: 25px;
    color: var(--dark-green);
    margin-bottom: 10px;
    line-height: 30px;
    font-weight: 300;
}

#brands p.title a{
    text-decoration: none;
}

.img-title-link .title a{
    text-decoration: none;
    color: var(--dark-green);
}

.img-title-link img{
    height: 250px;
    object-fit: cover;
}

#brands p{
    line-height: 20px;
}

#brands > .wp-block-column > .wp-block-columns{
    margin-bottom: 10px;
}

#brands > .wp-block-column > .wp-block-columns:last-child{
    margin-bottom: 0;
}

#production .dcf-table thead th{
    text-align: center;
}

.dcf-table tbody td{
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
}

#production .dcf-table tbody th{
    padding-top: 5px;
    padding-bottom: 5px;
}

.title-foundation{ 
    font-size: 30px;
    margin-bottom: 50px;
}

.foundation-pictos{
    margin-top: 40px;
}

.foundation-pictos p{
    margin-bottom: 0;
}

.foundation-work{
    margin-bottom: 40px;
}

.foundation-work .wp-block-image, #team .wp-block-image{
    margin-bottom: 10px;
}

.foundation-work .wp-block-image img{
    height: 190px;
    object-fit: cover;
}

.foundation-work p{
    line-height: 20px;
}

.hidden {
    display: none !important;
}

.cta-boards-members {
    margin-top: 35px;
}

body .show-boards-members {
    margin-top: 35px;
    display: none;
}

.show-boards-members > .team-columns > .wp-block-columns > .wp-block-column {
    max-width: 237px;
}

.row-teams > .wp-block-columns{
    gap: 15px;
}

#team .team-columns p:last-child{
    font-weight: 400;
}

.project-foundation{
    font-size: 18px;
    margin-bottom: 60px;
}

.project-foundation:last-child{
    margin-bottom: 0;
}

.project-foundation .banner{
    position: relative;
}

.project-foundation .banner::before{
    content: "";
    display: block;
    width: 100%;
    height: 100px;
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.9), transparent);
}

.project-foundation .banner .wp-block-image{
    margin-bottom: 0;
}

.project-foundation .banner .wp-block-image img{
    width: 100%;
}

.project-foundation .banner .legend{
    position: absolute;
    width: 100%;
    bottom: 10px;
    left: 0;
    color: #fff;
    text-align: center;
    font-size: 20px;
}

.project-foundation .banner .legend p{
    margin-bottom: 10px;
}

.project-foundation strong{
    font-weight: 400;
}

.project-foundation .projects{
    margin-top: 20px;
}

#news-grid .grid-row{
    display: flex;
    -webkit-flex-flow: row wrap;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
    -webkit-justify-content: center;
            justify-content: center;
    gap: 15px;
}

#news-grid .grid-row .gutentor-post{
    flex: 1 1 24%;
    max-width: 24%;
}

body.single-post #main{
    margin-top: 50px;
}

.only-content .grid-container, body.single-post .entry-content{
    background: #fff;
    padding: 40px;
    -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.2);
            box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.only-content a, body.single-post .entry-content a{
    /*color: var(--green);*/
}

.only-content h2, body.single-post .entry-content h2{
    margin: 40px 0 20px;
    color: var(--dark-green);
}

.only-content h2:first-child, body.single-post .entry-content h2:first-child{
    margin-top: 0;
}

.only-content h3, body.single-post .entry-content h3{
    font-size: 26px;
    font-weight: 300;
    margin: 30px 0 10px;
}

.only-content p, body.single-post .entry-content p{
    margin-bottom: 10px;
}

body.single-post .entry-content p{
    font-size: 1.25em;
}

/*body.search #main{
    display: flex;
    -webkit-flex-flow: row wrap;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
    gap: 25px;
    -webkit-justify-content: center;
            justify-content: center;
    -webkit-align-items: flex-start;
            align-items: flex-start;
}

body.search #main .page-header{
    width: 100%;
}*/

body.search #main .page-header h1{
    text-align: center;
    font-size: 40px;
    font-weight: 300;
    line-height: 48px;
    margin: 40px 0;
}

body.search #main article{
    background: #f7f7f7;
    padding: 25px;
    margin-bottom: 25px;
    /*width: calc(50% - 25px);*/
}

body.search #main article h2{
    font-size: 26px;
    line-height: 32px;
}

body.search #main article .inside-article{
    display: flex;
    -webkit-flex-flow: row wrap;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
    -webkit-justify-content: center;
            justify-content: center;
    -webkit-align-items: center;
            align-items: center;
    gap: 25px;
}

body.search #main article .inside-article > div{
    width: calc(50% - 25px);
}

body.search #main article .inside-article.no-media > div{
    width: 100%;
}

body.search #main article .inside-article .entry-header{
    margin-bottom: 20px;
}

body.search #main article .inside-article .post-image img{
    max-height: 250px;
    object-fit: cover;
}

.citation{
    margin-top: 50px;
}

.citation .content{
    color: var(--dark-green);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
}

.citation .author{
    font-weight: 400;
    font-size: 18px;
}

.partners{
    max-width: 800px;
    margin: 35px auto;
    -webkit-align-items: center;
            align-items: center;
}

.partners p{
    line-height: 30px;
}

.join-us-sentence{
    margin-bottom: 0;
}

.contact-infos{
    max-width: 800px;
    margin: 0 auto;
}

.contact-infos .wp-block-column{
    display: flex;
    -webkit-flex-flow: row wrap;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
    -webkit-align-items: center;
            align-items: center;
    gap: 20px;
}

.contact-infos .wp-block-column p{
    width: 75%;
    margin-bottom: 0;
}

.contact-infos .gutentor-element-icon-box{
    color: var(--green) !important;
    font-size: 40px;
}

.wp-block-social-links.is-style-logos-only .wp-social-link{
    color: var(--green) !important;
}
/* Other pages END */

/* Footer START */
.site-footer .wp-block-columns{
    margin-bottom: 0;
}

body .linkedin-block{
    margin-top: 60px;
    margin-bottom: 40px;
}

.linkedin-block .title-linkedin{
    font-size: 40px;
    font-weight: 300;
    line-height: 48px;
    margin-bottom: 30px;
}

.linkedin-block .link-linkedin a{
    font-size: 16px;
    font-weight: bold;
    color: var(--green);
    margin-bottom: 0;
    text-decoration: none;
}

.footer-links{
    font-size: 16px;
    color: #21201e;
    font-weight: 300;
}

.footer-links > .wp-block-image{
    margin-bottom: 50px;
}

.footer-links .footer-title{
    font-size: 25px;
    color: var(--dark-green);
    line-height: 25px;
    margin-bottom: 30px;
}

.footer-links ul{
    list-style-type: none;
    margin: 0;
}

.footer-links ul li{
    margin-bottom: 10px;
}

.footer-links a{
    color: var(--black);
    text-decoration: none;
}

body .copyright{
    display: flex;
    -webkit-flex-flow: row wrap;
        -ms-flex-flow: row wrap;
            flex-flow: row wrap;
    -webkit-justify-content: space-between;
            justify-content: space-between;
    margin-top: 50px;
    margin-bottom: 30px;
}

.copyright > *{
    margin-bottom: 0;
}
/* Footer END */

@media all and (min-width: 768px) and (max-width: 1450px){
    .wp-block-column.grid-container{
        margin-left: 15px;
        margin-right: 15px;
    }
}

@media all and (max-width: 768px){
    main#site{
        position: relative;
        overflow: hidden;
        max-width: 100%;
    }

    #header{
        padding: 10px 20px;
    }

    #header .grid-container{
        -webkit-justify-content: space-between;
                justify-content: space-between;
    }

    #header .social-links{
        margin: 40px 0 0;
        -webkit-justify-content: center;
                justify-content: center;
    }

    #header .grid-container > .wp-block-column, #header .social-links .wp-block-column{
        -webkit-flex: 0 0 auto !important;
            -ms-flex: 0 0 auto !important;
                flex: 0 0 auto !important;
    }

    #header .logo img{
        width: 70px;
    }

    #header-menu{
        position: static;
    }

    #burger-menu{
        display: block;
        position: relative;
        z-index: 2;
    }

    #header .menu-shortcode{
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        -webkit-transform: translateX(100%);
           -moz-transform: translateX(100%);
            -ms-transform: translateX(100%);
             -o-transform: translateX(100%);
                transform: translateX(100%);
        -webkit-transition: all ease 300ms;
           -moz-transition: all ease 300ms;
            -ms-transition: all ease 300ms;
             -o-transition: all ease 300ms;
                transition: all ease 300ms;
        z-index: 1;
        background: rgba(255,255,255,0.97);
        text-align: center;
        padding: 80px 0;
    }

    #header.open .menu-shortcode{
        -webkit-transform: translateX(0);
           -moz-transform: translateX(0);
            -ms-transform: translateX(0);
             -o-transform: translateX(0);
                transform: translateX(0);
    }

    #header-menu ul{
        -webkit-flex-direction: column;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    #header-menu ul li.icon-search{
        display: none;
    }

    #header-menu ul li a{
        font-size: 20px;
    }

    .page-hero{
        height: 450px;
        position: relative;
    }

    .page-hero #link-video{
        width: 100px;
    }

    div#modal-video iframe{
        top: 50%;
        -webkit-transform: translateY(-50%);
           -moz-transform: translateY(-50%);
            -ms-transform: translateY(-50%);
             -o-transform: translateY(-50%);
                transform: translateY(-50%);
    }

    div#modal-video .player-yt{
        height: auto;
    }

    h2{
        font-size: 35px;
        line-height: 42px;
        margin-bottom: 20px;
    }

    h2 br{
        display: none;
    }

    #home-slider-full .grid-container{
        max-width: 100%;
    }

    #home-slider .gutentor-slider-caption .slider-title{
        font-size: 25px;
    }

    #home-slider-full .gutentor-slider-caption .slider-title{
        font-size: 20px;
    }

    #home-slider-full .gutentor-slider-caption .p-to-btn{
        font-size: 14px;
    }

    #home-slider-full img{
        height: 500px;
        object-fit: cover;
    }

    #home-banner img{
        height: 150px;
        object-fit: cover;
    }

    .entry-content > .wp-block-columns{
        padding: 30px 20px;
    }

    .entry-content > .wp-block-columns.full{
        padding: 30px 0;
    }

    .home-icons{
        margin-bottom: 0;
    }

    .home-icons > .wp-block-column, #home-biodiversity .wp-block-columns > .wp-block-column{
        -webkit-flex-basis: calc(50% - 1em) !important;
                flex-basis: calc(50% - 1em) !important;
        margin-bottom: 30px;
    }

    .home-icons p{
        font-size: 18px;
    }

    #home-biodiversity{
        padding: 30px 20px;
    }

    #home-biodiversity p{
        font-size: 16px;
    }

    #home-biodiversity .wp-block-image figure{
        width: 110px;
        min-height: 135px;
        display: flex;
        -webkit-flex-flow: row wrap;
            -ms-flex-flow: row wrap;
                flex-flow: row wrap;
        -webkit-align-items: flex-end;
                align-items: flex-end;
    }

    #home-biodiversity > .wp-block-column > .wp-block-columns{
        margin-bottom: 0;
    }

    #home-biodiversity .wp-block-columns > .wp-block-column:last-of-type .wp-block-image figure{
        min-height: auto;
    }

    #home-biodiversity .wp-block-columns{
        margin-bottom: 0;
    }

    #home-brands h2 br{
        display: none;
    }

    /*#home-brands .gutentor-carousel-item{
        padding: 20px 40px;
    }*/

    .gutentor-post-module .slick-prev, .gutentor-module .slick-prev, .gutentor-section .slick-prev{
        left: 0 !important;
    }

    .gutentor-carousel-row .slick-slide, .gutentor-module-carousel-row .slick-slide{
        margin: 15px 40px !important;
    }

    .gutentor-post-module .slick-prev, .gutentor-post-module .slick-next, .gutentor-module .slick-prev, .gutentor-module .slick-next, .gutentor-section .slick-prev, .gutentor-section .slick-next{
        top: 43% !important;
    }

    .gutentor-post-module .slick-next, .gutentor-module .slick-next, .gutentor-section .slick-next{
        right: 0 !important;
    }

    .columns-services{
        margin-bottom: 0;
    }

    .columns-services .wp-block-column{
        margin: 0 0 30px !important;
    }

    .columns-services .wp-block-column > *, .wp-block-columns.full > .wp-block-column > *:not(.wp-block-columns){
        margin-left: 20px;
        margin-right: 20px;
    }

    .columns-services .wp-block-column figure{
        margin-left: 0;
        margin-right: 0;
    }

    .columns-services.img-center .wp-block-column figure{
        margin-left: auto;
        margin-right: auto;
    }

    #title-table-biodiversity::before, #title-table-biodiversity::after{
        display: none;
    }

    #careers-versus{
        background: none;
        padding: 0;
    }

    #careers-versus .logos{
        display: none;
    }

    #careers-versus .logo-versus{
        display: inline;
    }

    #careers-versus .logo-versus img{
        margin-bottom: 30px;
    }

    #careers-versus .logo-versus.manufacture img{
        margin-left: 25%;
        width: 80%;
    }

    #careers-versus .text-versus{
        -webkit-flex-direction: column-reverse;
            -ms-flex-direction: column-reverse;
                flex-direction: column-reverse;
    }

    #careers-versus .text-versus > .wp-block-column, #careers-versus .text-versus > .wp-block-column:nth-child(2){
        margin: 0;
        padding: 30px 0;
    }

    #careers-versus .text-versus > .wp-block-column{
        background: #f5f5f5;
    }

    #careers-versus .text-versus > .wp-block-column:nth-child(2){
        background: #67959b;
    }

    #careers-versus .text-versus p{
        text-align: center;
        padding: 0 20px;
        height: auto;
        margin-bottom: 20px;
    }

    #careers-versus .text-versus p:last-of-type{
        margin-bottom: 0;
    }

    #careers-team .wp-block-image{
        margin: 0 0 30px;
    }

    #menu-page > .wp-block-column{
        -webkit-flex-direction: column;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-align-items: center;
                align-items: center;
        gap: 15px;
    }

    .section-page-group p{
        font-size: 18px;
        margin: 0 0 20px;
    }

    .section-page-group .wp-block-buttons.is-content-justification-center{
        -webkit-justify-content: flex-start;
                justify-content: flex-start;
    }

    .section-page-group .wp-block-column.image{
        -webkit-order: -1;
            -ms-order: -1;
                order: -1;
    }

    #core-categories .columns-services{
        margin-bottom: 0;
    }

    .columns-services .row-pictos{
        margin: 20px 0 0;
        padding: 0;
        gap: 5px;
    }

    .columns-services .row-pictos > .wp-block-column{
        -webkit-flex-basis: 0 !important;
                flex-basis: 0 !important;
    }

    .columns-services .row-pictos > .wp-block-column figure{
        margin: 0 auto;
    }

    #core-categories .columns-services:last-child > .wp-block-column:last-child{
        margin-bottom: 0 !important;
    }

    h2.with-intro{
        margin-bottom: 10px;
    }

    #brands > .wp-block-column > .wp-block-columns{
        gap: 10px
    }

    #brands .wp-block-columns > .wp-block-column{
        -webkit-flex-basis: 40% !important;
                flex-basis: 40% !important;
    }

    #brands .wp-block-image{
        margin-bottom: 5px;
    }

    #brands p{
        display: none;
    }

    #brands.ecotone-uk p{
        display: block;
    }

    #brands.ecotone-uk .wp-block-columns > .wp-block-column{
        -webkit-flex-basis: 100% !important;
                flex-basis: 100% !important;
    }

    #brands.ecotone-uk img{
        margin: 0 auto;
    }

    #brands p.title, .foundation-work .title, #team .name, .img-title-link .title{
        display: block;
        font-size: 20px;
        line-height: 24px;
    }

    #production table.dcf-table{
        margin: 0 5%;
        width: 90%;
    }

    .logo-foundation{
        max-width: 200px;
        margin: 0 auto 10px;
    }

    .title-foundation{
        font-size: 25px;
        margin-bottom: 30px;
    }

    .section-page-foundation p{
        margin: 0 0 30px;
        font-size: 16px;
    }

    .foundation-pictos{
        margin-top: 0;
    }

    .foundation-pictos .wp-block-column{
        -webkit-flex-basis: 50% !important;
                flex-basis: 50% !important;
        margin-bottom: 20px;
    }

    .foundation-pictos .wp-block-column:last-child{
        margin-bottom: 0;
    }

    .foundation-work{
        margin-bottom: 20px;
    }

    .foundation-work .wp-block-column{
        margin-bottom: 10px;
    }

    .column-img-first-mobile{
        -webkit-order: -1;
            -ms-order: -1;
                order: -1;
    }

    /*#team .wp-block-columns{
        gap: 10px;
    }

    #team .wp-block-columns .wp-block-column{
        -webkit-flex-basis: 40% !important;
                flex-basis: 40% !important;
    }*/

    .team-columns{
        display: flex;
        -webkit-flex-flow: row nowrap;
            -ms-flex-flow: row nowrap;
                flex-flow: row nowrap;
        gap: 10px;
    }

    #team.two-columns .team-columns{
        -webkit-flex-flow: row wrap;
            -ms-flex-flow: row wrap;
                flex-flow: row wrap;
    }

    #team.two-columns .team-columns .wp-block-columns{
        width: calc(50% - 10px);
    }

    #team .name{
        margin-bottom: 0;
    }

    .project-foundation{
        margin-bottom: 40px;
    }

    .project-foundation, .project-foundation .banner .legend{
        font-size: 16px; 
    }

    .project-foundation .banner img{
        height: 200px;
        object-fit: cover;
    }

    .project-foundation .projects{
        margin: 20px 20px 0;
    }

    .project-foundation .banner .legend{
        margin: 0 5%;
        width: 90%;
    }

    .project-foundation .banner .legend p{
        margin-bottom: 5px;
        line-height: 20px;
    }

    #news-grid .gutentor-post-item{
        margin-bottom: 0;
    }

    #news-grid .grid-row .gutentor-post{
        flex: 1 1 100%;
        max-width: 100%;
    }

    #news-grid .gutentor-post-module .gutentor-post-image-box img{
        height: 200px;
    }

    .img-title-link > .wp-block-column{
        margin-bottom: 30px;
    }

    .img-title-link > .wp-block-column:last-child{
        margin-bottom: 0;
    }

    .img-title-link img{
        height: 200px;
    }

    body.single-post #main{
        margin-top: 0;
    }

    .only-content .grid-container, body.single-post .entry-content{
        padding: 0;
        -webkit-box-shadow: none;
                box-shadow: none;
    }

    .wpcf7-form > p{
        -webkit-flex-direction: column;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .wpcf7-form > p > label{
        text-align: center;
        width: 100%;
    }

    .wpcf7-form > p > span:not(.gdpr){
        width: 100%;
    }

    .wpcf7-form p.submit span{
        margin-top: 15px;
    }

    .mention-contact-form{
        margin: 20px 0;
    }

    body.search #main .page-header h1{
        font-size: 35px;
        line-height: 42px;
        margin: 0 0 20px;
    }

    body.search #main article{
        padding: 15px;
        margin-bottom: 15px;
    }

    body.search #main article h2{
        font-size: 22px;
        line-height: 26px;
    }

    body.search #main article .inside-article{
        gap: 15px;
    }

    body.search #main article .inside-article > div{
        width: 100%;
    }

    body.search #main article .inside-article .entry-header{
        margin-bottom: 15px;
    }

    .linkedin-block{
        margin-top: 40px;
        padding: 0 40px;
    }

    .linkedin-block .title-linkedin{
        font-size: 35px;
        line-height: 42px;
    }

    .linkedin-block .link-linkedin{
        margin-bottom: 0;
    }

    .footer-links > .wp-block-image{
        margin-bottom: 25px;
    }

    .footer-links > .wp-block-image img{
        height: 150px;
        object-fit: cover;
    }

    .footer-links .grid-container{
        padding: 0 20px;
    }

    .footer-links .footer-title{
        margin-bottom: 10px;
    }

    .footer-links .links-block > .wp-block-column{
        -webkit-flex-basis: 100% !important;
                flex-basis: 100% !important;
        margin: 0 0 35px;
    }

    .footer-links .certified-block{
        -webkit-flex-basis: 100% !important;
                flex-basis: 100% !important; 
        margin: 0;
    }

    .footer-links .certified-block .wp-block-image .alignright{
        float: left;
        margin: 0;
    }

    .copyright{
        margin-top: 35px;
    }
}
