* {
    margin:0;
    padding:0;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
}

.vertical_layout {
    display: flex;
    flex-direction: column;
}

.horizontal_layout {
    display: flex;
    flex-direction: row;
}

/*************************************************/
.base_main, .base_main_tfw              /* ICI */
{
    display: grid;
    width:100%;
    height: 100%;
    grid-template-rows: 56px 1fr 30px;
    grid-template-areas: 
        "head head"
        "side main"
        "foot foot";
}
.main_grid_opened
{
    grid-template-columns: 160px 1fr;
}
.main_grid_opened_tfw
{
    grid-template-columns: 180px 1fr;
}
.main_grid_closed
{
    grid-template-columns: 85px 1fr;
}

/* header */
.base_header            /* ICI */
{
    background-color: #0F1E30;
    grid-area: head;
}

.sidebar_logos
{
    display: flex;
    align-items: center;
    margin-left: 16px;
    height: 100%;
}
.menu_header_buttons
{
    display: flex;
    width:100%;
    justify-content: flex-end;
    align-items: flex-end;
    margin-right: 16px;
    gap: 8px;
}
.menu_header_buttons .secondary_button
{
    height: 40%;
    align-items: center;
    display: flex;
    margin-top: 2px;
    background: #D3DBE5;
}
.menu_header_buttons .notif_button
{
    width:24px;
}

/* footer */
.base_footer            /* ICI */
{
    grid-area: foot;
    width:100%;
    background-color: #0F1E30;
    text-align: center;
    font-size: 0.75rem;
    color: #D3DBE5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.base_footer a
{
    color: #D3DBE5;
}
.base_footer a:hover
{
    color: #fff;
}
.separator
{
    margin-left: 10px;
    margin-right: 10px;
}
.base_sidebar           /* ICI */
{
    grid-area: side;
    height: 100%;
}

.main_content           /* ICI */
{
    grid-area: main;
    padding-top: 30px;
    overflow: auto;
}

/*************************************************/
.hide {
    display: none;
}
.show {
    display: block;
}
.bold {
    font-weight: bold;
}
.italic
{
    font-style: italic;
}
.optionnal
{
    font-weight: normal;
    font-style: italic;
    color: #666;
    font-size: 11pt;
}
.required_field
{
    color: #F00;
}

.data_field
{
    color: #0E4D82;
}

.data_field a
{
    color: #0E4D82;
}

.link
{
    font-style: italic;
}
.link:hover
{
    font-weight: bold;
    text-decoration: underline;
}

/* FONTS */

@font-face {
    font-family: 'M+ 2p';
    src: url('../fonts/mplus-2m-regular.ttf') format('truetype');
}

h1{
    color: var(--Greyscale-Text-primary, #0F1E30);
    /* Heading/heading-1 */
    font-size: 32px;
    font-style: normal;
    font-weight: 800;
    line-height: 24px; /* 150% */
    letter-spacing: 0.32px;
    text-transform: uppercase;
    color: #0F2A43;
}

h2{
    color: var(--Greyscale-Text-primary, #0F1E30);
    /* Heading/heading-2-heavy */
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px; /* 125% */
    color: #0d2f4f;
}

h3{
    color: var(--Greyscale-Text-primary, #0F1E30);
    /* Heading/heading-3 */
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 160% */
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

h3.bold{
    color: var(--Greyscale-Text-primary, #0F1E30);
    /* Heading/heading-1 */
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px; /* 150% */
    letter-spacing: 0.32px;
    text-transform: uppercase;
}

label{
    color: var(--Greyscale-Text-primary, #0F1E30);
    font-size: small;
    font-style: normal;
    font-weight: bold;
}

p{
    color: var(--Greyscale-Text-primary, #0F1E30);
    font-size: smaller;
    font-style: normal;
    font-weight: bold;
}

/* Notifications */
.notifications_container
{
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 1px 1px 6px #666;
    border-radius: 8px;
    position: absolute;
    top: 56px;
    right: 7px;
    width: 350px;
    padding: 8px;
    font-size: 14px;
    display: none;
    z-index: 1;
    overflow: auto;
    max-height: 70%;
}

.notification_line
{
    margin-bottom: 8px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}
.notification_line a
{
    color: #0F1E30;
}
.notification_line:hover
{
    background-color: #E2EDF9;
}

.notification_triangle
{
    display: inline-block;
    height: 0;
    width: 0;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #Fff;
    border-left: 10px solid transparent;
    position: relative;
    top: -18px;
    right: -239px;
}

.nb_notif
{
    position: relative;
    top:-6px;
    right: 13px;
    font-size:8pt;
    font-weight: 600;
}

/* Message d'erreur */
.error_msg
{
    margin: 16px;
    font-weight: bold;
    color:#f00;
}

.error_image 
{
    padding: 0px;
    margin: 0px;
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.error_500{
    position: fixed;
    top: 75%;
    left: 28%;
    right: 25%;
}