html{
    margin: 0 auto;
}

body {   
    background-color: #260822;
    margin: auto;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: lighter;
}

/* By default don't display any English */
.en {display: none;} 

.btnLang {
    background-color: #9b8498;
    color: white;
    /*  à enlever quand version EN sera prête */ display: none;
}

.btnLang:hover {
    background-color: #37BCA5;
}

#show-fr {float: right; display: none; padding-right: 20px;}
#show-en {float: right; padding-right: 20px;}

.container {
    max-width: 900px; margin: 0 auto;
    width: 100%;
    background-color: #FFFFFF;
}


.grid-container {
    display: grid;
    display:-ms-grid;
    grid-template-columns: 1fr 1fr;
    -ms-grid-columns: 1fr 1fr;
    background-color: #FFFFFF;
}

    .grid-container div {
        padding: 40px;
    }

.b {
    font-weight: bold;
}

.v {
    color:#37BCA5;
}
.w {
    color: white;
}

.backtofdp {
    margin: 0 auto;
    background-color: #3c0c34;
    text-align: left;
    width: 100%;
    height: 65px;
    color: #FFFFFF;
}

    .backtofdp p {
        margin: 0 auto;
        font-size: 16px;
        vertical-align: bottom;
        position: relative;
        top: 25px;
    }

    .backtofdp a {
        text-decoration: none;
        color: white;
    }

    .backtofdp a:hover {
        color: #37BCA5;
    }

    .backtofdp img {
        padding: 15px;
        float: left;
    }

header {
    width: 100%;
    margin: 0px;
    height: 100px;
    background-color: #ffffff;
    vertical-align: middle;
    text-align: center;
}
    header img {
        padding: 25px;
        float: left;
    }

    header a {
        color: #290023;
        padding: 14px 16px;
        text-align: center;
        vertical-align: bottom;
    }

    header ul {
        padding-top: 10px;
    }

    header li {
        display: inline;
        font-size: 14px;
    }

    header a:hover {
        color: #37BCA5;
    }

.hero {
    /* background-image: url('../img/Header.jpg'); */
    width: 100%;
    /* height: 450px; */
    /* padding: 20px; */
}

    .hero h1, .hero h2 {
        position: relative; 
        left: 38%; 
        top: 15%;
    }

    .hero h1 {
        color: white;
    }

    .hero h2 {
        color: #37BCA5;
        font-weight: 100;
        font-size: 22px;
    }

    .hero img{
        width: 900px;
    }

.white-text {
    margin: 40px 10px 40px 50px;
    background-color: white;
    font-size: 12px;
    max-height: 480px;
    max-width: 435px;
    border: solid 2px #290023;
}

    .white-text button {
        vertical-align: bottom;
    }

    .white-text h2 {
        /* margin-top: -10px; */
        color: #3b0d34;
    }

    .white-text ul{
        /* font-weight: bold; */
        color: black;
        list-style: none;
    }

    .white-text ul li {
        margin-top: 1em;
        margin-left: -2em;
    }

    .white-text ul li::before {
        content: "◆  ";
        color: #37BCA5;
        display: inline-block; /* Needed to add space between the bullet and the text */
        width: 1.5em; /* Also needed for space (tweak if needed) */
        margin-left: -1.5em; /* Also needed for space (tweak if needed) */
        font-family: Arial, Helvetica, sans-serif;
    }

.equipe {
    background-color: #2f2d30;
    line-height: 18px;
}

    .equipe .image {
         background-image: url("../img/Equipe.jpg");   
         margin: 40px 50px 40px 20px;
         background-position: 0px 40px 0 0; 
         background-size: 100%;
         -ms-grid-column: 2;
    }


