:root{
    --primary-color: #112539;
    --primary-hover-color: #E9F0FF;
    --primary-active-color: #B2CAFB;

    --secondary-color: white;
    --secondary-hover-color: #E9F0FF;
    --secondary-active-color: #B2CAFB;

    --danger-color: #7C0000;
    --danger-hover-color: #E5CCCC;
    --danger-active-color: #B16666;

    --dark-blue: #112539;
    --dark-blue-hover-color: #E9F0FF;
    --dark-blue-active-color: #B2CAFB;

    --blue: #A2C4E5;
    --light-blue: #D6E2EE;
    --dark-red: #7D0001;
    --red: #AF051B;
    --light-red: #E50B38;
    --dark-green: #4A6A00;
    --green: #98D978;
    --light-green: #B8E5A2;
    --pink: #D5A9CF;
    --dark-gray: #5F5F5F;
    --gray: #D9D9D9;
    --light-gray: #F2F2F2;
    --white: #FFF;
}

@font-face {
    font-family: inter;
    src: url(../font/inter/Inter-VariableFont.ttf);
}

*{
    font-size: 16px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    position: relative;
    font-family: inter, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html,
body{
    width: 100%;
    min-height: 100vh;
}

/**
 * Table
 */
table{
    border-spacing: 0;
    background-color: var(--white);
}

table.head-fixed thead {
    position: sticky;
    top: 0;
    z-index: 1;
}

th, td{
    padding: 10px;
}

.table-header, .table-header th{
    background-color: var(--light-blue);
}

table.stripped > tbody > tr:nth-child(2n) {
    background-color: var(--gray);
}

/**
 * Scrollbar
 */
 /* width */
::-webkit-scrollbar {
    width: 10px;
    margin-right: 2px;
    border-radius: 50rem;
}

/* Track */
::-webkit-scrollbar-track {
    background: var(--primary-hover-color);
    border: 1px solid var(--primary-hover-color);
    border-radius: 50rem;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 50rem;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-active-color);
}

.scroll-light::-webkit-scrollbar-track {
    background: var(--secondary-color);
    border: 1px solid var(--light-blue);
}

.scroll-light::-webkit-scrollbar-thumb {
    background: var(--light-blue);
}

.scroll-light::-webkit-scrollbar-thumb:hover {
    background: var(--blue);
}

/**
 * Typography
 */
h1, 
.h1{
    font-size: 51px;
}

h2, 
.h2{
    font-size: 38px;
}

h3, 
.h3{
    font-size: 28px;
}

h4, 
.h4{
    font-size: 21px;
}

h5, 
.h5{
    font-size: 16px;
    font-weight: lighter;
}

h6, 
.h6{
    font-size: 12px;
    font-weight: lighter;
}

p{
    font-size: 18px;
}

/**
 * Layout
 */
img{
    object-fit: cover;
    max-width: 100%;
}

a{
    text-decoration: none;
}

ul{
    list-style-type: none;
}

.text-wrap{
    text-wrap: wrap;
    word-break: break-all;
}

/**
 * Cards
 */
.card{
    padding: 2rem;
    border-radius: 4px;
    background-color: var(--white);
}

/**
 * Flash
 */
.flash{
    padding: 1rem;
    display: none;
}

.flash.active{
    display: block;
    border: 1px solid var(--primary-hover-color);
}

.flash-success{
    background-color: var(--green);
    color: black;
}
.flash-warning{
    background-color: #e5990b;
    color: black;
}
.flash-danger{
    background-color: var(--light-red);
    color: black;
}

/**
 * Nav
 */
.nav-elem{
    display: flex;
    align-items: center;
    font-size: 21px;
    text-decoration: none;
    position: relative;
    color: black;
}

.nav-elem img{
    object-fit: contain;
}

.nav-elem:hover{
    cursor: pointer;
    background-color: var(--light-blue);
}

.padding-nav{
    padding-top: 90px;
}

.margin-nav{
    margin-top: 100px;
}

.burger{
    display: none;
}

.burger-elems{
    display: none;
}

/**
 * Texts
 */
.commentaire{
    font-size: 9px;
}

.text-justify{
    text-align: justify;
}

.text-left{
    text-align: left;
}

.text-right{
    text-align: right;
}

.text-center{
    text-align: center;
}

.font-bold{
    font-weight: bold;
}

.font-normal{
    font-weight: normal;
}

.font-lighter{
    font-weight: lighter;
}

.footer-text{
    font-size: 16px;
}

/**
 * Accordion
 */
.accordion-items{
    max-height: 0%;
    max-width: 0%;
    top: 0%;
    text-overflow: clip; 
    white-space: nowrap;
    overflow: hidden;
    transition: all ease 0.5s;
    position: absolute;
}

