﻿@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.8.1/font/bootstrap-icons.min.css");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css");




:root {
    --header-height: 3rem;
    --nav-width: 72px;
    --first-color: linear-gradient(45deg, hsla(148, 89%, 78%, 1) 0%, hsla(210, 81%, 22%, 1) 100%);
    --first-color-light: #4F9793;
    --white-color: #F7F6FB;
    --body-font: 'Nunito', sans-serif;
    --normal-font-size: 1rem;
    --z-fixed: 100
}


.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
*,
::before,
::after {
    box-sizing: border-box
}

.show-name {
    display: block !important;
}
.login-background {
    background: url("../Imges/tumbg.jpeg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.scroll {
    height: 84VH;
    overflow-x: hidden;
    overflow-y: auto;
    border-top: 2px solid #5c60f5;
    padding-top: 1rem
}

.scroll-leads {
    height: 77VH;
    overflow-x: hidden;
    overflow-y: auto;
    padding-top: 1rem
}


#gridContainer {
    height: calc(100vh - var(--header-height) - 6.5rem);

}
.scroll-right {
    height: 82.5VH;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    position: relative;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    transition: .5s;
    padding-top: calc(var(--header-height) + 1rem );
   /* padding-left: 1rem;*/
    /*padding-right: 1rem*/
}
.body-noside {
    position: relative;
    margin: calc(var(--header-height)) 0 0 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    transition: .5s;
}

a {
    text-decoration: none;
    transition: color .3s ease-in-out, box-shadow .3s ease-in-out;
    box-shadow: inset 0 0 0 0 #54b3d6;
}

.a-nav {
    text-decoration: none;
    border-bottom-right-radius: 15px;
    border-top-right-radius: 15px;
}

    .a-nav:hover {
        background-color: white;
        border-bottom-right-radius: 15px;
        border-top-right-radius: 15px;
    }

.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-image: var(--first-color);
    transition: .5s;
    z-index: var(--z-fixed)
}

.nav-menu {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden
}

.nav_logo,
.nav_link-menu {
    display: grid;
    grid-template-columns: max-content max-content;
    align-items: center;
    column-gap: 1.5rem;
    text-shadow: 1px 2px 5px #808080;
    padding: .5rem .5rem .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-menu {
    position: relative;
    color: var(--white-color);
    margin-bottom: 1.2rem;
    transition: .3s
}

    .nav_link-menu:hover {
        color: var(--first-color-light);
        background-color: var(--white-color);
        text-shadow: 0px 0px #808080;
        font: bold;
        transition: color .3s ease-in-out, box-shadow .3s ease-in-out;
    }

.nav_icon {
    font-size: 1.5rem;
    font-weight: 500;
}

.show-nav {
    left: 0
}

.body-pd {
    padding-top: calc(var(--header-height));
    padding-left: calc(var(--nav-width) + 0rem)
}

.active-nav {
    color: var(--first-color-light);
    text-shadow: 0px 0px #808080;
}

/*Code to change color of active link*/
.nav-link-menu > .active-nav > a {
    color: red;
}

.active-nav::before {
    z-index: -1;
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    text-shadow: 0px 0px #808080;
    height: 100%;
    background-color: var(--white-color);
    border-bottom-right-radius: 15px;
    border-top-right-radius: 15px;
}

.height-100 {
    height: 100vh
}

@media screen and (min-width: 768px) {
    body {
        padding-top: calc(var(--header-height) + 1rem );
        padding-left: calc(var(--nav-width) + 1rem);
        padding-right: 1rem
    }
    .body-noSide {
        padding-top:  0rem  ;
        padding-left: 0rem;
        padding-right: 0rem;
        max-height: calc(100vh - var(--header-height));
    }
    .header {
        height: calc(var(--header-height) + 0rem);
        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
    }

    .show-nav {
        width: calc(var(--nav-width) + 150px)
    }

    .body-pd {
        padding-left: calc(var(--nav-width) + 170px);
    }
}

.modal.left .modal-dialog,
.modal.right .modal-dialog {
    right: 0;
    position: absolute;
    margin: 0 0 0rem 0;
    width: 600px;
    padding: 0;
    height: 100vh;
    overflow-y: hidden;
    transform: translate3d(0%, 0, 0);
}

.modal.right .modal-content {
    height: 100Vh;
    overflow-y: auto;
}


i, p, section {
    page-break-inside: avoid !important;
}
