html {
    box-sizing: border-box;
}

body {
    font-size: 16px;
}

hr {
    border:solid 0.1px black;
    width: 100%;
    color: black;
    height: 1px;
}

h1 {
    font-family: "Poppins", Arial, sans-serif;
    font-size: 2.5em;
}

h4 {
    font-family: "Poppins", Arial, sans-serif;
    font-size: 1.0em;
}

p, span, li, a {
    font-family: "Poppins", Arial, sans-serif;
}

footer {
    background-color: #331a00;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

footer p {
    color: white;
}

#resultat {
    width: 100%;
}

.succes {
    color: #5cb85c;
}

.echec {
    color: #d9534f;
}

.bg-topper {
    background-color: #331a00 !important; 
}

a.bg-topper:hover, a.bg-topper:focus,
button.bg-topper:hover,
button.bg-topper:focus {
  background-color: #1d2124 !important; 
}

.pt-1, .py-1 {
    padding-top: 0.25rem !important; 
}

.pr-1, .px-1 {
    padding-right: 0.25rem !important; 
}

.pb-1, .py-1 {
    padding-bottom: 0.25rem !important; 
}

.pl-1, .px-1 {
    padding-left: 0.25rem !important; 
}

.pr-4, .px-4 {
    padding-right: 1.5rem !important; 
}

.d-block {
    display: block !important; 
}

.no-gutters {
    margin-right: 0;
    margin-left: 0; }
    .no-gutters > .col,
    .no-gutters > [class*="col-"] {
        padding-right: 0;
        padding-left: 0; 
}

.d-flex {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important; 
}

.align-items-start {
    -webkit-box-align: start !important;
    -ms-flex-align: start !important;
    align-items: flex-start !important; 
}

.align-items-center {
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important; 
}

.topper {
    font-size: 11px;
    width: 100%;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px; 
}
@media (max-width: 767.98px) {
    .topper {
        margin-bottom: 10px; 
    } 
}
.topper .icon span {
    color: #fff; 
}
.topper .text {
    width: calc(100% - 30px);
    color: white; 
}

.justify-content-center {
    margin-right: 20px;
    margin-left: 20px;
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important; 
}

.hero-wrap {
    width: 100%;
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url('https://wallpapersite.com/images/pages/pic_w/2488.jpg');
    background-color: #050300;
}
.hero-wrap .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    opacity: .6;
    width: 50%;
    background: #82ae46; 
}
.hero-wrap .slider-text {
    color: #fff;
    position: relative; 
}
.hero-wrap .slider-text .breadcrumbs {
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 3px;
    margin-bottom: 0;
    z-index: 99;
    font-weight: 300; 
}
.hero-wrap .slider-text .bread {
    font-weight: 800;
    font-size: 40px;
    font-family: "Poppins", Arial, sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase; 
}
.hero-wrap .slider-text .btn-primary {
    border: 1px solid rgba(255, 255, 255, 0.4);
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    border-radius: 30px; 
}
.hero-wrap .slider-text .btn-primary:hover, .hero-wrap .slider-text .btn-primary:focus {
    background: #fff !important;
    color: #000000; 
}
.hero-wrap.hero-bread {
    padding: 10em 0; 
}

.footer {
    font-size: 14px;
    padding: 7em 0;
    color: #000000; 
}
.footer .footer-widget h2 {
    font-weight: normal;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 500; 
}

.ftco-section {
    padding: 6em 0;
    position: relative; 
}

.categorie-produit {
    list-style:none;
    margin:0;
    padding:0;
    text-align:center;
    margin-top: 40px;
    margin-bottom: 50px;
}
.categorie-produit li {
    display:inline;
}
.categorie-produit a {
    display:inline-block;
    padding:10px;
    font-weight: 400;
    font-size: 20px;
    color: #868e96;
    text-decoration: none;
}
.categorie-produit a:hover {
    color: white;
    background-color: #331a00;
}
.categorie-produit a.active {
    color: white;
    background-color: #331a00;
}

.card:hover {
    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.6);
}
.card h1 {
    font-size: 1em;
    margin: 10px;
}
.price {
    color: grey;
    font-size: 22px;
}
.card button {
    border: none;
    outline: 0;
    padding: 12px;
    color: white;
    background-color: #000;
    text-align: center;
    cursor: pointer;
    width: 100%;
    font-size: 1.2em;
}
.card button:hover {
    opacity: 0.7;
}

.zone-infos-produit {
    padding: auto;
}

