﻿body {
    text-align: left;
}

.brand-link {
    display: block;
    font-size: 1.25rem;
    line-height: 1.8;
    padding: 0.8125rem 0.5rem;
    transition: width .3s ease-in-out;
    white-space: nowrap;
}

    .brand-link .brand-image {
        float: left;
        line-height: .8;
        margin-left: 0.8rem;
        margin-right: 0.5rem;
        margin-top: 10px;
        max-height: 33px;
        width: auto;
        background-color: #f8f9fa;
        max-height: 50px !important;
    }



table tbody tr:nth-child(even) {
    background-color: #f8f9fa; /* light gray */
}

/*.layout-fixed .main-sidebar {
    left: 0;
}

.brand-image {
    float: left;
}

.content-wrapper, .main-footer, .main-header {
    margin-left: 0px;
    margin-left: 250px;
}

.mr-auto-navbav {
    margin-left: auto !important;
}

.navbar-expand .navbar-nav .nav-link {
    padding-left: 1rem;
    padding-left: 1rem;
}

[class*=icheck-] > input:first-child:checked + input[type=hidden] + label::after,
[class*=icheck-] > input:first-child:checked + label::after {
    left: 15px;
    left: auto;
}

.nav-sidebar .nav-link > .left,
.nav-sidebar .nav-link > p > .left {
    left: 1rem;
    left: auto;
}

    .nav-sidebar .nav-link > .left:nth-child(2),
    .nav-sidebar .nav-link > p > .left:nth-child(2) {
        left: 2.2rem;
        left: auto;
    }

.small-box .icon > i {
    left: 15px;
    left: auto;
}*/

/*@media (min-width: 992px) {
    .sidebar-mini.sidebar-collapse .content-wrapper, .sidebar-mini.sidebar-collapse .main-footer, .sidebar-mini.sidebar-collapse .main-header {
        margin-left: 4.6rem !important;
    }

    .sidebar-mini.sidebar-collapse .content-wrapper, .sidebar-mini.sidebar-collapse .main-footer, .sidebar-mini.sidebar-collapse .main-header {
        margin-left: 4.6rem !important;
        margin-left: 0 !important;
    }
}*/

/*@media (max-width: 767.98px) {
    .main-sidebar, .main-sidebar::before {
        box-shadow: none !important;
        margin-left: -250px;
    }

    .content-wrapper, .content-wrapper::before, .main-footer, .main-footer::before, .main-header, .main-header::before {
        margin-left: 0;
    }

    .sidebar-open .main-sidebar, .sidebar-open .main-sidebar::before {
        margin-left: 0;
    }
}*/

.sidebar {
    background-color: #273338;
}






.mr-auto, .mx-auto {
    margin-left: unset !important;
    margin-left: auto !important;
}

.card-title {
    float: left !important;
    margin-bottom: inherit;
}

div.dataTables_wrapper div.dataTables_filter {
    text-align: left !important;
}

    div.dataTables_wrapper div.dataTables_filter input {
        margin-left: 1.5em;
    }



.table thead th {
    vertical-align: bottom;
    border-bottom: none;
    background-color: #f3fcfd;
    font-weight: bold;
    border: 1px solid #f1f1f1;
}





.table td, .table th {
    padding: 11px;
    vertical-align: top;
}


.table td {
    border-bottom: 1px solid #dfe5ea;
}

.table.dataTable {
    clear: both;
    margin-top: 6px !important;
    margin-bottom: 6px !important;
    max-width: none !important;
    border-collapse: collapse !important;
}

.bg-gradient-cyan, .bg-gradient-danger, .bg-gradient-warning, .bg-gradient-success {
    color: #fff !important;
}

/*.btn-app {
    border-radius: 3px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    color: #6c757d;
    font-size: 12px;
    height: 60px;
    margin: 0 0 10px 10px;
    min-width: 80px;
    padding: 15px 5px;
    position: relative;
    text-align: center;
}*/

.modal-header {
    background-color: #335969;
    border-bottom: 1px solid #e9ecef;
    border-top-left-radius: 0;
    border-top-left-radius: 0;
}

.modal-title {
    color: #fff;
}

modal-footer {
    padding: 0.25rem 0.25rem 0.0rem 0.0rem !important;
    /* background-color: rgba(0,0,0,.03); */
    /* border-top: 0 solid rgba(0,0,0,.125); */
}



.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 12px solid rgba(0,0,0,.2);
    border-radius: 0.3rem;
    outline: 0;
}


