* {
    font-family: "Montserrat", sans-serif;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;

    min-width: 680px;
    /* text-size-adjust: 100%; */
}

/* --- Header style definitions --- */
header {
    display: flex;
    flex-direction: row;
    background-color: white;
    height: 101px;
    /* border-bottom: 1px solid black; */
}   

header>a {
    width: 306px;
}

header #logoImage {
    height: 100%;
    margin-left: 10pt;
    margin-right: 30pt;
}

header #devise {
    width: 350px !important;
    height: 100%;
    text-align: center;
    padding-top: 15pt;
    font-size: 18pt;
}

header #rightBlock {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: center;
    margin-right: 10pt;
}

header #rightBlock {
    display: flex;
    flex-direction: column;
}

header #rightBlock #searchAndContact, 
header #rightBlock nav {
    display: flex;
    height: 50px;
    flex-direction: row;
    
}

header #searchAndContact {
    justify-content: right;
}

header #searchAndContact span {
    margin: 0pt 10px;
    padding: 0pt 10px;
    line-height: 50px;
}

#searchBlock {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #f7f7f7;
    border-radius: 10px;
    margin: 6px;
    padding-left: 10px;
    border-width: 0px;
}

#search, #searchInArticle {
    flex-grow: 1;
    vertical-align: top;
    font-size: 18px;
    border: 0px;
    outline: none;
    margin: 0px;
    background-color: transparent;
}

#searchButton {
    vertical-align: top;
    width: 20px;
    height: 20px;
    margin: 15px;
}

header .clientButton {
    transition: 1s;
    background: white;
    cursor: pointer;
}

header .clientButton:hover {
    background: #a0a0a0;
    -color: white;
}

header .clientIcon {
    height: 14px;
}

header .clientButton a {
    color: black;
    text-decoration: none;
}

header #rightBlock nav {
    align-items: center;
    justify-content: center;
}

header .drowdownMenu {
    background: white;
    transition-duration: 0.5s;

    list-style-type: none;
    display: inline-block;
    width: 200px;
    line-height: 50px;
    cursor: pointer;
    text-align: center;
    font-size: 14pt;
}

header .drowdownMenu:hover {
    background: #a0a0a0;
}

header .dropdownArrow {
    margin-left: 5px;
    font-size: 12pt;
    color: #007bb6;
    text-decoration: none !important;
}

header .drowdownMenu ul {
    position: absolute;               /* Pour apparaître par dessus */
    height: 0px;
    overflow: hidden;

    line-height: normal;

    background: #e0e0e0; /* Pour contraster avec le contenu en dessous */
    z-index: 1000;    /* Assure que le ul soit au-dessus des autres éléments */
    margin: 0px;
    padding: 0px;
    list-style: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Optionnel, pour un effet de survol */

}

header .drowdownMenu:hover ul {
    height: auto;
    padding: 10px 0px;
}

header .drowdownMenu li a {
    display: block;
    padding: 10px 30px;
    text-align: left;
    color: black;
    font-size: 12pt;
    text-decoration: none;
}

header .drowdownMenu li:hover {
    background: #a0a0a0;
}



/* --- Content style definitions --- */
h1 {
    font-size: 30pt;
    margin: 0px;
    text-align: left;
    text-shadow: 1px 1px gray;
}


/* --- Footer style definitions --- */

footer {
    text-align: center;
    border-top: 1px solid black;
    padding: 0px 10%;
}  

footer .row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

footer .row div {
    text-align: left;
}

footer .row img {
    height: 200px;
    margin: 10px  100px 10px 0px;
}

footer h2 {
    padding: 0px;
    margin-bottom: 20px;
}

footer .row div a {
    color: black;
    text-decoration: none;
    line-height: 20pt;
}

footer .row div a:hover {
    text-decoration: underline;
}

#declaration {
    display: inline-block;
    margin: 15px;
    padding-top: 15px;
    text-align: center;
    border-top: 1px solid black;
}



/* --- Responsive design --- */

@media screen and (max-width: 1334px) {
    header #devise {
        display: none;
    }
}

@media screen and (max-width: 985px) {
    header #tel {
        display: none;
    }

    header ul {
        padding-inline-start: 0px;
    }

    header .drowdownMenu {
        width: 140px;
    }

    footer .row img {
        -height: 150px;
    }

    footer .row {
        -flex-direction: column;
        flex-wrap: wrap;
    }

    footer .row div {
        flex: 1 1 calc(50% - 20px);  /* 2 colonnes avec un espace */
    }
}

@media screen and (max-width: 800px) {
    header .clientButton {
        display: none;
    }

    header .drowdownMenu {
        width: 110px;
    }
}