nav{
    border-bottom: 5px solid #DC4B3E;
    background: #FFF;
    color: #333;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    line-height: normal;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    height: 100px;
}

ul > li > a.ico{
    font-size: 20px!important;
}
ul{
    gap: 20px;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show{

    color: #DC4B3E;
}

body{
    margin-top: 100px;
    background-color: #F9F9F9;
}

.header{
    height: 500px;
    background: linear-gradient(180deg, #DC4B3E 0%, #DC8A3E 100%);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    flex: 1;
}
.header-image {
    /*max-width: 500px; !* Assurez-vous que l'image ne dépasse pas la largeur de son conteneur *!*/
    /*height: auto; !* Garantit que l'aspect ratio de l'image est préservé *!*/
    /*margin: 80px 200px 80px 80px;*/
    max-width: 750px; /* Assurez-vous que l'image ne dépasse pas la largeur de son conteneur */
    height: auto; /* Garantit que l'aspect ratio de l'image est préservé */
    margin: 0px 180px 20px 120px;
    border-radius: 5px;
}
.header-catalogue{
    height: 300px;
}

.header-content{
    display: flex;
    flex-direction: row;
    padding:  40px  0  0 150px;
    color: #F5F5F5!important;
    font-size: 40px;
    font-weight: bold;
    justify-content: space-between
}
.header-content span{
    color: #333;
}

.header-left p {
    position: relative;
    left: -200%; /* Déplace les paragraphes en dehors de l'écran à gauche */
    animation: arriveDeLaGauche 1s ease-out forwards; /* Utilise une animation de 1 seconde avec une accélération et conserve la position finale */
}

.header-left a {
    position: relative;
    left: -200%; /* Déplace le lien en dehors de l'écran à gauche */
    animation: arriveDeLaGauche 1s ease-out forwards 0.5s; /* Décale l'animation du lien de 0.5 secondes par rapport aux paragraphes */
}

@keyframes arriveDeLaGauche {
    to {
        left: 0; /* Déplace les éléments à leur position finale (0px à gauche) */
    }
}
a.btn{
    transition-duration: 0.2s;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
    border: 2px solid transparent;
}
a.btn-primary:hover{
    /*box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.25);*/
    /*cursor: pointer;*/
    background-color: transparent!important;
    border: 2px solid #DC4B3E;
    color: #DC4B3E;
}

a.btn-secondary:hover{
    /*box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.25);*/
    /*cursor: pointer;*/
    background-color: transparent!important;
    border: 2px solid #333;
    color: #333;
}

button[name="submit"] {
    border: 2px solid #DC4B3E;
}

button[name="submit"]:hover {
    border: 2px solid #DC4B3E;
    background-color: transparent!important;
    color: #DC4B3E;
}
.btn-header{
    margin-top: 50px;
    border-radius: 5px;
    background: #F5F5F5;
    width: 400px;
    height: 50px;
    color: #DC4B3E;
    font-weight: bold;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    /*flex-shrink: 0;*/
    transition-duration: 0.3s;
}

.btn-header:hover{
    border: 2px solid white;
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.25);
}

.competence{
    flex-direction: row;
    display: flex;
    justify-content: space-between;
    margin: 60px 0 60px 0;
}

.compétence-card{
    width: 250px;
    height: 120px;
    border-radius: 5px;
    border-bottom: 5px solid #DC4B3E;
    background: #FFF;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    font-weight: bold;
    color: #333;

}

.content{
    margin: 40px 100px 0 100px;
}

.content-boxed{
    /*.infoproduit, .cart, .compte,*/
    margin-top: 150px;
    background-color: white;
    flex-direction: row;
    display: flex;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.content-bg{
    background-color: white;
    border-radius: 5px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    padding: 20px;
}

.nav-tabs .nav-link  {
    background-color: white;
    border-radius: 5px 5px 0px 0px;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
    /*padding: 20px;*/
    text-decoration: none;
    color: #DC4B3E!important;
}
.specproduit{
    justify-content: space-between;
    background-color: white;
    flex-direction: row;
    display: flex;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    margin-bottom: 50px;
}

div.description{
    width: 500px;
}

.infoproduit img{
    /*width: 500px;*/
}

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

.btn-primary{
    color: #f5f5f5;
    font-weight: bold;
    background-color: #DC4B3E!important;
    border: none;
}

.btn-secondary{
    color: #f5f5f5;
    font-weight: bold;
    background-color: #333!important;
    border: none;
    min-width: 200px;
}
.btn-secondary .petit{
    min-width: 100px;
}

.categories-buttons{
    margin-bottom: 20px;
}
.petit{
    min-width:50px!important;
}

.login-content{
    background: #FFF;
    padding: 40px;
    border-radius: 5px;
    margin-top: 50px;
}

/*.produit-card {*/
/*    background-color: white;*/
/*    width: 200px;*/
/*    height: 340px!important;*/
/*    border-radius: 5px;*/
/*    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);*/
/*    margin-bottom: 40px;*/
/*    transition-duration: 0.2s;*/
/*}*/
.produit-card:hover{
    box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.produit-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.produit-details {
    background-color: white;
    padding: 15px;
    border-radius: 5px;
}

.produit-details h2 {
    color: #333;
    font-size: 15px;
    font-weight: bold;
}

.produit-details p {
    color: #333;
    font-size: 15px;
    font-weight: bold;
}

.prix {
    color: #DC4B3E!important;
    font-size: 15px;
    font-weight: bold;
}

.orange{
    color: #DC4B3E!important;
}

/*.produit-list{*/
/*    flex-direction: row;*/
/*    justify-content: space-between;*/
/*    flex-wrap: wrap;*/
/*}*/
/* Flexbox container for produit list */
.produit-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px; /* Ajout d'un espace entre les cartes */
    margin-top: 20px; /* Un peu d'espace en haut */
}

/* Style for each produit card */
.produit-card {
    background-color: white;
    width: 220px; /* Légèrement plus large pour plus d'espace */
    height: auto; /* Retire la hauteur fixe */
    border-radius: 8px; /* Un peu plus de bordure arrondie */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15); /* Ombre plus douce */
    margin-bottom: 20px;
    transition: transform 0.2s, box-shadow 0.2s; /* Animation sur hover */
    padding: 5px; /* Ajoute du padding pour l'intérieur de la carte */
}

.produit-card:hover {
    transform: translateY(-5px); /* Légère élévation au hover */
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.25); /* Ombre plus prononcée */
}
.filter{
    /*margin-right: 40px;*/
    /*min-width: 200px;*/
}

