/* Badge global */
.badge { font-size: 80% !important; }

/* Variables */
@import url(https://fonts.googleapis.com/css?family=Roboto);

:root{
    --gris: #f4f6f9;
    --font: "Roboto", sans-serif;;
}

/* Scroll */
::-webkit-scrollbar{
    width: 9px;
    background-color: #fff;
}
::-webkit-scrollbar-track{
    box-shadow: inset 0 0 6px rgba(255, 255, 255, .3);
    background-color: #fff;
}
::-webkit-scrollbar-thumb{
    background-color: #b8b8b8; 
}

/* Alerts */
.flash-message .alert-success{
    color: #155724 !important;
    background-color: #101110 !important;
    border-color: #c3e6cb !important;
}
.flash-message .alert-info{
    color: #0c5460 !important;
    background-color: #d1ecf1 !important;
    border-color: #bee5eb !important;
}
.flash-message .alert-warning{
    color: #856404 !important;
    background-color: #fff3cd !important;
    border-color: #ffeeba !important;
}
.flash-message .alert-danger{
    color: #721c24 !important;
    background-color: #f8d7da !important;
    border-color: #f5c6cb !important;
}

/* Modals */
.modal { overflow-y: auto !important; }
.modal-xlarge{ max-width: 92%; }
.modal-xl{ max-width: 85%; }
.modal-lg{ max-width: 78%; }
.modal-md{ max-width: 60%; }
.modal-sm{ max-width: 50%; }
.modal-xs{ max-width: 35%; }
.modal-xxs{ max-width: 25%; }
.modal-xxxs{ max-width: 15%; }

/* New class */
* {
    font-family: var(--font);
}
img{
    width: 100%;
    height: 100%;
}
table{
    width: 100% !important;
}
a, a:hover, a:active{
    color: #4e4e4e;
    text-decoration: none;
}

.info-box-number {
    font-family: 'Arial', sans-serif;
}
.dropdown-item.active, .dropdown-item:active{
    color: #0e0e0e;
    background-color: #b5d4f5;
}
.nav-pills .nav-link:not(.active):hover{
    color: #dc3545;
}
.user-footer a.btn{
    font-size: 12px;
}
.mt-btn{
    margin-top: 23px;
}
table{
    width: 100% !important;
}
table tbody tr td{
    color: #4e4e4e;
}
textarea{
    resize: none;
}
.footer-login{
    padding: 8px 0;
}
.footer-login a{
    padding: 8px 2px;
    display: block;
}
.dataTables_wrapper{
    font-size: 11.5px !important;
}
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_paginate{
    text-align: right !important;
}
table .dataTables_empty{
    text-align: left !important;
}
.dataTables_wrapper table.dataTable tbody tr td{
    vertical-align: middle;
}
.form-group label{
    display: block;
}
section table.table tr th,
section table.table tr td{
    font-size: 11px;
    vertical-align: middle;
}
section table.table-result-rpt tr th,
section table.table-result-rpt tr td{
    font-size: 10.2px;
    vertical-align: middle;
}
section table.table thead .input-sm{
    height: 27px;
}
.loading{
    position: fixed;
    z-index: 9999;
    background:  rgba(17, 17, 17, 0.5);
    width: 100%;
    height: 100%;
    top: 0; 
    left: 0;
}
.loading div{
    position: absolute;
    background-image: url('../images/loading.gif');
    background-size: 60px 60px;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin-top: -30px;
    margin-left: -30px;
}
body .select2-container{
	width: 100% !important;
}
body .input-group-sm .select2-container {
    width: 92% !important;
}
body .select2-container--default .select2-selection--single,
body .select2-container--default .select2-selection--multiple{
	border-color: #d2d6de !important;
}
body .select2-container--default .select2-selection--single .select2-selection__rendered{
	line-height: 23px !important;
}
.form-group small{
    color: #a9a9a9;
}
.dnone{
    display: none;
}
.dblock{
    display: block;
}
.widget-user .widget-user-header{
    height: 105px;
}
.widget-user .box-footer{
    font-size: 12px;
    padding-top: 20px !important;
}
.modal code{
    font-size: 10.5px !important;
}
.modal .select2-container--default .select2-selection--single{
    border-radius: 3px;
}
.modal .modal-body h6,
.form-row h6{
    font-size: 12.5px;
}
.modal fieldset{
    border: 1px solid #ddd;
    padding: 8px 15px;
}
.modal fieldset legend{
    width: auto;
    padding: 8px;
    font-size: 14px;
    margin-bottom: 0;
    border-bottom: 0;
    color: #6f6e6e;
}
.sidebar-mini .navbar-badge{
    top: 1px;
}
.main-home.main-sidebar{
    min-height: 0;
}
.login-footer{
    width: 100%;
    font-size: 12px;
}
.navbar-nav > .user-menu > .dropdown-menu > li.user-header{
    height: 160px;
}
.bg-okc{
    background-color: var(--gris);
    padding: 40px 10px;
    min-height: calc(100vh - 50px);
}
.bg-okc-rpt{
    background-color: var(--gris);
    padding: 10px;
    min-height: calc(100vh - 50px);
}
.dropdown-item a{
    display: block;
}
.table-result-rpt thead th {
    text-align: center;
}
.table-result-rpt th,
.table-result-rpt td {
    padding: 5px;
}
.table-result-rpt ul {
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: 0;
}
.table-result-rpt li {
    list-style: none;
}
.table-result-sm td {
    padding: 5px;
}
.table.dataTable td {
    padding: .5rem;
}
.content .form-control-sm {
    font-size: .8rem;
}
.table-result-sm .form-control,
.table-result-sm .btn,
select.form-control-sm~.select2-container--default {
    font-size: .675rem !important;
    border-radius: 0;
}
body .select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    padding-right: 15px;
}
.table-result-sm .select2-container--default .select2-selection--single {
    border-radius: 0; 
}
.text-sm .select2-container--default .select2-selection--single .select2-selection__rendered,
select.form-control-sm~.select2-container--default .select2-selection--single .select2-selection__rendered {
    margin-top: -.2rem;
}
.text-sm .select2-container--default .select2-selection--single .select2-selection__arrow,
select.form-control-sm~.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 3px;
}
body .select2-container--default .select2-results__option {
    padding: 4px 7px;
    font-size: 11px;
}
.table.dataTable tbody td label {
    margin: 0;
    font-size: 10.5px;
    padding: 5px 8px;
    font-weight: normal;
}

