/* @import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap"); */

:root {
    --header-height: 3rem;
    --nav-width: 68px;
    --first-color: #7E1A86;
    --toggel-color: #AFA5D9;
    --first-color-light: #AFA5D9;
    --white-color: #F7F6FB;
    --body-font: 'Nunito', sans-serif;
    --normal-font-size: 1rem;
    --z-fixed: 100;
    --active-color: #590e7d;
}



*,
::before,
::after {
    box-sizing: border-box
}

body {
    /* position: relative; */
    margin: var(--header-height) 0 0 0;
    padding: 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    transition: .5s;
    /* display: flex;
    flex-direction: column;
    height: 100%; */

}

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);
    background-image: url('/assets/headerBG.png');
    background-repeat: no-repeat;
    background-size: cover;
    transition: .5s
}

.footer {
    width: 100%;
    height: var(--header-height);
    left: 0;
    bottom: 0;
    padding: 0 1rem;
    background-color: #ececec;
    transition: .5s;
    display: flex;
    position: relative;
    /* position: absolute; */
    align-items: center;
}

.tata_logo {
    background: url('../assets/img/tata.png') no-repeat center/cover;
    height: 24px;
    width: 28px;
    margin-left: 6px;
    mix-blend-mode: multiply;
}

.footer_text {
    margin-left: 16px;
    font-size: 12px;
}

.footer_text div:nth-child(1) {
    font-weight: 600;
}

.header_toggle {
    color: var(--toggel-color);
    font-size: 1.5rem;
    cursor: pointer;
    margin-right: 10px;
}

.user_text {
    margin-left: 8px;
    font-weight: 600;
    font-size: 14px;
    color: white;
}

.header_img {
    width: 35px;
    height: 35px;
    flex: 1 0 auto;
    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;
    border-right: 1px solid lightgray;
    background-color: rgb(134, 20, 187);
    padding: .5rem 0rem 0 0;
    transition: .5s;
    z-index: var(--z-fixed)
}

.main-container {
    height: calc(100vh - 48px);
    overflow-y: auto;
    overflow-x: hidden;
}

.containerBox {
    height: calc(100% - 48px);
}

.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: 1.4rem;
    padding: .5rem 0 .5rem 1.5rem
}

.nav_logo {
    margin-bottom: 2rem
}

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

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

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



.nav_link:hover {
    /* color: var(--active-color); */
    color: white;
    background: #8a1f7f;
}

.user_role {
    display: flex;
    align-items: center;
    color: var(--toggel-color);
    font-size: 14px;
    margin-right: 8px;
}



#sign_out_btn {
    width: 44px;
    overflow-x: hidden;
    color: var(--first-color-light);
}

#sign_out_btn:hover {
    color: var(--white-color);
    background: none;
}


.nav_icon {
    font-size: 1.25rem
}

.show {
    left: 0
}

.body-pd {
    padding-left: calc(var(--nav-width) + 0rem)
}

.active {
    /* color: var(--active-color); */
    color: white;
    background: #8a1f7f;
}

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

.height-100 {
    height: 100vh
}

@media screen and (min-width: 768px) {
    body {
        margin: calc(var(--header-height) + 1rem) 0 0 0;
        padding-left: calc(var(--nav-width) + 0rem);
        /* display: flex;
        flex-direction: column;
         
        height: 100%;
        margin: 0;*/
        /* height: 100%; */

    }

    .header {
        height: calc(var(--header-height) + 1rem);
        padding: 0 2rem 0 calc(var(--nav-width) + 2rem);
        background-image: url('/assets/headerBG.png');
        background-repeat: no-repeat;
        background-size: cover;
        /* background: url("./assets/headerBG.png") no-repeat center/cover; */

    }

    .footer {
        height: calc(var(--header-height) + 1rem);
        /* padding: 0 2rem 0 calc(var(--nav-width) + 2rem); */
    }

    .user_role {
        color: white;
    }

    .user_text {
        color: white;
    }

    .header_toggle {
        color: white;
    }

    #sign_out_btn:hover {
        width: 130px;
        color: white;
    }



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

    .header_img img {
        width: 45px
    }


    .l-navbar {
        left: 0;
        padding: 1rem 0rem 0 0;
    }

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

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

    .main-container {
        position: relative;
        /* border: red 1px solid; */
        height: calc(100vh - 64px);
        overflow-y: auto;
        /* background-image: url('/assets/Background.jpg');
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: cover; */
        /* padding-left: 10px; */
        background: #f7f7f7;
        /* background-image: linear-gradient(to left, #fad2fd, #AFA5D9); */
    }

    .containerBox {
        height: calc(100% - 64px);
    }


}

.main-login {
    /*position: relative;
    height: calc(100vh - 0px);
    background-image: linear-gradient(to left, #fad2fd, #AFA5D9); */
    background-image: url("../assets/img/SFI_Background_UI_1.jpg");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    height: calc(100vh - 0px);
}

.hidden {
    display: none;
}