/* ICONS */
i.m-i {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

i.large {
    font-size: 6rem;
}

i.medium {
    font-size: 4rem;
}

i.small {
    font-size: 2rem;
}

i.tiny {
    font-size: 1rem;
}

i.left {
    float: left;
    margin-right: 15px;
}

i.right {
    float: right;
    margin-left: 15px;
}

/* HELPERS */
.mt10 {
    margin-top: 10px!important;
}

.mb3 {
    margin-bottom: 3px!important;
}

.mb5 {
    margin-bottom: 5px!important;
}

.pull-right {
    float: right;
}

/* MODAL */
.side-modal .modal-content {
    height: 100vh;
    border-radius: 0;
    overflow-y: scroll;
    overflow-x: hidden;
}

.side-modal .modal-dialog {
    margin: auto;
    margin-right: 0;
    width: 50%;
}

.side-modal {
    right: -18px;
}

.side-modal.lg .modal-dialog{
    width: 70vw!important;
    max-width: 70vw!important;
}

.modal.cst {
    top: Calc(50% - 300px);
}

.modal.cst .modal-footer{
    background-color: #3e2723;
    display: block;
    padding: 5px;
}

.modal.cst .modal-header{
    padding: 10px;
}

.modal.cst .modal-footer .btn {
    color: #FFFFFF;
    width: 35%;
    outline: none;
}

.modal.cst .modal-body {
    margin-bottom: 15px;
}

.modal.cst i.m-i {
    color: #CCCCCC;
}

.modal.cst .btn-sep {
    color: #583e39;
    font-size: 35px;
    line-height: 0px;
    position: relative;
}
/* UI */
body {
    font-family: 'Cairo', sans-serif;
}

header {
    padding: 10px;
    background-color: #3e2723;
    color: #FFF;
}

.sidebar {
    background-color: #ececec;
    height: Calc(100vh - 58px);
    padding: 10px 0px;
}

.sidebar .nav-link {
    color: #555555;
}

.sidebar .nav-link.active {
    color: #3e2723;
    background-color: #cccccc;
}

.btn-float {
    background-color: #3e2723;
    color: #FFF;
    width: 56px;
    height: 56px;
    padding: 7px 0px;
    text-align: center;
    cursor: pointer;
    border-radius: 50%;
    position: fixed;
    bottom: 15px;
    right: 15px;

    line-height: 54px;
    font-size: 15px;

    -webkit-box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 12%), 0 1px 5px 0 rgb(0 0 0 / 20%);
    box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 3px 1px -2px rgb(0 0 0 / 12%), 0 1px 5px 0 rgb(0 0 0 / 20%);
}

.btn-float i {
    width: inherit;
    display: inline-block;
    text-align: center;
    color: #fff;
    font-size: 1.6rem;
    line-height: 40px;
}

.btn-large i {
    font-size: 1.6rem;
}

.btn-floating.btn-large i {
    line-height: 56px;
}

#page-contents h4 {
    color: #3e2723;
}

.btn-main {
    background-color: #3e2723;
    color: #FFFFFF;
}

.btn-common {
    background-color: #424242;
    color: #FFFFFF;
}

.form-control {
    padding-top: 2px;
}

table.table-striped tr {
    cursor: pointer;
}

table.table-striped tr:hover {
    background-color: #d7ccc8;
}

.toast-cont {
    position: fixed;
    top: 60px;
    right: 25px;
    padding: 3px;
    z-index: 2000;
}
.toast-message {
    max-width: 30vw;
    min-width: 20vw;
    text-align: left;
    background-color: #333333;
    color: #FFFFFF;
    padding: 5px 10px;
    margin-bottom: 3px;
}

.table th, .table td {
    padding: 5px 10px;
}

.loader-cont {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2000;
    top: 0;
    left: 0;
}

.loader {
    top: Calc(50% - 100px);
    position: absolute;
    width: 100%;
}

.blur {
    filter: blur(2px);
}

.item-to-archive {
    font-weight: 600;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #795548 ;
    background-color: #795548 ;
}

.custom-switch {
    cursor: pointer;
}

.custom-switch input {
    width: 100%;
    cursor: pointer;
    z-index: 999;
}

/* REPORT */
.stat-item {
    border: 1px solid #dedede;
    padding: 10px;
    margin-top: 10px;
    /* background-color: #c3afa8;   */
}

.rank {
    height: 15px;
    background-color: #dadada;
    width: 100%;
    border: 2px solid #c7b9b4;
    margin-top: 3px;
}

.rank-val {
    height: 11px;
    background-color: #674d48;
}

#print-cont {
    max-height: 93vh;
    overflow-y: auto;
    overflow-x: hidden;
}

/* RESPONSIVE */
@media screen and (max-width: 600px)
{
    .sidebar {
        height: auto;
    }

    .menu-bar,
    .menu-bar:focus,
    .menu-bar:hover {
        display: block!important;
        color: #FFFFFF;
    }
    header {
        position: fixed;
        z-index: 3;
        width: 100%;
    }
    .sidebar-sticky {
        margin-top: 51px;
    }

    #page-contents {
        margin-bottom: 55px;
        margin-top: 48px;
        max-width: 100%;
        overflow: auto;
    }

    .btn + .btn {
        margin-top: 2px;
    }

    .side-modal .modal-dialog,
    .side-modal.lg .modal-dialog {
        width: 100%!important;
        max-width: 100%!important;
    }

    .loader {
        position: fixed!important;
    }
}

.menu-bar {
    display: none;
}
