* {
    box-sizing: border-box;
    /* pour maitriser width et flex-basis */
}

HTML {
    margin: 0;
background: url('includes/parameters/images/fond20240317133416.jpg?v=20240328223646') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    padding: 15px;
}

p {
    text-align: justify;
}

.PanelFloat {
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-color: White;
    border: solid 1px #26377D;
    padding: 15px;
}

.menuLanguage {
    position: absolute;
    padding-top: 10px;
    padding-right: 10px;
    max-width: 25px;
    margin-left: -10px
}

#menu {
    margin-left: 50px;
    padding-right: 10px;
}

.language {
    cursor: pointer;
    font-size: 2em;
    width: 100%;
    padding: 25px;
}

H1 {
    font-size: 2em;
    color: #26377D;
}

H2 {
    font-size: 1.5em;
}

H3 {
    font-size: 1em;
}

.banner {
    padding: 10px;
    border-radius: 5px;
    background-color: #26377D;
    color: white;
    text-align: center;
    font-size: 0.8em;
    margin: 10px;
    margin-top: 30px;
}

.menuLogo {
    width: 50%;
    max-width: 200px;
    min-width: 50px;
    display: inline-block;
}

BODY {
    border-radius: 10px;
    max-width: 800px;
    font-family: Candara, Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: gray;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    background-color: white;
    opacity: 90%;
}

.divMain {
    margin-left: 25px;
    margin-right: 25px;
    background-repeat: no-repeat;
    background-position-y: bottom;
    background-position-x: right;
}

.textDiscret {
    font-size: 11px;
    font-weight: normal;
}

.badge {
    padding: 15px;
    color: white;
    border-radius: 5px;
    font-size: 1.5em;
    font-weight: bold;
    background-color: #26377D;
    float: left;
    margin: 10px;
}

.divBlock {
    padding-top: 50px;
    display: inline-block;
}

.imgPicture {
    margin: 10px;
}

.illustration {
    border-radius: 10px;
    width: 50%;
    max-width: 200px;
    float: left;
    margin-right: 10px
}

.publication {
    float: right;
    margin: 15px;
    background-color: #26377D;
}

.comment {
    padding-top: 25px;
}

.divFormule {
    border: solid 1px #ffa800;
    border-radius: 5px;
    padding: 10px;
    margin: 10px;
    display: inline-block;
    width: 250px;
    height: 250px;
    cursor: pointer;
}

.tableFormule {
    background-color: #505050;
    border-radius: 5px;
    width: 100%;
    height: 100%;
}

.inputText {
    width: 100%;
    border-radius: 5px;
    border: solid 1px #26377D;
    padding: 5px;
}

.pictureLink {
    cursor: pointer;
    border: none;
}

.menu {
    padding: 10px 10px 20px 30px;
    text-align: left;
    display: inline-block;
}

A#menu {
    display: block;
    text-decoration: none;
    color: #;
    font-weight: bold;
    font-size: 1.3em;
    padding: 5px 10px 5px 5px;
}

A:hover#menu {
    color: #26377D;
}

A {
    color: #26377D;
    font-size: 14px;
}

A:hover {
    color: #26377D;
}

.error {
    background-color: #DB392E;
    color: #505050;
    border: solid 1px red;
    border-radius: 5px;
    font-size: 1em;
    padding: 10px;
    margin: 20px;
}

.button:hover {
    background-color: #26377D;
    color: #505050;
}

.button {
    border: 1px solid #26377D;
    border-radius: 50px;
    background-color: transparent;
    color: #26377D;
    text-align: center;
    font-size: 1em;
    height: 38px;
    width: 100px;
    cursor: pointer;
    margin: 5px;
}

.linkDiscret {
    text-decoration: none;
    font-size: 12px;
}

#menuContainer {
    max-width: 900px;
    margin-left: -25px;
    z-index: 1000;
}

.trademark {
    padding: 10px;
    color: #26377D;
    text-align: center;
    font-size: 10px;
}


/* Burger button */

.bar1,
.bar2,
.bar3 {
    width: 30px;
    height: 4px;
    background-color: #26377D;
    margin: 6px 0;
    transition: 0.4s;
}

.change .bar1 {
    -webkit-transform: rotate(-60deg) translate(-6px, 6px);
    transform: rotate(-60deg) translate(-6px, 6px)
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(60deg) translate(-8px, -8px);
}

#burgerMenu {
    padding-top: 5px;
    display: none;
    cursor: pointer;
}

#gallery {
    text-align: left;
}

#gallery-detail {
    background: white;
    width: 100%;
    position: fixed;
    left: 0px;
    top: 0px;
    text-align: center;
    padding: 25px;
    visibility: hidden;
    height: 100%;
}

#gallery-detail-image {
    margin: auto;
    max-width: 100%;
    max-height: 100%;
}


/* ----  */


/* si plus plus petit que 650px de large, adapter les styles */

@media screen and (max-width: 650px) {
    #menuContainer {
        position: absolute;
        border-radius: 10px;
        border: solid 1px #26377D;
        width: 70%;
        padding: 10px;
        background-color: white;
        margin-top: 10px;
        visibility: hidden;
        margin-left: 0px;
    }
    #menu {
        margin-left: 0px;
    }
    .sf-menu li {
        width: 190px;
        border-radius: 5px;
        margin: 2px;
    }
    .sf-menu ul {
        background-color: white;
        border-radius: 10px;
        border: solid 1px #26377D;
        padding: 10px;
        margin-top: -5px;
    }
    .sf-menu ul li {
        display: block;
    }
    .sf-menu ul li a {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    #burgerMenu {
        display: inline-block;
    }
    .menuLanguage {
        margin-left: 20px;
    }
}