html {
    font-size: 14px;
}

html, body {
    font-family: 'Montserrat', sans-serif !important;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    height: 90vh;
/*    height: 100% !important;*/
    overflow:hidden;
}


/*CUSTOM*/
.main-link-active {
    background-color:lightgray;
}
:root {
    --primary-color: #97c9c9;
    --tran-03: all 0.3s ease;
    --tran-05: all 0.5s ease;
}

.btn-primary {
    color: #fff;
    background-color: #97c9c9;
    border-color: #97c9c9;
}

    .btn-primary:hover {
        color: #fff;
        background-color: #1a8989;
        border-color: #1a8989;
    }

    .btn-check:focus + .btn-primary, .btn-primary:focus {
        color: #fff;
        background-color: #1a8989;
        border-color: #97c9c9;
        box-shadow: 0 0 0 .19rem rgba(49, 132, 253, .5);
    }

.sidebar {
    position: fixed;
    top: 56px;
    left: 0;
    width: 250px;
    height: calc(100% - 56px);
    background-color: #0E142B !important;
    transition: left 0.5s ease;
    z-index: 1000;
    overflow: hidden;
}

.sidebar .text {
     font-size: 16px;
     font-weight: 500;
     color: white;
     transition: var(--tran-03);
     white-space: nowrap;
     opacity: 1;
}

.sidebar.pin {
    width: 90px;
}

.sidebar.close {
    left: -250px;
}

.sidebar.pin .text {
    opacity: 0;
}

.sidebar .menu-bar {
    height: calc(100% - 120px);
    display:flex;
    flex-direction:column;
    justify-content:space-between
}

.menu-link {
    padding-left: 0px !important;
}

.sidebar li {
    height: 50px;
    margin-top: 10px;
    list-style: none;
    display: flex;
    align-items: center;
}

.sidebar li .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    font-size: 20px;
    color: white !important;
}

.sidebar li .icon
.sidebar li .text {
    color: black !important;
    transition: var(--tran-03);
}

.sidebar li a {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    text-decoration: none;
    border-radius: 6px;
    transition: var(--tran-03);
}

.sidebar li a:hover {
    background: #EDE7E3;
}

.sidebar-toggle-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    cursor: pointer;
    z-index: 1001;
}

.sidebar-toggle-btn span {
    display: block;
    width: 30px;
    height: 5px;
    background-color: #fff;
    margin-bottom: 5px;
    transition: transform 0.3s ease;
}

.main-content {
    position: relative;
    left: 250px;
    width: calc(100% - 250px);
    overflow-x: hidden;
    overflow-y: scroll !important;
    height: 100%;
    /*background:red*/
}

.content {
/*    height: 100%;*/
    overflow-y: scroll;
    margin-top: 0px;
    margin-bottom: 20px;
    margin-left: 20px;
    margin-right: 20px;
    overflow: hidden;
}

.main-footer {
    position: fixed;
    bottom: 0;
    z-index: 1001;
    left: 250px;
    width: calc(100% - 250px);
    direction: rtl;
    background: white;
}

.blue-ribbon {
    background: #0E142B;
    /*height: 70px;*/
    position: fixed;
    top: 56px;
    left: 250px;
    width: calc(100% - 250px);
    z-index: 1001;
}

.blue-ribbon-label {
    color:white;
    font-size:35px;
    padding:5px;
    margin-left:10px;
}

@media only screen and (max-width: 600px) {
    .blue-ribbon-label {
        margin: 5px auto; 
    }

    .blue-ribbon {
        height: 115px;
    }
}

@media only screen and (max-width: 700px) {
    .blue-ribbon-label {
        margin: 5px auto; 
    }

    .blue-ribbon {
        height: 115px;
    }
}

.main-content::-webkit-scrollbar {
    width: 6px;
}

.main-content::-webkit-scrollbar-track {
    background: transparent; 
}

.main-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2); 
    border-radius: 3px; 
}

.main-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.4);
}

.sidebar.close ~ .main-content {
    left: 0px;
    width:calc(100% - 0px);
}

.sidebar.pin ~ .main-content {
    left: 0px;
    width: calc(100% - 96px);
    margin-top: 80px;
    margin-bottom: 40px;
    margin-left: 95px;
    margin-right: 100px;
}

.sidebar.pin ~ .main-content {
    left: 0px;
    width: calc(100% - 96px);
    margin-top: 80px;
    margin-bottom: 40px;
    margin-left: 95px;
    margin-right: 100px;
}

.ispinned {
    left: 90px;
    width: calc(100% - 90px);
    transition: var(--tran-03);
}

.isclosed {
    left: 0px;
    width: calc(100% - 0px);
    transition: var(--tran-03);
}

.sidebar.pin ~ .content {
    left: 20px;
    width: calc(100% - 0px);
}

.navbar {
    height: 56px !important;
}

.navbar-fixed-top {
    position: fixed;
    top: 0;
    left: 250px;
    width: calc(100% - 250px);
    z-index: 1001;
}

.profile {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-right: 20px;
}

.profile-pic {
    width: 40px;
    height: 40px;
    border: 2px solid #FF3131;
    border-radius: 50%;
    object-fit: cover;
}

.intake-label-nav {
    color: black;
    font-size: 30px;
    font-weight: bold;
}

.nav-logo {
    width:20%;
}

.cursor-pointer {
    cursor: pointer;
}

.nav-menu-side {
    display: flex;
    align-items: center;
}

/*PAGES*/

.page-title {
    color:dimgrey;
}

.page-content {
    margin-top: 20px;
    /*height: 100vh;*/ 
    height: 100% !important;

    /*background-color:green;*/
}

.list-group-item a{
    color:black;
}
.active a {
    color: white;
}

.mandatory-field {
    background-color: #add8e6;
}
    .mandatory-field:focus {
        background-color: #add8e6;
    }