/* BANDEAU AVEC IMAGE */

#container-bandeau-haut {
    position: relative;
    width: 100%;
    margin-bottom: 3px;
}

@media (max-width: 800px) {
    #container-bandeau-haut {
        margin-bottom: 0px;
    }
}

#container-bandeau-haut img {
    width: 100%;
    border-bottom: 1px solid #a6e0d4;
    display: block;
}


/* ENCADRE GENERIQUE */

#encadre-title {
    display: flex;
    position: absolute;
    width: 100%;
    top: 25px;
}

#encadre-title .middle {
    text-align: center;
    padding: 20px 0px;
    margin: auto;
    flex-basis: 470px;
    flex-grow: 0;
    flex-shrink: 0;
}

#encadre-title .middle span {
    font-family: 'CopperplateGothic';
    font-size: 1.5em;
    font-weight: bold;
    letter-spacing: 3px;
}

#encadre-title .middle h1 {
    margin: 0;
    font-family: 'AbadiMT-Light';
    font-weight: normal;
    letter-spacing: 2px;
    display: none;
}

#encadre-title .left,
#encadre-title .right {
    margin-top: 34px;
    width: 100%;
}

@media (max-width: 992px) {
    #encadre-title .middle h1 {
        display: block;
    }
}

@media (max-width: 800px) {
    #encadre-title {
        top: 5px;
    }
    #encadre-title .middle {
        padding: 10px 0px;
    }
}

@media (max-width: 576px) {
    #encadre-title {
        display: block;
        position: inherit;
        top: 0;
    }
    #encadre-title .middle {
        flex-basis: 100%;
        padding: 10px 0px;
    }
    #encadre-title .middle span {
        font-size: 1.2em;
        letter-spacing: 2px;
    }
    #encadre-title .middle h1 {
        font-size: 1.7em;
    }
    #encadre-title .left,
    #encadre-title .right {
        display: none;
    }
}

#encadre-resume {
    position: absolute;
    top: 51%;
    width: 100%;
}

@media (max-width: 992px) {
    #encadre-resume {
        display: none;
    }
}

#encadre-resume h1 {
    font-family: 'AbadiMT-Light';
    font-size: 52px;
    font-weight: 500;
    text-align: center;
    letter-spacing: 6px;
}


/* ENCADRE STYLE HOME */

#encadre-title .home.middle {
    background-color: white;
    color: #5bc6b1;
    border: 1px solid #939393;
    box-shadow: 0px 0px 1px black;
}

#encadre-title .home.left,
#encadre-title .home.right {
    border-top: 2px solid #939393;
}

#encadre-resume.home h1 {
    color: white;
    text-shadow: 0px 3px 6px black;
}


/* ENCADRE STYLE DEFAULT */

#encadre-title .default.middle {
    color: white;
    border: 1px solid white;
    box-shadow: 0px 0px 1px black;
}

#encadre-title .default.middle span {
    text-shadow: 0px 0px 5px black;
}

#encadre-title .default.middle h1 {
    text-shadow: 0px 0px 5px black;
}

#encadre-title .default.left,
#encadre-title .default.right {
    border-top: 2px solid white;
}

#encadre-resume.default h1 {
    color: white;
    text-shadow: 0px 3px 6px black;
}

@media (max-width: 576px) {
    #encadre-title .default.middle span {
        color: #5bc6b1;
        text-shadow: none;
    }
    #encadre-title .default.middle {
        border: 1px solid #939393;
        box-shadow: 0px 0px 1px black;
        color: #5bc6b1;
    }
    #encadre-title .default.middle h1 {
        text-shadow: none;
    }
}


/* LE MENU */

#menu-global {
    position: relative;
}

.front-menubar-large {
    width: 100%;
    z-index: 100;
}

.menubar {
    margin: auto;
    width: max-content;
    margin-top: 10px;
}

.menubar-niv-1 {
    padding: 0;
    margin: 0;
}

.menubar-niv-1 li {
    float: left;
    list-style: none;
    text-align: center;
    margin: 0px 35px;
}

@media (max-width: 1350px) {
    .menubar-niv-1 li {
        margin: 0px 20px;
    }
}

@media (max-width: 992px) {
    .menubar-niv-1 li {
        margin: 0px 5px;
    }
}

.menu-a-niv-1 {
    border: none;
    text-decoration: none;
}

.menu-niv-1-menu-texte {
    display: inline-block;
    font-size: 26px;
    font-family: 'AbadiMT-Light';
    color: #707070;
}

.menu-niv-1-menu-texte:hover {
    color: #5bc6b1;
    border-bottom: 1px solid #5bc6b1;
    padding-bottom: 0px;
}

.menu-niv-1-menu-texte.active {
    color: #5bc6b1;
    border-bottom: 1px solid #5bc6b1;
    padding-bottom: 0px;
}


/* MENU HAMBURGER */

.navbar-toggler {
    display: none;
    position: relative;
    padding: 0 .75rem;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: .25rem;
    border-color: #5bc6b1;
    cursor: pointer;
    margin-left: 5px;
    outline: none !important;
    box-shadow: none !important;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.75em;
    margin: 10px 0px;
    vertical-align: middle;
    content: "";
    background: no-repeat center center;
    height: 18px;
    background: linear-gradient( to bottom, #5bc6b1, #5bc6b1 10%, transparent 10%, transparent 45%, #5bc6b1 45%, #5bc6b1 55%, transparent 55%, transparent 90%, #5bc6b1 90%, #5bc6b1 100%);
}

@media (max-width: 800px) {
    .navbar-toggler {
        display: block;
    }
    .front-menubar-large {
        height: 55px;
        background-color: #414141;
        margin-top: 0px;
    }
    .menubar {
        width: 100%;
        background-color: #414141;
        opacity: 1;
        padding-top: 8px;
        padding-bottom: 5px;
        margin-top: 0px;
    }
    .menubar-niv-1 {
        padding-top: 5px;
        display: none;
    }
    .menubar-niv-1 li {
        margin: 5px 10px;
        float: none;
        text-align: left;
        width: max-content;
    }
    .menu-niv-1-menu-texte,
    .menu-niv-1-menu-texte:hover,
    .menu-niv-1-menu-texte.active {
        color: #eae9e7;
        text-decoration: none;
        border-bottom: 0;
        letter-spacing: 1px;
    }
}