@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap");

:root {
    --green: #2e5c2c;
    --lightgreen: #358e2f;
    --orange: #c55a11;
    --lightorange: #db9f2e;
    --gray: #494949;
    --lightgray: #c4c4c4;
    --regular-size: 13px;
}

* {
    box-sizing: border-box;
}

body,
html {
    font-family: "Raleway", sans-serif;
}

html {
    scroll-behavior: smooth;
}

.preloader {
    /*
    Making the preloader floating over other elements.
    The preloader is visible by default.
    */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    background: whitesmoke;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-weight: bold;
}

.preloader-js {
    height: 3rem;
}

.preloader img {
    width: 30%;
}

.section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: wrap column;
}

#s0 {
    height: 100vh;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
    background: #fffffff5;
    visibility: hidden;
}

section.preloader {
    position: relative;
}

a,
.menu li a {
    text-decoration: none;
    color: var(--gray);
    transition: all 250ms ease-in-out;
    outline: none;
}

a:hover,
.menu li:hover a {
    color: var(--lightgreen);
}

p {
    line-height: 1.3rem;
}

.menu li.active a {
    color: var(--lightgreen) !important;
}

.mar-2 {
    margin: 2rem;
}

.custom-btn {
    padding: 0.7rem 2rem;
    outline: none;
    border: none;
    font-weight: bold;
    font-size: var(--regular-size);
}

.btn-large {
    padding: 0.6rem 8rem;
}

.btn-green {
    color: white;
    background: var(--green);
}

.custom-container {
    max-width: 1400px;
    width: 100%;
}

.paragraph {
    line-height: 1.5rem;
    text-align: justify;
}

p {
    text-align: justify;
}

/*PRELOADER PAGE STYLE*/

.home-preloader .logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-preloader .logo img {
    max-width: 700px;
    width: 100%;
}

.home-preloader .buttons-lang-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/*ACCUEIL*/

.cc {
    max-width: 1050px;
}

header {
    display: flex;
    justify-content: center;
    height: 130px;
    transition: all 250ms ease-in-out;
}

header.sticked {
    position: fixed;
    background: white;
    top: 0;
}

header div.logo img {
    width: 180px;
}

header div.menu ul {
    list-style-type: none;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 800px;
    margin: 0;
    padding: 0;
    font-weight: bold;
    text-transform: uppercase;
}

header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

header nav .menu-mobile-container {
    visibility: hidden;
}

.menu-mobile-content {
    display: none;
    transition: all 250ms ease-in-out;
}

.slick-next, .slick-prev {
    display: none !important;
}

.paragraph-title {
    color: #356025 !important;
}

#s2 {
    padding: 6rem;
    padding-top: 2rem;
}

.sub-header-approach {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.sub-header-approach h1 {
    text-align: center;
    color: #637639;
    margin-bottom: 0;

}

.sub-header-approach p {
    font-weight: 300;
    font-size: 2.5rem;
    line-height: 2.5rem;
    color: white;
    margin-top: 0;
    width: 101%;
}

#s3 div {
    background: url(../img/accueil/abidjan.jpeg) no-repeat;
    background-position-y: 0%;
    #background-size: auto;
    height: 80vh;
    #filter: sepia(100%);
    width: 100%;
    background-size: cover;
    background-position: center;

}


footer.footer {
    background: var(--lightgray);
    font-family: "Poppins", sans-serif;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column wrap;
}

footer.footer .backtotop {
    visibility: hidden;
}

footer.footer .backtotop a {
    background: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 1rem;
    bottom: 5rem;
    -webkit-box-shadow: 4px 4px 9px -3px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 4px 4px 9px -3px rgba(0, 0, 0, 0.75);
    box-shadow: 4px 4px 9px -3px rgba(0, 0, 0, 0.75);
    border-radius: 50px;
}

footer.footer div.logo img {
    max-width: 250px;
    width: 100%;
}

footer.footer .footer-content {
    padding: 1.5rem 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    color: var(--gray);
}

footer.footer .footer-content > div {
    width: 25%;
    padding: 0 0.5rem;
}

ul.links {
    list-style-type: none;
    padding: 0;
}

ul.links > li {
    padding-bottom: 15px;
}

.infos,
.news,
.links,
.links li a,
.form {
    color: black;
    font-size: 15px;
}

.news,
.links,
.form {
    margin-top: 2.5rem;
}

.news article {
    margin-bottom: 1rem;
}

.news .article-content {
    margin-bottom: 0.5rem;
    line-height: 1.5rem;
    color: white;
}

.news .article-date {
    color: var(--gray);
    font-weight: bold;
    font-size: 13px;
}

.news {
    height: 150px;
    overflow-y: auto;
}

.form .submit {
    font-weight: normal;
    cursor: pointer;
}

.form > div {
    margin-bottom: 1rem;
}

.form > div input {
    background-color: #dfdfdf;
    color: var(--gray);
    border: none;
    padding: 0.7rem;
    width: 250px;
}