div.multivendeur{
    flex: 1;
    padding: 10px;
    /*width: 100%;*/
    background-color: #F5F5F5;
    overflow: auto;
    max-height: 250px;
    border-radius: 5px;
}
div.mini-multivendeur{
    padding: 2px;
    margin: 2px;
    max-height: 150px!important;
}

.espace{
    margin-top: 5px;
}

.scrr{
    flex: 1;
    padding: 10px;
    /*width: 100%;*/
    background-color: #F5F5F5;
    overflow: auto;
    max-height: 250px;
    border-radius: 5px;
}

.commande-recap{
    flex: 1;
    padding: 10px;
    /*width: 100%;*/
    background-color: #F5F5F5;
    overflow: auto;
    max-height: 360px;
    border-radius: 5px;
}


.cadre{
    background-color: #F5F5F5;
    padding: 10px;
    border-radius: 5px;
}

div.revendeur{
    display: flex;
    justify-content: space-between;
    background-color: white;
    margin: 10px;
    padding: 10px;
    text-align: center;
    horiz-align: center;
    min-height: 70px;
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
}
.hidden {
    display: none;
    width: 0;
}
div.mini-revendeur{
    padding: 5px!important;
    margin: 5px!important;
    min-height: 0;

}

/*div.revendeur img{*/
/*    width: 50px;*/
/*}*/
a{
    text-decoration: none;
}
h2{
    font-weight: bold;
    color: #333;
}
h3{
    font-weight: bold;
    color: #DC4B3E!important;
    font-size: 25px;
}

table, thead, tbody, tr, th, td{
    background-color: #f5f5f5!important;
}

