/* --------------------------------------------------------------- */
/*
/* HTML
/*
/* --------------------------------------------------------------- */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: "Roboto";
    font-size: 13px;
}

body {
    text-align: center;
}

#main {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    margin: 0 auto;
    text-align: left;
    color: #000000;
    background-color: #FFFFFF;
}


/* --------------------------------------------------------------- */
/*
/* Header
/*
/* --------------------------------------------------------------- */
#entete {
    position: relative;
    top: 0;
    left: 0;
    min-height: 160px;
    background: url("../images/bandeau-header.png") no-repeat center center;
    background-size: cover;
    z-index: 10000;

    display: flex;
    align-items: flex-end;
}

#entete .container {

}

@media screen and (max-width: 991px) {
    #entete {
        -webkit-background-size: auto 193px;
        background-size: auto 193px;
        background-position: top center;
    }
}

@media (max-width: 767px) {
    #entete .container {
        min-width: 320px;
        padding: 0;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    #entete .container {
        min-width: 768px;
        padding: 0;
    }
}

#entete #logo {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
}

#entete #logo img {
    max-height: 150px;
}

@media (max-width: 1024px) {
    #entete #logo {
        align-items: flex-end;
        height: 135%;
    }
}

#entete i {
    font-size: 21px;
    color: #FFFFFF;
    padding-top: 25px;
}

@media (max-width: 1024px) {
    #entete i {
        padding-top: 0px;
        padding-right: 15px;
    }
}

/* --------------------------------------------------------------- */
/*
/* Menu
/*
/* --------------------------------------------------------------- */
#menu {
    position: relative;
    top: 0px;
    left: 0;
    width: 100%;
    padding: 0;
    margin-top: 40px;
    display: flex;
    align-items: flex-end;
}

@media (max-width: 1024px) {
    #menu {
        margin-top: 0;
    }
}

#menu ul {
    width: 100%;
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-left: 0;
    margin-bottom: 0px;
}

@media (max-width: 1024px) {
    #menu ul {
        display: inherit;
        position: relative;
        width: 100%;
        height: auto;
        background-color: #F26C4F;
        padding: 0;
    }
}

#menu ul li {
    position: relative;
    top: 0;
    left: 0;
    margin: 0px;
    padding: 15px 10px;
    width: 100%;
    height: auto;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1024px) {
    #menu ul li {
        background: #F26C4F;
        width: 100%;
        display: block;
        padding: 15px;
        border-bottom: 1px solid #FFFFFF;
    }
}

#menu ul li:hover {
    background: #FFFFFF;
}

#menu ul li a {
    text-decoration: none;
    font-family: "Roboto";
    font-weight: light;
    font-size: 14px;
    color: #FFFFFF;
    height: 100%;
    width: 100%;
    text-transform: uppercase;
    display: block;
    padding: 0 10px;
}

@media (max-width: 1024px) {
    #menu ul li a {
        height: 100%;
    }
}

#menu ul li:hover a {
    color: #F26C4F;
}

#menu ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    padding: 0 40px;
    width: 435px;
    list-style-type: none;
    background: #F26C4F;
    z-index: 1;
    box-shadow: 1px 1px 12px #555555;
    display: none;
}

@media (max-width: 1024px) {
    #menu ul li ul {
        background: #FFFFFF;
        width: 100%;
        padding: 0;
    }
}

#menu ul li:hover ul {
    display: block;
}

@media (max-width: 991px) {
    #menu ul li ul {
        position: relative;
        top: 0;
        margin-top: 15px;
    }
}


#menu ul li ul li {
    margin: 0;
    padding: 15px 0;
    display: block;
    text-align: left;
    border-top: 1px solid #FFFFFF;
    width: 100%;
}

@media (max-width: 1024px) {
    #menu ul li ul li {
        border-top: 1px solid #F26C4F;
        background: #FFFFFF;
    }
}

#menu ul li ul li:first-of-type {
    border-top: none;
}

#menu ul li:hover ul li {
    background: #F26C4F;
}

#menu ul li ul li a {
    font-family: "Roboto";
    font-weight: light;
    font-size: 14px;
    color: #FFFFFF;
    text-transform: none;
}

@media (max-width: 1024px) {
    #menu ul li ul li a {
        color: #F26C4F;
    }
}

#menu ul li:hover ul li a {
    color: #FFFFFF;
}

.navbar {
    display: block;
}

.navbar-toggler {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    color: #FFFFFF;
    background-color: #0F3E56;
    border-radius: 0;
    padding: 10px;
    margin: 0;
}

.navbar-toggler .navbar-toggler-icon {
    position: relative;
    top: 0;
    left: 0;
    background-image: url("https://mdbootstrap.com/img/svg/hamburger2.svg?color=89263a");

}

/* --------------------------------------------------------------- */
/*
/* Menu Côté
/*
/* --------------------------------------------------------------- */
#menu-d {
    width: 100%;
    height: 100%;
}

#menu-d .case {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 29px;
    margin-bottom: 5px;
}

#menu-d .case p {
    margin: 0;
}

#menu-d .horaires-titre {
    background: #F26C4F;
}

#menu-d .horaires-titre #clock p {
    text-align: center;
    font-family: "Roboto";
    font-size: 23px;
    color: #FFFFFF;
    font-weight: lighter;
}

#menu-d .horaires {
    background: #0F3E56;
    flex-direction: column;
}

