*,
*:before,
*:after {
  box-sizing: inherit;
}
html {
    box-sizing: border-box;  
    font-size: 62.5%;
    scroll-behavior: smooth;
}
body {
    margin: 0 auto;
    font-family: "Work Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color:var(--intro-txt-color);
    background-color: #FFFEFB;
}
strong {
    font-weight: 500;
}
h1, h2, h3, h4, h5 {
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: normal;
}

h4 {
    font-size: 2.4rem;
    font-weight: 600;
}
a {
    text-decoration: none;

}
.main-content-pages {
    padding: 24rem 2rem 5rem;
  max-width: 1200px;
  margin: auto;
}

.text-intro p, .text-intro h1 {
    margin-bottom: 1.8rem;
    color: var(--intro-txt-color);
  font-optical-sizing: auto;
  font-weight: 350;
  font-style: normal;
    font-size: 2.4rem;
    line-height: 140%;
}
.contact p {
    font-size: 2.2rem; 
    font-weight: 350;
    line-height: 145%;
    margin-bottom: 1.8rem;
    }
.container-narrow {
    max-width: 1520px;
    padding: 0;
}
.container-large {
    max-width: 1500px;
    padding: 0;
}
.container-larger {
    max-width: 100vw;
    padding: 2rem 5rem;
}

/* #24CB8B*/
:root {
    --highlight-color: #fcf155;
    --main-link-txt-color: #293343;
    --intro-txt-color: #1242A7;
    /*--intro-txt-color: #0D74A5;*/
    --main-txt-color: rgb(55, 59, 60);
}

/* a:hover, a:active {
    color: var(--highlight-color);
}*/

span.nobreak {
    white-space: nowrap;
}

.text-medium {
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
    font-size: 1.7em;
    line-height: 1.5;
    margin: 1rem auto 1.5rem;
}

.bloc-txt p.text-medium:last-child {
    margin-bottom: 3rem;
}

.two-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    column-gap: 4rem;
}
.column-two {
    max-width: 65rem;
}

.wrap-links {
    font-weight: 600;
}
.wrap-links > a {
    position: relative;
    color: var(--main-link-txt-color);
    margin-right: 1.2em;
    font-size: .8em;
    transition: all .4s ease-out;
    -webkit-transition: all .4s ease-out;
    -moz-transition: all .4s ease-out;
    -ms-transition: all .4s ease-out;
    -o-transition: all .4s ease-out;
}
.wrap-links > a::after {
    content:'';
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--highlight-color);
    width: 0px;
    height: .1em;
    transition: all .3s ease-out;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
} 
.wrap-links > a:hover::after {
    width: 100%
}

.main-content a {
    position: relative;
    display: inline-block;
    color: inherit;
    font-optical-sizing: auto;
    transition: all .3s ease-out;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;

}

.main-content a::before {
    content:'';
    position: absolute;
    display: inline-block;
    top: 52%;
    left: 0px;
    width: 100%;
    height: 30%;
    background-color: var(--highlight-color);
    transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -webkit-transition: all .2s ease-out;
    -ms-transition: all .2s ease-out;
    z-index: -1;
}

.main-content a:hover::before {
    background-color: var(--highlight-color);
    top: 0;
    height: 100%;
}

.main-content a:hover{
    color: var(--main-link-txt-color);
}

.bold {
    font-weight: 700; 
}

.navbar-down {
    top: 0;
    background-color: #FFFEFB;
}

.navbar.scrollUp {
    transform: translateY(-13.2em);
    -webkit-transform: translateY(-13.2em);
    -moz-transform: translateY(-13.2em);
    -ms-transform: translateY(-13.2em);
    -o-transform: translateY(-13.2em);
}
.navbar.scrollDown {
    transform: translateY(11.5em);
    -webkit-transform: translateY(11.5em);
    -moz-transform: translateY(11.5em);
    -ms-transform: translateY(11.5em);
    -o-transform: translateY(11.5em);
}

.main-title {

    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}
.main-title-img {  
    height: 3.2em;
    width: auto;
    margin-left: 13.8em;
    transition: all ease-in 0.5s ;
    -webkit-transition: all ease-in 0.5s ;
    -moz-transition: all ease-in 0.5s ;
    -ms-transition: all ease-in 0.5s ;
    -o-transition: all ease-in 0.5s ;
}

.main-title-img.smaller {
    /*max-width: 60%;
    height: auto;*/
    margin-top: 10em;

}
/*.main-title img.smaller {
    height:3.6em;
    margin-top: 3em;  
    margin-left: 12.8em;
} */


.networks-links svg {
    width: 22px;
    height: 22px;
    color: var(--main-txt-color);
    transition: color 300ms ease-in ;
    -webkit-transition: color 300ms ease-in ;
    -moz-transition: color 300ms ease-in ;
    -ms-transition: color 300ms ease-in ;
    -o-transition: color 300ms ease-in ;
}

.networks-links svg:hover {
    color: var(--main-link-lighter-color);
}

