﻿:root {
    --bleu: #1C5B7E;
    --bleuTransparent: rgba(28, 91, 126,0.5);
    --bleuClair: #63ACD4;
    --bleuClairTransparent: rgba(99, 172, 212,0.1);
    --bleuFonce: #1F4357;
    /*--beigeUltraTransparent: rgba(187, 176, 115,0.1);*/
    --headerHeight: 6.666rem;
    --baseColor: rgb(32, 32, 32);
    --baseBGColor: white;
    --baseLightGray: #f4f4f4;
}

html {
    font-size: 1.12vw;
    font-family: minion-pro,serif;
    color: var(--baseColor);
    background-color: var(--baseBGColor);
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    padding-top: var(--headerHeight);
    width: 100%;
    box-sizing: border-box;
}

.agenda {
    font-family: Agenda, sans-serif;
}

.minion {
    font-family: minion-pro,serif;
}

a {
    text-decoration: none;
    color: inherit;
}

.nl {
    display: none;
}

.vnl .nl {
    display: inline !important;
}

.vnl .fr {
    display: none;
}

#LangContainer {
    display: flex;
    flex-direction: row !important;
    grid-gap: 0.5rem;
    /*display: none !important;*/
}

.LangBtn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 1.8rem;
    width: 1.8rem;
    cursor: pointer;
    border-radius: 50%;
    font-size: 0.6rem;
    border-style: solid;
    border-width: 1px;
    border-color: var(--baseLightGray);
    box-sizing: border-box;
}

    .LangBtn:hover {
        border-color: var(--baseColor);
    }

.vfr .LangBtn.bfr, .vnl .LangBtn.bnl {
    background-color: var(--baseColor);
    border-color: var(--baseColor);
    color: var(--baseBGColor);
}

header {
    width: 100%;
    height: var(--headerHeight);
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
    box-sizing: border-box;
    border-bottom-width: 0.05rem;
    border-bottom-style: solid;
    border-bottom-color: rgba(187, 176, 115, 0.1);
    z-index: 50;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.1) 0px 2px 4px -2px;
}

    header ul {
        padding: 0;
        margin: 0;
        list-style-type: none;
        display: flex;
        flex-direction: row;
        grid-gap: 2rem;
    }

    header li {
        font-weight: 700;
        margin-right: 2rem;
        white-space: nowrap;
    }

.NavDot {
    height: 0.5rem;
    width: 0.5rem;
    border-radius: 50%;
    margin-right: 0.25rem;
    background-color: transparent;
    display: inline-block;
}

.MenuSelected .NavDot, header li:hover .NavDot {
    background-color: var(--bleu) !important;
}

#headerLeft, #headerRight {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

#headerLeft {
    grid-gap: 4.2rem;
}

#headerRight {
    grid-gap: 2rem;
}

#headerSearchContainer {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    grid-gap: 0.5rem;
}

#headerSearchTB {
    border-style: solid;
    border-color: var(--baseLightGray);
    width: 10rem;
}

#headerSearchBtn {
    color: var(--bleu);
    padding: 0;
    background-color: transparent;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
}

#LogoAML {
    height: 3.94rem;
}

h2, h3, h6, h1, h4, h5 {
    margin: 0;
    font-family: Agenda, sans-serif;
}

h1 {
    font-size: 3.83rem;
    font-weight: 700;
}

h4 {
    font-size: 1.944rem;
    font-weight: 700;
}

h2 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 3.361rem;
    margin-bottom: 1.527rem;
}

h3 {
    font-size: 2.444rem;
    font-weight: 700;
    line-height: 1.2em;
    margin-bottom: 0.5em;
}

h6 {
    font-size: 1.277rem;
    line-height: 1.533rem;
    font-weight: 700;
}

h5 {
    font-size: 1.555rem;
    font-weight: 700;
}

.italique {
    font-style: italic;
}

.medium {
    font-size: 0.9rem;
}

.small {
    font-size: 0.8rem;
}

.darkBG {
    background-color: var(--bleuTransparent);
    color: white;
}

.actionButton {
    border-radius: 0.277rem;
    padding: 0.833rem 1.944rem;
    text-transform: uppercase;
    font-family: Agenda, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    border-width: 0;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    grid-gap: 1rem;
    background-color: var(--bleu);
}

    .actionButton img {
        height: 1rem;
    }

