@charset "UTF-8";

/*!
 * Version - 1.1.1
 * Copyright (c) 2025
*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Slab:wght@100..900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');
@import url('color.css');
@import url('typography.css');
@import url('../vendor/bootstrap/css/bootstrap.min.css');

/*  ==========================================
*   ================= GENERAL ================
*/
* {
    font-family: var(--ff-source);
    font-weight: 400;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    /* background-color: #f1f5fb; */
    font-size: 0.875rem;
    color: var(--dark);
}

a {
    text-decoration: none !important;
}

/*  ==============================================
*   =================== CUSTOM ===================
*/

/* 1. Header */
header {
    background-color: var(--light);
}

header .esm-logo {
    width: 150px;
}

.nav-scroller {
    --theme-bgcolor: var(--dark);
    background-color: var(--theme-bgcolor);
}

#nav.nav-underline .nav-link {
    --theme-color: var(--light);
    --theme-border-bottom-color: #eddbb4;
    color: var(--theme-color);
}

#nav.nav-underline .nav-link.active,
#nav.nav-underline .show>.nav-link {
    font-weight: 700;
    --theme-color: #eddbb4 !important;
    border-bottom-color: var(--theme-border-bottom-color) !important;
}

#nav.esm-nav {
    flex-direction: row;
}

/* Light */
.esm-theme-light #nav.nav-underline .nav-link {
    --theme-color: var(--dark);
    --theme-border-bottom-color: var(--dark);
}

.esm-theme-light .nav-scroller {
    --theme-bgcolor: #fff;
    border-top: 1px solid #dedede;
    border-bottom: 1px solid #dedede;
}

#nav.nav-underline .nav-link.active,
#nav.nav-underline .show>.nav-link {
    --theme-color: var(--dark) !important;
}

/* Dark */
.esm-theme-dark #nav.nav-underline .nav-link {
    --theme-color: var(--light);
    --theme-border-bottom-color: #eddbb4;
}

.esm-theme-dark #nav.nav-underline .nav-link.active,
.esm-theme-dark #nav.nav-underline .show>.nav-link {
    --theme-border-bottom-color: var(--theme-border-bottom-color) !important;
}

.esm-theme-dark .nav-scroller {
    --theme-bgcolor: var(--dark);
}

/* End Header */

/* 2. Custom */
.esm-truncate {
    --line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--line-clamp);
    overflow: hidden;
    text-overflow: ellipsis;
    height: auto;
    max-height: 60px;
}

.esm-truncate-horitontal {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 240px;
}

.esm-truncate.line-3 {
    --line-clamp: 3;
}

.esm-truncate.line-1 {
    --line-clamp: 1;
}

.section {
    position: relative;
}

.section::after {
    display: inline-flex;
    content: '';
    position: absolute;
    top: 40%;
    left: 0;
    width: 100% !important;
    height: 3px !important;
    background-color: #f1f1f1 !important;
    border-radius: 5px;
    z-index: 0;
    transform: translateY(-50%);
}

.section-title {
    --section-color: var(--dark);
    --section-bg: var(--light);
    z-index: 1;
    color: var(--section-color);
    margin-bottom: 10px;
    padding: 5px 20px;
    background-color: var(--section-bg);
    display: inline-block;
    position: relative;
}

.section-title.blue,
.section-title.blue::after {
    --section-color: var(--light);
    --section-bg: var(--blue);
}

.section-title.green,
.section-title.green::after {
    --section-color: var(--light);
    --section-bg: var(--green);
}

.section-title.purple,
.section-title.purple::after {
    --section-color: var(--light);
    --section-bg: var(--purple);
}

.section-title.red,
.section-title.red::after {
    --section-color: var(--light);
    --section-bg: var(--red);
}

.section-title.brown,
.section-title.brown::after {
    --section-color: var(--light);
    --section-bg: var(--orange);
}

.section-title.sky-blue,
.section-title.sky-blue::after {
    --section-color: var(--light);
    --section-bg: var(--sky-blue);
}

.section-title.teal,
.section-title.teal::after {
    --section-color: var(--light);
    --section-bg: #3e9292;
}

.section-title.dark,
.section-title.dark::after {
    --section-color: var(--light);
    --section-bg: var(--dark);
}

.section-title.gray,
.section-title.gray::after {
    --section-color: var(--dark);
    --section-bg: var(--gray);
}

.section-title.yellow,
.section-title.yellow::after {
    --section-color: var(--dark);
    --section-bg: var(--yellow);
}

.section-title.dark-blue,
.section-title.dark-blue::after {
    --section-color: var(--light);
    --section-bg: var(--dark-blue);
}

/* End Custom */

/* 3. Pagination */
.pagination {
    --bs-pagination-color: var(--dark);
    --bs-pagination-active-color: #fff;
    --bs-pagination-active-bg: var(--primary-dark);
    --bs-pagination-active-border-color: var(--primary-dark);
}

/* End Pagination */

/* 4. Advertising */
.esm-advertising {
    background-color: #f8f9fa;
    border: 1px solid #dcdcdc !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.esm-advertising .adv-title {
    color: #6c6c6c;
    font-weight: 300 !important;
}

