/* sticky footer */
html {
    position: relative;
    min-height: 100%;
}
body {
    margin-bottom: 80px;
    background-color: #033555;
}
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
    background-color: #033555;
    color: white;
    border-top: 1px groove white;
    margin-bottom: 1px; /* corregir scrollbar */
}

/* make dark navbar links brighter */
.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-text {
    color: rgba(255, 255, 255, 0.75);
}
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 1);
}

/* smaller heading display */
.display-5 {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.1;
}

/* btn styles */
.btn {
    cursor: pointer;
}
.btn-xs {
    padding: 0.15rem 0.35rem;
    font-size: 0.75rem;
}
.btn-icon {
    padding-left: 0;
    padding-right: 0;
}
.btn-icon .fa {
    width: 2.25em;
    text-align: center;
}
.btn-icon.btn-sm .fa {
    width: 2.075em;
}
.btn-icon.btn-lg .fa {
    width: 2.3em;
}
.btn-transparent {
    background: transparent;
}

/* Resize image proportionally */
.auto-img {
    max-width:100%;
    height:auto;
}

/* fixed flash alert */
.alert-fixed {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
}

/* xl modal */
@media (min-width: 992px) {
    .modal-xl {
        max-width: 1100px;
    }
}

/* datatable styles */
.dataTables_wrapper {
    padding: 0;
}
.dataTables_wrapper th,
.dataTables_wrapper td {
    vertical-align: middle !important;
}
.dataTables_wrapper th {
    white-space: nowrap;
}
.dataTables_wrapper .actions {
    white-space: nowrap;
    text-align: right;
}

/* list group hover - original */
/* .list-group-hover .list-group-item:hover {
    background-color: #f8f9fa;
} */

/* Mios */

.verticalLine-left {
    /* Antes */
    /* border-left: 4px solid #424242; */
    border-left: 4px solid white;
    padding: 0 15px;
    color: #777;
}

.verticalLine {
    height: auto;
    margin: 0 9px;
    border-right: 1px solid #ffffff;
    border-left: 1px solid #f2f2f2;
}

.hr-1 {
    background-color: #212529 !important;
    border-top: 2px solid !important;
    border-top: 2px solid !important;
}

input[type="text"].w-2,
input[type="date"].w-2,
input[type="datetime"].w-2,
input[type="email"].w-2,
input[type="number"].w-2,
select.w-2 {
    width: 6.66666667%;
}

.custom-file-input ~ .custom-file-label::after { /*Texto botón file*/
    content: "Elegir";
}

.disabled-link {
    pointer-events: none;
    cursor: not-allowed;
}

.select2-results__option[aria-disabled="true"] {
    /* background-color: #a0a0a0; */
    /* border: 1px solid #fff; */
    color: #c0c0c0;
    cursor: not-allowed;
}

/* ---------------- Animate.css ---------------- */

:root {
    --animate-duration: 1s;
    --animate-delay: 1s;
    --animate-repeat: 1;
}
.animate__animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-duration: var(--animate-duration);
    animation-duration: var(--animate-duration);
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeInDown {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}
@keyframes fadeInDown {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}
.animate__fadeInDown {
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;
}

@-webkit-keyframes fadeOutUp {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }
}
@keyframes fadeOutUp {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }
}
.animate__fadeOutUp {
    -webkit-animation-name: fadeOutUp;
    animation-name: fadeOutUp;
}

/* ---------------- Animate.css ---------------- */

/* --------- Modal --------- */

/*  Boton Cerrar Modal */
.modal-header .close {
    color: white;
}

.modal-header,
.modal-body,
.modal-footer {
    background-color: #033555;
}

.modal-title {
    color: white;
}

.modal-content .form-group label {
    color: white;
}

.modal-content .form-check .form-check-label {
    color: white;
}

.text-muted {
    color: #b0becc !important;
}

/* Selected tab */
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    color: #30373e;
    background-color: #8196ab;
    border-color: #dee2e6 #dee2e6 #f8fafc;
}

/* Other tabs */
.nav-tabs .nav-link {
    margin-bottom: -1px;
    border: 1px solid transparent;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

.modal-body h5,
.modal-body h4,
.modal-body h3 {
    color: white;
}

.form-control:disabled,
.form-control[readonly] {
    background-color: #033555;
    opacity: 1;
    color: white;
}

.modal-body strong {
    color: white;
}

.list-group-item {
    position: relative;
    display: block;
    padding: -0.25rem 1.25rem;
    background-color: #033555;
    border: 1px solid white;
    color: white;
}

/* .list-group-hover .list-group-item:hover {
    background-color: rgb(114, 147, 207); // #033555
} */

/* Item seleccionado en select2 */
.select2-container--bootstrap4 .select2-dropdown .select2-results__option[aria-selected="true"] {
    color: white !important; 
    background-color: #0465a1 !important;
}

/* Item deshabilitado en select2 */
.select2-container--bootstrap4.select2-container--disabled .select2-selection, 
.select2-container--bootstrap4.select2-container--disabled.select2-container--focus .select2-selection {
    background-color: #033555 !important;
    opacity: 1 !important;
    color: white !important;
}

.modal hr {
    background-color: white;
}

.modal pre {
    background-color: white;
}

.modal h1,
.modal h2,
.modal h3,
.modal h4,
.modal h5,
.modal h6 {
    color: white;
}

/* card */

.card .card-body {
    background-color: #033555;
    color: white;
}

.card .card-header {
    font-size: 18px;
    background-color: #075f96;
    color: white;
    border-bottom: 1px groove white;
    /* margin-bottom: 1px; */ /* corregir scrollbar si llega a pasar */
}

.card .card-footer {
    font-size: 18px;
    background-color: #075f96;
    color: white;
    border-bottom: 1px groove white;
    /* margin-bottom: 1px; */ /* corregir scrollbar si llega a pasar */
}

.card-body .text-muted {
    color: #b0becc !important;
}

p {
    color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: white;
}

table {
    background-color: white !important;
}

.card-body hr {
    background-color: white;
}

.dataTables_length, .dataTables_info, .dataTables_filter label {
    color: white;
}

.accordion > .card > .card-header > .btn-link {
    color: white;
}