﻿/* BOOTSTRAP */

@import url(//fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;700&display=swap); /* MBM */

body {
    font-family: Rubik; /* MBM */
    padding-top: 50px;
    padding-bottom: 20px;
}
/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}
@media (min-width: 768px) {
   .navbar-toggle {
        display: block;
    }
}
@media (min-width: 100px) {
    .container {
        width: 100%;
        padding-left: 50px;
        padding-right: 50px;
        position: absolute;
        z-index: -1;
    }
    .navbar-nav {
        float: left;
        margin: 0;
    }
}
@media (min-width: 768px) {
    .container {
        width: 100%;
        padding-left: 50px;
        padding-right: 50px;
        position: absolute;
        z-index: -1;
    }
}
@media (min-width: 992px) {
    .container {
        width: 100%;
        padding-left: 50px;
        padding-right: 50px;
        position: absolute;
        z-index: -1;
    }
}
@media (min-width: 1200px) {
    .container {
        width: 100%;
        padding-left: 50px;
        padding-right: 50px;
        position: absolute;
        z-index: -1;
    }

    input,
    select,
    textarea {
        max-width: 300px;
    }
    .text-box {
        max-width: 300px;
    }
    .input-group-custom {
        max-width: 300px;
    }
}
.navbar-toggle {
    display: block;
    position: relative;
    float: left;
    padding: 9px 10px;
    margin-right: 15px;
    margin-top: 8px;
    margin-bottom: 8px;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}
.navbar-nav.navbar-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
    /*background-color: #07038C*/;
}
.navbar-inverse .navbar-toggle {
    border-color: none;
}
.navbar-inverse .navbar-brand {
    color: #DEDEDE;
}
.navbar-inverse {
    /*background-color: #07038C;*/ /* MBM */
    border-color: #07038C; /* MBM */
}
.navbar-inverse .navbar-nav > li > a {
    color: #DEDEDE;
}
#navbar-collapse-1 {
    display: none;
}
#navbar-collapse.active {
    display: block;
}
/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}
h2 {
    margin-bottom: 20px;
}
th {
    background-color: #ffffff;
    color: black;
    border-bottom: 0px solid #ddd !important;
}
.btn-primary {
    color: #fff;
    background-color: #07038C; /* MBM */
    border-color: #2e6da4;
}
.btn-primary:focus,
.btn-primary.focus {
    color: #fff;
    background-color: #0439D9; /* MBM */
    border-color: #122b40;
}
.btn-primary:hover {
    color: #fff;
    background-color: #0439D9;
    border-color: #204d74;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
    color: #fff;
    text-decoration: none;
    background-color: #07038C;
    outline: 0;
}

.breadcrumb {
    padding: 8px 0px;
    margin-bottom: 20px;
    list-style: none;
    background-color: white !important;
    border-radius: 4px;
}

/* MODAL */

.modal-backdrop {
    display: none;
}
.modal {
    background: rgba(0,0,0,0.5);
}
.modal-dialog {
    margin-top: 60px;
}

/* TAMAÑO DE ICONOS */

.gi-1x {
    font-size: 1.1em;
}
.gi-2x {
    font-size: 2em;
}
.gi-3x {
    font-size: 3em;
}
.gi-4x {
    font-size: 4em;
}
.gi-5x {
    font-size: 5em;
}

/* DATATABLES */

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    background-color: #07038C; /* MBM */
    border-color: #07038C; /* MBM */
}
.table > caption + thead > tr:first-child > th, .table > colgroup + thead > tr:first-child > th, .table > thead:first-child > tr:first-child > th, .table > caption + thead > tr:first-child > td, .table > colgroup + thead > tr:first-child > td, .table > thead:first-child > tr:first-child > td {
    background-color: #F4F4F4; /* MBM */
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    background-color: #F4F4F4; /* MBM */
}
.btn-table {
    color: #333;
    background-color: transparent;
    border-color: transparent;
}
.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
    background-color: #EEEEEE;
}
.table-responsive {
    border: 0px solid #ddd;
}
button.dt-button, div.dt-button, a.dt-button {
    border: 1px solid #ddd;
}

.table-title {
    color: black;
    font-size: 18px;
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 5px;
}

.table-col-bold {
    color: black;
    font-weight: bold;
}

.dataTables_scrollBody {
    width: 100% !important;
}

td.details-control {
    background: url('../Content/DataTables/images/details_open.png') no-repeat center center;
    cursor: pointer;
}

tr.shown td.details-control {
    background: url('../Content/DataTables/images/details_close.png') no-repeat center center;
}

/* OTROS */

