/* cisam_di_app/static/cisam_di_app/css/cisam-custom.css */

/* PRIMO
------------- POLICE DE CARACTERES AMU --------------
--- Déclaration des variantes de AMUMonumentGrotesk ---
 */

/* Regular (Normal) */
@font-face {
    font-family: 'AMUMonumentGrotesk';
    src: url('/static/cisam_di/fonts/AMUMonumentGrotesk/AMUMonumentGrotesk-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Bold (Gras) */
@font-face {
    font-family: 'AMUMonumentGrotesk';
    src: url('/static/cisam_di/fonts/AMUMonumentGrotesk/AMUMonumentGrotesk-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Medium (Moyen) */
@font-face {
    font-family: 'AMUMonumentGrotesk';
    src: url('/static/cisam_di/fonts/AMUMonumentGrotesk/AMUMonumentGrotesk-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Regular Italic */
@font-face {
    font-family: 'AMUMonumentGrotesk';
    src: url('/static/cisam_di/fonts/AMUMonumentGrotesk/AMUMonumentGrotesk-RegularItalic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Bold Italic */
@font-face {
    font-family: 'AMUMonumentGrotesk';
    src: url('/static/cisam_di/fonts/AMUMonumentGrotesk/AMUMonumentGrotesk-BoldItalic.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* Medium Italic */
@font-face {
    font-family: 'AMUMonumentGrotesk';
    src: url('/static/cisam_di/fonts/AMUMonumentGrotesk/AMUMonumentGrotesk-MediumItalic.woff2') format('woff2');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

/* --- Application à Bootstrap 5 --- */

:root {
    /* On définit la famille de police par défaut de Bootstrap */
    --bs-font-sans-serif: 'AMUMonumentGrotesk', sans-serif;
    --bs-body-font-family: var(--bs-font-sans-serif);
}

/* Force l'application sur l'ensemble des éléments (optionnel mais recommandé pour un remplacement total) */
body, h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6,
.btn, input, textarea, select, .nav-link, .dropdown-item,
.card, .table, .modal-content, .accordion-button {
    font-family: 'AMUMonumentGrotesk', sans-serif !important;
}


/*  DEUZIO
--- Styles personnalisés CISAM ---
*/

.navbar {
    /*background-color: #eeeded;*/
    /*border-bottom: 2px solid yellow;*/
    border-bottom: 2px solid #FFD508;
}

.navbar-brand > div {
    white-space: normal;
}

@media (max-width: 999px) {
    .navbar-brand img {
        max-width: 10rem !important;
    }
    .navbar-text {
        font-size: 0.7rem;
    }
}

.nav-tabs .nav-link.active {
    /*border-bottom: 3px solid yellow !important; !* Utilisation de !important pour forcer la priorité *!*/
    border-bottom: 5px solid #FFD508; /* Utilisation de !important pour forcer la priorité */
}


.lg-login {
    font-size: 1.2rem;
    /*font-weight: 400;*/
    line-height: 2rem;
}

.table td {
    text-align: center;
}

.hidden {
    display: none;
}


.c-background-page {
    /*noinspection CssUnknownTarget*/
    background-image: url('/static/cisam_di/img/background-page.jpg');
    background-size: auto 100%; /* Adapte la hauteur à 100% de la fenêtre */
    background-position: left top;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh; /* Hauteur de la fenêtre */
    position: relative;
    overflow: visible; /* Permet le dépassement */
}

.c-background-navbar {
    /*noinspection CssUnknownTarget*/
    /*background-image: url('/static/cisam_di/img/background-page.jpg');*/
    /*noinspection CssUnknownTarget*/
    background-image: url('/static/cisam_di/img/background-navbar.jpg');
    /*background-size: auto 100%; !* Adapte la hauteur à 100% de la fenêtre *!*/
    background-position: left top;
    background-repeat: no-repeat;
    width: 100%;
    overflow: visible; /* Permet le dépassement */
}


.c-text-shadow {
    text-shadow: 1px 1px 2px #3d3b3b;
    background-color: rgba(19, 19, 19, 0.2);
}

.c-bg {
    background-color: rgba(129, 128, 128, 0.29);
}

.c-size-1-1 {
    font-size: 1.2rem;
}


.bandeau-logos {
    display: block;
    margin: auto;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
    width: 90%;
}

@media (min-width: 768px) {
    .bandeau-logos {
        width: 60%;
        max-width: 500px;
    }
}

@media (min-width: 1200px) {
    .bandeau-logos {
        width: 50%;
        max-width: 1000px;
    }
}