.sub-footer {
    background: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sub-footer > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    color: white;
}

.sub-footer .rsx a {
    color: white;
    border: 1px solid;
    padding: 0.5rem;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: inline-block;
    text-align: center;
    transition: all ease-in-out 250ms;
}

.sub-footer .rsx a:hover {
    background-color: var(--lightorange);
}

.copyright {
    font-size: xx-small;
    opacity: .5;
    font-weight: bold;
}

.tikki {
    color: var(--lightgreen);
}

.contact-adresses {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contact-adresses > div {
    background: var(--green);
    color: white;
}

div.col {
    padding: 1.5rem;
}

div.col p {
    font-size: 14px;
    line-height: 1.3rem;
    width: 70%;
}

div.col-l {
    display: flex;
    align-items: flex-start;

    width: 65%;
}

div.col-l > div {
    width: 100%;
}

div.col-r {
    width: 30%;
    display: flex;
    justify-content: space-evenly;
}

div.col-l,
div.col-r {
    height: 200px;
}

div.col-r a {
    color: white;
}

.contact-form {
    padding: 2rem 0;
}

.contact-form form#contact {
    text-align: center;
}

.contact-form form#contact > div {
    padding: 0.7rem 0;
}

.contact-form form#contact > div input,
.contact-form form#contact > div textarea {
    width: 60%;
    border: 1px solid var(--lightgray);
    padding: 1rem;
    transition: all 250ms ease-in-out;
}

#subject {
    width: 60%;
    border: 1px solid var(--lightgray);
    padding: 1rem;
    transition: all 250ms ease-in-out;
}

.contact-form form#contact > div input:focus,
.contact-form form#contact > div textarea:focus {
    border: 1px solid var(--green);
}

.contact-form-note {
    margin-left: 20%;
    text-align: left;
}

/*.approach-image {
    text-align: center;
}
*/

.map-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-container .text-container .text {
    text-align: center;
    font-size: small;
    font-weight: bold;
    color: white;
    padding: .4rem 2rem;
    margin: 1rem 0;
}

.map-container .text-container .text1 {
    background: var(--green);
}

.map-container .text-container .text2{
    background: var(--orange);
}

.approach-image img {
    max-width: 550px;
    width: 100%;
    margin: 2rem 0;
}



.articles article div.content > p {
    line-height: 1.3rem;
}

.articles article div.content > a {
    font-weight: bold;
}

.articles article {
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    -webkit-box-shadow: 4px 4px 9px -3px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 4px 4px 9px -3px rgba(0, 0, 0, 0.75);
    box-shadow: 4px 4px 9px -3px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.head {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
}

.head .metadata {
    margin-left: 1rem;
    font-size: 13px;
}

.head .title h2 {
    width: 100%;
    margin-bottom: .5rem;
}

.head .metadata {
    margin-left: 0;
    font-size: 13px;
    width: 100%;
    margin-bottom: 1rem;
}

/*
.team {
  margin-top: 3rem;
}

.team .person {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.team .person div.description {
  margin-left: 2rem;
}

.team .person p {
  margin-top: 0;
}

.team .person ul {
  padding-left: 1rem;
}

.team .person ul li {
  margin-bottom: 1rem;
}

.team .person .description strong {
  font-weight: 800;
  font-size: 1.5rem;
}

.team .person .description div {
  color: var(--lightgray);
  font-weight: bold;
}*/

/*Last effect*/
.container {
    display: flex;
    width: 100%;
    padding: 4% 2%;
    box-sizing: border-box;
    /*height: 100vh;*/
}

.box {
    flex: 2;
    overflow: hidden;
    transition: .5s;
    margin: 0 2%;
    box-shadow: 0 20px 30px rgba(0, 0, 0, .1);
    line-height: 0;
    height: 450px;
    position: relative;
    transition: all 250ms ease-in-out;
}

.box.hide .position, .box.hide .fullname {
    visibility: hidden;
}

.box > img {
    width: 100%;
    /*height: calc(100% - 35vh);*/
    object-fit: cover;
    transition: .5s;
    height: 100%;
}

.box > span {
    font-size: 3.8vh;
    display: block;
    text-align: center;
    height: 35vh;
    line-height: 1.3rem;
}

.box > span p {
    padding: .5rem 1rem;
    margin: 0;

    font-size: 1rem;
    text-align: left;
    margin-bottom: 1rem;
    color: var(--green);
}


span.sidebar {
    position: absolute;
    top: 0;
    background: whitesmoke;
    opacity: .9;
    left: 12rem;
    bottom: 0;
    top: 0;
    height: 100%;
    visibility: hidden;
    transition: 250ms all ease-in-out;
}

span.sidebar > ul {
    text-align: justify;
    font-size: 15px;
    line-height: 1.3rem;
    overflow-y: scroll;
    height: 350px !important;
}


span.sidebar > ul li {
    padding: 1rem;
}


span.sidebar p {
    opacity: 0;
    transition: .5s;
}

.box:hover {
    flex: 1 1 50%;
}

.box:hover > img {
    width: 33%;
    height: 100%;
}


.box:hover span.sidebar {
    visibility: visible;
    transition: 250ms all ease-in-out;
}

.box:hover span.sidebar p {
    opacity: 1;
}

div.person {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-weight: bold;
    color: lightgray;
    font-size: 1rem;
    transition: .5s;
    background: #00000077;
    flex-direction: column;
    padding-bottom: 1rem;
}

div.person .fullname, div.person .position {
    height: 1.3rem;
    margin: 0;
    transition: all 250ms ease-in-out;
}

div.person .position {
    font-weight: normal;
    transition: all 250ms ease-in-out;
}


.box:hover div.person {
    opacity: 0;
}

.mobile-menu-button {
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    margin-right: 2rem;
}

.sub-header-approach p {
    display: none;
}

#text {
    display: block;
}



