@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Outfit&display=swap');

/* CSS Document */
html,
body {
    margin: 0;
    padding: 0;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    min-width: 100%;
    min-height: 100%;
}

a {
    color: #4d4933;
    text-decoration: underline;
}

a:hover {
    color: #4d4933;
    text-decoration: none;
}

a img {
    max-width: 100%;
    border: none;
}

/* HAUT DE PAGE */

#header {
    display: flex;
    flex-direction: column;
    width: 976px;
    margin: auto;
}

#header #top-bottom {
    width: 976px;
    height: 38px;
    background-image: url(../images/top-bottom.png);
    background-repeat: no-repeat;
    background-position: left top;
}


label,
#toggle {
    display: none;
}


/*
label, #menu_checkbox {
    display: none;
}
*/

#header #menu-general {
    position: absolute;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 10;
    top: 0;
    width: 976px;
    margin: auto;
    margin-top: 128px;
}

#header #menu-general a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 50px;
    float: left;
    font-family: "Times New Roman", Times, serif;
    font-size: 18px;
    color: #FFFFFF;
    text-decoration: none;
}

#header #menu-general a:hover {
    display: block;
    width: 110px;
    height: 62px;
    float: left;
    background-image: url(../images/bg-menu-haut.png);
    font-family: "Times New Roman", Times, serif;
    font-size: 18px;
    color: #4d4933;
    text-decoration: none;
    padding-top: 38px;
    padding-left: 20px;
}

#header #menu-general a.selected {
    display: block;
    width: 110px;
    height: 62px;
    float: left;
    background-image: url(../images/bg-menu-haut.png);
    font-family: "Times New Roman", Times, serif;
    font-size: 18px;
    color: #4d4933;
    text-decoration: none;
    padding-top: 38px;
    padding-left: 20px;
}

#header #content {
    position: relative;
    background-image: url(../images/bg-content.png);
    padding: 0 20px;
}

#header #content > img {
    max-width: 100%;
    margin-bottom: 10px;
}

#header #content .decouvrez_vins_selectionnes {
    position: absolute;
    right: 50px;
    top: 40px;
}

#decouvrez_vins {
    display: none;
}

/* MILIEU DE PAGE */

#general {
    background-image: url(../images/bg-content.png);
    position: relative;
    width: 976px;
    margin: auto;
}

#general #contenu {
    position: relative;
    margin: auto;
    padding-bottom: 15px;
    padding-left: 20px;
    padding-right: 20px;
}

#sous-menu-content a.selected {
    display: block;
    width: 101px;
    height: 25px;
    font-family: "Times New Roman", Times, serif;
    font-size: 14px;
    color: #5c573d;
    text-decoration: none;
    background-image: url(../images/bg-sous-menu-hover.jpg);
    background-repeat: no-repeat;
    background-position: left bottom;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #f8f8f8;
    padding-left: 30px;
    padding-top: 17px;

}

#sous-menu-content a {
    display: block;
    width: 101px;
    height: 25px;
    font-family: "Times New Roman", Times, serif;
    font-size: 14px;
    color: #d6c5c3;
    text-decoration: none;
    background-image: url(../images/bg-sous-menu.jpg);
    background-repeat: repeat-x;
    background-position: left bottom;
    padding-left: 30px;
    padding-top: 17px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #cccccc;
}

#sous-menu-content a:hover {
    background-image: url(../images/bg-sous-menu-hover.jpg);
    background-repeat: no-repeat;
    background-position: left bottom;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #f8f8f8;
    color: #5c573d;
}

.espacement {
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #cccccc;
}

#pictos {
    text-align: right;
    margin-right: 5px;
}

#pictos a {
    background-image: none;
    float: right;
    width: 29px;
    height: 29px;
    margin: 0;
    padding: 0;
    border: none;
}

#pictos a:hover {
    background-image: none;
    float: right;
    width: 29px;
    height: 29px;
    margin: 0;
    padding: 0;
    border: none;
}

#fond-contenu {
    border: 1px solid #ccc;
    background-color: #f8f8f8;
    background-image: url(../images/bg-fond-contenu.jpg);
    background-repeat: repeat-x;
    background-position: left bottom;
    padding: 15px 15px 10px 15px;
    font-size: 12px;
    color: #504b2f;
}

#texte-contenu2 p {
    padding-bottom: 10px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #504b2f;
    line-height: 15pt;
}

.contour-marron {
    border: 1px solid #8a8468;
}

/* BAS DE PAGE */

#footer {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 965px;
    height: 76px;
    background-image: url(../images/footer.png);
    padding-top: 12px;
    padding-left: 15px;
    margin: auto;
    font-size: 9px;
    color: #FFFFFF;
}

#footer #footer-contenu {
    width: 700px;
    float: left;
}

#footer #adresse-footer {
    font-size: 9px;
    color: #FFFFFF;
    margin-bottom: 20px;
    margin-left: 10px;
}

#footer #footer-links p {
    margin-left: 10px;
}

