/* Menú */

img.menu-logo {
    max-height: 8.375rem;
    max-width: 100%;
}

.nav-link {
    padding: 8px !important;
    color: #ffffff !important;
}


/* Accesos directos */

.accesos-directos a.btn-primary {
    text-align: left !important;
    display: block;
}

.accesos-directos a.btn-primary .icon {
    width: 48px;
    text-align: center;
}


/* Genéricos */

.en-linea {
    display: inline-block;
}

.ocultar {
    display: none;
}

.alinear-derecha {
    text-align: right !important;
}

.alinear-centro {
    text-align: center !important;
}


/* Tablas */

#tabla-enlazable tr.fila-enlazable:hover,
.tabla-enlazable_class tr.fila-enlazable:hover {
    background-color: #f5f4f9;
}

#tabla-enlazable tr.fila-enlazable td:hover,
.tabla-enlazable_class tr.fila-enlazable td:hover {
    cursor: pointer;
}

#tabla-enlazable tr.fila-enlazable td a,
.tabla-enlazable_class tr.fila-enlazable td a {
    color: #777777;
}

#tabla-enlazable tr.fila-enlazable td a:hover,
.tabla-enlazable_class tr.fila-enlazable td a:hover {
    text-decoration: none;
}

.tabla-ancho-auto {
    width: auto;
}

tr.fila-deshabilitada {
    background-color: #eeeeee !important;
    color: #9f9ea3 !important;
}

tr.fila-cc-pagado {
    background: #ccffcc;
}

tr.fila-cc-no-pagado {
    background: #ffcccc;
}

tr input[type=date] {
    max-width: 170px;
    display: inline-block;
}

td.celda-negativa {
    color: #ff0000;
}

tr.fila-total {
    font-weight: bold;
}

.table-dialogo-busqueda {
    background: #fff6ff;
    border: solid 1px #dfdee3;
    width: 100%;
    margin-top: 10px;
}

tr.fila-alinear-medio td {
    vertical-align: middle;
}


/* Sugerir funcionalidad */

.sugerir-funcionalidad {
    display: inline-block;
    float: right;
    position: fixed;
    right: 70px;
    bottom: 20px;
}

@media screen and (max-width: 600px) {
    .card-header .en-linea {
        margin: 0px 10px 10px 0px;
    }
    .table-responsive table {
        width: 100%;
    }
    .table-responsive thead {
        display: none;
    }
    .table-responsive tr:nth-of-type(2n) {
        background-color: inherit;
    }
    .table-responsive tr td:first-child {
        background: #f0f0f0;
        font-weight: bold;
    }
    .table-responsive tbody td,
    .table-responsive tfoot td {
        display: block;
        text-align: left;
    }
    .table-busqueda-responsive td {
        display: inline-block !important;
        border: 0px;
        font-weight: 400;
    }
    .table-busqueda-responsive tr {
        border: solid 1px;
    }
    .table-busqueda-responsive tr.fila-enlazable td:first-child {
        display: none !important;
    }
    .sugerir-funcionalidad {
        display: none !important;
    }
}

@media screen and (max-width: 320px) {
    .alerta-encabezado {
        background: #ff0000;
        font-weight: bold;
        font: size 26;
        text-align: center;
    }
}

@media screen and (max-width: 1380px) {
    .alerta-encabezado {
        background: #ff0000;
        font-weight: bold;
        font: size 28 !important;
        color: #ffffff;
        text-align: center;
    }
}

@media screen and (max-width: 320px) {
    .alerta-encabezado2 {
        background: #568abb;
        font-weight: bold;
        font: size 26;
        text-align: center;
    }
}

@media screen and (max-width: 1380px) {
    .alerta-encabezado2 {
        background: #568abb;
        font-weight: bold;
        font: size 28 !important;
        color: #ffffff;
        text-align: center;
    }
}


/* Formularios */

.formulario-en-dialogo {
    padding: 10px;
}


/* Imágenes */

.foto-perfil-cambio {
    width: 200px;
    max-width: 100%;
    margin-bottom: 5px;
    border: solid 1px #dfdee3;
}