/* HEADER */

/* On supprime le décalage sur les bords */
html, body {
    height: 100%;
    padding: 0;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #fffff9;
}

/* On fait en sorte que l'image prenne toute la largeur de la page */

header img {
    width: 100%;
    display: flex;
}

/* On défini le style pour la barre de navigation */

.topnav {
    overflow: hidden;
    background-color: #424242;
    display: flex;
    justify-content: center;
}

/* On défini le style pour chaque liens de la barre de navigation */

.topnav a {
    float: left;
    display: block;
    color: #FFFFFF;
    text-align: center;
    padding: 18px 20px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 300;
}

/* On empêche l'apparation du symbole permettant la barre de navigation en format mobile */

.topnav .icon {
    display: none;
}

/* On défini le style pour les boutons de la barre de navigation */

.dropdown .dropbtn {
    border: none;
    outline: none;
    color: #FFFFFF;
    padding: 18px 20px;
    background-color: inherit;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 300;
}

/* On défini le style pour les onglets de la barre de navigation */

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #F3EDB2;
    min-width: 160px;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* On défini le style pour chaque liens des onglets de la barre de navigation */
.dropdown-content a {
    float: none;
    color: #525252;
    padding: 6px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-weight: 400;
}

.topnav a:hover, .dropdown:hover .dropbtn {
    background-color: #525252;
    color: #F3EDB2;
}

.dropdown-content a:hover {
    background-color: #525252;
    color: #F3EDB2;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* On défini un style différent quand on est sur l'onglet de la page active */
#myTopnav .active {
    background-color: #525252;
    color: #F3EDB2;
    justify-content: left;
}
a img.menuIcon {
    width: 30px;
}

@media screen and (max-width: 1024px) {
    .topnav a:not(:first-child), .dropdown .dropbtn {
        display: none;
    }
    .topnav a.icon {
        float: right;
        display: block;
        text-align: left;
    }
    a.accueil {
        font-size: 0;
        margin-top: 2px;
    }
    a.accueil::after {
        content: "Menu";
        font-size: 20px;
    }
    .topnav.responsive a.accueil::after {
        content: "Accueil";
    }
    .topnav.responsive a.accueil {
        margin-top: 0;
    }
    .topnav.responsive {
        position: relative;
        padding-left: 0;
        display: block;
        padding-top: 18%;
    }
    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
    .topnav.responsive .dropdown {
        float: none;
    }
    .topnav.responsive .dropdown-content {
        position: relative;
    }
    .topnav.responsive .dropdown .dropbtn {
        display: block;
        width: 100%;
        text-align: left;
    }
    .disabled {
        pointer-events: none;
        cursor: default;
    }
    .dropdown-content a {
        padding: 16px 20px;
    }
}
/* FIN NAVBAR */

/* LOCATION DE SALLES */

/* Mise en page flexible */
.conteneur {
    display: flex;
}

.conteneur2 {
    justify-content: space-evenly;
}