.zone-infos-produit h1 {
    font-size: 1.5em;
    margin-top: 60px;
}

.zone-infos-produit p {
    margin-top: 40px;
}

.zone-infos-produit span {
    margin-top: 20px;
    font-size: 1.25em;
    display: block;
}

img.image-produit {
    margin: auto;
    margin-top: 60px;
    margin-bottom: 60px;
    height: 500px;
}

#zone-quantite {
    padding: auto;
}

#zone-quantite button {
    margin-top: 20px;
    margin-left: 30px;
    margin-bottom: 10px;
}

#select-quantite {
    margin-top: 20px;
    margin-left: 20px;
    margin-bottom: 10px;
    width: 100px;
}

#label-select-quantite {
    margin-top: 22px;
    margin-bottom: 10px;
}

#message-quantite {
    margin-bottom: 30px;
}

#zone-infos-panier {
    padding-top: 40px;
}

#bouton-commande {
    margin-left: 40px;
}

.infos-produit {
    margin-top: 20px;
    padding: 20px;
    min-width: 600px;
    border-style: solid;
    border-color: rgb(102, 102, 102);
    border-width: 1px;
    border-radius: 3px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.infos-produit:hover {
    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.6);
}

.infos-produit .card-product {
    float: left;
    border-style: none;
    border-radius: none;
    box-shadow: none;
    max-width: 250px;
    margin: auto;
    margin-right: 30px;
    margin-bottom: 30px;
    text-align: center;
}

a:not([href]):not([tabindex]) {
    color: blue;
}

a:not([href]):not([tabindex]):focus, 
a:not([href]):not([tabindex]):hover {
    color: blue;
    text-decoration: underline;
    cursor: pointer;
} 

.img-panier {
    cursor: pointer;
}

.zone-vide {
    padding-top: 50px;
    text-align: center;
}

.mesage-vide {
    text-align: center;
    margin: auto;
}

#zone-infos-commande {
    padding-top: 40px;
}

.produit-dans-commande {
    margin-top: 20px;
}

.produit-dans-commande p {
    font-size: 12px;
    margin-bottom: 0;
}

#zone-prix {
    margin: 30px 0 30px 0;
}

#zone-prix p {
    margin-bottom: 0;
    font-size: 1.25em;
}

#zone-mode-paiement {
    margin-top: 40px;
    margin-bottom: 30px;
}

#zone-mode-paiement h1 {
    font-size: 1.75em;
    margin-bottom: 10px;
}

.img-mode-paiement {
    margin-top: 20px;
    width: 100%;
    height: 120px;
    cursor: pointer;
    border-style: solid;
    border-color: rgb(51, 51, 51);
    border-width: 2px;
    border-radius: 3px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.img-mode-paiement:hover {
    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.6);
}

.bouton-vers-categorie {
    height: 50px;
    display: inline-block;
    margin: 40px 0 30px 0;
    padding: 15px 20px 10px 20px;
    cursor: pointer;
    border-style: solid;
    border-color: rgb(83, 83, 83);
    border-width: 1px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    z-index: 1000;
}
.bouton-vers-categorie:hover {
    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.4);
}

.titre-liste-util {
    margin: 30px 0 20px 0;
}

table { 
    width: 100%;
    border-collapse: collapse;
}
tr:nth-of-type(odd) { 
    background: #eee; 
}
th { 
    background: #333; 
    color: white; 
    font-weight: bold; 
}
td, th { 
    padding: 6px; 
    border: 1px solid #ccc; 
    text-align: left; 
}

@media
only screen and (min-width: 800px) and (max-width: 1000px) {

    table {
        font-size: 0.8em;
    }
}