.info-customer {
    border-radius: .25rem;
    box-shadow: 0 1px 3px rgb(0 0 0 / 12%), 0 1px 2px rgb(0 0 0 / 24%);
    background-color: #fff;
    border-left: 5px solid #e9ecef;
    margin-bottom: 1rem;
    padding: 1rem;
    border-left-color: #117a8b;
}
input::placeholder {
    font-size: 11px;
}
.table-resumen tbody tr td {
    padding: 2px;
}
.table-resumen thead {
	background-color: #f4f4f4;
}
.table-details tbody tr td {
    padding: 3px 5px;
}
li.ui-menu-item,
.ui-menu .ui-menu-item-wrapper {
    width: 100%;
    display: block;
}

/* Sidebar nav: hover */
.main-sidebar .nav-sidebar .nav-link:not(.active):hover {
    background-color: rgba(220, 53, 69, 0.10) !important;
    box-shadow: 0 1px 6px rgba(220, 53, 69, 0.22) !important;
}

/* Sidebar nav: active */
.main-sidebar .nav-sidebar .nav-link.active {
    background-color: #dc3545 !important;
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.50) !important;
}
.main-sidebar .nav-sidebar .nav-link.active p,
.main-sidebar .nav-sidebar .nav-link.active i {
    color: #fff !important;
}

@media (min-width: 768px) {
    .modal-lg, .modal-md, .modal-sm, .modal-xs, .modal-xxs, .modal-xxxs{
        width: 90%;
    }
}