@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap");
:root {
    --header-height: 3rem;
    /*width of the side bar*/
    --nav-width: 15%;
    --first-color: #4723D9;
    --first-color-light: #AFA5D9;
    --white-color: #F7F6FB;
    --body-font: 'Nunito', sans-serif;
    --normal-font-size: 1rem;
    --z-fixed: 100;
    /*width of the content (notused) */
    --content-width: 80%;
}

*,
::before,
::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
}

.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
}

.l-navbar {
    position: fixed;
    top: 0;
    left: -30%;
    width: var(--nav-width);
    height: 100vh;
    background-color: var(--first-color);
    padding: .5rem 1rem 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: 2rem
}

.nav_logo-icon {
    font-size: 1.25rem;
    color: var(--white-color)
}

.nav_logo-name {
    color: var(--white-color);
    font-weight: 700
}

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

.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) */
    /* width: 100vw; */
    margin-left: 1rem;
    padding-left: 0;
}

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

.active::before {
    content: '';
    position: absolute;
    left: 0;
    width: 2px;
    height: 32px;
    background-color: var(--white-color)
}

.height-100 {
    height: 100vh
}

@media (max-width: 768px) {
    #title {
        display: none;
    }
    .body-pd {
        padding-left: 0rem !important;
    }
}

@media (min-width: 2500px) {
    .container {
        margin: auto !important;
        max-width: 74vw !important;
    }
}

@media screen and (min-width: 1280px) {
    .l-navbar {
        left: 0;
        padding: 1rem 1rem 0 0
    }
    .nav-circle {
        top: 0;
        left: -30% !important;
    }
    .body-pd {
        padding-left: calc(var(--nav-width))
        /* width: 100vw; */
    }
}

@media (min-width: 576px) {
    .container {
        max-width: 92vw !important;
        margin: auto !important;
        padding: 0 !important;
    }
}

@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) + 2rem)
    }
    .header_img {
        width: 40px;
        height: 40px
    }
    .header_img img {
        width: 45px
    }
    /* .l-navbar {
        left: 0;
        padding: 1rem 1rem 0 0
    }

    .nav-circle{
        top: 0;
        left: -30% !important;
    } */
    .dataTables_wrapper {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .container {
        max-width: 92vw !important;
        margin: auto !important;
        padding: 0 !important;
    }
    /*.sho {
        width: calc(var(--nav-width) + 156px)
    }*/
    /*.body-pd {
        padding-left: calc(var(--nav-width) + 188px)
    }*/
}


/* more modifications added by adilmx */


/* .w-max{
   width: var(--content-width);
} */

.dataTables_wrapper {
    overflow: scroll !important;
}

.nav-circle {
    height: 45px;
    width: 45px;
    border-radius: .90rem;
    z-index: 999;
    position: fixed;
    background-color: #AFA5D9;
    cursor: pointer;
    top: 0;
    left: 0;
    margin: 10px auto auto 10px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    opacity: .5;
}

.nav-circle:hover {
    opacity: 1;
}

.hide-navbar {
    left: -30% !important;
}

.show-navbar {
    left: 0 !important;
    width: fit-content !important;
}

.sup-container {
    width: 100% !important;
}


/* #myTable{
overflow-x: scroll !important;
} */

.dataTables_length {
    /* position: fixed; */
    position: sticky;
}

.dataTables_filter {
    /* top: 15px;
    left: 15px;
    position: absolute; */
}

.dataTables_wrapper {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

table.dataTable tbody td {
    padding: 15px 2px !important;
}

.scroller {
    scrollbar-width: 1px;
}

.container {
    max-width: 82vw !important;
    margin-right: 0 !important;
}

#title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: auto !important;
}

.dataTables_wrapper {
    margin-left: auto !important;
    margin-right: auto !important;
}


/* part 2 */

#diagnostiq_table_info,
#diagnostiq_table_paginate {
    width: fit-content !important;
    margin: 0 auto;
}