/** Page liste au père noël **/
body {
    --texte-color: #000;
    --background-color: #fff;
}

body:not(.mobile) #currentnav {
    padding: 4px 0 0 0;
    text-transform: uppercase;
    color: #ffffff;
    font-size: 10px;
    font-weight: bold;
    background-color: #00060B;
    height: 17px;
    width: 970px;
    font-family: Verdana;
    overflow: hidden;
    display: inline-flex;
    white-space: nowrap;
    margin: 0px;
}

.mobile #currentnav {
    background-color: #00060B;
    color: #fff;
}
.mobile #currentnav a, .mobile #currentnav span {
    color: #fff;
}

#main, #header {
    border-right: 1px solid black;
    border-left: 1px solid black;
}

body section#main {
    background-color: var(--background-color);
}

#retour {
    padding: 4px 0;
    text-transform: uppercase;
    font-weight: bold;
    height: 17px;
    width: 970px;
    font-family : 'Roboto', Arial;
    overflow: hidden;
    display: inline-flex;
    white-space: nowrap;
    margin: 0px;
}
#retour a {
    text-decoration: none;
    font-size:20px;
    color: var(--texte-color);
}

#devisdupatron-explication #lien-bizar {
    text-align: center;
}

h1 {
    font-family : 'Roboto', Arial;
    font-size: 4em;
    text-align: center;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

#explication p {
    font-family: 'Roboto';
    font-size: 2.5em;
    padding: 0 15px;
    text-align: justify;
    color: var(--texte-color);
    margin: 15px 0;
    line-height: 1;
}

#devisdupatron-explication #header-explication {
    background-color: #00060B;
}
#devisdupatron-explication #footer-explication {
    background-color: #f5f9fc;
}

#devisdupatron-explication #header-explication-img, 
#devisdupatron-explication #footer-explication-img, 
#header-liste-img, 
#footer-liste-img {
    width: 100%;
}

#devisdupatron-explication #explication {
    background-color: #00060B;
}

#devisdupatron-explication #explication p {
    font-family: 'Muli Light';
    font-size: 2em;
    padding: 0 15px;
    text-align: justify;
    color: #fff;
    margin: 1.5em 0;
    line-height: 1.4;
}

#devisdupatron-explication #explication .all-text {
    padding: 1em 5em;
}

#devisdupatron-explication #explication .first-part{
    padding-top: 1.5em;
    margin-top: 0;
}

#devisdupatron-explication #explication div[id^="fonctionnement-devis"] img {
    width: 55%;
}

#devisdupatron-explication #explication #fonctionnement-devis-1,
#devisdupatron-explication #explication #fonctionnement-devis-3 {
    text-align: start;
}

#devisdupatron-explication #explication #fonctionnement-devis-2 {
    text-align: end;
}

#devisdupatron-explication #explication .last-part {
    margin-bottom: 0;
    text-align: center;
}

#devisdupatron-explication #explication #img-ajout-liste {
    text-align: center;
}
p#resultat-code {
    font-family: 'PTMono';
    font-size: 2em;
    padding: 0 15px;
    text-align: center;
    color: var(--texte-color);
    margin: 15px 0;
    line-height: 1;
}

p#resultat-code span {
    font-size: 1.1em;
}

p#liste-vide,
p#liste-refuse {
    font-family: 'Roboto';
    font-size: 2.5em;
    padding: 0 15px;
    text-align: center;
    color: var(--texte-color);
    margin-top: 15px;
}

p#message {
    font-family: 'Roboto';
    font-size: 3em;
    padding: 0 15px;
    text-align: center;
    margin-top: 10px;
}

.bold-text {
    font-weight: bold;
    color: #fad167;
}

.produit-content {
    width: 100%;
    align-items: center;
}

.infos-produit h2 {
    margin-bottom: 10px;
    font-family: 'PTMono', Arial;
    font-weight: normal;
    font-size: 1.8em;
}

.infos-produit {
    text-align: left;
    margin: 15px 50px;
    border-bottom: 1px solid #f3e8e2;
    padding: 8px 0;
    justify-content: space-between;
    align-items: center;
}

.infos-produit .quantity-buttons {
    display: flex;
    margin: 1em 0;
}

.infos-produit .quantity-buttons .less {
    margin-right: 1em;
    background-color: #ef423b;
    color: white;
    border: none;
    width: 20px;
    height: 20px;
}

.infos-produit .quantity-buttons .more {
    margin-left: 1em;
    background-color: #ef423b;
    color: white;
    border: none;
    width: 20px;
    height: 20px;
}

.texte-cumulable {
    font-family: 'PTMono', Arial!important;
    font-size: 1.3em!important;
    background: #f3e8e2;
    color: #985252;
    padding: 5px;
    border-radius: 5px;
    width: fit-content;
}

.infos-produit.recap {
    margin: 50px 50px 15px 50px;
}

.infos-produit .infos {
    margin-left: 25px;
}

.infos-produit div p {
    font-size: 1.9em;
    font-family: 'Roboto', Arial;
}

.infos-produit .produit-lien {
    text-decoration: none;
    width: 90%;
}

.infos-produit .img-content {
    width: 12%;
    height: fit-content;
}

