/* 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;
}

/* Template */
[class*=sidebar-light] .nav-sidebar > .nav-item .nav-treeview,
[class*=sidebar-light] .nav-sidebar > .nav-item > .nav-treeview {
    background-color: #fff;
}
[class*=sidebar-light] .nav-treeview > .nav-item > .nav-link.active,
[class*=sidebar-light] .nav-treeview > .nav-item > .nav-link:focus,
[class*=sidebar-light] .nav-treeview > .nav-item > .nav-link:hover,
[class*=sidebar-light] .nav-treeview > .nav-item.active > .nav-link {
    color: #1470bf;
}
[class*=sidebar-light-] .nav-sidebar > .nav-item.menu-open > .nav-link,
[class*=sidebar-light-] .nav-sidebar > .nav-item:hover > .nav-link {
    background-color: #fff;
}
.nav-flat.nav-sidebar > .nav-item .nav-treeview .nav-item > .nav-link,
.nav-flat.nav-sidebar > .nav-item > .nav-treeview .nav-item > .nav-link {
    border-left: 0;
}
.sidebar-mini .navbar-badge{
    top: 1px;
}
.main-home.main-sidebar{
    min-height: 0;
}
body .login-box {
    width: 370px;
}
body .login-box .login-card-body {
    padding: 20px 30px;
}
.login-box .login-logo a{
    color: #dc3545;
    font-weight: bold;
    text-shadow: 1px 1px 1px #000;
}
.login-card-body img {
    padding: 10px;
}
.login-branding {
    padding: 10px 0;
    margin: 1rem 0 1.75rem 0;
}
.login-branding small {
    display: block;
}
.login-branding h5,
.login-branding small {
    text-align: center;
}
.login-card-body form .form-control,
.login-card-body form .input-group .input-group-text {
    border-radius: 0;
}
.login-card-body .input-group .form-control:focus,
.login-card-body .input-group .form-control:focus~.input-group-append .input-group-text {
    border-color: #cfcdcd;
}
.navbar-nav > .user-menu > .dropdown-menu > li.user-header{
    height: auto;
    padding: 10px;
}
.navbar-nav > .user-menu > .dropdown-menu > .user-footer {
    background-color: #fff;
}
.bg-okc{
    background-color: var(--gris);
    padding: 40px 10px;
    min-height: calc(100vh - 50px);
}
.dropdown-item a{
    display: block;
}

/* Bootstrap Select*/
.bootstrap-select .btn-light,
.bootstrap-select > .dropdown-toggle.bs-placeholder,
.bootstrap-select > .dropdown-toggle.bs-placeholder:active,
.bootstrap-select > .dropdown-toggle.bs-placeholder:focus {
    background-color: #ffffff;
    color: #495057;
    border: 1px solid #d2d6de;
    outline: none;
    line-height: 1.2;
}

.bootstrap-select .dropdown-toggle:active,
.bootstrap-select .dropdown-toggle:visited,
.bootstrap-select .dropdown-toggle:focus {
    border-color: #80bdff !important;
    outline: 0 !important;
}

.bs-searchbox > .form-control {
    height: calc(1.8125rem + 2px);
    padding: .25rem .5rem;
}

.bootstrap-select .dropdown-menu {
    color: #495057;
}
.bootstrap-select .dropdown-item.active, .dropdown-item:active {
    background-color: #badbff;
    color: #495057;
}

.bootstrap-select .filter-option-inner-inner {
    font-size: 11.5px;
    line-height: 1.5;
}
.dropdown-menu ul.dropdown-menu li a.dropdown-item span.text {
    font-size: 11.5px;
}

/* 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%; }
.modal .modal-body h6,
.form-row h6{
    font-size: 12.5px;
}

/* Estilos Básicos */
* {
    font-family: var(--font);
}
img{
    width: 100%;
    height: 100%;
}
table{
    width: 100% !important;
}
a, a:hover, a:active{
    color: #4e4e4e;
    text-decoration: none;
}

table{
    width: 100% !important;
}
table tbody tr td{
    color: #4e4e4e;
}
textarea{
    resize: none;
}
.form-group small{
    color: #a9a9a9;
}
input::placeholder {
    font-size: 11px;
}
li.ui-menu-item,
.ui-menu .ui-menu-item-wrapper {
    width: 100%;
    display: block;
}
.content .form-control-sm {
    font-size: .8rem;
}
body .table label.status {
    font-weight: normal;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
    padding: 5px 5px 2px 5px;
}