#footer #footer-links a {
    font-size: 10px;
    font-weight: bold;
    color: #e2e0d7;
    text-decoration: none;
}

#footer #footer-links a:hover {
    text-decoration: underline;
}

#footer #footer-links a.kapsicum-footer {
    margin-right: 50px;
}

#footer #footer-links a.kapsicum-footer:hover {
    text-decoration: underline;
}

#facebook-footer img {
    display: none;
}


/*******************************

     CONFIG POUR RESPONSIVE

*******************************/

@media all and (max-width: 991.98px) {

    body {
        background-size: 15.9%;
    }

    #header {
        width: 100%;
    }

    #header #top-bottom {
        background-image: none;
        width: 100%;
    }

    #header #menu-general {
        width: 100%;
        margin-top: 12.2%;
    }

    #header #menu-general a.selected {
        background-image: url(../images/bg-menu-haut.png);
        background-repeat: no-repeat;
    }

    #header #content {
        padding: 0 20px 0 20px;
        background-size: 100%;
    }

    #header #content .decouvrez_vins_selectionnes {
        width: 28%;
        right: 6.5%;
        top: 21%;
    }

    #general {
        width: 100%;
        background-size: 100%;
    }

    #footer {
        width: 100%;
        background-repeat: no-repeat;
        background-size: 100%;
        padding-left: 0px;
    }

    #footer #footer-contenu {
        width: 100%;
    }

    #footer #adresse-footer {
        margin-left: 20px;
    }

    #footer #footer-links p {
        margin-left: 20px;
    }

    #footer #footer-links a.kapsicum-footer {
        margin-right: 20px;
    }

    #footer #footer-links a {
        font-size: 9px;
    }

    #footer #footer-liens {
        position: absolute;
        width: 100%;
        left: 0;
    }

    #warning {
        display: flex;
        justify-content: center;
        padding-bottom: 10px;
    }
}

@media all and (max-width: 767.98px) {

    #top-bottom {
        display: none;
    }

    #header nav {
        background: #4e130f;
        width: 100%;
        height: 57px;
    }

    #header nav #menu-general {
        display: none;
        flex-direction: column;
        top: 9%;
        height: 80.2%;
        background: #4e130f;
    }

    #header nav #menu-general a {
        width: 100%;
        height: 130px;
        color: #d6c5c3;
        border: darkgrey 1px solid;
    }

    #header nav #menu-general a:hover {
        width: 100%;
        height: 130px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-image: none;
        padding-top: 0px;
        padding-left: 0px;
        font-weight: bold;
        color: white;
    }

    label {
        width: 160px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 40px;
        color: #e2e0d7;
        cursor: pointer;
    }
    
    #menu-burger-texte {
        font-size: 36px;
        padding-top: 4px;
        padding-left: 5px;
    }

    #toggle:checked + #menu-general {
        display: flex;
    }

    /***** Menu burger dynamique non-fonctionnel *****/
    /*
    label {
        margin: 0 auto;
        right: 0;
        left: 0;
        display: block;
        width: 60px;
        height: 30px;
        cursor: pointer;
    }

    label:before {
        top: 0px;
        transition: 1.2s;
    }

    label #menu-burger {
        position: relative;
        margin: 10px auto;
        width: 50px;
        height: 5px;
        background-color: #e2e0d7;
        margin-bottom: 12px;
        transition: 0.3s ease transform, 0.3s ease top, 0.3s ease width,
            0.3s ease right;
        border-radius: 2px;
    }

    label #menu-burger:first-child {
        transform-origin: 0;
    }

    label #menu-burger:last-child {
        margin-bottom: 0;
        transform-origin: 60px;
    }

    label #menu-burger:nth-child(2) {
        right: 0;
        width: 50px;
    }

    #menu_checkbox:checked + label #menu-burger:first-child {
        top: -2px;
        left: 5px;
        width: 62px;
        transform: rotateZ(39deg);
    }

    #menu_checkbox:checked + label #menu-burger:last-child {
        top: 2px;
        left: -9px;
        width: 62px;
        transform: rotateZ(39deg);
    }

    #menu_checkbox:checked + label #menu-burger:nth-child(2) {
        width: 62px;
        top: 0;
        right: 2px;
        transform: rotateZ(-39deg);
    }
    
    #menu_checkbox:checked + #header nav #menu-general {
        display: flex;
    }

    #header #menu-general a {
        box-sizing: border-box;
        padding: 7px 5px;
        height: auto;
        margin: 0 !important;
        float: none;
    }
    */

    #header #menu-general a.selected {
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: 22px;
        background: none;
        color: white;
        float: none;
        width: 100%;
        height: 130px;
        padding-top: 0px;
        padding-left: 0px;
        margin-left: 0px;
        border: darkgrey 1px solid;
    }

    #header #content {
        position: relative;
        background-image: none;
        padding: 0;
    }

    #header #content > img {
        margin: 0;
    }
    
    #header #content .decouvrez_vins_selectionnes {
        display: none;
    }

    #header #decouvrez_vins {        
        display: block;
    }

    #decouvrez_vins img {
        width: 100%;
    }

    #general #contenu {
        background-color: #e8e8e8;
        padding-bottom: 0px;
        padding-left: 0px;
        padding-right: 0px;
    }

    #contenu table {
        max-width: 100%;
    }

    table#sous-menu-content tr {
        display: flex;
        flex-direction: row;
    }

    table#sous-menu-content td {
        width: 100%;
        padding: 5px 7px;
        background: #4e130f;
        height: auto;
        border: darkgray 1px solid;
    }

    table#sous-menu-content td a {
        width: 100%;
        padding: 8px 0px;
        height: auto !important;
        background: none;
        border: 0;
        text-align: center;
        font-size: 16px;
    }

    table#sous-menu-content td a.selected,
    table#sous-menu-content td a:hover {
        width: 100%;
        font-weight: bold;
        border: 0;
        padding: 8px 4px;
        font-size: 18px;
        background: none;
        text-align: center;
        color: white;
    }

    table#sous-menu-content td.espacement {
        display: none;
    }

    #fond-contenu {
        width: 100% !important;
        box-sizing: border-box;
    }

    #texte-contenu2 p {
        padding-bottom: 0px;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 14px;
        color: #504b2f;
        line-height: 18pt;
    }

    .contour-marron {
        width: 100%;
    }

    #footer {
        background: #4e130f;
        width: 100%;
        box-sizing: border-box;
        background-size: contain;
        height: 43px;
        padding: 5px 15px;
        margin: 0px !important;
    }
    
    #footer a {
        color: white;
    }

    #footer #adresse-footer {
        font-size: 10px;
        margin-left: 0px;
    }

    #facebook-footer img {
        display: inline;
        margin-left: 100px;
    }

    #footer-liens {
        display: none;
    }
}