.actionButtonArrow {
    padding: 0.833rem;
    line-height: 0.2rem;
    transform: rotate(180deg);
}

.actionButtonDisabled {
    background-color: var(--iconContainerBgColor);
    color: black;
}

a.actionButton {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
}

footer {
    width: 100%;
    background-color: var(--bleu);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2.222rem 10%;
    box-sizing: border-box;
    margin-top: 6.666rem;
    grid-gap: 5rem;
}

.FooterColumn {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
    max-width: 25%;
}

.FooterColumnTitle {
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    font-weight: 700;
    color: var(--baseBGColor);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.FooterColumn a {
    color: var(--baseBGColor);
    font-size: 0.9rem;
    line-height: 1.3rem;
}

#LogoFooter {
    width: 5rem;
}

#InfoFooter {
    font-size: 0.9rem;
    line-height: 1.3rem;
    color: white;
    margin-top: 0.5rem;
}

    #InfoFooter a {
        border-bottom-color: var(--baseBGColor);
        border-bottom-width: 2px;
        border-bottom-style: solid;
    }

        #InfoFooter a:hover {
            border-bottom-color: transparent;
        }

#PartenairesFooter {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    align-items: center;
    grid-gap: 1rem;
    width: 28%;
}

.PartenairesFooterLine {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

    .PartenairesFooterLine:first-of-type img:first-of-type {
        height: 4.7rem;
    }

    .PartenairesFooterLine:first-of-type img:last-of-type {
        height: 1.8rem;
    }

    .PartenairesFooterLine:nth-of-type(2) img:first-of-type {
        height: 3.2rem;
    }

    .PartenairesFooterLine:nth-of-type(2) img:last-of-type {
        height: 2rem;
    }

    .PartenairesFooterLine:last-of-type img:first-of-type {
        height: 3.4rem;
    }

    .PartenairesFooterLine:last-of-type img:last-of-type {
        height: 3.1rem;
    }

#CopyrightFooter {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding-top: 1rem;
    text-transform: uppercase;
    border-top-color: white;
    border-top-width: 1px;
    border-top-style: solid;
    color: white;
    font-weight: 300;
    font-size: 0.777rem;
    align-items: center;
}

#introContainer {
    width: 100%;
    box-sizing: border-box;
    background-image: url('/Images/homeimage.jpg');
    background-size: cover;
}

#introContent {
    box-sizing: border-box;
    padding: 5rem 10%;
    width: 100%;
}

#introTexte, #currentTuilesContainer, #lastPubContainer {
    padding: 3rem 10%;
}

#currentContainer {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

#currentTuilesContainer, #lastPubContainer {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    background-color: var(--bleuClairTransparent);
}

#currentTuilesContainer {
    justify-content: flex-start;
    grid-gap: 2.6%;
}

#lastPubContainer {
    justify-content: space-between;
}

.lienCercleContainer {
    margin-top: 3rem;
    margin-bottom: 3rem;
    padding: 0 10%;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    box-sizing: border-box;
    font-variant: small-caps;
}

.LienCercle {
    padding: 1rem 3rem;
    border-top-color: var(--bleuClair);
    border-top-width: 1px;
    border-top-style: solid;
    background-color: var(--bleuClair);
    color: white;
    border-radius: 1rem;
    box-sizing: border-box;
    text-align: center;
}

    .LienCercle:hover {
        background-color: white;
        color: var(--bleuClair);
    }

.lastPubLink {
    flex-shrink: 0;
    width: 23%;
    position: relative;
}

    .lastPubLink img {
        width: 100%;
    }

.lastPubLinkNouv {
    position: absolute;
    right: 0;
    top: -1rem;
    background-color: var(--bleuClair);
    padding: 0.3rem 1rem;
    color: white;
    font-size: 0.8rem;
    border-radius: 0.3rem;
}

.currentTuile {
    display: inline-block;
    width: 23%;
    position: relative;
    padding-top: 1rem;
    flex-grow: 0;
    height: 30rem;
    flex-shrink: 0;
}

.currentTuileCover {
    width: 100%;
}

