/* Le style qui prime - Contraint les dimensionnements internes à la taille de la boîte, soit de la fenêtre */
html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

a:link, a:visited, a:hover, a:active {
    color: #fcfcfc;
    text-decoration: none;
}

html, body {
    font-family: Calibri, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background-color: #fcfcfc;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

select, input {
    font-size: 18px;
    width: 100%;
    max-width: 200px;
    height: 30px;
    color: #17375e;
    background-color: #c7b446;
    font-weight: bold;
    border-radius: 5px;
    border: none;
}

#entete {
    width: 100%;
    text-align: center;
    font-size: 14px;
    margin-top: 20px;
    min-height: 40px;
    height: auto;
    padding-top: 15px;
    border-top: #666 2px solid;
    background: linear-gradient(#999, #fcfcfc);
}

#pied {
    width: 100%;
    position: fixed;
    bottom: 0;
    font-size: 14px;
    padding-top: 10px;
    background-image: url("../sources/icones-bg.png");
    background-repeat: no-repeat;
    background-position: right center;
}

#contenu {
    width: 90%;
    max-width: 800px;
    height: auto;
    min-height: 480px;
    border: #c7b446 2px solid;
    border-radius: 10px;
    margin: auto;
    box-shadow: 0px 0px 3px 3px #c7b446;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#conteneur {
    width: 100%;
    text-align: left;
    margin-top: 20px;
}

#btn {
    position: absolute;
    left: 3%;
    top: 200px;
}

#auCentre {
    width: auto;
    height: auto;
    margin: auto;
    margin-top: 20px;
    padding: 8px;
    text-align: justify;
    font-size: 20px;
}

#auCentre input {
    cursor: pointer;
}

.rond {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin: auto;
}

.btnMenu {
    width: 100%;
    max-width: 220px;
    height: 40px;
    margin-left: 12px;
    margin-right: 12px;
    font-weight: bold;
    color: #ccc;
    background: #444;
    background: linear-gradient(#555, #2C2C2C);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8), 0 -1px 0 rgba(255, 255, 255, 0.6);
    box-shadow: 2px 2px 0px #aaa;
    font-size: 14px;
    text-align: center;
    padding-left: 0;
}

.btnMenu:hover {
    cursor: pointer;
    box-shadow: 6px 6px 0px #aaa;
}

.calque {
    width: 100%;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-top: 20px;
    height: 50px;
    padding-top: 4px;
    background-color: #17375e;
    color: #c7b446;
    border-top: #666 2px solid;
    border-bottom: #666 2px solid;
    background-image: url("../sources/icones-bg.png");
    background-repeat: no-repeat;
    background-position: 3% center;
}

.type {
    background: #17375e;
    color: #c7b446;
    font-weight: bold;
    width: 100%;
    max-width: 170px;
    margin: 10px;
    border-radius: 10px;
    border: #c7b446 3px solid;
    padding: 5px;
}

.type input {
    width: 10px;
    height: 10px;
}

.type legend {
    font-size: 16px;
    font-weight: bold;
    border: #c7b446 1px solid;
    background-color: #17375e;
}

.Navigation ul a {
    background-color: #c7b446;
    color: #17375e;
    font-weight: bold;
    width: 100%;
    max-width: 150px;
    border-radius: 5px;
    height: 30px;
    padding: 5px;
    cursor: pointer;
}

.Navigation ul {
    margin: 5px;
    padding: 0;
    list-style: none;
}

#Liste_article {
    border: #c7b446 3px solid;
    height: 230px;
    width: 100%;
    max-width: 170px;
    margin: 10px;
    border-radius: 10px;
}

/* Media Queries pour le responsive design */
@media screen and (max-width: 768px) {
    #contenu {
        flex-direction: column;
    }

    #btn {
        position: relative;
        left: 0;
        top: 0;
        margin: 10px auto;
    }

    .btnMenu, .type, .Navigation ul a {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    html, body {
        font-size: 14px;
    }

    #auCentre {
        font-size: 16px;
    }
}
