a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    overflow: hidden;
    display: flex;
    width: 100%;
    align-items: stretch;
}

nav.navbar {
    background-color: #0C4D91;
    color: #ffffff;
}

    nav.navbar img {
        position: absolute;
        left: calc(50% - 30px);
        height: 40px;
        top: 8px;
    }

#sidebar {
    overflow: auto;
    height: 100vh;
    position: fixed;
    left: 0;
    min-width: 220px;
    max-width: 220px;
    background: #2f353a;
    color: #fff;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    #sidebar.active {
        margin-left: -220px;
    }

    #sidebar ul li a {
        padding: 10px;
        display: block;
        border-bottom: 1px solid #7f7f7f;
    }

        #sidebar ul li a:hover {
            color: #2f353a;
            background: #fff;
        }

        #sidebar ul li a.active {
            color: #2f353a;
            background: #fff;
        }

.info-usuario {
    margin-bottom: 30px;
    align-self: center;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.dropdown-toggle.collapsed::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%) rotate(180deg);
}


ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
#content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
    margin-left: 220px;
}

    #content.active {
        margin-left: 0;
    }

.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

#sidebarCollapse {
    color: #ffffff;
}
/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 768px) {
    #sidebar {
        margin-left: -220px;
    }

        #sidebar.active {
            margin-left: 0;
        }

    #content {
        margin-left: 0;
    }

        #content.active {
            margin-left: 220px;
        }
}

@media (max-width: 576px) {
    #sidebar {
        z-index: 9999;
    }

    .overlay.active {
        display: block;
        opacity: 1;
    }

    #content.active {
        margin-left: 0;
    }

    .abs-center-x {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    nav.navbar img {
        display: none;
    }
}


@media(min-width: 576px) {
    #sidebarCollapse {
        left: 180px;
    }
}

/* ---------------------------------------------------
    AJUSTES
----------------------------------------------------- */

.table-button-column {
    min-width: 67px;
}

/* ---------------------------------------------------
    NOT FOUND
----------------------------------------------------- */

.not-found-content {
    width: 100%;
    height: 100vh;
    background: rgb(8,50,94);
    background: linear-gradient(90deg, rgba(8,50,94,1) 4%, rgba(12,77,145,1) 49%, rgba(12,104,201,1) 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.btn-dia {
    width: 40px;
}

.btn-mes {
    width: 274px;
}


/* Absolute Center Spinner */
.loading {
    position: fixed;
    z-index: 999;
    height: 2em;
    width: 2em;
    overflow: visible;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

    /* Transparent Overlay */
    .loading:before {
        content: '';
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.3);
    }

    /* :not(:required) hides these rules from IE9 and below */
    .loading:not(:required) {
        /* hide "loading..." text */
        font: 0/0 a;
        color: transparent;
        text-shadow: none;
        background-color: transparent;
        border: 0;
    }

        .loading:not(:required):after {
            content: '';
            display: block;
            font-size: 10px;
            width: 1em;
            height: 1em;
            margin-top: -0.5em;
            -webkit-animation: spinner 1500ms infinite linear;
            -moz-animation: spinner 1500ms infinite linear;
            -ms-animation: spinner 1500ms infinite linear;
            -o-animation: spinner 1500ms infinite linear;
            animation: spinner 1500ms infinite linear;
            border-radius: 0.5em;
            -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
            box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
        }

/* Animation */

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}


/*===
//--//-->   Loader
===*/

.loader-background {
    width: 100%;
    height: 100%;
    position: relative; /* Cambiamos de absolute a relative */
    background-color: white;
}

.loader {
    border: 16px solid #d4d4d4;
    border-top: 16px solid #337ab7;
    border-bottom: 16px solid #337ab7;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1.5s linear infinite;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
    margin: auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.centro {
    width: 150px;
    height: 150px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -75px;
    margin-left: -75px;
}

.centrado-porcentual {
    top: 35px;
}

/*===
//--//-->   Menu
===*/

.menu {
    color: white;
    text-decoration: none
}

    .menu:hover {
        color: #2f353a;
        text-decoration: none
    }

/*===
//--//-->   Resumen
===*/

.TablaBorde {
    border: 1px solid #6c757d !important;
}


.FondoBlanco {
    background-color: white !important;
}


/*===
//--//-->   Drag and drop
===*/

.drag-drop-zone {
    border: 3px dashed #0C4D91;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eee;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.2);
    color: #aeaeae;
    cursor: pointer;
    margin: 0.5rem 0 2rem 0;
    position: relative;
}


    .drag-drop-zone:hover {
        background-color: #f5f5f5;
    }

    .drag-drop-zone input[type=file] {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
    }

.drag-drop-zone-sucess {
    border: 3px dashed #28a745;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eee;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.2);
    color: #aeaeae;
    cursor: pointer;
    margin: 0.5rem 0 2rem 0;
    position: relative;
}

    .drag-drop-zone-sucess:hover {
        background-color: #f5f5f5;
    }

    .drag-drop-zone-sucess input[type=file] {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
    }

pre {
    background-color: #f0f0f0;
    overflow: auto;
    padding: 1rem;
    height: 50rem;
}

.primary-color {
    color: #0C4D91 !important;
}

.btn-primary-FOSA {
    color: white !important;
    background-color: #0C4D91 !important;
    border-color: #0C4D91 !important;
}

.subir {
    padding: 5px 10px;
    background: #0C4D91;
    color: #fff;
    border: 0px solid #fff;
}

    .subir:hover {
        color: #fff;
        background: #f7cb15;
    }

@media (min-width: 576px) {
    .modal-dialog2 {
        max-width: 1200px !important;
        margin: 1.75rem auto !important;
    }
}


#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ---------------------------------------------------
    INPUT DE BÚSQUEDA
----------------------------------------------------- */
.has-search .form-control {
    padding-left: 2.375rem;
}

.has-search .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
}

/* ---------------------------------------------------
    FORM VALIDATION
----------------------------------------------------- */
.form-control.invalid {
    border-color: #dc3545;
}

.form-control.valid {
    border-color: #28a745;
}

.validation-message {
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545;