#menu-d .horaires h5 {
    text-align: left;
    font-family: "Roboto";
    font-size: 15px;
    color: #FFFFFF;
    font-weight: lighter;
    text-transform: uppercase;
}

#menu-d .horaires p {
    text-align: left;
    font-family: "Roboto";
    font-size: 12px;
    color: #FFFFFF;
    font-weight: lighter;
}

#menu-d .horaires #mairie-h {
    width: 100%;
    padding-bottom: 15px;
}

#menu-d .horaires #biblio-h {
    width: 100%;
    padding-top: 15px;
}

#menu-d #coords {
    background: #F26C4F;
    flex-direction: column;
}

#menu-d #coords img {
    margin-right: 20px;
}

#menu-d #coords p {
    text-align: left;
    font-family: "Roboto";
    font-size: 14px;
    color: #FFFFFF;
    font-weight: lighter;
}

#menu-d #coords #marker {
    width: 100%;
    padding-bottom: 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

#menu-d #coords #marker:after {
    border: 1px solid #FFFFFF;
}

#menu-d #coords #phone {
    width: 100%;
    padding: 15px 0;
    border-top: 1px solid #FFFFFF;
    display: flex;
    align-items: center;
    flex-direction: row;
}

#menu-d #coords #phone-2 {
    width: 100%;
    padding-top: 15px;
    border-top: 1px solid #FFFFFF;
    display: flex;
    align-items: center;
    flex-direction: row;
}

#menu-d #moment {
    background: #0F3E56;
}

#menu-d #moment #calendar {
    text-align: center;
    font-family: "Roboto";
    font-size: 23px;
    color: #FFFFFF;
    font-weight: lighter;
}

#menu-d #m-actu {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
}

#menu-d #m-actu img {
    width: 100%;
}

#menu-d #vide {
    background: #0F3E56;
    height: 200px;
}

/* --------------------------------------------------------------- */
/*
/* Page
/*
/* --------------------------------------------------------------- */
#page {
    position: relative;
    top: 0;
    left: 0;
    min-height: 350px;
}

#page h1 {
    font-family: "Roboto";
    font-size: 30px;
    text-transform: uppercase;
    color: #0F3E56;
    text-align: left;
    border-bottom: 1px solid #0F3E56;
    display: block;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

#page h1 span {
    display: inline-block;
    font-weight: lighter;
}

#page a {
    text-decoration: none;
}

#page {
    padding-top: 40px;
}

#page #conteneur_page {
    padding-right: 30px;
}

@media screen and (max-width: 991px) {
    #page #conteneur_page {
        padding-right: 0;
    }
}

#page .button {
    background: #F26C4F;
    min-height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#page .button a {
    font-family: "Roboto";
    font-weight: light;
    font-size: 11px;
    color: #FFFFFF;
    text-decoration: underline;
    text-align: center;
}


#hachis {
    width: 100%;
    margin-bottom: 40px;
    display: block;
}


/* --------------------------------------------------------------- */
/*
/* Actualités
/*
/* --------------------------------------------------------------- */
#actualites {

}

#actualites h3 {
    width: 100%;
    font-family: "Roboto";
    font-size: 32px;
    text-transform: uppercase;
    text-align: left;
    color: #B7D968;
    padding-left: 45px;
    font-weight: lighter;
    border-bottom: 2px solid #B7D968;
    margin-bottom: 30px;
}

#actualites h3 span {
    font-weight: bolder;
}

#actualites #actus {
    width: 100%;
    display: flex;
}

#actualites #actus .actu {
    margin: 0 15px;
}

#actualites #actus .actu .actu_pr {
    padding-right: 7px;
}

#actualites #actus .actu .pic {
    border-bottom: 7px solid #B7D968;
    margin-bottom: 7px;
}

#actualites #actus .actu .pic_liste {
    border-right: 7px solid #B7D968;
}

#actualites #actus .actu .texte_actualite {
    font-family: "Roboto";
    font-size: 12px;
    color: #FFFFFF;
    text-align: left;
    font-weight: bolder;
}

#actualites #actus .actu .liste {
    background: #B7D968;
    padding: 1rem;
}

#actualites #actus .actu .texte_actualite .titre_actualite {
    font-size: 18px;
}

#actualites #actus .actu .texte_actualite .date_actualite {
    display: block;
    text-decoration: underline;
    margin-bottom: 1.5rem;
}

#actualites #actus .actu .texte_actualite p {
    display: inline;
}

#actualites #actus .actu .button {
    background: #F26C4F;
    margin-top: 5px;
    min-height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#actualites #actus .actu .button a {
    font-family: "Roboto";
    font-weight: light;
    font-size: 11px;
    width: 100%;
    height: 100%;
    color: #FFFFFF;
    text-decoration: underline;
    text-align: center;
}

.bouton_actualite {
    margin-top: 10px !important;
}

.bouton_actualite a {
    font-size: 14px !important;
}


/* --------------------------------------------------------------- */
/*
/* Pied
/*
/* --------------------------------------------------------------- */
#pied {
    position: relative;
    top: 0;
    left: 0;
    text-align: center;
    background: #0F3E56;
    min-height: 85px;
    display: flex;
    justify-content: center;
    align-items: center;

}

#pied a {
    text-decoration: none;
    font-family: "Roboto";
    font-weight: light;
    font-size: 12px;
    color: #FFFFFF;
    padding: 30px 0;
}


/* --------------------------------------------------------------- */
/*
/* Général
/*
/* --------------------------------------------------------------- */
a img {
    border: none;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}


