/* ======================================================= *\
 *  Base
 * ======================================================= */
/* Import CSS */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* Modifier le CSS de la racine :root (définition des couleurs et variantes) */
:root {
    --mdc-theme-primary: #e52517;
    --mdc-theme-primary-50: #fce5e3;
    --mdc-theme-primary-100: #f7beb9;
    --mdc-theme-primary-200: #f2928b;
    --mdc-theme-primary-300: #ed665d;
    --mdc-theme-primary-400: #e9463a;
    --mdc-theme-primary-500: #e52517;
    --mdc-theme-primary-600: #e22114;
    --mdc-theme-primary-700: #de1b11;
    --mdc-theme-primary-800: #da160d;
    --mdc-theme-primary-900: #d30d07;
    --mdc-theme-primary-A100: #fffcfc;
    --mdc-theme-primary-A200: #ffcac9;
    --mdc-theme-primary-A400: #ff9896;
    --mdc-theme-primary-A700: #ff7f7d;
    --mdc-theme-secondary: #000000;
    --mdc-theme-secondary-50: #e0e0e0;
    --mdc-theme-secondary-100: #b3b3b3;
    --mdc-theme-secondary-200: #808080;
    --mdc-theme-secondary-300: #4d4d4d;
    --mdc-theme-secondary-400: #262626;
    --mdc-theme-secondary-500: #000000;
    --mdc-theme-secondary-600: #000000;
    --mdc-theme-secondary-700: #000000;
    --mdc-theme-secondary-800: #000000;
    --mdc-theme-secondary-900: #000000;
    --mdc-theme-secondary-A100: #a6a6a6;
    --mdc-theme-secondary-A200: #8c8c8c;
    --mdc-theme-secondary-A400: #737373;
    --mdc-theme-secondary-A700: #666666;
}

/* Modifier le CSS du body (police d'écriture, taille du texte, …) */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #fff;
}

/* ======================================================= *\
 *  Logo
 * ======================================================= */
/* Remplacer le logo dans les pages de connexion */
.logo-picture {
    visibility: hidden;
    opacity: 0;
}

.logo-picture-container {
    padding: 0 0.5rem;
    background-image: url(../images/logo.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-origin: content-box;
    background-size: contain;
}

.logo-picture-container>img,
.login-logo-icon {
    visibility: hidden;
    opacity: 0;
}

/* Remplacer le logo dans la barre de navigation */
.app-navbar-logo>img {
    visibility: hidden;
    opacity: 0;
}

.app-navbar-logo {
    padding: 0.5rem !important;
    background-image: url(../images/logo.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-origin: content-box;
    background-size: contain;
    transform: scale(2) !important;
}

@media (min-width: 0px) and (max-width: 564px) {
    .app-navbar-logo {
        transform: scale(1.3) !important;
    }
}


/* ======================================================= *\
 *  Bandeau arrondi avec dégradé
 * ======================================================= */
/* Cacher le bandeau */
.section-gradient {
    height: 100%;
}

.section-gradient:before {
    display: block;
    left: 0;
    transform: none;
    padding-bottom: calc(100% / (1200 / 535));
    background-color: transparent !important;
    background-image: url(../images/bg-section.webp);
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 0;
    position: fixed !important;
    background-position: center !important;
    height: 100vh !important;
}

.section-gradient> :first-child {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

/* ======================================================= *\
 *  Vue étendue
 * ======================================================= */
/* Modifier le CSS des boutons des formulaires dans les vues étendues */
.a11y-modal-body form button[type="submit"] {
    background-color: var(--mdc-theme-primary) !important;
}

/* ======================================================= *\
 *  Accueil - En-tête
 * ======================================================= */
/* Cacher le filigrane de l'en-tête */
#section-container>header>.header-filigrane .circled-icon {
    display: none;
}

/* Modifier le CSS de l'en-tête */
#section-container>header {
    text-align: left !important;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* Modifier le titre de l'en-tête */
#section-container>header>.header-filigrane .title h2 {
    color: white !important;
    text-shadow: -1px 1px var(--mdc-theme-primary) !important;
}

/* Modifier le CSS du sous-titre de l'en-tête */
#section-container>header>h3 {
    display: none  !important;
}

/* Modifier le CSS du bouton N'afficher que le carnet numérique */
.display-notebook-only
{
padding-left: 24px;
padding-right: 24px;
text-align: center;
background-color: var(--mdc-theme-primary-50) !important;
color: var(--mdc-theme-primary) !important;
border-radius: calc(48px * 2) !important;
}

.display-notebook-only-container>a {
    padding-left: 24px;
    padding-right: 24px;
    text-align: center;
    background-color: var(--mdc-theme-primary-50) !important;
    color: var(--mdc-theme-primary) !important;
    border-radius: calc(48px * 2) !important;
}

/* ======================================================= *\
 *  Accueil - Contenu
 * ======================================================= */
/* Modifier le CSS du titre des cartes des sections (taille du texte, couleur, …) */
.section-card-title {
    font-size: 12px;
}