.form-control, .custom-select {
    border-color: #1f96ff;
}

#addAlert, #editAlert {
    margin: 0.25rem;
}


.form-control.is-invalid, .was-validated .form-control:invalid {
    border-color: #c9293a;
}

.breadcrumb-item + .breadcrumb-item::before {
    float: left;
    padding-left: 0.5rem;
    padding-left: 0.5rem;
}

.card-header > .card-tools {
    float: left;
}

[class*="icheck-"] > input:first-child + label::before,
[class*="icheck-"] > input:first-child + input[type="hidden"] + label::before {
    content: "";
    display: inline-block;
    position: relative;
    width: 22px;
    height: 22px;
    border: 1px solid #D3CFC8;
    border-radius: 0px;
    margin-left: 5px;
    margin-bottom: -5px;
}

.widget-user-2 .widget-user-image > img {
    float: left;
    height: 58px;
    width: 60px;
}

.widget-user-2 .widget-user-desc, .widget-user-2 .widget-user-username {
    margin-left: 75px;
    margin-left: 0px;
}

.small-photo {
    width: 32px;
    height: 32px;
}


.widget-user-2 .widget-user-username {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 5px;
    margin-top: 5px;
}

.modal-header .close {
    padding: 1rem 1rem;
    margin: -1rem -1rem -1rem -1rem;
}


@media (min-width: 576px) .float-sm-right {
    float: right!important;
}

[class*=sidebar-dark-] .nav-treeview > .nav-item > .nav-link {
    color: #dbdd81;
}

.badge-secondary {
    color: #fff;
    background-color: #f39c12;
}

.modal-body p {
    overflow: clip;
}



.brand-text {
    font-size: 26px;
}

label:not(.form-check-label):not(.custom-file-label) {
    font-weight: 400;
}

.table thead th {
    text-align: center;
}


[class*=sidebar-dark] .brand-link, [class*=sidebar-dark] .brand-link .pushmenu {
    color: rgba(255,255,255,.8);
    background: #6c757d;
}

/*.main-sidebar{
    height:auto !important;
}*/
.layout-fixed .main-sidebar {
    bottom: 0;
    float: none;
    left: 0;
    position: fixed;
    top: 0;
    overflow-y: scroll;
}

.sidebar {
    overflow-y: visible !important;
}



.login {
    background: linear-gradient( rgba(0, 0, 0, 0.8), rgba(0, 0, 0, -0.2) ), url(/Content/img/background.png) no-repeat center center fixed;
    background-size: cover;
}


.login-card-body .input-group .input-group-text, .register-card-body .input-group .input-group-text {
    background-color: none;
    border-bottom-right-radius: 0.25rem;
    border-color: #007bff;
    border-left: 0;
    border-top-right-radius: 0.25rem;
    color: none;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}




/* Dimmed overlay */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.4); /* semi-transparent black */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
    z-index: 900;
}

    /* Show overlay */
    #overlay.active {
        opacity: 1;
        visibility: visible;
    }

/* Sliding Panel */
#sliding-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100vh;
    overflow: auto;
    background: #fff;
    box-shadow: -4px 0 10px rgba(0,0,0,0.2);
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 9999;
}

    /* Active class: slide in */
    #sliding-panel.active {
        transform: translateX(0);
    }



.info-box {
    height: 100vh; /* Fallback */
    height: -webkit-fill-available;
    height: -moz-available;
    height: fill-available;
}

    .info-box .info-box-text, .info-box .progress-description {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 24px;
        font-weight: 200;
    }

    .info-box .info-box-number {
        display: block;
        margin-top: .25rem;
        font-weight: bold;
        font-size: 21px;
    }

.card-title {
    font-size: 1.5rem;
}



#bar-chart {
    width: 100%;
    height: 350px; /* REQUIRED */
}



.user-panel img {
    width: 45px;
    height: 45px;
    object-fit: cover;
}


.upload-box {
    border: 2px dashed #ced4da;
    border-radius: 12px;
    padding: 30px 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 420px;
}

    .upload-box:hover {
        border-color: #17a2b8;
        background-color: #f8f9fa;
    }

.upload-label {
    cursor: pointer;
}

.upload-icon {
    font-size: 48px;
    color: #28a745;
    margin-bottom: 10px;
}


.login-box-msg {
    font-weight: 900;
    font-size: 1.5rem;
    font-variant-caps: all-petite-caps;
}