.esm-advertising .placeholder-img {
    filter: grayscale(100%) opacity(20%);
    width: 100px;
    height: auto;
}

.esm-advertising.vertical {
    width: 350px;
    height: 450px;
    margin: 0 auto;
}

.esm-advertising.empty {
    width: 100%;
    height: 427px;
    margin: 0 auto;
}

.esm-advertising.large {
    width: 100%;
    /* height: 175px; */
    height: 274px;
    margin: 0 auto;
    padding: 0 auto;
    aspect-ratio: var(--ratio);
    overflow: hidden;
    background: transparent;
    position: relative;
    transition: transform .3s ease;
}

.esm-advertising.large image {
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    background-color: #ffffff;
    transition: transform .3s ease;
}

/* End Advertising */

/* 5. breadcrumb */
#breadcrumb {
    --bs-breadcrumb-divider: '›';
    display: inline-flex;
    justify-content: center;
    align-items: start;
}

.breadcrumb .breadcrumb-item,
.breadcrumb .breadcrumb-item a {
    color: var(--dark);
    font-weight: 400;
}

.breadcrumb .breadcrumb-item.active {
    color: var(--primary-dark);
    font-weight: 600;
}

/* End breadcrumb */

/* 6. skeleton */
.skeleton {
    background-color: #e0e0e0;
    border-radius: 8px;
    animation: pulse 1.5s infinite ease-in-out;
}

/* Variation pour simuler des images */
.skeleton-image {
    width: 100px;
    height: 100px;
    background-color: #e0e0e0;
}

/* Animation de pulsation */
@keyframes pulse {
    0% {
        background-color: #e0e0e0;
    }

    50% {
        background-color: #c1c1c1;
    }

    100% {
        background-color: #e0e0e0;
    }
}

/* End skeleton */

/* 7. Forms */
.form-control {
    --bs-body-color: var(--dark);
    --bs-border-color: #38383869;
    --bs-border-width: 2px;
    font-size: 0.875rem;
}

.form-label {
    font-size: 0.688rem;
    font-weight: 500;
    margin-bottom: 0;
}

.invalid-feedback {
    font-size: 0.688rem;
    color: var(--primary-dark);
}

textarea {
    font-size: 13px !important;
}

/* End Forms */

/* 8. Hover box */
.esm-box {
    transition: transform 0.3s ease-in-out;
}

.esm-box:hover {
    transform: scale(1.035);
}

/* 8. End Hover box */

/*  ==============================================
*   ================= END CUSTOM =================
*/

/*  =========================================
*   ================== FOOTER ==================
*/
footer {
    background-color: #f3f3f3;
    color: var(--dark);
}

footer .title {
    font-size: 1.175rem !important;
    font-weight: 400;
    font-family: var(--ff-title);
}

footer #copyright {
    background-color: #f3f3f3;
    border-top: 1px solid #eaeaea5b;
    font-size: 14px;
    color: var(--dark);
}

footer #copyright a {
    text-decoration: none;
    font-size: 14px;
    color: var(--dark);
}

footer #copyright .nav-link {
    font-size: 13px !important;
    font-weight: 400 !important;
}

footer .nav .nav-item .nav-link {
    color: var(--dark) !important;
    padding: 2px;
    font-size: 13px;
    font-weight: 300 !important;
}

footer .nav .nav-item .nav-link:hover {
    color: var(--primary) !important;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {

    /* 1. Header */
    header .esm-logo {
        width: 120px !important;
    }

    .esm-theme-light .nav-scroller {
        --theme-bgcolor: #fff;
        border-bottom: 0px !important;
    }

    /* 2. nav */
    #nav.esm-nav {
        background-color: var(--light);
        color: var(--dark);
        padding: 10px 5px;
        gap: 7px !important;
    }

    #nav.esm-nav .nav-link {
        color: var(--dark);
        border: 1px solid #898989;
        padding: 5px 20px;
        border-radius: 0.5em;
    }

    .breadcrumb {
        padding: 15px var(--bs-breadcrumb-padding-x);
    }

    /* 2. Advertising */
    .esm-advertising.large {
        height: 100px;
        max-height: 100px;
    }

    .esm-advertising.vertical {
        width: auto;
    }
}

/*  ===============================================
*   ============== Variables Global ===============
*/

*::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px var(--light);
    background-color: var(--light);
}

*::-webkit-scrollbar {
    width: 8px;
    background-color: var(--light);
}

*::-webkit-scrollbar-thumb {
    background-color: var(--secondary) !important;
}

::selection {
    background-color: var(--secondary);
    color: var(--dark);
}

:root {
    --primary: #ea1e2c;
    --primary-dark: #b7000d;
    --secondary: #d19f3c;
    --secondary-dark: #86621a;
    --dark: #000000;
    --light: #ffffff;
    --gray: #d7d7d7;
    --blue: #005483;
    --sky-blue: #009ee3;
    --green: #40ae49;
    --purple: #713896;
    --orange: #db4c12;
    --red: #e2000b;
    --light-blue: #DFF7FF;
    --yellow: #F4C542;
    --dark-blue: #1E2A38;

    --ff-source: "Poppins", sans-serif;
    --ff-title: "Roboto Slab", serif;
}