/* Mise en page en colonne pour les tarifs */
.colonne {
    position: relative;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

.roundedTable1, .roundedTable2{
    display: flex;
    flex-direction: column;
    margin-left: 0;
    align-items: center;
}

/* Mise en page en colonne pour le formulaire et les tarifs */
.conteneur2 {
    flex-direction: column;
    justify-content: center;
}

/* Titre des tarifs */
.roundedTable1 h1, .roundedTable2 h1{
    font-weight: 500;
    color: #525252
}

/* Div de l'image */
.test3 {
    width: 100%;
    display: flex;
    margin-top: 75px;
}

/* Centrer l'image */
.test3 img {
    border-radius: 7px;
    max-width: 70%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media screen and (max-width: 1200px) {
    .conteneur {
        flex-direction: column;
    }
    .conteneur2 {
        flex-direction: column;
        justify-content: center;
    }
    .test3 img{
        max-width: 80%;
    }
    .test3{
        margin: 0;
        margin-top: 40px;
        width: 100%;
    }
    .text {
        margin-right: 10px;
    }
}

@media screen and (min-width: 800px) {
    /* Style du second tableau */
    .roundedTable2 {
        margin-top: 75px;
        margin-bottom: 75px;
    }

    /* Grille tarifaire */
    .roundedTable {
        border-radius: 15px 15px 15px 15px;
        border: 0;
        border-spacing: 0;
        width: 650px;
        border-style: hidden;
        border-collapse: collapse;
        box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.2);
    }
    td {
        font-size: 15px;
        color: #424242;
        border-collapse: collapse;
        border: thin solid #5252;
        padding: 5px 10px;
        text-align: center;
        background-color: #FCFAEC;
    }
    .border {
        color: #ffffff;
        background-color: #6F6F6F;
    }
    .align {
        text-align: justify;
    }
    /* Arrondi les bords du tableau */
    .roundedTable tr:first-child td:first-child {
        border-top-left-radius: 15px;
        background-color: #6F6F6F;
        color: #ffffff;
    }
    .roundedTable tr:first-child td:last-child {
        border-top-right-radius: 15px;
        background-color: #6F6F6F;
        color: #ffffff;
    }
    .roundedTable tr:last-child td:first-child  {
        border-bottom-left-radius: 15px;
        background-color: #6F6F6F;
        color: #ffffff;
    }
    .roundedTable tr:last-child td:last-child {
        border-bottom-right-radius: 15px;
        background-color: #6F6F6F;
        color: #ffffff;
    }
}

@media screen and (max-width: 800px) {
    .conteneur {
        flex-direction: column;
    }
    .text {
        margin-top: -10px;
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 10px;
    }
    .img {
        margin-top: 20px;
        margin-left: 10px;
        margin-right: 10px;
        margin-bottom: 0px;
    }
    .test3{
        margin-top: 10px;
    }
    .test3 img{
        max-width: 100%;
    }
}

/* Responsive du tableau */

@media screen and (max-width: 799px) {
    .roundedTable1, .roundedTable2{
        margin: 10px;
    }
    .border-res {
        color: #ffffff;
        background-color: #6F6F6F;
    }

    table {
        border: 1px solid #ccc;
        border-collapse: collapse;
        margin: 0;
        padding: 0;
        width: 100%;
        table-layout: fixed;
    }

    table caption {
        font-size: 1.5em;
        margin: .5em 0 .75em;
    }

    table tr {
        background-color: #FCFAEC;
        border: 1px solid #ddd;
        padding: .35em;
    }
    table .info {
        background-color: #6F6F6F;
        border: 0;
    }

    table th, table td {
        padding: .625em;
        text-align: center;
    }

    table th {
        font-size: .85em;
        letter-spacing: .1em;
        text-transform: uppercase;
    }
    .bold{
        font-weight: 500;
        text-transform: uppercase;
    }

    table {
        border: 0;
    }

    table caption {
        font-size: 1.3em;
    }
    
    table .top {
        border: none;
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }
    
    table tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: .625em;
    }
    
    table td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        text-align: right;
    }
    
    table td::before {
        /* aria-label has no advantage, it won't be read inside a table content: attr(aria-label); */
        content: attr(data-label);
        float: left;
    }
    
    table td:last-child {
        border-bottom: 0;
    }

    .align {
        text-align: left;
    }
}

/* FOOTER */

.bas {
    background-color: #424242;
    display: flex;
    height: 138px;
    justify-content: space-around;
}
.bas h1 {
    text-transform: uppercase;
    font-weight: 300;
    font-size: 25px;
    color: #F3EDB2;
}
.coord p {
    margin: 0;
    margin-bottom: 5px;
    color: #FFFFFF;
    font-weight: 400;
    font-size: 13px;
}

.hora p {
    margin: 0;
    margin-top: 5px;
    color: #FFFFFF;
    font-weight: 400;
    font-size: 13px;
}

/* ML */

.bas2 {
    background-color: #303030;
    display: flex;
    justify-content: center;
    font-weight: 300;
    font-size: 14px;
}
.bas2 p {
    color: #707070;
}
.bas2 a {
    text-decoration: none;
    color: #8A8A8A;
}
.bas2 a:hover {
    color: #AAAAAA;
}


@media screen and (max-width: 800px) {
    .bas {
        position: relative;
        padding-left: 0;
        display: flex;
    }
    .bas p {
        float: none;
        display: block;
        margin-left: 5px;
    }
    .coord {
        margin-left: 0;
        justify-content: flex-start;
    }
}
@media screen and (max-width: 650px) {
    .bas {
        flex-direction: column;
        height: 100%;
    }
    .coord h1 {
        margin: 10px 0 10px 5px;
    }
    .hora {
        margin-bottom: 10px;
        padding-left: 0;
    }
    .hora h1 {
        margin: 30px 0 10px 5px;
    }
}
/* FIN FOOTER */