.panel-filter {
    background: #F4F4F4;
}
.panel-filter-blank {
    background: white;
    margin-bottom: 20px;
}
.panel-default {
    border-color: #ddd;
}
.validation-summary-errors {
    color: red;
}
.field-validation-error {
    color: red;
}
.input-validation-error {
    border: 1.2px solid red;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.form-control:focus {
    border: 1.2px solid #0439D9;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    opacity: 1;
}
/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    /*max-width: 280px;*/
}
textarea:focus {
    border: 1.2px solid #0439D9;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    opacity: 1;
}
.text-box {
    max-width: 100%;
    /*max-width: 280px;*/
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    height: 77px;
    display: block;
}
text-box:focus {
    border: 1.2px solid #0439D9;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    opacity: 1;
}

.hr-subrayado {
    margin-top: 0px;
    border-top: 1px solid #DEDEDE;
}

.input-group-btn:last-child > .btn, .input-group-btn:last-child > .btn-group {
    z-index: 2;
    margin-left: -1px;
    padding: 7px 5px 5px;
    margin-top: -2px;
}
.btn-select {
    color: #fff;
    background-color: #B4B4B4;
    border-color: #B4B4B4;
}

.tab {
    font: var(--unnamed-font-style-normal) normal var(--unnamed-font-weight-normal) var(--unnamed-font-size-20)/var(--unnamed-line-spacing-24) var(--unnamed-font-family-rubik);
    letter-spacing: var(--unnamed-character-spacing-0);
    color: var(--gray-80);
    text-align: left;
    font: normal normal 14px/24px Rubik;
    letter-spacing: 0px;
    color: #3A3A3A;
    opacity: 1;
}

/* MENU VERTICAL */
.sidebar {
    display: none;
    float: left;
    width: 250px;
    background: #333;
    position: absolute;
    background-color: #111;
}
.content {
    display: block;
    overflow: hidden;
    width: auto;
}
.sidebar-nav {
    /*border-bottom: 1px solid rgba(0, 0, 0, 0.3);*/
    background-image: -webkit-linear-gradient(left, color-stop(#07038C 10px), color-stop(#07038C 10px));
    background-image: linear-gradient(to right, #07038C 10px, #07038C 10px);
    background-repeat: repeat-x;
    /*filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#ff333333', endColorstr='#ff222222', GradientType=1);*/
}
.sidebar-nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.sidebar-nav a, .sidebar-nav a:hover, .sidebar-nav a:focus, .sidebar-nav a:active {
    outline: none;
}
.sidebar-nav ul li, .sidebar-nav ul a {
    display: block;
}
.sidebar-nav ul a {
    font: menu;
    opacity: 1;
    padding: 10px 20px;
    color: white;
    border-top: 0px solid rgba(0, 0, 0, 0.3);
    box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.05) inset;
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
}
.sidebar-nav ul a:hover, .sidebar-nav ul a:focus, .sidebar-nav ul a:active {
    color: #fff;
    text-decoration: none;
}
.sidebar-nav ul ul a {
    padding: 10px 20px 10px 30px;
    background-color: #0023A2;
}
.sidebar-nav ul ul ul a {
    padding: 10px 20px 10px 45px;
    background-color: #0023A2;
}
.sidebar-nav ul ul a:hover, .sidebar-nav ul ul a:focus, .sidebar-nav ul ul a:active {
    background-color: #0439D9; /* rgba(255, 255, 255, 0.2); */
}
.sidebar-nav ul li ul li ul li a.active {
    background-color: #0439D9; /*#0439D9; */ /* rgba(255, 255, 255, 0.2); */
}
.sidebar-nav-item {
    padding-left: 5px;
}
.sidebar-nav-item-icon {
    padding-right: 5px;
}
#rtlh3 small {
    transform: rotateY(180deg);
    display: inline-block;
}

*[dir="rtl"] .metismenu .has-arrow1::after {
    right: auto;
    left: 1em;
    -webkit-transform: rotate(135deg) translate(0, -50%);
    -ms-transform: rotate(135deg) translate(0, -50%);
    -o-transform: rotate(135deg) translate(0, -50%);
    transform: rotate(135deg) translate(0, -50%);
}

.metismenu .active > .has-arrow1::after,
.metismenu .has-arrow1[aria-expanded="true"]::after {
    -webkit-transform: rotate(-135deg) translate(0, -50%);
    -ms-transform: rotate(-135deg) translate(0, -50%);
    -o-transform: rotate(-135deg) translate(0, -50%);
    transform: rotate(-135deg) translate(0, -50%);
}

/* MENU SESION */

.menu-sesion {
    width: 200px;
    display: none;
    position: absolute;
    right: 0;
}

.menu-sesion a {
    display: block;
    background-color: #0023A2;
    text-decoration: none;
    font: menu;
    opacity: 1;
    padding: 10px 20px;
    color: white;
    border-top: 0px solid rgba(0, 0, 0, 0.3);
    box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.05) inset;
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
}

.menu-sesion a:hover {
    background-color: #0439D9;
}

.menu-sesion a.active {
    background-color: #0439D9;
    color: white;
}

.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}