:root {
    --bg-header: #2b5f8e;
    --bg-navbar: #1e2952;
    --bg-sidebar: #e6e5f2;
    --bg-menu: #ddecff;
    --bg-query: #b6fae6;
    --cl-thead: #000000;
    --bg-thead: #e5e1cd;
    --bg-thead1: #e6ffff;
    --bg-thead2: #39c6f9;
    --cl-tbody: #000000;
    --bg-tbody: #b1cde5;
    --cl-tbody2: #000000;
    --bg-tbody2: #a9c7e8;
}

body {
    font-family: "Rubik", sans-serif;
    font-size: .90rem;
    font-weight: 400;
    line-height: 1.45;
    height: 100%;
}

.card {
    padding: 0;
}

.card-body {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0.75rem;
    background-size: 100% 100%;
}

.card-header, .card-footer {
    padding: 0.75rem;
}

.header-bar {
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    background-color: var(--bg-header);
    height: 35px;
    line-height: 35px;
}

.modal-header {
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    background-color: var(--bg-header);
    height: 35px;
    line-height: 35px;
    padding: 0 10px 0 10px;
}

.modal-body {
    background: #6a85b6;
    background: -webkit-linear-gradient(to right, rgba(106, 133, 182, 0.5), rgba(186, 200, 224, 0.5));
    background: linear-gradient(to right, rgba(106, 133, 182, 0.5), rgba(186, 200, 224, 0.5));
}

.modal-footer {
    padding: 0.75rem;
    background-color: #f8f9fa;
}

.modal-query {
    background-color: var(--bg-query);
    background-size: 100% 100%;
}

.navbar {
    height: 2.2rem;
    background-color: var(--bg-navbar);
    background-size: cover;
}

.navbar-brand {
    background-color: var(--bg-navbar);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
    padding: .25rem .3rem;
}

.navbar-toggler-icon {
    width: 20px !important;
    height: 20px !important;
}

.dropdown-item {
    padding: 2px 8px 2px 8px !important;
    font-size: .875rem !important;
}

.sidebar {
    width: 200px;
    min-width: 200px;
    padding: 0 !important;
    background-color: var(--bg-sidebar);
    background-size: 100% 100%;
}

.menu {
    min-width: 30px;
    padding: 0 !important;
    background-color: var(--bg-menu);
    background-size: 100% 100%;
}

.dropdown {
    min-width: 50px;
}

.sidebar .nav-link, .menu .nav-link {
    font-weight: 500;
    color: #333;
    height: 35px;
}

.sidebar .nav-link.active {
    font-weight: 700;
}

.sidebar-heading {
    font-size: .75rem;
}

@media(max-width: 768px) {
    .sidebar {
        display: none;
    }

    .dropdown {
        max-width: 220px;
    }
}

.content {
    width: 100vw;
    height: calc(100vh - 70px);
}

.table {
    margin-bottom: .5rem;
    border: 1px solid #b7c7cf;
}

.table>:not(:first-child) {
    border-top: 0;
}

.table button {
    padding: 0 .1rem 0 .1rem;
    margin: 0;
}

.table thead tr th {
    height: 33px;
    font-weight: 550;
    color: var(--cl-thead);
    background-color: var(--bg-thead); 
    vertical-align: middle;
}

.table tbody tr td {
    height: 33px;
    vertical-align: middle;
}

.table tbody td {
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table tbody td div {
    overflow: inherit;
    text-overflow: inherit;
    white-space: inherit;
}

.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
    color: var(--cl-tbody);
    background: var(--bg-tbody);
}

.table tbody tr.highlight td {
    font-weight: 550;
}

.table tbody tr.pointer td {
    cursor: pointer;
}

.table-h100 {
    min-width: 40vh;
    min-height: 25vh;
    margin-bottom: 0.75rem !important;
    overflow-y: auto;
}

.table-h50 {
    height: 33vh;
    min-width: 40vh;
    min-height: 25vh;
    margin-bottom: 0.75rem !important;
    overflow-y: auto;
}

.table .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    border: 1px solid #4a79b4;
    color: #4a79b4;
    border-radius: 4px;
    margin: 1px 3px 1px 3px;
    padding: 4px 2px 2px 2px;
    width: 24px;
    height: 24px;
}

.table .btn:hover {
    color: #ffffff;
    background: #4672a9;
}

.table .btn.green {
    color: #4ab46d;
    border: 1px solid #4ab46d;
}

.table .btn.green:hover {
    color: #ffffff;
    background: #46a966;
}

.table .btn.red {
    color: #b44a4a;
    border: 1px solid #b44a4a;
}

.table .btn.red:hover {
    color: #ffffff;
    background: #a94646;
}

.pagination {
    cursor: pointer;
}

.data-box {
    min-height: 70vh;
    max-height: 70vh;
    margin-bottom: 0.75rem !important;
    overflow-y: auto;
}

.nav-tabs .nav-link {
    color: #000000;
    background-color: #f6f5ee;
    padding: 5px 8px;
}

.nav-tabs .nav-link.active {
    color: #000000;
    font-weight: 700;
    background-color: #e5e1cd;
    padding: 5px 10px;
}

.huge {
    font-size: 18px;
}

.panel {
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}

.panel-header {
    padding: 10px 10px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.panel-footer {
    padding: 5px 10px 5px 10px;
}

.panel-blue {
    border-color: #337ab7;
}

.panel-blue .panel-header {
    border-color: #335fb7;
    color: #ffffff;
    background-color: #335fb7;
}

.panel-blue a {
    color: #335fb7;
}

.panel-blue a:hover {
    color: #337ab7;
}

.panel-info {
    border-color: #bce8f1;
}

.panel-info .panel-header {
    border-color: #bce5f1;
    color: #23527c;
    background-color: #bce5f1;
}

.panel-info a {
    color: #23527c;
}

.panel-info a:hover {
    color: #23527c;
}

.panel-green {
    border-color: #5cb85c;
}

.panel-green .panel-header {
    border-color: #5cb85c;
    color: #ffffff;
    background-color: #5cb85c;
}

.panel-green a {
    color: #5cb85c;
}

.panel-green a:hover {
    color: #3d8b3d;
}

.panel-red {
    border-color: #d9534f;
}

.panel-red .panel-header {
    border-color: #d9534f;
    color: #ffffff;
    background-color: #d9534f;
}

.panel-red a {
    color: #d9534f;
}

.panel-red a:hover {
    color: #b52b27;
}

.panel-yellow {
    border-color: #f0ad4e;
}

.panel-yellow .panel-header {
    border-color: #f0ad4e;
    color: #ffffff;
    background-color: #f0ad4e;
}

.panel-yellow a {
    color: #f0ad4e;
}

.panel-yellow a:hover {
    color: #df8a13;
}

.login-body, .accordion-body {
    background-size: 100% 100%;
    background-color: #fafafa;
}

.bold {
    font-size: 0.95rem;
    font-weight: 500;
}

.alert-box {
    position: fixed;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    background-color: #fffbce;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

.toast {
    width: 240px;
    vertical-align: middle;
}

.toast-header, .toast-header span {
    height: 24px;
    font-size: 14px;
    font-weight: bold;
    color: #000000;
    background-color: #faecc6;
}

.toast-body {
    font-size: 14px;
    color: #000000;
    background-color: #fdf7e7;
}