:root{
    --primary-color: #343d49;
    --secondary-color: #eeeeee;
}

body{
    font-size: 0.9rem;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a{
    text-decoration: none;
}

a:hover{
    cursor: pointer;
}

.fs-f8{
    font-size: 0.8rem;
}

/*login*/
.login-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--secondary-color);
    height: 100vh;
}

.login-panel{
    width: 400px;
}

/*Bootstrap overrides*/
.form-group{
    margin-bottom: 1rem;
}

.btn-xs{
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
}

label{
    font-weight: 600;
}

.form-control{
    font-size: 0.95rem;
}

.btn-info{
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.btn-info:hover, .btn-info.active{
    background: #282f39;
    border-color: var(--primary-color);
    color: #fff;
}

.btn-outline-info{
    background: #fff;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-info:hover, .btn-outline-hover.active{
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.table-wrapper .table {
    border-collapse: separate;
    border-spacing: 0;
}

.table-wrapper table thead tr th {
    background-color: #f3f8ff;
    position: sticky;
    top: 0;
    z-index: 1;
    border: 1px solid #dee2e6;
    font-size: 0.85rem;
    font-weight: 500;
    color: #484848;
}

.table-wrapper table tbody tr td{
    border-bottom: 1px solid #dee2e6;
}

.table-wrapper .table-striped>tbody>tr:nth-of-type(odd)>* {
    --bs-table-bg-type: rgb(0 0 0 / 3%);
}

.table-wrapper{
    height: calc(100vh - 180px);
    overflow: auto;
    border: 1px solid #dee2e6;
    background: #fff;
}

.list-group-item{
    padding: 0.75rem 1rem;
}

.list-group-item.active{
    background: #edf4ff;
    border-color: #dee2e6;
    color: #000;
}

/*layout*/
.navbar-brand {
    padding-top: 0rem;
    padding-bottom: 0rem;
}

.workspace-wrapper {
    display: flex;
    flex-wrap: wrap;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    /* position: fixed; */
}

.sidemenu {
    flex: 0 0 210px;
    max-width: 210px;
    height: 100vh;
    display: block;
    background: #fff;
    z-index: 2;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.collapsed .sidemenu{
    max-width: 0px;
    transition: all 0.3s ease;
}

.collapsed .sidemenu-logo, .collapsed .sidemenu-scroll{
    display: none;
}

.sidemenu-logo{
    text-align: center;
    padding: 0.2rem 0rem;
}

.sidemenu-scroll{
    height: calc(100vh - 42px);
    overflow-y: auto;
    background: var(--primary-color);
}

.sidemenu-table{
    padding: 1rem 0.5rem 0rem;
}

.sidemenu-table table{
    font-size: 0.75rem;
}

.workspace {
    flex: 1 0 0%;
    background-color: var(--secondary-color);
    width: calc(100vw - 210px);
    height: 100vh;
    overflow-y: auto;
    transition: all 0.3s ease-in; 
}

.header{
    padding: 0rem 1rem;
    background-color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 42px;
    color: #fff;
}

.header .fas{
    color: #fff;
}

.workspace-content{
    padding: 1rem;
}

.page-title {
    font-size: 1.25em;
    font-weight: normal;
}

.sidemenu-item {
    margin-bottom: 10px;
}

.sidemenu-item a {
    display: block;
    width: 100%;
    padding: 0.5rem;
    text-decoration: none;
    font-size: .9em;
    white-space: nowrap;
    position: relative;
    color: #fff !important;
    border-radius: 8px;
}

.sidemenu-item.divider {
    display: block;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 10px;
}

.sidemenu-item a:hover {
    color: var(--secondary-color) !important;
    text-decoration: none !important;
}

.sidemenu-item a.active {
    background-color: #fff;
    color: var(--primary-color) !important;
    font-weight: 600;
}

ol.sidemenu-nav {
    list-style-type: none;
    margin-bottom: 0;
    padding: 1rem 0.5rem;
}

.sidemenu-nav li ol{
    list-style-type: none;
}

.bg-lite{
    background-color: #f3f8ff !important;
}

.table .table-sm th, .table .table-sm td{
  font-size: 0.825rem;
}

/*loader*/
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(1px);
  }

  .loader--ripple {
    display: inline-block;
    position: relative;
    height: 64px;
    width: 64px;
}

.loader--ripple div{
    border-color: #0d6efd !important;
}

.loader--ripple div {
    position: absolute;
    animation: loader--ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    border: 4px solid;
    border-radius: 50%;
    opacity: 1;
}

.loader--ripple div:nth-child(2) {
    animation-delay: -0.5s;
}

@keyframes loader--ripple {
    0% {
        top: 28px;
        left: 28px;
        opacity: 1;
        height: 0;
        width: 0;
    }

    100% {
        top: -1px;
        left: -1px;
        opacity: 0;
        height: 58px;
        width: 58px;
    }
}

.table-badge{
    padding: 0.25rem 1rem 0.25rem 1.5rem;    
    border-radius: 50px;
    position: relative;
    display: inline-block;
    font-size: 0.8rem;
    white-space: nowrap;
}

.table-badge:before{
    content: "";
    width: 5px;
    height: 5px;
    display: block;
    border-radius: 50%;    
    position: absolute;
    top: 50%;
    left: 0.75rem;
    transform: translateY(-50%);
}

.text-bg-success{
    background:#edffed !important;
    color: #198754 !important;
}

.table-badge-success:before{
    background: #198754;
}

.table-badge-primary{
    background: #e7f0ff;
}

.table-badge-primary:before{
    background: #0d6efd;
}

.table-badge-warning{
    background: #ffe7d0;
}

.table-badge-warning:before{
    background: #ff7d00;
}

.fa-clock{
    font-size: 0.8rem;
}

.btn-filter{
    background: #fff;
    border: 1px solid #dee2e6;
    position: relative;
    padding-right: 2rem;
}

.btn-filter:after{
    content: "";
    display: inline-block;
    border-left: 2px solid #212529bf;
    border-bottom: 2px solid #212529bf;
    width: 7px;
    height: 7px;
    transform: rotate(-45deg);
    position: absolute;
    top: 40%;
    right: 8px;
}

.text-ellipsis {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-filter:hover{
    background: #fff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.daily-table{
    height: calc(100vh - 420px);
    overflow-y: auto;
}

.weekly-table{
    height: calc(100vh - 233px);
    overflow-y: auto;
}

.heading-badge{
    background: rgba(13, 110, 253, 0.9);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
}

.heading-badge small{
    color: #e9e9e9;
    font-size: 0.8rem;
    font-weight: 400;
    margin-right: .25rem;
}

.draggable-list{
    list-style-type: none;
    padding: 0;
    margin: 0;
    height: calc(100vh - 189px);
    overflow-y: auto;
}

.draggable-list li {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #ededed;
}

.draggable-list li:hover{
    cursor: all-scroll;
}

.list-group-start{
    height: calc(100vh - 119px);
    overflow-y: auto;
    background: #fff;
}

.list-group-start .list-group-item:hover{
    background:rgb(242, 242, 242) !important;
    cursor: pointer;
}

.border-lite{
    border-color: #c5dcff !important;
}

.nav-link.active{
    background: #0d6efd !important;
    color: #fff !important;
    border-color: #0d6efd !important;
}

.nav-link{
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
}

.tab-table{
    height: auto;
    max-height: calc(100vh - 363px);
    overflow-y: auto;
}

.table .nav-link{
    padding: 0.15rem 0.75rem;
    color: #767575;
    font-size: 13px;
    border: none;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.table .nav-link.active{
    color: #0d6efd !important;
    background-color: #f3f8ff !important;
    border: 1px solid #cadaef !important;
    border-bottom: 0 !important;
    font-weight: 500 !important;
}

.table .nav-link:hover{
    color: #0d6efd;
}

.table .nav-tabs{
    border-bottom: 1px solid #cadaef;
}

.table .tab-content{
    border: 1px solid #cadaef;
    padding: 0.75rem;
}

.data-card{
    position: relative;
}

.data-card p {
    text-align: center;
    margin-bottom: 4px;
    font-size: 0.8rem;
}

.data-card h6 {
    text-align: center;
    font-weight: 700;
}

.data-card:before {
    content: "";
    width: 100%;
    height: 1px;
    background-image: linear-gradient(45deg, transparent, #bcd9ff, transparent);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0px;
}

.data-card .col-lg-3{
    position: relative;
}

.data-card .col-lg-3:not(:last-child):after{
    content: "";
    width: 1px;
    height: 100%;
    background-image: linear-gradient(45deg, transparent, #bcd9ff, transparent);
    position: absolute;
    top: 0;
    right: 0;
}