@media 
only screen and (max-width: 799px)  {
	table, thead, tbody, th, td, tr { 
        display: block; 
        font-size: 0.9em;
    }
    
	thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	tr { border: 1px solid #ccc; }
	
	td { 
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
        padding-left: 40%;
	}
	
	td:before { 
		position: absolute;
		top: 2px;
		left: 2px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
	td:nth-of-type(1):before { content: "ID"; }
    td:nth-of-type(2):before { content: "Nom d'utilisateur"; }
    td:nth-of-type(3):before { content: "Courriel"; }
    td:nth-of-type(4):before { content: "Nom"; }
    td:nth-of-type(5):before { content: "Prénom"; }
    td:nth-of-type(6):before { content: "Adresse"; }
    td:nth-of-type(7):before { content: "Code postal"; }
    td:nth-of-type(8):before { content: "Ville"; }
    td:nth-of-type(9):before { content: "Téléphone"; }
	td:nth-of-type(10):before { content: "Date de création"; }
	td:nth-of-type(11):before { content: "Administrateur"; }
	td:nth-of-type(12):before { content: "Actif"; }
	td:nth-of-type(13):before { content: ""; }
}

.infos-commande {
    margin: 30px 0 40px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.gallerie {
    display: grid;
    grid-gap: 2em;
    grid-auto-rows: 380px;
    grid-area: gallerie;
}
.gallerie-accueil {
    display: grid;
    grid-gap: 2em;
    grid-auto-rows: 380px;
}
.filtre {
    grid-area: filtre;
}

.card-product .img-wrap {
    border-radius: 3px 3px 0 0;
    overflow: hidden;
    position: relative;
    height: 220px;
    text-align: center;
}
.card-product .img-wrap img {
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
}
.card-product .info-wrap {
    overflow: hidden;
    padding: 15px;
    border-top: 1px solid #eee;
}
.card-product .bottom-wrap {
    padding: 15px;
    border-top: 1px solid #eee;
}
.card-product {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    text-align: center;
    cursor: pointer;
    font-size: 0.9em;
    min-width: 200px;
}

.conteneur-gallerie {
    display: grid;
    grid-template-areas:
        'filtre gallerie';
    grid-gap: 10px;
}

@media screen and (min-width: 400px) {
    #paypal-button-container {
        width: 250px;
    }
}

@media screen and (min-width: 1000px) {
    .gallerie-accueil {
        grid-template-columns: repeat(3, 30%);
    }
}
@media screen and (min-width: 500px) and (max-width: 999px) {
    .gallerie-accueil {
        grid-template-columns: repeat(2, 40%);
    }
}

@media screen and (min-width: 1600px) {
    .gallerie {
        grid-template-columns: repeat(5, 1fr);
        margin-right: 60px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1599px) {
    .gallerie {
        grid-template-columns: repeat(4, 1fr);
        margin-right: 60px;
    }
}

@media screen and (min-width: 1000px) and (max-width: 1199px) {
    .gallerie {
        grid-template-columns: repeat(3, 1fr);
        margin-right: 60px;
    }
}

@media screen and (min-width: 750px) and (max-width: 999px) {
    .gallerie {
        grid-template-columns: repeat(2, 1fr);
        margin-right: 50px;
    }
}

@media screen and (min-width: 500px) and (max-width: 749px) {
    .gallerie {
        grid-template-columns: repeat(2, 1fr);
        margin: 0 50px 0 50px;
    }

    .conteneur-gallerie {
        display: grid;
        grid-template-areas:
            'filtre'
            'gallerie';
        grid-gap: 10px;
    }

    .card-product {
        font-size: 0.8em;
    }

    .card-product .img-wrap {
        height: 200px;
    }

    .categorie-produit a {
        font-size: 1em;
    }
}

@media screen and (max-width: 499px) {
    .gallerie {
        display: block;
        text-align: center;
    }

    .conteneur-gallerie {
        display: grid;
        grid-template-areas:
            'filtre'
            'gallerie';
        grid-gap: 10px;
    }
    .filtre {
        margin: 0 auto;
    }

    .card-product {
        margin: 0 auto;
        margin-bottom: 30px;
        width: 60%;
        font-size: 0.8em;
    }

    .card-product .img-wrap {
        height: 200px;
    }

    .categorie-produit a {
        font-size: 1em;
    }

    .bouton-vers-categorie h4 {
        font-size: 0.7em;
    }

    .card button {
        font-size: 0.8em;
    }

    .desc {
        display: none;
    }
}

.presentation {
    padding-top: 50px;
    padding-bottom: 50px;
}

.filtre-historique {
    margin-bottom: 30px;
}

.filtre-produits {
    margin: 0 40px 30px 40px;
}

.libelle {
    font-size: 1.2em;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
}

.approuvee {
    color: white;
    background-color: green;
}

.en-attente {
    color: black;
    background-color: #aeafb0;
}

.refusee {
    color: white;
    background-color: red;
}

.zone-fonctions {
    font-size: 0.8em;
}

.zone-actions-commande {
    display: inline;
}

.btnApprouver {
    margin-right: 10px;
}

.resultat-paiement {
    padding: 40px;
}

.zone-erreur-produit {
    padding: 60px;
}