/* Modifier le CSS du sous-titre des cartes des sections (taille du texte, couleur, …) */
.section-card-subtitle {
    font-size: 12px;
}

/* Modifier le CSS du bloc contenant l'icône de carte d'une section (couleur de fonds, …) */
.section-card-icon.circled-icon {
    background-color: var(--mdc-theme-secondary) !important;
}


/* Modifier le CSS du bloc contenant l'icône de liste des événements (couleur de fonds, …) */
.mdc-list-item__graphic .rounded-circle.green.lighten-5 {
    background-color: #eceff1 !important;
}

/* Modifier le CSS de l'icône de liste des évènements (couleur, …) */
.mdc-list-item__graphic_icon.green-text {
    color: #607d8b !important;
}

/* Modifier le CSS du bouton Créer un dossier */
.animated-toolbar-actions .mdc-button.blue {
    background-color: var(--mdc-theme-primary-50) !important;
    color: var(--mdc-theme-secondary) !important;
}

/* Modifier le CSS du bouton Ajouter un fichier */
.animated-toolbar-actions .mdc-button.orange {
    background-color: var(--mdc-theme-secondary) !important;
}

/* ======================================================= *\
 *  Gestion des logements
 * ======================================================= */
/* Modifier le CSS de l'en-tête (disposition des élements (flexbox), …) */
#section--notebooks-management header {
    display: flex;
    flex-wrap: wrap;
}

/* Modifier le CSS des blocs de l'en-tête (gestion de la taille min et max (flexbox), …) */
#section--notebooks-management header>div {
    flex: 1 0 auto;
    width: auto !important;
}

/* Modifier le CSS du bloc de l'en-tête contenant le bouton Ajouter un logement (alignement du texte, couleur, …) */
.notebooks-management-housing-add {
    text-align: right !important;
    color: #555;
}

/* Modifier le CSS du sous-titre du bloc de l'en-tête contenant le bouton Ajouter un logement (couleur, …) */
.notebooks-management-housing-add h6 {
    color: white;
}

/* Modifier le CSS du ruban du logement principal (couleur de fonds, …) */
.card-ribbon.orange-text {
    color: var(--mdc-theme-primary) !important;
}

/* ======================================================= *\
 *  Messagerie
 * ======================================================= */
/* Modifier le CSS des boutons aux couleurs de la messagerie (couleur de fonds, …) */
.mdc-button:not([id^=form]):not(.modal-trigger).light-blue {
    background-color: var(--mdc-theme-primary-50) !important;
    color: var(--mdc-theme-secondary) !important;
}

/* Modifier le CSS des boutons d'ouverture de fenêtre modales aux couleurs de la messagerie (couleur de fonds, …) */
.mdc-button.modal-trigger.light-blue {
    background-color: var(--mdc-theme-primary) !important;
}

/* Modifier le CSS de l'icône de carte de la section aux couleurs de la messagerie (couleur, …) */
.section-card-title-icon.light-blue-text {
    color: var(--mdc-theme-primary) !important;
}

/* Modifier le CSS du bloc de l'icône du message envoyé par l'utilisateur dans la messagerie (couleur, couleur de fond) */
.message--right .message-user-picture {
    background-color: var(--mdc-theme-primary-100);
}

/* ======================================================= *\
 *  SAV
 * ======================================================= */
/* Modifier le CSS des boutons aux couleurs du SAV (couleur de fonds, …) */
.mdc-button:not([id^=form]):not(.modal-trigger).orange {
    background-color: var(--mdc-theme-secondary) !important;
    color: white !important;
}

/* ======================================================= *\
 *  Autres
 * ======================================================= */
/* Ajouts non répertoriés */

/*Changing the border of the navbar*/
.app-navbar::before {
    content: "";
    position: absolute;
    bottom: 0%;
    left: 10%;
    width: 80%;
    height: 80%;
    border-bottom: 2px solid var(--mdc-theme-primary);
    box-sizing: border-box;
}
@media (min-width: 0px) and (max-width: 564px) {
    .app-navbar::before {
        left: 15%;
        width: 75%;
    }
}


#app-navbar--notifs-menu-container {
    transition: all 0.2s;
}

#app-navbar--notifs-menu-container>button>i {
    color: var(--mdc-theme-secondary);
}

#app-navbar--notifs-menu-container:hover {
    background: var(--mdc-theme-primary) !important;

    border-radius: 50%;
}

#app-navbar--notifs-menu-container:hover>button>i {
    color: white !important;
}

/**Profile icône couleur **/
#app-navbar-profile-menu-container {
    transition: all 0.2s;

}

#app-navbar-profile-menu-container>button>i {
    color: var(--mdc-theme-secondary) !important;
}

#app-navbar-profile-menu-container:hover {
    background: var(--mdc-theme-primary) !important;
    border-radius: 50%
}

#app-navbar-profile-menu-container:hover>button>i {
    color: white !important;
}