@media all and (max-width: 575.98px) {

    body {
        background-image: none;
    }

    #header {
        background: #4e130f;
        width: 100%;
    }

    #header nav {
        height: 40px;
    }

    label {
        width: 120px;
        height: 35px;
        font-size: 32px;
    }
    
    #menu-burger-texte {
        font-size: 23px;
        padding-top: 5px;
    }

    #header nav #menu-general {
        width: 100%;
        height: 86%;
        top: 6.5%;
    }

    #header #menu-general a.selected {
        width: 100%;
        font-size: 20px;
    }

    #header nav #menu-general a {
        width: 100%;
        font-size: 16px;
    }

    #header #content {
        width: 100%;
    }

    #header #content .decouvrez_vins_selectionnes {
        right: 6.5%;
        top: 23%;
    }

    #general {
        width: 100%;
    }

    table#sous-menu-content tr {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: column;
    }

    table#sous-menu-content td {
        padding: 5px 0px;
        border: darkgray 1px solid;
    }

    table#sous-menu-content td a.selected,
    table#sous-menu-content td a:hover {
        font-size: 18px;
        padding: 5px 0;
    }

    table#sous-menu-content td a {
        font-size: 14px;
    }

    #fond-contenu {
        background-image: none;
        padding: 5px 10px 5px 10px;
    }

    #texte-contenu2 p {
        font-size: 12px;
        line-height: 17pt;
    }

    .contour-marron {
        width: 100%;
    }

    tbody img {
        width: 100%;
    }

    #footer {
        width: 100%;
        padding: 0px 0px;
        background-image: none;
        font-size: 8px;
        height: 60px;
    }

    #footer #footer-contenu {
        width: 100%;
    }

    #footer #adresse-footer {
        font-size: 9px;
        line-height: 12pt;
        padding-top: 10px;
        margin-bottom: 0;
        margin-left: 10px;
        text-decoration: none;
    }

    #facebook-footer img {
        margin-top: 2px;
    }

    #footer #footer-links p {
        margin-left: 10px;
    }

    #footer #footer-links a.kapsicum-footer {
        display: flex;
        padding-top: 5px;
        margin: 0 0 5px 0;
    }

    #footer #footer-links a {
        font-size: 11px;
    }

    #warning {
        display: flex;
        justify-content: center;
        padding-bottom: 10px;
    }
}

@media all and (max-width: 450.98px) {

    #header nav #menu-general {
        top: 8%;
    }
}

@media all and (max-width: 325.98px) {

    #header nav #menu-general {
        top: 5.5%;
    }
    
    label {
        width: 120px;
        font-size: 26px;
    }
    
    #menu-burger-texte {
        font-size: 22px;
        padding-top: 3px;
    }

    table#sous-menu-content td {
        padding: 4px 0px;
    }

    table#sous-menu-content td a.selected,
    table#sous-menu-content td a:hover {
        font-size: 16px;
        padding: 4px 0;
    }

    table#sous-menu-content td a {
        font-size: 12px;
        padding: 4px 0;
    }

    #facebook-footer img {
        display: flex;
        margin-top: 20px;
        margin-left: 50px;
    }
}