@media screen and (max-width: 990px) {
    header nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    header nav .menu {
        display: none;
    }

    header nav .menu-mobile-container {
        visibility: visible;
    }

    .menu-mobile-content {
        position: absolute;
        top: 130px;
        background: whitesmoke;

        width: 100%;
        transition: all 250ms ease-in-out;
        height: 100vh;
        z-index: 1000;
    }

    .menu-mobile-content.visible {
        display: block;
        transition: all 250ms ease-in-out;
    }

    .menu-mobile-content ul {
        padding: 0;
        width: 100%;
        list-style-type: none;
        margin: 0;
    }

    .menu-mobile-content ul li {
        padding: 1.5rem 4rem;
        font-weight: bold;
        position: relative;
    }

    .menu-mobile-content ul li.active {
        background: var(--lightgreen);
    }

    .menu-mobile-content ul li a {
        position: absolute;
        top: 0;
        left: 2rem;
        right: 0;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .menu-mobile-content ul li.active a {
        color: white;
    }

    footer.footer .footer-content {
        flex-wrap: wrap;
    }

    footer.footer .footer-content > div {
        width: 50%;
        border-bottom: 2px dotted lightgray;
        height: 280px;
        border-right: 2px dotted lightgray;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    /*Last effect*/
    .container {
        flex-direction: column;
    }

    .container .box {
        margin: 1rem

    }

    .box > img {
        width: 100%;
        height: calc(100% - 30vh);
        object-fit: cover;
        transition: .5s;
        height: 100%;
    }

    span.sidebar {
        position: absolute;
        top: 0;
        background: whitesmoke;
        opacity: .9;
        left: 0rem;

    }

    .fa-3x {
        font-size: 1em;
    }

}

@media screen and (max-width: 800px) {
    .main-picture {
        min-height: 475px;
    }

    .team .person {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 3rem;
        flex-direction: column;
    }

    .team .person div.description {
        margin-left: 0;
        padding: 1rem 7.5rem;
    }

    #text {
        visibility: hidden;
        display: none;
    }

    .sub-header-approach p {
        font-size: 2rem;
        line-height: 2rem;
        padding: .8rem;
        display: block;
    }

    .map-container {
        flex-direction: column-reverse;
    }
}

@media screen and (max-width: 768px) {
    .main-picture {
        min-height: 455px;
    }

    .team .person {
        align-items: center;
        flex-direction: column;
    }

    .team .person div.description {
        margin-left: 0;
        padding: 1rem 6.5rem;
    }
}

@media screen and (max-width: 414px) {
    #s2 {
        padding: 1rem;
    }

    .photo img {
        width: 100%;
    }

    .main-picture {
        min-height: 225px;
    }

    footer.footer .footer-content {
        padding: 1rem;
        text-align: center !important;
    }

    footer.footer .footer-content > div {
        width: 100%;
        border-bottom: none;
        border-right: none;
        display: block;
        height: inherit;
        margin-bottom: 1.5rem;
    }

    .sub-footer > div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 0;
        color: white;
        flex-direction: column;
    }

    .copyright {
        margin: 1rem;
    }

    .team .person div.description {
        margin-left: 0;
        padding: 2rem 0;
    }

    .contact-adresses {
        flex-direction: column;
    }

    div.col {
        padding: 0 1.5rem;
    }

    div.col-l,
    div.col-r {
        height: inherit;
        width: 100%;
    }

    div.col-l {
        flex-direction: column;
    }

    div.col p {
        width: 100%;
    }

    div.col-l > div {
        width: 100%;
    }

    .contact-form form#contact > div input,
    .contact-form form#contact > div textarea {
        width: 100%;
    }

    .contact-form-note {
        margin-left: 0;
    }

    .sub-header-approach p {
        font-size: 1.2rem;
        line-height: 1.4rem;
        padding: .8rem;
        display: block;
    }

    span.sidebar > ul {

        text-align: justify;
        font-size: 12px;
        line-height: 1.2rem;
    }


    div.col-r {
        flex-direction: column;
    }

    span.sidebar > ul li {
        padding: .3rem;
    }

    .container.partner-box {
        height: calc(100vh + 200px);
    }

}