.v-align-top {
    padding-top: 3px;
}
.networks-links {
    display: flex;
    flex-direction: row;
}
.networks-links a {
    display: flex;
    margin: 0 1em;  
}
.language-select {
    text-align: right;
    padding-bottom: 0.8rem;
}

.language-select a {
    font-size: 1.3em;
    letter-spacing: .05em;
    font-weight:400;
}
a.lang-fr {
    margin-right: 5px;
}
a.lang-active, .language-select a:hover {
    font-weight: 600;
}
a.lang-en {
    margin-left: 5px;
}
.logo-name-box {
    display: flex;
    align-items: center;
}
.logo-container {
    width: 8em;
    height: 8em;
    z-index: 4;
    top: 1.6em;
    background:transparent;
    -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  z-index: 3;
}
.logo-container.logo-sticky {
    position: fixed;
    top: 1.2em;
    width: 7.8em;
}
.logo {
    height: 100%;
    display: flex;
    align-items: center;
}
.logo-container.logo-sticky .logo .image-logo {
    max-height: 7.8em;
}
.image-logo {
    width: 100%;
    position: relative;
    transition: all 3s ease-in;
    -webkit-transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -ms-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
}
.image-logo.logo-smaller {
    max-height: 7.8em;
}
.nav-sticky {
    position: fixed;
    top: 0;
    height: 9.5em;
}

.sticky+.content {
    padding-top: 100px;
}

.header-content { 
    margin: 7rem 0;
}

.main-container {
    margin: 0 auto;
}

.img-grid-container {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: center; */
    margin : 0 2em;
}
.img-grid-one {
    display: flex;
    flex-direction: column;
    width: 100%;
 }
 .g-align-start {
    align-items: flex-start;
 }
 .g-align-end {
    align-items: flex-end;
 }
.space-col-separate {
    margin: 0;
}
 .img-grid-card {
    height: 100%;
    object-fit: cover;
 }

.img-grid-container img {
    width: 100%;
}
.item2 {
    display: flex;
    flex-direction: column;
}
.grid-item {
    padding: 1em;
}
.img-borders {
    border: 1px solid #ececec;
}
.footer {
    width: 100%;
    margin-top: 5rem;
    padding: 2rem 5rem;
    font-size: 1.5em;
    font-weight: 400;
    color:#939698;
    display:flex;
    flex-direction: row;
    column-gap: 22px;
    align-items: baseline;
    font-family: Helvetica, sans-serif;
}
.footer a {
    padding: 8px 0px;
}
.footer a, .footer a:active, .footer a:visited {
    color: inherit;
    font-weight: 600;
    transition: color 300ms ease-out;
    -moz-transition: color 300ms ease-out;
    -webkit-transition: color 300ms ease-out;
    -o-transition: color 300ms ease-out;
}
.footer a:hover {
    color: var(--intro-txt-color);
}

.nested-item {
    max-height: 34em;
}
.nested-item--col-first {
    margin-bottom: 4.5em;
    position: relative;
}
.img-2col--med-size {
    width: 95%;
}
.overlay-btn {
    position: absolute;
    top: 2.2em;
    left: 2.2em;
    height: auto;
    width: 10%;
    z-index: 1;
}
.overlay-img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    overflow: hidden;
}
.overlay-filter {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background:linear-gradient(45deg, rgba(85, 149, 192, 0.2), rgba(39, 63, 76, 0.2));
    opacity: 0;
    overflow: hidden;
    transition: .3s ease-in;
    -webkit-transition: .3s ease-in;
    -moz-transition: .3s ease-in;
    -ms-transition: .3s ease-in;
    -o-transition: .3s ease-in;
}
.description-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.overlay-box {
    overflow: hidden;
}
.overlay-box:hover .overlay-filter {
    opacity: 1;
}
.overlay-box:hover .overlay-img {
    opacity: 1;
}
.flex-container {
    display: flex;
    flex-direction: row;
  }
  
  .flex-item-left, .flex-item-right {
    flex: 50%;
    padding: 2em;
  }
/* media externes pages */
.container-med {
    padding: 3rem 2rem;
    max-width: 900px;
}


/* RESPONSIVE */
@media (max-width:1023px) {
    .first-content-page {
        padding-top: 5.5rem;
    }

    .navbar{
        background-color: white;
        position: sticky;
        top: 0;
        width: 100%;
        display:flex;
        justify-content: space-between;
        overflow: hidden;
        z-index: 2;
    }

    .image-logo {
        height: 100%;
        width: auto;
        margin-right: 5px;
    }
    .logo-name-box {
        display: inline-block;
    }
    .main-title {
        float: right;
        font-size: 1.8rem;
        padding-top: 26px;
        line-height: 1.3;
    }
    .language-select {
        text-align: center;
        padding: 2.5rem 3.8em .8em;
    }
    .contact-mobile {
        display: block;
        text-align: center;
        padding: 4rem 2.5rem;
        line-height: 1.4;
        font-optical-sizing: auto;
        font-weight: 400;
        font-style: normal;
        font-size: 2rem;
        max-width: 65rem;
    }
    .contact-mobile p {
        margin-bottom: 1.2rem;
    }

    .item-hide {
        display: none;
    }  
    .contact {
        text-align:left;
        max-width: 1100px;
        margin: 0;
    }
}


