/*theme style*/
/*---------------------------------------------------------------*/
::-webkit-scrollbar {
    width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}



:root {
    --header-height: 3rem;
    --nav-width: 68px;
    --first-color: #B8CBD0;
    --first-color-light: #7A90A4;
    --white-color: #137C8B;
    --body-font: 'Nunito', sans-serif;
    --normal-font-size: 1rem;
    --z-fixed: 100
}

::after {
    box-sizing: border-box
}

body {
    position: relative;
    margin: var(--header-height) 0 0 0;
    padding: 0 1rem;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    transition: .5s
}

a {
    text-decoration: none
}

/* template {
    display: block !important;
    position: inherit !important;
} */

.header {
    width: 100%;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    background-color: var(--white-color);
    z-index: var(--z-fixed);
    transition: .5s
}

.header_toggle {
    color: var(--first-color);
    font-size: 1.5rem;
    cursor: pointer
}

.header_img {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden
}

.header_img img {
    width: 40px
}

.header_logo {
        
    height: 40px;
    display: flex;
    justify-content: center;
    overflow: hidden
}

.l-navbar {
    position: fixed;
    top: calc(var(--header-height) + 1rem);
    left: -30%;
    width: var(--nav-width);
    height: 100vh;
    background-color: var(--first-color);
    padding: 10px 10px 0 0;
    transition: .5s;
    z-index: var(--z-fixed)
}

.nav {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden
}

.nav_logo,
.nav_link {
    display: grid;
    grid-template-columns: max-content max-content;
    align-items: center;
    column-gap: 1rem;
    padding: .5rem 0 .5rem 1.5rem
}

.nav_logo {
    margin-bottom: 0rem
}

.nav_link {
    position: relative;
    color: var(--first-color-light);
    margin-bottom: 0.5rem;
    transition: .3s;
    text-decoration: none;
}



.material-symbols-outlined{
    font-size: 20px !important;
}


.nav_link:hover {
    color: var(--white-color)
}

.nav_icon {
    font-size: 1.25rem
}

.show {
    left: 0
}

/* .body-pd {
    padding-left: calc(var(--nav-width) + 1rem);
    
} */

.active {
    color: var(--white-color)
}

.active::before {

    position: absolute;
    left: 0;
    width: 2px;
    height: 32px;
    background-color: var(--white-color)
}

.main {
    /* margin-top: 100px; */
    margin-top: 85px;
    height: 100%;
    

}

@media screen and (min-width: 768px) {
    body {
            margin: calc(var(--header-height) + 1rem) 0 0 0;
            padding-left: calc(var(--nav-width) + 2rem)
    }

    .header {
        height: calc(var(--header-height) + 1rem);
        /*padding: 0 2rem 0 calc(var(--nav-width) + 0.1rem)*/
        padding: 0 2rem 0 0;
        background: linear-gradient(to bottom, #026873, #33A1A1);
        ;
    }

    .header_img {
            width: 40px;
            height: 40px
    }

    .header_img img {
            width: 45px
    }

    .l-navbar {
            left: 0;
            padding: 10px 10px 0 0;
    }

    .show {
            width: calc(var(--nav-width) + 156px)
    }

    .body-pd {
            padding-left: calc(var(--nav-width) + 180px) !important
            
    }

    .header_logo {
            
            height: 40px;
            display: flex;
            justify-content: center;
            overflow: hidden
    }

    
}

/*header style*/
/*---------------------------------------------------------------*/

.profil {
    color: white;
    margin-left: 10px;
    margin-bottom: 0;
    margin-right: 10px;
}

.arrow {
    color: #fff;
}

.list-profil {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown:hover>.dropdown-menu {
    display: block;
    transition: all 0.3s ease;
}

.dropdown>.dropdown-toggle:active {
    /*Without this, clicking will make it sticky*/
    pointer-events: none;
}

.dropdown-menu.my-custom-dropdown-menu {
  display: none;
  transition: all 0.3s ease;
}

.dropdown-menu.my-custom-dropdown-menu.shown {
  display: block;
}

.arrow {
  transition: transform 0.3s ease;
  cursor: pointer;
}

.arrow.rotated {
  transform: rotate(180deg);
}



/*end header style*/

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 1,
        'wght' 300,
        'GRAD' 0,
        'opsz' 24
}

@media screen and (max-width: 575.98px) {
    .header {
        flex-direction: column;
        height: auto;
        padding: 0.5rem;
    }

    .l-navbar {
        /* width: 100%;
        height: auto; */
        position: relative;
        top: 0;
        left: 0;
        height: fit-content !important;
        width: fit-content !important;
    }

    .l-navbar .nav_list {
        display: none;
    }

    .l-navbar.show .nav_list {
        display: block;
        position: absolute;
        background-color: var(--first-color);
        padding: 10px;
        border-radius: 10px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
        top: 60px;
        left: 10px;
        z-index: 1000;
    }

    .nav {
        flex-direction: row;
        overflow-x: auto;
    }

    .main {
        margin-top: 100px;
        padding: 0.5rem;
    }
}

/* Petits écrans (téléphones grands format, 576px à 767.98px) */
@media screen and (min-width: 576px) and (max-width: 767.98px) {
    .l-navbar {
        width: 60px;
    }

    .main {
        padding: 1rem;
    }

    .nav_link {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Moyens écrans (tablettes, 768px à 991.98px) */
@media screen and (min-width: 768px) and (max-width: 991.98px) {
    .l-navbar {
        width: var(--nav-width);
    }

    .main {
        padding-left: calc(var(--nav-width) + 1rem);
    }
}

/* Grands écrans (ordinateurs portables, 992px à 1199.98px) */
@media screen and (min-width: 992px) and (max-width: 1199.98px) {
    /* .l-navbar {
        width: var(--nav-width);
    }

    .main {
        padding-left: calc(var(--nav-width) + 2rem);
    } */

    label {
        font-size: 0.8rem !important;
    }
    /* .division {
        justify-content: space-between !important;
    } */
    .row-gauche {
        /* width: 180px !important; */
        flex: 1 !important;
    }
    .row-droit {
        /* width: 750px !important; */
        flex: 4 !important;
    }

    .activer_timeline {
        justify-content: space-around !important;
    }

    p {
        font-size: 0.8rem !important;
    }
}