/*Estilo Table y DataTable */
table,
table.dataTable {
    font-size: x-small;
}
.dataTables_wrapper{
    font-size: 11.5px !important;
}
.dataTables_wrapper > div {
    margin-bottom: 10px;
}
.dataTables_wrapper .dt-buttons {
    position: relative;
    float: left;
}
.dataTables_wrapper .dataTables_filter label {
    vertical-align: middle;
    margin-bottom: 0;
}
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_filter button {
    border-radius: 0;
}
.dataTables_wrapper .dataTables_filter button {
    border-left: 0;
}
table .dataTables_empty{
    text-align: left !important;
}
.dataTables_wrapper table.dataTable tbody tr td{
    vertical-align: middle;
}
.dataTables_wrapper table.dataTable tbody tr:hover {
    background-color: rgba(60, 172, 237, 0.2);
    cursor: text;
}
table.dataTable tr th {
    padding: 8px;
}
table.dataTable tr td {
    padding: 5px;
}

/* Estilo para Select 2 */
body .select2-container{
	width: 100% !important;
}
body .input-group-sm .select2-container {
    width: 90% !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;
}
.modal .select2-container--default .select2-selection--single{
    border-radius: 3px;
}
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;
}
body .select2-selection.select2-selection--single:focus,
body .select2-selection.select2-selection--single:hover,
body .select2-selection.select2-selection--single:visited {
    outline: 1px;
    border-color: #80bdff !important;
}
.modal .select2-selection__placeholder {
    font-size: 11px;
}

/* Switch */
.modal .bootstrap-switch .bootstrap-switch-handle-off,
.modal .bootstrap-switch .bootstrap-switch-handle-on,
.modal .bootstrap-switch .bootstrap-switch-label {
    font-size: 12px;
    padding: 2px 4px;
    width: 40px !important;
}


/* Iconos */
/* span.fa,
span.fas {
    font-weight: normal;
} */

.input-group-text span.fa,
.input-group-text span.fas {
    font-weight: 900;
}

/* Estilo para subir la página */
.back-to-top {
    position: fixed;
    width: 3.71428571em;
    height: 3.71428571em;
    background: #fff;
    border-radius: 50%;
    text-align: center;
    right: 1.85714286em;
    bottom: 3.71428571em;
    padding-top: 12px;
    box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.04);
    z-index: 99;
    border: 1px solid #ececec;
    transition: 0.2s ease-out;
}
.back-to-top i {
    color: #252525;
    font-size: 20px;
}
.back-to-top:not(.active) {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    pointer-events: none;
}
.back-to-top.active:hover {
    transform: translate3d(0, -5px, 0);
}


/* Nuevos Estilos */
.card .card-footer {
    background: none;
}
.btn-okc,
.btn-okc:hover,
.btn-okc:active{
    background-color: transparent;
}
.btn-okc span {
    color: #0f6c7b;
}
.help-block {
    display: block;
    color: #eb6f6f;
}
.table .badge{
    font-size: x-small;
    padding: 4px;
    margin-right: 4px;
}
.notificaciones {
    display: inline-block;
    width: 170px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 1;
    font-size: 12px;
}

/* Estilos para listas modal card */
.lista {
    width: 100%;
	display: block;
	border-top: 1px solid #ddd;
	cursor: pointer;
}
.lista:first-child {
    border-top: 0;
}
.lista-padres {
    padding: 6.5px 10px;
    background-color: #d2e8ff;
    font-size: 13px;
}
.lista-hijos {
    padding: 6.5px 25px;
    font-size: 12px;
}
.lista-hijos:hover {
    background-color: #ddd;
}

/* Estilos para autocompletar */
.autocomplete-cc {
    font-size: 11px;
    color: #000;
}
.autocomplete-cc:hover {
    color: #fff;
}
.autocomplete-cc strong {
    color: #000;
}

@media (max-width: 768px) {
    .modal-lg, .modal-md, .modal-sm, .modal-xs, .modal-xxs, .modal-xxxs{
        width: 90%;
    }
}