table.compare td, table.compare th{
    border-left-width: var(--bs-border-width);
    border-bottom-width: 0;
    /*border-left: 2px solid #DC4B3E;*/
    /*border-left: 1px solid #333;*/
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

a.mini{
    padding: 0!important;
    margin: 0!important;
    min-width:40px!important;
}

a.checked{
    background-color: transparent!important;
    border: 2px solid #333;
    color: #333;
}
th, b{
    color: #333;
}

/*td{*/
/*    height: 80px*/
/*}*/

iframe.map{
    border-radius: 5px;
}



/*!* Style de base pour tous les champs du formulaire *!*/
/*.form-control {*/
/*    width: 100%;*/
/*    padding: 8px;*/
/*    margin-bottom: 10px;*/
/*    box-sizing: border-box;*/
/*}*/

/*!* Style spécifique pour le champ de message *!*/
/*.form-control-textarea {*/
/*    resize: vertical; !* Permet à l'utilisateur de redimensionner verticalement le champ textarea *!*/
/*}*/

/*!* Style pour le bouton de soumission du formulaire *!*/
/*.btn-submit {*/
/*    background-color: #4caf50;*/
/*    color: #fff;*/
/*    padding: 10px 15px;*/
/*    border: none;*/
/*    cursor: pointer;*/
/*    border-radius: 5px;*/
/*}*/

/*!* Style optionnel pour mettre en surbrillance le champ en cas d'erreur de validation *!*/
/*.has-error .form-control {*/
/*    border: 1px solid #ff0000;*/
/*}*/

/*!* Style pour l'étiquette (label) du champ *!*/
/*.label {*/
/*    font-weight: bold;*/
/*    margin-bottom: 5px;*/
/*}*/















div.tab-content {
    background-color: white;
    /*border: 1px solid #cccccc;*/
    /*padding: 0 0 0 20px;*/
    /*margin-top: 0;*/
    /*margin-bottom: 20px;*/
    font-family: Consolas, Monaco, monospace;
    font-size: 92%;
    /*max-width: 100%;*/
    /*box-sizing: border-box;*/
    /*position: relative;*/
    z-index: 1;
}

div.tabs {
    display: -webkit-flex;
    display: flex;
    width: 100%;
}

div.tabs button {
    outline: none;
    border: 1px solid #ccc;
    background-color: #f2f2f2;
    margin-right: 4px;
    margin-bottom: -1px;
    color: #9e9e9e;
    font-family: Consolas, Monaco, monospace;
    font-size: .875em; /*14px*/
    height: 25px;
    /*flex: 1;*/
    z-index: 2;
}

div.tabs button.current {
    border-bottom: none !important;
}

.sg-tab-content {
    display: none;
}

div.spacer {
    height: 24px;
    margin-bottom: -1px;
    flex: 3;
}

/* Ajouter un cadre rouge autour de l'image lorsque l'input radio est sélectionné */
input[type="radio"]:checked + label, input[type="checkbox"]:checked + label{
    border: 2px solid red;
}

div.list{
    display: flex;
    /*justify-content: space-between;*/
    flex-direction: row;
    flex-wrap: wrap;

}

div.projet-choice{
    width: 200px;
}


.offer-card {

    background-color: white;
    height: auto; /* Retire la hauteur fixe */
    border-radius: 8px; /* Un peu plus de bordure arrondie */
    margin-bottom: 20px;
    transition: transform 0.2s, box-shadow 0.2s; /* Animation sur hover */
    padding: 20px;
    width: 300px;
    text-align: left;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.offer-card:hover {
    transform: translateY(-5px); /* Légère élévation au hover */
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.25); /* Ombre plus prononcée */
}

.offer-card h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.offer-card h3 {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 15px;
}

.offer-card button {
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    margin-bottom: 20px;
    width: 100%;
}

.article-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px; /* Ajout d'un espace entre les cartes */
    margin-top: 20px; /* Un peu d'espace en haut */
}

/* Style for each produit card */
.article-card {
    background-color: white;
    width: 400px; /* Légèrement plus large pour plus d'espace */
    height: 400px; /* Retire la hauteur fixe */
    border-radius: 8px; /* Un peu plus de bordure arrondie */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15); /* Ombre plus douce */
    margin-bottom: 20px;
    transition: transform 0.2s, box-shadow 0.2s; /* Animation sur hover */
    padding: 5px; /* Ajoute du padding pour l'intérieur de la carte */
}

.article-card:hover {
    transform: translateY(-5px); /* Légère élévation au hover */
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.25); /* Ombre plus prononcée */
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}


.article-detail {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    margin: 20px auto;
    max-width: 800px;
}

.article-detail h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.metadata {
    display: flex;
    gap: 20px;
    color: #666;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.article-images {
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.article-images img {
    width: 100%;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.article-images img.image-principale {
    grid-column: 1 / -1;
    max-height: 400px;
    object-fit: cover;
}


.article-content {
    line-height: 1.8;
    color: #333;
    margin: 30px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .articles {
        grid-template-columns: 1fr;
    }

    .article-detail {
        padding: 15px;
        margin: 10px;
    }

    .article-detail h1 {
        font-size: 2rem;
    }

    .metadata {
        flex-direction: column;
        gap: 5px;
    }
}