.infos-produit .img-content img {
    width: 100%;
}

.infos-produit .delete-button {
    width: 10%;
    text-align: end;
}

.infos-produit .supprimer {
    width: 50%;
    height: auto;
}

#button-content,
#button-cancel-content,
#button-ajouter-content {
    text-align: center;
}

#button-content #send, 
#button-content #vider,
#button-ajouter-content #addPanier,
#button-cancel-content #cancel {
    width: 20%;
    height: auto;
}


@media screen and (max-width:500px){
    #header-liste-img,
    #footer-liste-img {
        width: 100%;
    }

    .infos-produit .img-content {
        width: 30%;
    }

    .infos-produit {
        margin: 0 25px;
        flex-direction: column;
    }
}

/** Page mes listes au père noël */
div#table-content {
    text-align: center;
}

div#table-content table {
    margin: 0 auto;
    width: 80%;
    font-size: 14px;
}

div#table-content table td {
    width: calc(100%/3);
}

div#table-content table thead {
    font-family: 'Roboto', Arial;
    font-size: 24px;
}

div#table-content table tbody {
    font-family: 'Roboto', Arial;
    font-size: 24px;
}

div#table-content table tbody tr {
    cursor: pointer;
}

div#table-content table td,
div#table-content table th {
    border-bottom: 1px solid #f3e8e2;
    padding: 5px;
}

p.existe-plus {
    font-size: 14px;
}

p.produit-offert {
    color: green;
}

div.input-container label.radioYear {
	max-width: 50%;
	width: 50%; 
	text-align: center;
	background: transparent;
}

div.input-container label.radioYear:hover {
    background-color: #903e3a;
}

div.input-container label.selected {
	background-color: #7d2622;
}

.portugal:nth-of-type(2n+1) {
    background: rgba(20, 90, 0, 0.3);
    background: linear-gradient(90deg, rgba(0, 150, 0, 0.2) 0%, rgba(0, 150, 0, 0.2) 32.7%, rgba(150, 0, 0, 0.2) 33.3%, rgba(150, 0, 0, 0.2) 100%); 
}
.portugal:nth-of-type(2n+1):hover {
    background: rgba(20, 90, 0, 0.7);
    background: linear-gradient(90deg, rgba(0,150,0,0.6) 0%, rgba(0,150,0,0.6) 32.7%, rgba(150, 0, 0, 0.6) 33.3%, rgba(150, 0, 0, 0.6) 100%); 
}

#wrapper .portugal:nth-of-type(2n) {
    background: rgba(31, 143, 0, 0.3);
    background: linear-gradient(90deg, rgba(0, 200, 0, 0.3) 0%, rgba(0, 200, 0, 0.3) 32.7%, rgba(200, 0, 0, 0.3) 33.3%, rgba(200, 0, 0, 0.3) 100%); 
}
#wrapper .portugal:nth-of-type(2n):hover {
    background: rgba(26,116,0,0.6);
    background: linear-gradient(90deg, rgba(0, 200, 0, 0.7) 0%, rgba(0, 200, 0, 0.7) 32.7%, rgba(200, 0, 0, 0.7) 33.3%, rgba(200, 0, 0, 0.7) 100%); 
}

#div-checkbox {
    align-items: center;
}

#div-checkbox input[type="checkbox"]:checked + label {
    background: none!important;
}

#div-checkbox label {
    padding: 0;
}

@media screen and (max-width:970px){
    #button-content #send, 
    #button-content #vider, 
    #button-cancel-content #cancel {
        width: 40%;
        padding-top: 2em;
    }

    #retour {
        margin-bottom: 16px;
    }

    #devisdupatron #liste h1 {
        font-size: 2.5em;
    }

    #devisdupatron div#table-content table thead,
    #devisdupatron div#table-content table tbody,
    #devisdupatron #explication p {
        font-size: 16px;
    }

    #devisdupatron div#table-content,
    #devisdupatron p#liste-vide {
        margin-bottom: 16px;
    }

    #devisdupatron #liste p {
        font-size: 1.5em;
    }

    #devisdupatron #button-ajouter-content #addPanier {
        width: 60%;
    }

    #devisdupatron-explication #explication p.first-part {
        padding: 0 1em 0 0;
    }

    .infos-produit .img-content {
        width: 50%;
    }

    .infos-produit {
        display: flex;
        flex-direction: row;
    }

    .infos-produit .supprimer {
        width: 100%;
    }

    .produit-content {
        width: 85%;
    }

    #devisdupatron-explication #explication .all-text {
        padding: 1em;
    }

    #devisdupatron-explication #explication p {
        font-size: 1.4em;
    }

    #devisdupatron-explication #lien-bizar img{
        width: 100%;
    }

    #devisdupatron-explication #explication #fonctionnement-devis-1,
    #devisdupatron-explication #explication #fonctionnement-devis-2,
    #devisdupatron-explication #explication #fonctionnement-devis-3 {
        text-align: center;
        width: 100%;
    }

    #devisdupatron-explication #explication #fonctionnement-devis-1 img,
    #devisdupatron-explication #explication #fonctionnement-devis-2 img,
    #devisdupatron-explication #explication #fonctionnement-devis-3 img {
        width: 100%;
    }

}