.accordion-items.top,
.accordion-items.bottom,
.accordion-items.active{
    max-width: none;
}

.accordion-items.left,
.accordion-items.right,
.accordion-items.active{
    max-height: none;
}

.accordion-items.active{
    position: relative;
}

/**
 * Dropdown
 */
.dropdown-group{
    position: relative;
}

.dropdown{
    position: absolute;
    max-height: 0;
    overflow: hidden;
    background-color: #EEEEEE;
    z-index: 30;
    transition: all 0.5s ease;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.dropdown.left{
    right: 100%;
    top: 0;
}

.dropdown.top{
    right: 0;
    bottom: 100%;
}

.dropdown.right{
    left: 100%;
    top: 0;
}

.dropdown.bottom{
    top: 100%;
    right: 0;
}

.dropdown.active{
    max-height: 300px;
}

.dropdown-elem{
    display: block;
    width: 100%;
    height: 100%;
    padding: 10px;
}

.dropdown-elem:hover{
    background-color: #FAFAFA;
}

/**
 * Tabs
 */
.tabs{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tabs-elem{
    padding: 1rem;
}

.tabs-elem:hover{
    cursor: pointer;
}

.tabs-elem.active{
    background-color: var(--light-blue);
}

/**
 * Tabs content
 */
.tabs-content{
    padding: 1rem;
}

.tabs-content-elem{
    display: none;
}

.tabs-content-elem.active{
    display: block;
}

/**
 * Modal
 */
.modal{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(214, 226, 238, 0.9);
    z-index: 20;
    display: none;
}

.modal.active{
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content{
    background-color: white;
    padding: 2rem;
    border-radius: 4px;
}

.modal-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
}

.modal-title{
    font-size: 21px;
}

.modal-body{
    padding: 2rem;
}

.modal-footer{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 2rem;
}

/**
 * Forms
 */
.form-control{
    padding: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.5);
    border-radius: 2px;
}

textarea.form-control{
    resize: vertical;
}

.form-control:focus{
    outline: none;
}

.form-control:focus-within{
    border-color: var(--primary-color);
}

.form-label{
    display: block;
}

.form-label.required::after{
    content: " *";
}

.form-group{
    margin-bottom: 1rem;
}

/**
 * Buttons
 */
.btn{
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    border: none;
    border-radius: 15px;
    text-decoration: none;
    text-wrap: nowrap;
    transition: background-color 0.25s ease;
}

.btn:hover{
    cursor: pointer;
}

.btn-circle{
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-primary{
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover{
    background-color: var(--primary-hover-color);
    border: 2px solid var(--primary-color);
    padding: calc(0.5rem - 2px) calc(1rem - 2px);
    color: var(--primary-color);
}

.btn-primary:active{
    background-color: var(--primary-active-color);
    padding: 0.5rem 1rem;
    border: none;
}

.btn-secondary{
    background-color: white;
    border: 2px solid var(--primary-color);
    padding: calc(0.5rem - 2px) calc(1rem - 2px);
    color: var(--primary-color);
}

.btn-secondary:hover{
    background-color: var(--primary-hover-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:active{
    background-color: var(--primary-active-color);
    padding: 0.5rem 1rem;
    border: none;
}

.btn-danger{
    background-color: white;
    border: 2px solid var(--danger-color);
    padding: calc(0.5rem - 2px) calc(1rem - 2px);
    color: var(--danger-color);
}

.btn-danger:hover{
    background-color: var(--danger-hover-color);
}

.btn-danger:active{
    background-color: var(--danger-active-color);
    padding: 0.5rem 1rem;
    border: none;
}

.btn-dark-blue{
    background-color: var(--dark-blue);
    color: white;
}

.btn-dark-blue:hover{
    background-color: var(--blue);
    color: black;
}

.btn-blue{
    background-color: var(--blue);
    color: black;
}

.btn-blue:hover{
    background-color: var(--light-blue);
    color: black;
}

.btn-light-blue{
    background-color: var(--light-blue);
    color: black;
}

.btn-light-blue:hover{
    background-color: var(--blue);
    color: black;
}

.btn-dark-red{
    background-color: var(--dark-red);
    color: white;
}

.btn-dark-red:hover{
    background-color: var(--red);
    color: black;
}

.btn-red{
    background-color: var(--red);
    color: white;
}

.btn-red:hover{
    background-color: var(--light-red);
    color: black;
}

.btn-light-red{
    background-color: var(--light-red);
    color: white;
}

.btn-light-red:hover{
    background-color: var(--red);
    color: black;
}

.btn-pink{
    background-color: var(--pink);
    color: black;
}

.btn-pink:hover{
    background-color: var(--light-red);
    color: black;
}

.btn-gray{
    background-color: var(--gray);
    color: black;
}

.btn-gray:hover{
    background-color: var(--white);
    color: black;
}

.btn-white{
    background-color:var(--white);
    color: black;
}

.btn-white:hover{
    background-color:var(--gray);
    color: black;
}

.btn-green{
    background-color:var(--green);
    color: black;
}

.btn-green:hover{
    background-color:var(--light-green);
    color: black;
}

.pouic{
    transition: transform 0.1s ease;
    transform-origin: center center;
}

.pouic:hover{
    transform: scale(1.1);
}

.pouic:active{
    transform: scale(0.9);
}
/**
* Borders
*/
.bordered{
    border: 1px solid black;
}

.no-border{
    border: none;
}

.border-top{
    border-top: 1px solid black;
}

.border-bottom{
    border-bottom: 1px solid black;
}

.border-left{
    border-left: 1px solid black;
}

.border-right{
    border-right: 1px solid black;
}

.border-danger{
    border-color: var(--danger-color);
}

.border-red{
    border-color: var(--red);
}

.border-green{
    border-color: var(--green);
}

.border-blue{
    border-color: var(--blue);
}

.border-light-blue{
    border-color: var(--light-blue);
}

.border-thicker{
    border-width: 2px;
}

.border-thick{
    border-width: 4px;
}

.border-dark-gray{
    border-color: var(--dark-gray);
}

.border-gray{
    border-color: var(--gray);
}

.pill{
    border-radius: 50rem;
}

.circle{
    border-radius: 50%;
}

.rounded{
    border-radius: 10px;
}

.rounded-top{
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.rounded-bottom{
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.rounded-left{
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.rounded-right{
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.rounded-light{
    border-radius: 4px;
}

.rounded-top-light{
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.rounded-bottom-light{
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.rounded-left-light{
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.rounded-right-light{
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

/**
 * Outline
 */

.outlined{
    outline: 1px solid black;
}

/**
 * Sizing
 */
.w-100{
    width: 100%;
}

.w-75{
    width: 75%;
}

.w-66{
    width: 66%;
}

.w-50{
    width: 50%;
}

.w-33{
    width: 33%;
}

.w-25{
    width: 25%;
}

.w-auto {
    width: auto;
}

.h-fit{
    height: fit-content;
}

.h-100{
    height: 100%;
}

.h-75{
    height: 75%;
}

.h-50{
    height: 50%;
}

.h-25{
    height: 25%;
}

.h-auto{
    height: auto;
}

/**
 * Margin/Padding
 */
.m-auto, .mx-auto, .ml-auto{
    margin-left: auto;
}

.m-auto, .mx-auto, .mr-auto{
    margin-right: auto;
}

.m-auto, .my-auto, .mt-auto{
    margin-top: auto;
}

.m-auto, .my-auto, .mb-auto{
    margin-bottom: auto;
}

.m-1, .my-1, .mt-1{
    margin-top: 1rem;
}

.m-1, .my-1, .mb-1{
    margin-bottom: 1rem;
}

.m-1, .mx-1, .ml-1{
    margin-left: 1rem;
}

.m-1, .mx-1, .mr-1{
    margin-right: 1rem;
}

.m-2, .my-2, .mt-2{
    margin-top: 2rem;
}

.m-2, .my-2, .mb-2{
    margin-bottom: 2rem;
}

.m-2, .mx-2, .ml-2{
    margin-left: 2rem;
}

.m-2, .mx-2, .mr-2{
    margin-right: 2rem;
}

.m-3, .my-3, .mt-3{
    margin-top: 3rem;
}

.m-3, .my-3, .mb-3{
    margin-bottom: 3rem;
}

.m-3, .mx-3, .ml-3{
    margin-left: 3rem;
}

.m-3, .mx-3, .mr-3{
    margin-right: 3rem;
}

.m-4, .my-4, .mt-4{
    margin-top: 4rem;
}

.m-4, .my-4, .mb-4{
    margin-bottom: 4rem;
}

.m-4, .mx-4, .ml-4{
    margin-left: 4rem;
}

.m-4, .mx-4, .mr-4{
    margin-right: 4rem;
}

.m-5, .my-5, .mt-5{
    margin-top: 5rem;
}

.m-5, .my-5, .mb-5{
    margin-bottom: 5rem;
}

.m-5, .mx-5, .ml-5{
    margin-left: 5rem;
}

.m-5, .mx-5, .mr-5{
    margin-right: 5rem;
}

.m-10, .my-10, .mt-10{
    margin-top: 10rem;
}

.m-10, .my-10, .mb-10{
    margin-bottom: 10rem;
}

.m-10, .mx-10, .ml-10{
    margin-left: 10rem;
}

.m-10, .mx-10, .mr-10{
    margin-right: 10rem;
}

.m-10, .mx-10, .mr-10{
    margin-right: 10rem;
}

.p-1, .py-1, .pt-1{
    padding-top: 1rem;
}

.p-1, .py-1, .pb-1{
    padding-bottom: 1rem;
}

.p-1, .px-1, .pl-1{
    padding-left: 1rem;
}

.p-1, .px-1, .pr-1{
    padding-right: 1rem;
}

.p-2, .py-2, .pt-2{
    padding-top: 2rem;
}

.p-2, .py-2, .pb-2{
    padding-bottom: 2rem;
}

.p-2, .px-2, .pl-2{
    padding-left: 2rem;
}

.p-2, .px-2, .pr-2{
    padding-right: 2rem;
}

.p-3, .py-3, .pt-3{
    padding-top: 3rem;
}

.p-3, .py-3, .pb-3{
    padding-bottom: 3rem;
}

.p-3, .px-3, .pl-3{
    padding-left: 3rem;
}

.p-3, .px-3, .pr-3{
    padding-right: 3rem;
}

.p-4, .py-4, .pt-4{
    padding-top: 4rem;
}

.p-4, .py-4, .pb-4{
    padding-bottom: 4rem;
}

.p-4, .px-4, .pl-4{
    padding-left: 4rem;
}

.p-4, .px-4, .pr-4{
    padding-right: 4rem;
}

.p-5, .py-5, .pt-5{
    padding-top: 5rem;
}   

.p-5, .py-5, .pb-5{
    padding-bottom: 5rem;
}

.p-5, .px-5, .pl-5{
    padding-left: 5rem;
}

.p-5, .px-5, .pr-5{
    padding-right: 5rem;
}

.p-10, .py-10, .pt-10{
    padding-top: 10rem;
}

.p-10, .py-10, .pb-10{
    padding-bottom: 10rem;
}

.p-10, .px-10, .pl-10{
    padding-left: 10rem;
}

.p-10, .px-10, .pr-10{
    padding-right: 10rem;
}

/**
 * Texts
 */
.text-black{
    color: black;
}

.text-primary{
    color: var(--primary-color);
}

.text-danger{
    color: var(--danger-color);
}

.text-dark-blue{
    color: var(--dark-blue);
}

.text-blue{
    color: var(--blue);
}

.text-light-blue{
    color: var(--light-blue);
}

.text-dark-red{
    color: var(--dark-red);
}

.text-red{
    color: var(--red);
}

.text-light-red{
    color: var(--light-red);
}

.text-pink{
    color: var(--pink);
}

.text-gray{
    color: var(--gray);
}

.text-white{
    color:var(--white);
}

.no-decoration{
    text-decoration: none;
}

.underlined{
    text-decoration: underline;
}

/**
 * Background
 */
.bg-primary{
    background-color: var(--primary-color);
}

.bg-dark-blue{
    background-color: var(--dark-blue);
}

.bg-blue{
    background-color: var(--blue);
}

.bg-light-blue{
    background-color: var(--light-blue);
}

.bg-dark-red{
    background-color: var(--dark-red);
}

.bg-red{
    background-color: var(--red);
}

.bg-light-red{
    background-color: var(--light-red);
}

.bg-pink{
    background-color: var(--pink);
}

.bg-gray{
    background-color: var(--gray);
}

.bg-light-gray{
    background-color: var(--light-gray);
}

.bg-white{
    background-color:var(--white);
}

.barre{
    position:relative;
}

.barre::before {
    content: "";
    position: absolute;
    z-index: 10000;
    top: -100%;
    left: 50%;
    width: 1px;
    height: 100%;
    background-color: #000;    
    transform: translateY(100%) rotate(45deg);
}

.barre-thick::before{
    width: 5px;
}

.barre-gray::before{
    background-color: var(--gray);
}

.barre-white::before{
    background-color: var(--white);
}

.barre-danger::before{
    background-color: var(--danger-color);
}

.barre-dark-green::before{
    background-color: var(--dark-green);
}

.bg-none{
    background: none;
}

/**
 * Position
 */
.position-fixed {
    position: fixed;
}

.position-absolute {
    position: absolute;
}

.position-relative {
    position: relative;
}

.position-sticky {
    position: sticky;
    z-index: 1;
}

.top-0{
    top: 0;
}

.bottom-0{
    bottom: 0;
}

.left-0{
    left: 0;
}

.right-0{
    right: 0;
}

/**
 * Overflow
 */
.overflow-scroll{
    overflow: scroll;
}

.overflow-y-scroll{
    overflow-y: scroll;
}

.overflow-x-scroll{
    overflow-x: scroll;
}

.overflow-hidden{
    overflow: hidden;
}

/**
 * Hovers
 */
.hover-light:hover{
    background-color: var(--light-blue);
}

.hover-danger:hover{
    background-color: var(--danger-hover-color);
}


/**
 * Display
 */
.display-flex{
    display: flex;
}

.display-inline-flex{
    display: inline-flex;
}

.display-none{
    display: none;
}

.display-block{
    display: block;
}

.display-inline-block{
    display: inline-block;
}

.display-inline{
    display: inline;
}

/**
 * Flex
 */
.column{
    flex-direction: column;
}

.column-reverse{
    flex-direction: column-reverse;
}

.row{
    flex-direction: row;
}

.row-reverse{
    flex-direction: row-reverse;
}

.wrap{
    flex-wrap: wrap;
}

.wrap-reverse{
    flex-wrap: wrap-reverse;
}

.no-wrap{
    flex-wrap: nowrap;
}

.f-1{
    flex: 1;
}

.f-2{
    flex: 2;
}

.f-3{
    flex: 3;
}

.f-4{
    flex: 4;
}

.f-5{
    flex: 5;
}

.f-6{
    flex: 6;
}

.f-7{
    flex: 7;
}

.f-8{
    flex: 8;
}

.f-9{
    flex: 9;
}

.f-10{   
    flex: 10;
}

.justify-between{
    justify-content: space-between;
}

.justify-start{
    justify-content: start;
}

.justify-end{
    justify-content: end;
}

.justify-center{
    justify-content: center;
}

.justify-around{
    justify-content: space-around;
}

.align-start{
    align-items: start;
}

.align-end{
    align-items: end;
}

.align-center{
    align-items: center;
}

.align-stretch{
    align-items: stretch;
}

.self-start{
    align-self: start;
}

.self-center{
    align-self: center;
}

.self-stretch{
    align-self: stretch;
}

.self-end{
    align-self: end;
}

.gap-1{
    gap: 1rem;
}

.gap-2{
    gap: 2rem;
}

.gap-3{
    gap: 3rem;
}

.gap-4{
    gap: 4rem;
}

.gap-5{
    gap: 5rem;
}

.gap-10{
    gap: 10rem;
}

/**
 * Cursor
 */
.pointer{
    cursor: pointer;
}

/**
 * Media queries
 */

@media (prefers-reduced-motion: reduce) {
    .animation-none {
        animation: none !important;
    }
}

@media screen and (max-width: 1439px) {
    .display-large{
        display: none;
    }
}

@media screen and (max-width: 1023px) {
    .display-medium{
        display: none;
    }

    .display-flex{
        flex-direction: column;
    }
    /**
     * Nav
     * Go to burger
     */
    .burger{
        display: flex;
        justify-content: end;
        padding: 1rem;
        align-items: center;
        cursor: pointer;
        font-size: 21px
    }

    .burger-elems{
        display: block;
        position: absolute;
        max-height: 90vh;
        left: -100%;
        top: 0;
        z-index: 30;
        padding: 1rem;
        transition: all 0.5s ease;
        overflow-y: scroll;
        background-color: var(--light-blue);
    }

    .burger-elems.active{
        left: 0;
    }

    .burger-elem{
        display: block;
        width: 100%;
        height: 100%;
        padding: 1rem;
    }

    .nav-elem{
        display: none;
    }

    .padding-nav{
        padding-top: 0;
    }

    .margin-nav{
        margin-top: 0;
    }
}

@media screen and (max-width: 767px) {
    h1, h2, h3, h4, h5, h6,
    .h1, .h2, .h3, .h4, .h5, .h6{
        font-size: 21px;
    }

    .display-small{
        display: none;
    }
}

@media print {
    @page { 
        margin-top: 0; 
        margin-bottom: 0;
    }

    body {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    * {
        max-width: 210mm;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
        align-items: stretch;
    }

    .print-100 {
        width: 100% !important;
    }

    .print-reverse {
        flex-direction: column-reverse;
    }

    .print-no-border {
        border: none;
    }

    .print-no-background {
        background-color: transparent;
    }

    .print-no-margin {
        margin: 0;
    }

    .print-no-padding {
        padding: 0;
    }

    .print-row {
        flex-direction: row;
    }

    .no-print, .no-print * {
        display: none !important;
    }
}