/* Custom page styles */
.form-control {
    line-height: 25px !important;
}

.badge-disabled {
    background-color: #fff !important;
    color: #535f6b !important;
}

#loading-center {
    background: url(../images/pre-loader/loader-02.svg) no-repeat center;
}

.message {
    position: relative;
    padding: 0.55rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 4px;
    display: flex;
    align-items: stretch;
}

.message.success {
    color: #296f51;
    background-color: #dcf7eb;
    border-color: #42b483;
}

.message.error {
    color: #802d3d;
    background-color: #fddde4;
    border-color: #cf4863;
}

.error-message {
    font-size: 0.8em;
    padding: 0.55rem 1rem;
    margin-bottom: 1rem;
    color: #802d3d;
    background-color: #fddde4;
    border-color: #cf4863;    
}

.clear {
    clear: both;
}

.mb-1 {
    margin-bottom: 10px !important;
}

.mb-2 {
    margin-bottom: 20px !important;
}

.mb-3 {
    margin-bottom: 30px !important;
}

.mb-4 {
    margin-bottom: 40px !important;
}

.mb-5 {
    margin-bottom: 50px !important;
}

.mb-6 {
    margin-bottom: 60px !important;
}

label {
    font-weight: 600;
}

.info-usuario p {
    line-height: 15px;
    text-align: right;
    margin: 0;
    font-size: 0.9em;
    padding-right: 5px;
}

.info-usuario p span {
    display: block;
    font-size: 0.8em;
}

.navbar-list #dropdownMenuButton + .usuario-dropdown {
    width: min(50vw, 40rem);
    min-width: 20rem;
    max-width: calc(100vw - 2rem);
}

.navbar-list #dropdownMenuButton + .usuario-dropdown .dropdown-item {
    white-space: normal;
}

.navbar-list #dropdownMenuButton + .usuario-dropdown .dropdown-item p {
    min-width: 0;
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

.navbar-list #dropdownMenuButton + .usuario-dropdown.show {
    display: flex;
    flex-direction: column;
    min-height: 15rem;
    padding-top: .75rem;
    padding-bottom: .5rem;
}

.navbar-list #dropdownMenuButton + .usuario-dropdown.show > .dropdown-item:first-child {
    padding-top: .75rem;
    padding-bottom: 1.25rem;
    margin-bottom: auto;
}

.navbar-list #dropdownMenuButton + .usuario-dropdown.show > .dropdown-item:not(:first-child) {
    padding-top: .75rem;
    padding-bottom: .75rem;
}

.navbar-list #dropdownMenuButton + .usuario-dropdown.show > .dropdown-item.border-top {
    margin-top: .5rem;
}

@media (max-width: 575.98px) {
    .navbar-list #dropdownMenuButton + .usuario-dropdown {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        right: 0;
    }
}

.filepond--credits {
    display: none !important;
}

@media (min-width: 1300px) {
    body.sidebar-main .mm-sidebar-logo {
        transform: none;
    }

    body.sidebar-main .mm-sidebar-logo .header-logo {
        display: none;
    }
}

.card-body h4 {
    background: #f7f9ff;
    margin-bottom: 20px;
    padding: 10px;
}

#table .configuracion-toggle-form {
    flex-wrap: wrap;
    gap: .5rem;
}

.configuracion-switch {
    flex: 0 0 3.5rem;
    width: 3.5rem;
    height: 2rem;
    margin: 0;
    min-height: 2rem;
    padding-left: 0;
}

.configuracion-switch.custom-switch .custom-control-label {
    display: block;
    width: 3.5rem;
    height: 2rem;
    padding-left: 0;
    cursor: pointer;
}

.configuracion-switch.custom-switch .custom-control-input {
    top: 0;
    left: 0;
    width: 3.5rem;
    height: 2rem;
    z-index: 1;
    cursor: pointer;
}

.configuracion-switch.custom-switch .custom-control-label::before {
    top: 0;
    left: 0;
    width: 3.5rem;
    height: 2rem;
    background-color: #d9dee3;
    border-radius: 1rem;
    transition: background-color .15s ease-in-out;
}

.configuracion-switch.custom-switch .custom-control-label::after {
    top: .25rem;
    left: 4px;
    width: 1.5rem;
    height: 1.5rem;
    background-color: #adb5bd;
    border-radius: 50%;
    transition: transform .15s ease-in-out, background-color .15s ease-in-out;
}

.configuracion-switch.custom-switch .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #007bff;
}

.configuracion-switch.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
    background-color: #fff;
    transform: translateX(1.5rem);
}

@media (prefers-reduced-motion: reduce) {
    .configuracion-switch.custom-switch .custom-control-label::before,
    .configuracion-switch.custom-switch .custom-control-label::after {
        transition: none;
    }
}

.acciones-tabla {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .75rem;
}

.encabezado-ordenable {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    color: #000;
    font: inherit;
    max-width: 100%;
    white-space: nowrap;
    vertical-align: middle;
}

.encabezado-ordenable-direcciones {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-left: .25rem;
    line-height: .55rem;
}

.encabezado-ordenable-direccion {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: .55rem;
    line-height: .55rem;
    color: inherit;
    opacity: .7;
}

.encabezado-ordenable-direccion:hover,
.encabezado-ordenable-direccion:focus,
.encabezado-ordenable-direccion.activo {
    opacity: 1;
}

.encabezado-ordenable-direccion i {
    line-height: 1;
    margin: 0;
}

.encabezado-ordenable-direccion:first-child i {
    transform: translateY(.15rem);
}

.encabezado-ordenable-direccion:last-child i {
    transform: translateY(-.15rem);
}

.encabezado-ordenable-texto {
    color: #000;
    font: inherit;
    pointer-events: none;
}

.acciones-tabla > a,
.acciones-tabla > form,
.acciones-tabla > form > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    min-height: 2.25rem;
    margin: 0;
}

.acciones-tabla > form {
    padding: 0;
}

.acciones-tabla > form > button {
    padding: .25rem .5rem;
    border: 0;
    color: #007bff;
    background: transparent;
    cursor: pointer;
}

.acciones-tabla .accion-tabla-texto {
    min-width: auto;
    padding: .25rem .5rem;
}

.acciones-tabla i {
    font-size: 1.2em;
}

.carreras-selector-opciones {
    height: auto;
    max-height: 18rem;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overflow-anchor: none;
    padding: .5rem .75rem;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    background-color: #fff;
}

.carrera-selector-opcion {
    position: relative;
    min-height: 1.5rem;
    padding-left: 1.5rem;
    margin-bottom: .35rem;
}

.carrera-selector-opcion:last-child {
    margin-bottom: 0;
}

.carrera-selector-opcion .custom-control-label {
    cursor: pointer;
}

.carrera-selector-opcion .custom-control-input {
    top: .25rem;
    width: 1rem;
    height: 1rem;
}

.carrera-selector-opcion .custom-control-label::before,
.carrera-selector-opcion .custom-control-label::after {
    top: .25rem;
}

.tabla-responsive,
.solicitudes-tabla-responsive {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.tabla-responsive > table.table,
.solicitudes-tabla-responsive > table.table {
    display: table;
    width: 100%;
    max-width: none;
}

@media (min-width: 992px) {
    .filtros-solicitudes-tres > .col-lg-6 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

#table .configuracion-contador-form {
    gap: 0;
}

#table .configuracion-contador-input {
    width: 5rem;
    margin-right: .75rem;
}

::-webkit-scrollbar {
    width: 20px;
}