.currentTuileStatus {
    position: absolute;
    right: 0;
    top: 0;
    background-color: var(--bleuClair);
    padding: 0.3rem 1rem;
    color: white;
    font-size: 0.8rem;
    border-radius: 0.3rem;
}

.currentTuileTitre {
    width: 85%;
    box-sizing: border-box;
    padding: 1.5rem;
    background-color: white;
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    grid-gap: 1.5rem;
}

.currentTuileBottomLien {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    grid-gap: 1rem;
}

.currentTuileBottomLigne {
    width: 3.95rem;
    background-color: var(--bleuClair);
    height: 1px;
}

.filigraneEpuise {
    opacity: 0.9;
    color: red;
    z-index: 10;
    position: absolute;
    top: 30%;
    right: 0;
    width: 100%;
    text-align: center;
    transform: rotate(-45deg);
    text-shadow: -1px -1px 0 black, 1px -1px 0 black, -1px 1px 0 black, 1px 1px 0 black;
}

#currentContainer h2 {
    padding: 0 10%;
}

#hamburgerMenu, #hamburgerMenuClose {
    display: none;
}

#lens {
    position: absolute;
    border: 1px solid #000;
    border-radius: 50%;
    width: 15rem;
    height: 15rem;
    overflow: hidden;
    cursor: none;
    display: none;
    z-index: 1000;
    background-color: white;
    pointer-events: none;
}

    #lens img {
        position: absolute;
        transform-origin: top left;
    }


@media (orientation:portrait) {
    html {
        font-size: 2.7vh;
    }

    footer {
        flex-wrap: wrap;
        justify-content: space-between;
        grid-gap: 0;
    }

    #LogoFooter {
        height: auto;
        width: 30vw;
    }

    .FooterColumn {
        flex-direction: row;
        font-size: 5vw;
        margin-bottom: 5vh;
        max-width: none;
    }

        .FooterColumn:first-of-type {
            width: 100%;
            justify-content: space-between
        }

        .FooterColumn:nth-of-type(2), .FooterColumn:nth-of-type(3) {
            width: 45%;
        }

    .FooterColumnTitle {
        font-size: 6vw;
    }

    .FooterColumn a {
        font-size: 5vw;
    }

    #PartenairesFooter {
        width: 100%;
    }

    #headerRight {
        display: none;
    }

    #currentContainer {
        padding: 0;
    }

    #lastPubContainer, #currentTuilesContainer {
        flex-direction: column;
        grid-gap: 3vh;
    }

    .lastPubLink, .currentTuile {
        width: 100%;
    }

    .currentTuileBottomLien {
        display: none;
    }

    .lienCercleContainer {
        justify-content: center;
    }

    .LienCercle {
        width: 100%;
        white-space: nowrap;
    }

    nav {
        display: none;
        position: fixed;
        right: 0;
        top: 15vh;
        width: 100%;
        box-sizing: border-box;
        z-index: 100;
        background-color: white;
    }

    .MenuMobileVisible {
        display: flex !important;
    }

    nav ul {
        flex-direction: column;
        justify-content: flex-start;
        align-content: flex-start;
        align-items: flex-start;
        color: white;
        background-color: var(--bleuFonce);
        padding: 2vh;
        flex-grow: 1;
        margin: 0;
        margin-right: 0px;
        margin-right: 2vh;
        height: 90vh;
    }

    #hamburgerMenu {
        display: inline-block;
        width: 9vw;
        padding: 2vh 0;
        cursor: pointer;
    }

    #hamburgerMenuClose {
        display: inline-block;
        font-size: 1rem;
        cursor: pointer;
        padding: 2vh;
    }

    .MenuSelected .NavDot {
        background-color: white !important;
    }

    .PartenairesFooterLine:first-of-type img:first-of-type {
        height: 4rem;
    }

    .PartenairesFooterLine:first-of-type img:last-of-type {
        height: 1.4rem;
    }

    .PartenairesFooterLine:nth-of-type(2) img:first-of-type {
        height: 3rem;
    }

    .PartenairesFooterLine:nth-of-type(2) img:last-of-type {
        height: 1.8rem;
    }

    .PartenairesFooterLine:last-of-type img:first-of-type {
        height: 3rem;
    }

    .PartenairesFooterLine:last-of-type img:last-of-type {
        height: 2.8rem;
    }
}