@media (max-width:1023px) and (min-width:661px) {
  .two-col {
        padding-top: 5.5rem;
  }
    .logo-name-box {
        height: 9rem;
        padding-left: 20px;
    }
    .container-larger {
        padding: 0 4rem;
    }
    .footer {
        padding-left: 4rem;
    }

}
@media (max-width:1023px){
    .main-content-pages {
        padding: 5rem 2rem 0rem;}

}
@media only screen and (min-width:1024px) {
    body {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }
    .item-img-medsize img {
        width: 85%;
    }
    .item-grid-smaller {
        text-align: center;
    }
    .item-grid-smaller img {
        width: 80%;
    }
    .footer {
        margin-top: auto;
    }
    .contact-mobile {
        display: none;
    }
    .navbar-up {
        top: -11.4em;
    }
    .main-content {
        padding-top: 16rem;
    }
    .navbar {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        position: fixed;
        color: var(--intro-txt-color);
        left: 0;
        z-index: 3;
        width: 100%;
        height: 11.4em;
        align-items: center;
        transition: top 0.4s ease-in-out;
        -webkit-transition: top 0.4s ease-in-out;
        -moz-transition: top 0.4s ease-in-out;
        -ms-transition: top 0.4s ease-in-out;
        -o-transition: top 0.4s ease-in-out;
        padding: 0 5rem;
    }
    .header-content {
        margin: 0;
        max-width: 1110px;
    }
    /*.logo-container {
        position: fixed;
        left: 4.5em;
    }
    */
    .logo-container.logo-sticky {
        position: fixed;
        top: 1.8em;
        width: 7.8em;
    }
    .main-title-img.smaller {
        margin-top: 4em;
    }
    .space-col-separate {
        margin: 1.8em 0;
    }
    /*.smaller {
        height:3.6em;
        margin-top: 3em; 
   
    margin-left: 12.8em;
    }*/
    .grid-item {
        padding: 1.8rem;
    }

    .wrap-links > a {
        font-size: inherit;
    }
    .main-title {
        font-size: 1.8rem;
        line-height: 1.5;
        margin-left: 1.6rem;
    }
    .main-title-img {
        height: 3.2em;
        width: auto;
        margin-left: 13.8em;
    }
    .logo-container {
        display: block;
        width: 9rem;
        height: 9rem;
        z-index: 4;
    }
    .image-logo {
        width: 100%;
        position: relative;
    }
    .img-grid-container {
        max-width: 1080px;
        margin: auto;
    }
    .img-grid-one {
        display: flex;
        flex-direction: row;
        width: 100%;
     }
    .item1 {
        /* width: 80%; */
        width: 70%;
        margin-right: 2em; 
    }
    .item2 {
        width: 90%;
    }
    .item3 {
        width: 90%;
    }
    .item4 {
        width: 130%;
        margin-right: 1em;
    }

    .med-wide {
        max-width: 70%;
    }
    .g-offset-left-w {
        margin-left: 10%;
    }
    .nested-item {
        height: 50%;
    }

    .g-justif-right {
        text-align: right;
    }
    /*.contact {
        text-align:center;
        max-width: 1300px;
        margin: 5rem auto;
    }*/

    .two-col {
        display: flex;
        justify-content: flex-start;
        max-width: 1200px;
        column-gap: 5.5rem;
        flex-direction: row;
        padding-top: 2rem;
    }
    .column-one {
        width: 38%;
    }
    .column-two {
        width: 63%;
    }
    
}

@media only screen and (max-width: 580px) {
    .img-grid-container {
        margin: 0 1.8em;
    }
}
/*@media only screen and (min-width: 660px) {
   

}*/
@media only screen and (max-width: 660px) {
    .two-col {
        padding-top: 3rem;
  }
    .contact p {
        font-size: 1.8rem; 
        }
        .contact {
            padding: 0;
        }
    .footer {
        flex-direction: column;
        row-gap: 12px;
        padding: 2rem 2rem;
        margin-top: 2rem;
    }
    .logo-name-box {
        height: 8.4rem;
        padding-left: 10px;
    }
    .header-content {
        margin: 4em 0;
  }
  .container-larger {
    padding: 0 2rem;
  }
  .networks-links svg {
        width: 19px;
        height: 19px;
    }
    .text-intro p, .text-intro h1 {
        font-size: 1.9em;
    }
    /*.navbar {
        height: 13em;
        flex-direction: column;
    }
    .main-title {
        order: 2;
        align-self: flex-start;
    }
    */
    .main-title {
        font-size: 1.6rem;
    }

    /*.nav-menu {
        align-self: flex-end;
        margin-top: 1.3em;
    }
    .navbar-up {
        top: -14em;
    }
    */

}
/*@media only screen and (max-width:480px) {
    .main-title-img {
        max-width: 80%;
    }
}*/