.equipe-details, .equipe-details-bios {
    display: none;
    color: white;
}

    .equipe-details .grid-container, .equipe-details .grid-container {
        display: grid;
        display: -ms-grid;
        grid-template-columns: 1fr 1fr 1fr;
        -ms-grid-columns: 1fr 1fr 1fr;
    }

    .equipe-details div {
        margin: 0 auto;
        text-align: center;
        font-size: 10px;
    }

    .equipe-details div h3 {
        margin-bottom: 0px;
    }

    .equipe-details img {
        width: auto;
        border: 4px solid rgba(0,0,0,0);
        cursor: pointer;
    }

    .equipe-details img:hover {
        border: 4px solid #66ccba;
    }

    #closeEquipe {
        background-color: #ffffff; 
        margin: 15px 15px 40px 15px;
    }

    #closeEquipe:hover {
        background-color: #37BCA5;
        color: white;
    }


    #cliquez p {
        color: #37BCA5;
        font-size: 16px;
        margin: 40px;
        text-align: left;
    }

    .grid-container .tablinks {
        width: 50%;
        margin: 0 auto;
        padding: 0px;
    }

    .tab {
        margin: 0 auto; 
        align-items: center;
    }
    .tablinks {
        background-color:#ffffff; 
        
        color: #290023; 
        width: 48%;
        border: 2px solid #290023;
    }
    .tablinks:hover{background-color:#3b0d34;}
    .tablinks.active {
        color: #ffffff;
        background-color: #3b0d34;
    }
    
    .tabcontent {display: none;}
    .tabconseil {
        display: none; 
        color: #000000;
        padding: 30px 60px 60px 60px;
    }

    .tabconseil p {
        text-align: left;
        line-height: 1.6em;
        margin-bottom: 30px;
        font-size: 14px;
    }

    .tabconseil a {color: #37BCA5;}

    .equipe-details-bios {
        margin-bottom: 50px;
    }

    #conseillers, #soutien {
        color: #290023;
    }


.approche {
    background-color: #d5ebe8;
}

    .approche div.grid-container {
        background-color: #d5ebe8;
    }

    .approche div.grid-container div {
        border: none;
    }


    .approche .image {
        background-image: url("../img/Approche.jpg");   
        margin: 40px 20px 40px 50px;
        /* Change position */
        background-position: -10px;
        background-size: 410px 380px;
        height: 300px;
    }

    .approche .white-text  {
        margin: 40px 50px 40px 20px;
        -ms-grid-column: 2;
    }

.gestion .image {
    background-image: url("../img/GestionPortefeuille.jpg");   
    margin: 40px 50px 40px 20px; 
    -ms-grid-column: 2;
}

footer {
    background-color: #3c0c34;
    padding: 40px;
}

    footer .grid-container {        
        position: relative;
        left: 1%;
    }

    footer h1 {
        color: white;
        font-size: 22px;
    }

    footer h2 {
        color: #37BCA5;
        font-size: 16px;
        -ms-grid-row: 2;
    }

    footer .disclaimer {
        width: 100%;
        font-size: 10px;
        color: white;
        padding-top: 40px;
    }

    footer .grid-container div {
        padding: 0px;
        background-color: #3c0c34;
        -ms-grid-row: 2;
    }

    footer #addr {
        -ms-grid-row: 2;
    }

    footer #phones {
        -ms-grid-row: 2;
        -ms-grid-column: 2;
    }

    footer a, footer a:hover, footer a:visited {
        text-decoration: none;
        color:#37BCA5;
    }


button {
    color: #37BCA5;
    background-color: white;
    border: 2px solid #37BCA5;
    border-radius: 0px;
    padding: 5px 10px;
    cursor: pointer;
}

    button:hover {
        background-color: #37BCA5;
        color: white;
    }

.image {
    background-repeat: no-repeat;
}

.mobile-only {
    display: none;
}


@media only screen and (max-width: 800px) {

    .container {
        width: 100%;
    }

    .grid-container {
        display: grid;
        grid-template-columns: auto;
        width: 100%;
    }

    .grid-container div {
        /* width: 70%;
        padding: 10px; */
        margin: 0px;
        margin: 0 auto;
    }


    /* This is for the logo */
    header img {
        width: 135px;
    }

    header .nav {
        position: absolute;
        width: 70%;
        top: 25px;
        left: 70px;
    }

    header ul {
        line-height: 25px;
    }

    header li {
        display: block;
        text-align: left;
        font-size: 10px;
    }

    .hero h1, .hero h2 {
        position: relative; 
        left: 2%; 
        top: 5%;
    }

    .hero h2 {
        font-size: 18px
    }

    .hero img {
        width: 100%;
    }

    .image {
        background-size: 100%;
    }


    .equipe {
        background-color: white;
        width: 100%;
        padding: 0px;
    }
    
        .equipe .white-text  {
            width: 80%;
            padding: 20px;
        }
    
        .equipe .image {
            display: all;
            background-image: url("../img/Equipe.jpg");   
            margin: 0 auto;
            padding: 0px;
            height: 200px;
            width: 100%;
        }
        
    .equipe-details .grid-container {
        grid-template-columns: 1fr 1fr;
        -ms-grid-columns: 1fr 1fr;
    }

    .white-text {
        border: none;
    }

    .approche {
        background-color: #ffffff;
        margin: 0 auto;
    }

        .approche div.grid-container {
            background-color: #ffffff;
        }
    
        .approche .image {
            /* display: none; */
            /* background-image: url("../img/Approche.jpg");    */
            margin: 0 auto;
            /* height: 300px; */
            width: 400px;
            height: 380px;
            grid-row: 2;
            /* Change position */
            /* background-position: 0px; */
            text-align: center;
            padding: 0px;
        }

        .approche .white-text  {
            width: 80%;
            margin: 0 auto;
            padding: 20px;
        }
        
    .gestion .image {
        display: all;
        background-image: url("../img/GestionPortefeuille.jpg");   
        margin: 0 auto; 
        width: 100%;
        height: 200px;
    }

    footer div.grid-container {
        background-color: #3c0c34;
    }

    .mobile-only {
        display: all;
    }

}
