/**
    HOJA DE ESTILO PRINCIPAL.CSS DE Qoopo ERP
    PROPIEDAD DE Qoopo SA.

    Document        : principal
    Created on      : 17-may-2012, 15:53:27
    Author          : Alberto Garcia
    Description     :
*/

/******************************************************
        CONFIGURACION GLOBAL
*******************************************************/

/* Tema claro (por defecto) */
:root {
    font-size: 14px;

    --background-color: #f9f9f9;
    --foreground-color: #fff;
    --widget-bg: #fff;
    --widget-bg-hover: #f5f6f9;
    --text-color: #664444;
    --primary: #1e7db1;
    --secondary: #186ba0;
    --color-1: #1e7db1;
    --color-2: #b2bff3;
    --color-3: #f3f3f3;
    --color-4: #fff;
    --color-5: #fff;
    --color-6: #69bb59;
    --color-7: #399b21;
    --color-8: #7b8179;
    --color-9: #1f6b0c;
    --color-0: #556751;
    --draft: #d4dee4;
    --btn-back: #1e7db1;
    --btn-label: #fff;
    --btn-border: #1e7db1;
    --btn-other-back: #eceff1;
    --btn-other-label: #664444;
    --btn-other-border: #cccfd2;
    --menu-bg-color: #fff;
    --menu-bg-color-over: #f5f5f5;
    --menu-border-color: #ddd;
    --menu-text-color-over: #555;
    --menu-disabled-color: #777;
    --menu-disabled-bg: #eee;
    --menu-active-bg: var(--primary);
    --menu-active-color: #e1edf7;
    --success-rgb: #28a745;
    --info-rgb: #17a2b8;
    --warning-rgb: #ffac00;
    --danger-rgb: #dc3545;

    --paper-bg: #fff;
    --paper-wrapper-bg: #eee;
}

/* Tema oscuro */
body.theme-dark,
.theme-dark {
    font-size: 14px;
    --background-color: #181a1b;
    --foreground-color: #23272a;
    --widget-bg: #262a36;
    --widget-bg-hover: #3b4041;
    --text-color: #e0e0e0;
    --primary: #3d6b97;
    --secondary: #131c22;
    --color-1: #2f3f4e;
    --color-2: #2d3a4a;
    --color-3: #23272a;
    --color-4: #23272a;
    --color-5: #23272a;
    --color-6: #69bb59;
    --color-7: #399b21;
    --color-8: #7b8179;
    --color-9: #1f6b0c;
    --color-0: #556751;
    --draft: #2d3a4a;
    --btn-back: #3c3e4b;
    /* #0d151c; */

    --btn-label: #fff;
    --btn-border: #3c3e4b;
    --btn-other-back: #23272a;
    --btn-other-label: #e0e0e0;
    --btn-other-border: #444950;
    --menu-bg-color: #23272a;
    --menu-bg-color-over: #2d3a4a;
    --menu-border-color: #444950;
    --menu-text-color-over: #e0e0e0;
    --menu-disabled-color: #888;
    --menu-disabled-bg: #23272a;
    --menu-active-bg: var(--primary);
    --menu-active-color: #fff;
    --success-rgb: #28a745;
    --info-rgb: #17a2b8;
    --warning-rgb: #ffac00;
    --danger-rgb: #dc3545;
    --paper-bg: #333;
    --paper-wrapper-bg: #555;
}

/* Aplica los colores de fondo y texto globales */
body,
html {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-align: left;
    /* font-weight: 400; */
    /* line-height: 1.5; */
    font-size: 1rem;
    background-color: var(--background-color);
    color: var(--text-color);
    /* background-image: url("#{resource['imagenes:form_sheetbg.png']}"); */
}

body .ui-commandlink,
body .ui-link {
    color: var(--text-color);
    text-decoration: none !important;
}

a {
    color: var(--text-color);
    text-decoration: none !important;
}

a:link {
    text-decoration: none;
}

a:hover {
    color: var(--text-color) !important;
}

/*Lo siguiente es para que en la impresion html no salga la cabecera y el pi

/*@page { margin: 0; }*/
@media print {
    @page {
        margin: 0;
        size: auto;
    }
}

/* PERSONALIZACION PARA EL TAMANIO SM*/
@media screen and (max-width: 40em) {
    .q-form {
        /* para que ocupe todo el ancho de la pantalla*/
        max-width: 100% !important;
        margin: 0 !important;
    }

    .q-chatter {
        max-width: 100% !important;
    }

    /*que ocupe toda la pantalla*/
    .dialogo {
        position: absolute;
        margin: 0 !important;
        height: 100% !important;
        width: 100% !important;
    }

    .dialogo-footer {
        text-align: right;
    }

    .ui-dialog {
        position: absolute;
        margin: 0 !important;
        height: 100% !important;
        width: 100% !important;
    }

    .ui-button {
        font-size: 1.1rem;
        padding: 7px 14px;
        margin-left: 12px;
    }

    .ui-button .ui-button-text {
        font-size: 1.1rem;
        padding: 7px 14px;
    }

    /*Oculta los iconos de las pantallas*/
    .iconoPantallaSeparador,
    .iconoPantalla {
        display: none;
    }

    /*item de los menu*/
    .ui-menu .ui-menuitem-link {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .widget-footer {
        height: 2rem !important;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    /*tamanio minimo columnasde tablas*/
    .ui-datatable .ui-sortable-column {
        width: 200px;
    }
}

/* .elemento {
  background-color: var(--color-1);
} */

/* CLASE QUE USARA EL NUEVO ELEMENTO AGREGADO SOBRE LOS ACCESKEY PARA MOSTRAR LA TECLA DE ACCESO*/
.accesoKeyClass {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    font-weight: bold;
    font-size: 1.3rem;
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    justify-content: center;
    display: flex;
    align-items: center;
}

label {
    font-weight: initial;
    /* para sobreescribir el lbel de bootstrap*/
}

hr {
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
    border: 0;
    border-top: 1px solid #eee;
}

.w12 {
    width: 12px !important;
}

.w24 {
    width: 24px !important;
}

.w36 {
    width: 36px !important;
}

.h12 {
    height: 12px !important;
}

.h24 {
    height: 24px !important;
}

.h36 {
    height: 12px !important;
}

.p15 {
    padding: 15px;
}

.p24 {
    padding: 24px;
}

.p30 {
    padding: 30px;
}

.pb24 {
    padding-bottom: 24px !important;
}

.pt24 {
    padding-top: 24px !important;
}

.pl24 {
    padding-left: 24px !important;
}

.pr24 {
    padding-right: 24px !important;
}

.pb12 {
    padding-bottom: 12px !important;
}

.pt12 {
    padding-top: 12px !important;
}

.pl12 {
    padding-left: 12px !important;
}

.pr12 {
    padding-right: 12px !important;
}

.pb6 {
    padding-bottom: 6px !important;
}

.pt6 {
    padding-top: 6px !important;
}

.pl6 {
    padding-left: 6px !important;
}

.pr6 {
    padding-right: 6px !important;
}

.mt24 {
    margin-top: 24px !important;
}

.mb24 {
    margin-bottom: 24px !important;
}

.ml24 {
    margin-left: 24px !important;
}

.mr24 {
    margin-right: 24px !important;
}

.mt12 {
    margin-top: 12px !important;
}

.mb12 {
    margin-bottom: 12px !important;
}

.ml12 {
    margin-left: 12px !important;
}

.mr12 {
    margin-right: 12px !important;
}

.border {
    border: 1px solid #ddd;
}

.border-top {
    border-top: 1px solid #ddd;
}

.border-bottom {
    border-bottom: 1px solid #ddd;
}

.border-left {
    border-left: 1px solid #ddd;
}

.border-right {
    border-right: 1px solid #ddd;
}

.padding0 {
    padding: 0;
}

.hidden {
    display: none !important;
    visibility: hidden !important;
}

.q-signature {
    width: 400px;
    height: 200px;
}

.uppercase {
    text-transform: uppercase;
}

.color-gray {
    color: #999;
}

.color-white {
    color: #fff;
}

.color-black {
    color: #000;
}

.color-red {
    color: red;
}

.color-blue {
    color: blue;
}

.color-green {
    color: green;
}

.color-cyan {
    color: cyan;
}

.bg-color-1 {
    background-color: var(--color-1) !important;
    color: #fff !important;
}

.bg-color-2 {
    background-color: var(--color-2) !important;
    color: #fff !important;
}

.bg-color-3 {
    background-color: var(--color-6) !important;
    color: #fff !important;
}

.bg-color-4 {
    background-color: var(--color-7) !important;
    color: #fff !important;
}

.bg-color-5 {
    background-color: var(--color-3) !important;
    color: #fff !important;
}

.bg-color-6 {
    background-color: var(--color-4) !important;
    color: #fff !important;
}

.bg-color-7 {
    background-color: var(--color-5) !important;
    color: #fff !important;
}

.bg-color-8 {
    background-color: var(--color-8) !important;
    color: #fff !important;
}

.bg-color-9 {
    background-color: var(--color-9) !important;
    color: #fff !important;
}

.bg-color-0 {
    background-color: var(--color-6) !important;
    color: #fff !important;
}

.bg-red {
    background-color: red !important;
    color: #fff !important;
}

.bg-white {
    background-color: white !important;
    color: #ccc !important;
}

.bg-blue {
    background-color: blue !important;
    color: #fff !important;
}

.bg-green {
    background-color: green !important;
    color: #fff !important;
}

.bg-cyan {
    background-color: cyan !important;
}

.bg-orange {
    background-color: orange !important;
    color: #fff !important;
}

.bg-ligth-red {
    background-color: #e85e42 !important;
    color: #fff !important;
}

.bg-black-50 {
    background-color: rgba(0, 0, 0, 0.5) !important;
    color: #fff !important;
}

.bg-black {
    background-color: black !important;
    color: #fff !important;
}

.bg-draft {
    background-color: var(--draft) !important;
    color: #000 !important;
}

.bg-cancelled {
    background-color: var(--draft) !important;
    color: #fff !important;
}

.bg-success {
    background-color: var(--color-1) !important;
    color: #fff !important;
}

/*.bg-success { background-color: #28a745; color:#fff; }*/
.bg-warning {
    background-color: #ffc107 !important;
    color: #fff;
}

.bg-alert {
    background-color: #e85e42 !important;
    color: #fff !important;
}

.bg-severe {
    background-color: #f00 !important;
    color: #fff !important;
}

.position-relative {
    position: relative !important;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #e1e1e1;
    border-radius: 4px;
}

/* Cambiamos el fondo cuando esten active o hover */

::-webkit-scrollbar-track:hover,
::-webkit-scrollbar-track:active {
    background: #d4d4d4;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b3b3b3;
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
}

.transicion_1 {
    transition: 1s;
}

.transicion_03 {
    transition: 0.3s;
}

.transicion_05 {
    transition: 0.5s;
}

.vistasbtn {
}

.vistasbtn .ui-button {
    border: none;
}

.vistasbtn .ui-button:nth-child(1) span {
    margin-top: 0;
    width: 25px;
    height: 25px;
    background: url("#{resource['imagenes/iconos/qoopo/general/vistas/lista.png']}")
        no-repeat;
}

.vistasbtn .ui-button:nth-child(2) span {
    margin-top: 0;
    width: 25px;
    height: 25px;
    background: url("#{resource['imagenes/iconos/qoopo/general/vistas/grid.png']}")
        no-repeat;
}

.vistasbtn .ui-button:nth-child(3) span {
    margin-top: 0;
    width: 25px;
    height: 25px;
    background: url("#{resource['imagenes/iconos/qoopo/general/vistas/form.png']}")
        no-repeat;
}

.vistasbtn .ui-button:nth-child(4) span {
    margin-top: 0;
    width: 25px;
    height: 25px;
    background: url("#{resource['imagenes/iconos/qoopo/general/vistas/chart.png']}")
        no-repeat;
}

.vistasbtn .ui-button:nth-child(5) span {
    margin-top: 0;
    width: 25px;
    height: 25px;
    background: url("#{resource['imagenes/iconos/qoopo/general/vistas/calendar.png']}")
        no-repeat;
}

.vistasbtn .ui-button:nth-child(6) span {
    margin-top: 0;
    width: 25px;
    height: 25px;
    background: url("#{resource['imagenes/iconos/qoopo/general/vistas/timeline.png']}")
        no-repeat;
}

/*------------------------------------------------------------------------------*/
/*                             TEXTOS
/*------------------------------------------------------------------------------*/
.textoNumero {
    font-size: 1rem;
}

.text-big {
    font-size: 2rem !important;
}

.text-medium {
    font-size: 1.2rem !important;
}

.text-small {
    font-size: 0.75rem !important;
}

.text-mini {
    font-size: 0.6rem !important;
    color: var(--text-color);
    text-align: justify;
}

.bold {
    font-weight: bold;
}

.textoMenu {
    font-size: 0.9rem;
    text-align: justify;
}

.menu-titulo {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--primary);
}

.text-bold {
    font-weight: bold;
    color: var(--text-color);
    text-align: justify;
}

/*------------------------------------------------------------------------------*/
/*                              PANTALLA DE INICIO                              */
/*------------------------------------------------------------------------------*/
.home-app-btn {
    background-color: var(--widget-bg);
    border: 1px solid #ccc;
    transition: 0.3s;
    padding: 1rem;
}

.home-app-btn:hover {
    background-color: var(--widget-bg-hover);
    border: 1px solid #aaa;
    box-shadow: 0 0px 2px 0 rgba(0, 0, 0, 0.2);
}

.imgInicio {
    height: 4rem;
    border-radius: 3px;
}

.grid-item-titleInicio {
    color: var(--text-color);
    text-align: justify;
}

.app-icon {
    width: 80%;
}

body .ui-menu {
    background-color: var(--color-1) !important;
}

.ui-menubar {
    border: none !important;
    background-color: var(--color-1) !important;
    color: white !important;
    border-radius: 0px !important;
    padding: 0 !important;
}

.ui-menu-list {
    border: none !important;
    background-color: var(--color-1) !important;
    color: white !important;
}

.ui-menuitem {
    border: none !important;
    background-color: var(--color-1) !important;
    color: white !important;
}

.ui-menuitem-link {
    border: none !important;
    background-color: var(--color-1) !important;
    color: white !important;
}

.ui-menuitem-text {
    border: none !important;
    background-color: var(--color-1) !important;
    color: white !important;
}

.ui-menuitem-icon {
    border: none !important;
    background-color: var(--color-1) !important;
    color: white !important;
}

/*------------------------------------------------------------------------------*/
/*                             CABECERA                                         */
/*------------------------------------------------------------------------------*/
.cabecera {
    border: none;
    background-color: var(--color-1);
}

.cabeceraLogo {
    width: 240px;
    text-align: center;
    background-color: white;
}

.cabeceraBtn {
    display: inline-block;
    cursor: pointer;
}

.cabeceraBtn:hover,
.cabeceraBtn.hover {
    background: -moz-linear-gradient(
        center top,
        rgba(255, 255, 255, 0.1) 100%,
        rgba(255, 255, 255, 0.2) 0%
    ) !important;
    background: -webkit-gradient(
        linear,
        center bottom,
        center top,
        from(rgba(255, 255, 255, 0.2)),
        to(rgba(255, 255, 255, 0.1))
    ) !important;
}

.cabeceraHome {
    display: inline-block;
    padding-top: 0.5rem;
    padding-left: 0.5rem;
}

.cabeceraHome i {
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
}

.header-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    margin-left: 1rem;
}

.cabeceraUsuario {
    margin-left: 5px;
    color: white;
    font-weight: bold;
}

.cabeceraUsuarioFoto {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
}

/*------------------------------------------------------------------------------*/
/*                           WIDGETS
/*------------------------------------------------------------------------------*/
.widget-internal {
    background-color: var(--widget-bg);
    border: 1px solid #ddd;
    overflow: hidden;
}

.widget {
    background-color: var(--widget-bg);
    box-shadow: 0 0px 4px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    overflow: hidden;
}

.widget:hover {
    box-shadow: 0 0px 8px 0 rgba(0, 0, 0, 0.2);
}

.widget-progress-bar {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    height: 0.6rem !important;
    overflow: hidden;
}

.widget-update-btn {
    transition: 0.2s;
    float: right;
    margin-right: 0.5rem;
}

.widget-update-btn:hover {
    background-color: cyan;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.widget-title {
    padding-left: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-color);
    width: 100%;
}

.widget-chart {
}

.qoopo-chart {
    width: 100%;
    max-height: 450px;
}

.widget-body {
    min-height: 3rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.widget-footer {
    max-height: 2rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

/*------------------------------------------------------------------------------*/
/*                           GENERALES
/*-----------------------------------------------------------------------------*/
.seleccionado {
    border: 3px solid #888 !important;
}

.grid-item {
    /* background-color: white; */
    background-color: var(--background-color);
    border: 1px solid #ccc;
    min-height: 7rem;
    overflow: hidden;
}

.grid-item-title {
    font-weight: bold;
    color: var(--text-color);
    text-align: justify;
    font-size: 1rem;
    max-height: 1.2rem;
    display: block;
    text-overflow: ellipsis;
    white-space: pre-line;
    overflow: hidden;
}

.grid-item-img {
    overflow: hidden;
    text-align: center;
    border-right: 1px solid var(--color-3);
    min-height: 7rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.imgFull {
    background-size: contain !important;
}

.grid-item-img img {
    margin: 0 auto;
    max-height: 6rem;
    max-width: 100%;
}

.grid-item-info {
    height: 6rem;
    overflow: hidden;
}

.grid-item-app-info {
    height: 4rem;
    overflow: hidden;
}

.grid-item-footer {
    border-top: 1px solid var(--color-3);
}

.grid-item-img-small {
    max-width: 2rem;
    max-height: 2rem;
    border-radius: 50%;
}

.grid-item-img-small-2 {
    max-width: 1rem;
    max-height: 1rem;
}

.archivosRuta {
    margin-right: 1rem;
}

.grid-item-file {
    height: 12rem;
    background-color: white;
    border: solid 1px #ccc;
    overflow: hidden;
}

.grid-item-documents-img {
    height: 6rem;
    border-bottom: solid 1px #ccc;
    overflow: hidden;
}

.grid-item-documents-info {
    height: 3.5rem;
    overflow: hidden;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.grid-item-documents-actions {
    height: 2rem;
    overflow: hidden;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.grid-item-documents-img {
    max-width: 100%;
    max-height: 6rem;
}

.grid-item-documents-img-folder {
    max-width: 100%;
    max-height: 4rem;
}

.grid-item-folder {
    background-color: white;
    height: auto;
    border: solid 1px #ccc;
    overflow: hidden;
    padding: 5px;
}

.grid-item-documents-title {
    font-weight: bold;
    color: var(--text-color);
    font-size: 1rem;
    width: 14rem;
    max-height: 3rem;
    display: block;
    text-overflow: ellipsis;
    white-space: pre-line;
    overflow: hidden;
}

.item-email-attachment {
    background-color: white;
    margin-left: 1rem;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border: solid 1px #cecbcb;
}

.item-email-attachment-icon {
    max-height: 3rem;
}

.ui-chkbox {
    margin-top: 0.5rem;
}

.ui-widget-header {
    background: none;
}

.ui-progressbar {
    overflow: hidden;
}

.ui-progressbar .ui-progressbar-value {
    border: 0 none;
    margin: 0;
    background: #3db9f0;
}

.ui-panel {
    padding: 0 0 0 0;
}

.ql-toolbar.ql-snow {
    font-size: 0.2rem;
    padding: 0 !important;
}

.ui-editor-toolbar {
    /*background: none !important;*/
}

.ui-radiobutton {
    padding-right: 5px;
}

.tabView {
    margin-top: 1rem;
    width: 100%;
}

ui-tabs-nav {
    padding: 0 0 0 0;
}

.ui-wizard-step-title {
    font-size: 8px;
}

botonResaltado {
    background-color: red;
}

.botonResaltado1 {
    height: 25px;
    font-size: 10px;
    background-color: red;
    color: white;
}

/* para la alineacion vertical en contenedores
*/
.qoopogrid td {
    vertical-align: top;
    height: 100%;
}

.qoopogrid2 td {
    vertical-align: middle;
    height: 100%;
}

.w10 {
    width: 10%;
}

.diez-porciento {
    width: 10%;
}

.w20 {
    width: 20%;
}

.veinte-porciento {
    width: 20%;
}

.w30 {
    width: 30%;
}

.treinta-porciento {
    width: 30%;
}

.w40 {
    width: 40%;
}

.cuarenta-porciento {
    width: 40%;
}

.w50 {
    width: 50%;
}

.cincuenta-porciento {
    width: 50%;
}

.w60 {
    width: 60%;
}

.sesenta-porciento {
    width: 60%;
}

.w70 {
    width: 70%;
}

.setenta-porciento {
    width: 70%;
}

.w80 {
    width: 80%;
}

.ochenta-porciento {
    width: 80%;
}

.w90 {
    width: 90%;
}

.noventa-porciento {
    width: 90%;
}

.w100 {
    width: 100%;
}

.cien-porciento {
    width: 100%;
}

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

.text-left {
    text-align: left !important;
}

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

.top-alignment {
    vertical-align: top;
}

.middle-alignment {
    vertical-align: middle;
}

.topVertical {
    vertical-align: top;
}

.textAreaSinBorde {
    border: none;
}

.listaOpcion {
    padding-left: 30px;
}

.corner3 {
    border-radius: 3px;
}

.corner5 {
    border-radius: 5px;
}

.corner8 {
    border-radius: 8px;
}

.corner10 {
    border-radius: 10px;
}

.corner8TopLeft {
    -moz-border-top-left-radius: 3px;
    -webkit-border-top-left-radius: 3px;
    border-top-left-radius: 3px;
}

.corner8TopRight {
    -moz-border-top-right-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    border-top-right-radius: 3px;
}

.corner8bottomLeft {
    -moz-border-bottom-left-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.corner8buttonRight {
    -moz-border-bottom-right-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.ui-datatable thead th.columnaImg {
    color: transparent;
    font-size: 0;
}

.columnaImg {
    width: 50px;
}

.column-sort {
    width: 30px;
}

.column-small {
    width: 5rem;
}

.column-medium {
    width: 10rem;
}

.column-large {
    width: 20rem;
}

.column-large-xl {
    width: 30rem;
}

.listaImg {
    max-width: 30px;
    max-height: 30px;
    border-radius: 3px;
}

.full-size {
    position: absolute;
    width: 100%;
    height: 100%;
}

/******************************************************
    PANTALLA DE LOGIN
*******************************************************/
.login-background {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: var(--color-1);
}

.login-logo {
    position: absolute;
    width: 650px;
    height: 170px;
    left: 50%;
    top: 50%;
    margin-left: -340px;
    margin-top: -100px;
    text-align: left;
    padding: 15px;
    background-color: rgba(255, 255, 255, 1);
}

.login {
    /* position: absolute; */
    position: relative;
    width: 350px;
    margin-left: auto;
    margin-right: auto;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    /* margin-left: -175px; */
    /* margin-top: -180px; */
    background-color: var(--widget-bg);
    color: #eee;
    padding-top: 24px;
    border: none;
    text-align: left;
}

.loginCreadopor {
    position: absolute;
    left: 0px;
    bottom: -20px;
    font-size: 12px;
    width: 100%;
    text-align: center;
}

.loginCreadoporNombre {
    font-weight: bold;
    color: white;
    font-size: 14px;
}

.login-left {
    background-color: #009fe3;
    color: white;
    /*width: 50%;*/
}

.login-rigth {
    background-color: var(--widget-bg);
    color: #777;
    /*width: 50%;*/
}

.errorInicio {
    border: none;
    height: 40vh;
    background: #fff;
    text-align: left;
    color: #eee;
    padding-top: 25px;
    box-shadow: 0 5px 20px -15px black;
    border: 1px solid rgba(200, 200, 200, 0.9);
}

.loginTitulo {
    font-size: 1.5em;
    color: white;
    font-weight: bold;
    text-align: center;
    width: 100%;
}

.loginRedirigir {
    position: absolute;
    left: 0px;
    bottom: -20px;
    font-size: 12px;
    width: 100%;
    text-align: center;
}

.separador {
    height: 10px;
}

.loginbottom {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    bottom: 0;
    text-shadow: 0 1px 1px #999999;
    background: #600606;
    background: -moz-linear-gradient(#b41616, #600606);
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        from(#b41616),
        to(#600606)
    );
    background: -ms-linear-gradient(top, #b41616, #600606);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b41616', endColorstr='#600606', GradientType=0);
}

/**************************************************************
PAGINA PRINCIPAL
*****************************************************************/

.container-fluid {
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
}

.menui {
    height: 100%;
    width: 100%;
    border-color: red;
    margin-right: -15px;
    background-color: rgba(30, 30, 30, 0.75);
}

.ui-widget-content {
    /*limpia el fondo a blanco*/
    background: var(--widget-bg) 50% top repeat-x !important;
    color: var(--text-color);
}

/*VERIFICAR PORQ TENIA CON COLOR BLANCO*/

.ui-widget-content a {
}

input {
    width: 100%;
    color: var(--text-color);
}

.ui-inputfield {
    width: 100%;
    max-width: 100% !important;
    color: var(--text-color);
}

.ui-selectonemenu {
    width: 100% !important;
}

.ui-selectonemenu-label {
    width: 100% !important;
}

.ui-selectonemenu {
}

.ui-selectonemenu-label {
}

.ui-selectonemenu-trigger {
}

.ui-selectonemenu-items {
}

.ui-dialog-titlebar {
}

.ui-dialog-title {
    margin-left: 5px;
}

.ui-dialog {
    color: #fff;
    min-width: 60%;
}

.ui-accordion-content {
    background-color: rgba(30, 30, 30, 0);
}

.sticky {
}

.q-page-header {
    width: 100%;
    background-color: var(--widget-bg);
    border-bottom-style: solid;
    border-bottom-color: gray;
}

.q-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--text-color);
    padding-right: 0.5rem;
    margin-left: 0.5rem;
    text-transform: uppercase;
}

.q-simple-content {
    padding: 1rem;
    background-color: var(--background-color);
    border: 1px solid #ddd;
}

.q-view-container {
    /*background-image: url("#{resource['imagenes:form_sheetbg.png']}");*/
    /*padding-top: 1rem;*/
}

.iconoPantallaSmall {
    height: 1.5rem;
}

.iconoPantalla {
    height: 3rem;
}

.iconoPantallaSeparador {
    width: 2px;
    height: 3rem;
}

.q-refresh-button {
    height: 1rem;
}

.border {
    border: solid 1px rgba(200, 200, 200, 0.9);
}

.border-solid {
    border: solid;
}

.border-buttom {
    border-bottom: solid 1px rgba(200, 200, 200, 0.9);
}

.border-buttom-solid {
    border-bottom: solid;
}

.border-top {
    border-top: solid 1px rgba(200, 200, 200, 0.9);
}

.border-top-solid {
    border-top: solid;
}

.border-left {
    border-left: solid 1px rgba(200, 200, 200, 0.9);
}

.border-left-solid {
    border-left: solid;
}

.border-right {
    border-right: solid 1px rgba(200, 200, 200, 0.9);
}

.border-right-solid {
    border-right: solid;
}

.q-block {
    display: inline-block;
    width: 100%;
    /*margin-bottom: -4px;*/
    /*margin-top: -4px;*/
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.q-form {
    /* ESTILO COMO HOJA DE IMPRESION */
    max-width: 98%;
    min-height: 150px;
    margin: 5px auto;
    text-align: left;
    padding-left: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-right: 15px;
    background-color: var(--widget-bg);
    box-shadow: 0px 3px 6px 0px rgb(0 0 0 / 15%);
    /*box-shadow: 0 5px 20px -15px black;*/
    border: 1px solid rgba(200, 200, 200, 0.9);
    overflow: hidden;
}

.q-form-title {
    font-size: 1.5rem !important;
}

.q-form-photo {
    max-width: 100%;
    max-height: 100%;
    height: 140px;
    margin-top: -3rem;
    overflow: hidden;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/*.q-form-photo img {
    margin: 0 auto;
    max-height: 6rem;
    max-width: 100%;
}*/

.q-form-photo-container {
    width: 150px;
    height: 150px;
    overflow: hidden;
}

.q-form-photo-container .q-form-image-controls {
    display: inline-block;
    width: 100%;
    height: 3rem;
    color: white;
    background-color: #71639e;
    opacity: 0;
    transition: opacity ease 400ms;
    min-width: 35px;
    font-size: 1.5rem;
    /*z-index: 1000;*/
}

.q-form-photo-container:hover .q-form-image-controls {
    opacity: 80%;
    /*z-index: 1000;*/
}

.q-autohide {
    opacity: 0 !important;
}

.q-autohide:hover {
    opacity: 100% !important;
}

.q-form-photo-container .q-form-image-controls .ui-button,
.q-form-photo-container
    .q-form-image-controls
    .button.ui-button.ui-state-default,
.q-form-photo-container .q-form-image-controls .ui-button.ui-state-default {
    background: transparent;
    border: none;
}

/*estilo sin bordes como campos de una hoja*/
.q-form .ui-inputfield {
    /*width: 100%;*/
    max-width: 100% !important;
    border: none !important;
    border-bottom: 1px solid #eee !important;
    border-radius: 0 !important;
    /* display: inline-block !important; */
    box-shadow: none !important;
    background-color: transparent !important;
    color: var(--text-color);
}

.q-form .obligatorio {
    border-bottom: 2px solid #bbb !important;
}

/*PARA LOS TABS opcion 3*/
.q-form .ui-tabs-header {
    background: none !important;
    border: none !important;
}

.q-form .ui-tabs-header a {
    color: var(--text-color) !important;
}

.q-form .ui-tabs .ui-tabs-nav {
    background-color: var(--widget-bg);
}

.qoopo .ui-datatable thead th {
    background-color: var(--widget-bg);
    color: var(--text-color);
}

.qoopo .ui-datatable .ui-datatable-data tr {
    /* background-color: var(--widget-bg); */
    color: var(--text-color);
}

body .ui-tabs.ui-tabs-top > .ui-tabs-nav li.ui-tabs-header.ui-state-active {
    /*border-color: var(--color-1) !important;*/
    /*border-width: medium !important;*/
}

.q-form .ui-state-active {
    /*background-color: rgba(65,175,200,0.5) !important;*/
    /*border-bottom: 1px solid rgba(200, 200, 200, 0.9) !important;*/
    border-bottom: 2px solid var(--color-1) !important;
}

.q-form .ui-state-active a {
}

/* DATE PICKER */

.q-form .ui-trigger-calendar input.hasDatepicker {
    /* width: calc(100% - 2.357rem); */
    padding-right: 0;
}

.q-form .p-datepicker {
    /* position: relative;
  display: inline-block; */
    width: calc(100% - 2.357rem);
}

.ui-calendar,
.ui-calendar > input {
    width: 100%;
}

.q-form .p-datepicker .ui-datepicker-trigger.ui-button {
    right: 0;
    background: transparent;
    color: #6c757d;
    border: none;
}

.q-form .ui-trigger-calendar .ui-datepicker-trigger.ui-button {
    position: absolute;
    right: -2.357rem;
    width: 2.357rem;
}

.q-chatter-container {
    text-align: center;
    /*margin-top: 24px;*/
    background-color: var(--background-color);
    border-top: 1px solid #ccc;
}

.q-chatter {
    max-width: 95%;
    margin: 12px auto;
}

/* ese afecta al borde de los selectonemenu para paracer hoja simple*/
.ui-autocomplete-multiple-container {
    /*width: 100% !important;*/
}

.seleccion {
    border: none !important;
    background: none !important;
    max-width: 100% !important;
}

.seleccion .ui-state-default {
    border: none !important;
    background: var(--background-color);
}

.q-form .seleccion .ui-state-default {
    border: none !important;
    background: none !important;
}

.seleccion .ui-selectonemenu-label {
    direction: ltr;
    /* importante para alinear a la izquierda */
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ui-selectonemenu-panel {
    min-width: auto;
    max-width: 500px !important;
}

/* estilo sin bordes como campos de una hoja*/
.formInput {
    width: 100%;
    max-width: 100% !important;
    border: none !important;
    border-bottom: 1px solid #eee !important;
    border-radius: 0 !important;
    display: block !important;
    box-shadow: none !important;
}

/* para campos autocompletar*/
.ui-autocomplete {
    width: 100%;
    border: none !important;
    border-bottom: 1px solid #eee !important;
    background-color: transparent !important;
}

.ui-autocomplete .ui-autocomplete-input .ui-autocomplete-dd-input {
}
.ui-autocomplete .ui-autocomplete-dropdown {
    position: absolute;
    border: none !important;
    background: none !important;
    color: var(--text-color) !important;
    /*display:none;*/
}

.facturaSubtotal {
    font-size: 1rem;
    /*font-weight: bold;*/
}

.facturaTotal {
    font-size: 1.3rem;
    font-weight: bold;
    padding-left: 1rem;
}

.formSelect {
    border: none !important;
    background: none !important;
}

.loginLogo {
    width: 480px;
    height: 78px;
    text-align: center;
    background-color: white;
}

.cabeceraLogoPOS {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 17%;
    height: 40px;
    text-align: center;
    background-color: white;
}

.cabecera-col-1 {
    width: 50%;
    text-align: left;
    margin: 0;
    padding: 10px;
}

.cabecera-col-2 {
    width: 50%;
    text-align: right;
    margin: 0;
    padding: 10px;
}

.tituloEncuesta {
    font-size: 24px;
    font-weight: bold;
    color: #1e1e1e;
    padding-top: 15px;
    padding-left: 15px;
}

.itemPregunta {
    padding-top: 20px;
    padding-left: 20px;
    color: #c4c4c4;
    font-size: 24px;
}

.opcionesPregunta {
    padding-top: 20px;
    padding-left: 20px;
}

.barraAzul {
    background: url("#{resource['imagenes:bgti2.png']}") repeat-x;
}

.inputForm {
    /* font-size: 1rem; */
    color: var(--text-color);
}

.tituloTablero {
    font-size: 30px;
    font-weight: bold;
    padding-top: 15px;
    padding-left: 15px;
}

.textoTablero {
    font-size: 24px;
    font-weight: bold;
    padding-top: 15px;
    padding-left: 15px;
}

.listaOpcionTablero {
    padding-left: 30px;
    height: 40px;
}

.listaOpcionTablero {
    padding-left: 30px;
    height: 40px;
    font-size: 24px;
}

.listaOpcionTablero .ui-chkbox {
    font-size: 24px;
}

.imagenEmpleado {
    height: 80px;
    max-width: 80px;
    border-radius: 3px;
    border: 0;
}

.barraVistas {
    text-align: right;
    background-color: white;
    border-bottom: 1px solid #eee;
}

.barraIdioma {
    display: inline-block;
    border: none;
    background-color: white;
    text-align: left;
    padding: 3px;
}

#slide-submenu {
    background: rgba(0, 0, 0, 0.45);
    display: inline-block;
    padding: 0 8px;
    border-radius: 4px;
    cursor: pointer;
}

#p_sidebar {
    background-color: rgba(30, 30, 30, 0.75);
    position: absolute;
    width: 240px;
    height: 100%;
    left: -240px;
    height: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

#p_sidebar_sinboton {
    background-color: rgba(30, 30, 30, 0.75);
    position: absolute;
    width: 240px;
    height: 100%;
    left: 0px;
    height: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

#p_sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#p_sidebar ul li {
    margin: 0;
}

#p_sidebar ul li a {
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 100;
    color: white;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #196c96;
    -webkit-transition: background 0.3s ease-in-out;
    -moz-transition: background 0.3s ease-in-out;
    -ms-transition: background 0.3s ease-in-out;
    -o-transition: background 0.3s ease-in-out;
    transition: background 0.3s ease-in-out;
}

#p_sidebar ul li:hover a {
    background: #196c96;
}

.p_main-content {
    width: 100%;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    position: relative;
}

.p_main-content .p_content {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding-left: 60px;
    width: 100%;
}

.p_main-content .p_content h1 {
    font-weight: 100;
}

.p_main-content .p_content p {
    width: 100%;
    line-height: 160%;
}

.p_main-content #p_sidebar-toggle {
    border-radius: 3px;
    display: block;
    position: relative;
    padding: 10px 7px;
    float: left;
}

.p_main-content #p_sidebar-toggle .bar {
    display: block;
    width: 18px;
    margin-bottom: 3px;
    height: 2px;
    background-color: var(--widget-bg);
    border-radius: 1px;
}

.p_main-content #p_sidebar-toggle .bar:last-child {
    margin-bottom: 0;
}

.arrow-up {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid black;
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #f00;
}

.arrow-right {
    width: 0;
    height: 0;
    border-top: 1rem solid transparent;
    border-bottom: 1rem solid transparent;
    border-left: 1rem solid green;
}

.arrow-left {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid blue;
}

.btn {
    margin-right: 0.5rem !important;
}

.overFlowHidden {
    overflow: hidden;
}

.nowrap {
    /*    overflow: hidden;
            height: 1.1rem;*/
    white-space: nowrap;
}

/*MODIFICACIONES AL EDITOR DE PRIMEFACES PARA PARECER DOCUMENTO*/
.qeditor .ql-container {
    padding: 1rem;
    background: #ddd;
    overflow-y: scroll;
}

.qeditor .ql-editor {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    overflow-y: hidden !important;
    height: auto !important;
    /*medidas A4*/
    width: 210mm !important;
    min-height: 297mm !important;
    /*medidas A4 fija altura*/
    /*height: 297mm !important; */
    padding: 1cm 1cm 2cm !important;
    margin: 0 auto !important;
    box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.05) !important;
    background: var(--background-color);
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
    border: 1px solid #dfe4e6;
    border-bottom-color: #cdd0d2;
    border-right-color: #cdd0d2;
}

.editorSimpleContenedor {
    padding: 1rem;
    background: #ddd;
    overflow: scroll;
    height: auto !important;
    max-height: 500px;
}

.editorSimple {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    padding: 2rem !important;
    box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.05) !important;
    background: var(--background-color);
    border: 1px solid #dfe4e6;
    border-bottom-color: #cdd0d2;
    border-right-color: #cdd0d2;
}

.noEditar {
    font-size: 3rem;
}

/*****************************************************************************************************************************/
/*tablas*/
/*FILAS DE LAS TABLAS CON COLORES ALTERNADOS*/

/* Padding para las tablas del primefaces*/
body .ui-datatable .ui-datatable-data > tr > td {
    padding: 0.5rem;
}

.ui-datatable .ui-sortable-column {
    min-width: 100px;
}

.ui-datatable-even {
    background-color: var(--widget-bg-hover);
}

.ui-datatable-odd {
    /* background-color: #f5f6f9; */
    background-color: var(--widget-bg);
}

/* ancho minimo en las columnas, en vista mobile sobre todo*/
/*.ui-datatable .ui-sortable-column {
  min-width: 100px;
}
*/
/* se elimina del pie de la tabla la esquinas curvas*/
.ui-datatable .ui-datatable-footer {
    border-radius: 0 !important;
    border: 1px solid transparent;
    border-bottom: solid 1px #eee;
}

/* ESTILO solo lineas horizontales  */

.ui-datatable .ui-widget-content {
    border: 1px solid transparent !important;
    border-bottom: solid 1px #eee !important;
}

.ui-datatable .ui-datatable-headerrow {
    /*border: 1px solid #fff;*/
    border: 1px solid transparent !important;
    border-bottom: solid 2px #eee !important;
}

.ui-datatable .ui-datatable-summaryrow {
    border: 1px solid transparent !important;
    border-bottom: solid 1px #eee !important;
}

body .ui-datatable .ui-datatable-data > tr > td {
    padding: 0.4rem 0.4rem !important;
}

.tablaSinCabecera thead {
    display: none;
}

.tablaSinAlternar .ui-datatable-odd {
    background-color: white;
}

.column-select {
    width: 0.4rem;
    text-align: center;
}

.column-action {
    /*width:100px;*/
    width: 6rem;
    text-align: center;
}

.badge {
    min-width: 2.7ch;
    line-height: 1.1;
    text-transform: uppercase;
}

.rounded-pill {
    border-radius: 100rem !important;
}

.status-badge {
    border-radius: 0.25rem;
    padding: 0.25em 0.5rem;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    display: inline-block;
}

/* paginador*/
.ui-paginator.ui-paginator-top {
    border: none;
}

.ui-paginator.ui-paginator-bottom {
    border: none;
}

.filaA {
    background-color: yellow !important;
}

.filaB {
    background-color: cyan !important;
}

.filaC {
    background-color: green !important;
}

/*****************************************************************************************************************************/
/*******                    ui-dialogos para modificr tema omega                        */
/*****************************************************************************************************************************/

.ui-dialog .ui-dialog-titlebar {
    padding: 0 !important;
    margin: 0.5rem !important;
}

.ui-dialog .ui-dialog-title {
    font-size: 1rem !important;
}

/*****************************************************************************************************************************/
/*******                    TABS                        */
/*****************************************************************************************************************************/

/* Tabs */
/* se quita los bordes para los tabs */
.ui-tabs {
    border: none !important;
    border-radius: 0 !important;
}

.informeLinea {
    border-top: 1px solid #ddd;
}

.informeLineaCabecera {
    /*border-top: 1px solid #ddd;*/
    border-bottom: 2px solid #ccc;
    height: 2rem;
}

.ui-g-rigth {
    float: right !important;
}

.list-group-item {
    position: relative;
    display: block;
    padding: 10px 15px;
    margin-bottom: -1px;
    background-color: var(--menu-bg-color);
    border: 1px solid var(--menu-border-color);
}

.list-group-item:first-child {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.list-group-item:last-child {
    margin-bottom: 0;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
}

.list-group-item > .badge {
    float: right;
}

.list-group-item > .badge + .badge {
    margin-right: 5px;
}

a.list-group-item {
    color: var(--text-color);
}

a.list-group-item .list-group-item-heading {
    color: #333;
}

a.list-group-item:hover,
a.list-group-item:focus {
    color: var(--menu-text-color-over);
    text-decoration: none;
    background-color: var(--menu-bg-color-over);
}

.list-group-item.disabled,
.list-group-item.disabled:hover,
.list-group-item.disabled:focus {
    color: var(--menu-disabled-color);
    background-color: var(--menu-disabled-bg);
}

.list-group-item.disabled .list-group-item-heading,
.list-group-item.disabled:hover .list-group-item-heading,
.list-group-item.disabled:focus .list-group-item-heading {
    color: inherit;
}

.list-group-item.disabled .list-group-item-text,
.list-group-item.disabled:hover .list-group-item-text,
.list-group-item.disabled:focus .list-group-item-text {
    color: var(--menu-disabled-color);
}

.list-group-item.active,
.list-group-item.active:hover,
.list-group-item.active:focus {
    z-index: 2;
    color: #fff;
    background-color: var(--menu-active-bg);
    border-color: var(--menu-active-bg);
}

.list-group-item.active .list-group-item-heading,
.list-group-item.active:hover .list-group-item-heading,
.list-group-item.active:focus .list-group-item-heading,
.list-group-item.active .list-group-item-heading > small,
.list-group-item.active:hover .list-group-item-heading > small,
.list-group-item.active:focus .list-group-item-heading > small,
.list-group-item.active .list-group-item-heading > .small,
.list-group-item.active:hover .list-group-item-heading > .small,
.list-group-item.active:focus .list-group-item-heading > .small {
    color: inherit;
}

.list-group-item.active .list-group-item-text,
.list-group-item.active:hover .list-group-item-text,
.list-group-item.active:focus .list-group-item-text {
    color: var(--menu-active-color);
}

.list-group-item-success {
    color: #3c763d;
    background-color: #dff0d8;
}

a.list-group-item-success {
    color: #3c763d;
}

a.list-group-item-success .list-group-item-heading {
    color: inherit;
}

a.list-group-item-success:hover,
a.list-group-item-success:focus {
    color: #3c763d;
    background-color: #d0e9c6;
}

a.list-group-item-success.active,
a.list-group-item-success.active:hover,
a.list-group-item-success.active:focus {
    color: #fff;
    background-color: #3c763d;
    border-color: #3c763d;
}

.list-group-item-info {
    color: #31708f;
    background-color: #d9edf7;
}

a.list-group-item-info {
    color: #31708f;
}

a.list-group-item-info .list-group-item-heading {
    color: inherit;
}

a.list-group-item-info:hover,
a.list-group-item-info:focus {
    color: #31708f;
    background-color: #c4e3f3;
}

a.list-group-item-info.active,
a.list-group-item-info.active:hover,
a.list-group-item-info.active:focus {
    color: #fff;
    background-color: #31708f;
    border-color: #31708f;
}

.list-group-item-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
}

a.list-group-item-warning {
    color: #8a6d3b;
}

a.list-group-item-warning .list-group-item-heading {
    color: inherit;
}

a.list-group-item-warning:hover,
a.list-group-item-warning:focus {
    color: #8a6d3b;
    background-color: #faf2cc;
}

a.list-group-item-warning.active,
a.list-group-item-warning.active:hover,
a.list-group-item-warning.active:focus {
    color: #fff;
    background-color: #8a6d3b;
    border-color: #8a6d3b;
}

.list-group-item-danger {
    color: #a94442;
    background-color: #f2dede;
}

a.list-group-item-danger {
    color: #a94442;
}

a.list-group-item-danger .list-group-item-heading {
    color: inherit;
}

a.list-group-item-danger:hover,
a.list-group-item-danger:focus {
    color: #a94442;
    background-color: #ebcccc;
}

a.list-group-item-danger.active,
a.list-group-item-danger.active:hover,
a.list-group-item-danger.active:focus {
    color: #fff;
    background-color: #a94442;
    border-color: #a94442;
}

.list-group-item-heading {
    margin-top: 0;
    margin-bottom: 5px;
}

.list-group-item-text {
    margin-bottom: 0;
    line-height: 1.3;
}

.panel {
    margin-bottom: 20px;
    background-color: var(--widget-bg);
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.panel-body {
    padding: 15px;
}

.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.panel-heading > .dropdown .dropdown-toggle {
    color: inherit;
}

.panel-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
    color: inherit;
}

.panel-title > a {
    color: inherit;
}

.panel-footer {
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

.ui-organigram .ui-organigram-node.division {
    background: #ffc86b !important;
    background: -moz-linear-gradient(top, #ffc86b 0, #ffac1e 100%) !important;
    background: -webkit-linear-gradient(
        top,
        #ffc86b 0,
        #ffac1e 100%
    ) !important;
    background: linear-gradient(to bottom, #ffc86b 0, #ffac1e 100%) !important;
}

.ui-organigram .ui-organigram-node.employee {
    background: #88c048 !important;
    background: -moz-linear-gradient(top, #88c048 0, #69a038 100%) !important;
    background: -webkit-linear-gradient(
        top,
        #88c048 0,
        #69a038 100%
    ) !important;
    background: linear-gradient(to bottom, #88c048 0, #69a038 100%) !important;
}

/* Button Colors */
/*boton default*/
.ui-button,
button.ui-button.ui-state-default,
.ui-button.ui-state-default {
    border: 1px solid var(--btn-border);
    color: var(--btn-label);
    background: var(--btn-back);
    margin-left: 0.3rem;
}

body .ui-selectbooleanbutton.ui-state-active,
body .ui-selectonebutton > .ui-button.ui-state-active,
body .ui-selectmanybutton > .ui-button.ui-state-active {
    /*background: #2196f3;*/
    background: var(--btn-back);
    border-color: var(--btn-back);
    color: var(--text-color);
}

body .ui-selectbooleanbutton,
body .ui-selectonebutton > .ui-button,
body .ui-selectmanybutton > .ui-button {
    background: var(--btn-back);
    border-color: var(--btn-back);
    color: var(--text-color);
    /* border: 1px solid #ced4da; */
    outline: 0 none;
    transition:
        background-color 0.2s,
        color 0.2s,
        border-color 0.2s,
        box-shadow 0.2s,
        opacity 0.2s;
}

body
    .ui-autocomplete
    .ui-autocomplete-multiple-container
    .ui-autocomplete-token {
    padding: 1px 0;
    margin: 0 0.5rem 0 0;
    background: var(--widget-bg);
    color: var(--text-color);
    display: inline-block;
    vertical-align: middle;
    float: none;
    border-radius: 4px;
}

/* Colored Buttons */

/*-Other button - Grey Button*/
.ui-button.ui-state-default.other-button {
    background-color: var(--btn-other-back);
    border-color: var(--btn-other-border);
}

.ui-button.ui-state-default.other-button.ui-button span.ui-button-text {
    color: #525252;
}

.ui-button.ui-state-default.other-button.ui-state-hover {
    background-color: #f5fbff;
}

.ui-button.ui-state-default.other-button.ui-state-active {
    background-color: #cccfd2;
}

/*Green Button*/
.ui-button.ui-state-default.green-button {
    background-color: #1f9e53;
    border-color: #107533;
}

.ui-button.ui-state-default.green-button.ui-state-hover {
    background-color: #2eb971;
}

.ui-button.ui-state-default.green-button.ui-state-active {
    background-color: #178544;
}

/*Yellow Button*/

.ui-button.ui-state-default.yellow-button {
    background-color: #eed511;
    border-color: #cdb80d;
}

.ui-button.ui-state-default.yellow-button.ui-state-hover {
    background-color: #f8e653;
}

.ui-button.ui-state-default.yellow-button.ui-state-active {
    background-color: #d4b301;
}

/*Red Button*/

.ui-button.ui-state-default.red-button {
    background-color: #b8312e;
    border-color: #9c1627;
}

.ui-button.ui-state-default.red-button.ui-state-hover {
    background-color: #d2524f;
}

.ui-button.ui-state-default.red-button.ui-state-active {
    background-color: #9c1627;
}

/*Aqua Button*/
.ui-button.ui-state-default.aqua-button {
    background-color: #0084b4;
    border-color: #087298;
}

.ui-button.ui-state-default.aqua-button.ui-state-hover {
    background-color: #03a8e4;
}

.ui-button.ui-state-default.aqua-button.ui-state-active {
    background-color: #087298;
}

/*Navy Button*/
.ui-button.ui-state-default.navy-button {
    background-color: #1f3b59;
    border-color: #21374f;
}

.ui-button.ui-state-default.navy-button.ui-state-hover {
    background-color: #3c6592;
}

.ui-button.ui-state-default.navy-button.ui-state-active {
    background-color: #21374f;
}

/*Black Button*/
.ui-button.ui-state-default.black-button {
    background-color: #353535;
    border-color: #212121;
}

.ui-button.ui-state-default.black-button.ui-state-hover {
    background-color: #4a4a4a;
}

.ui-button.ui-state-default.black-button.ui-state-active {
    background-color: #212121;
}

/*Grey Button*/
.ui-button.ui-state-default.gray-button {
    background-color: #eceff1;
    border-color: #cccfd2;
}

.ui-button.ui-state-default.gray-button.ui-button span.ui-button-text {
    color: #525252;
}

.ui-button.ui-state-default.gray-button.ui-state-hover {
    background-color: #f5fbff;
}

.ui-button.ui-state-default.gray-button.ui-state-active {
    background-color: #cccfd2;
}

/*Fin buttons*/

.ui-galleria {
    width: 100% !important;
}

.ui-panel-images {
    width: 100% !important;
    /*height: 100% !important;*/
}

.ui-galleria-panel {
    width: 100% !important;
    /*height: 100% !important;*/
}

.ui-galleria-panel-wrapper {
    width: 100% !important;
    /*height: 100% !important;*/
}

.ui-selectmanymenu .ui-selectlistbox-listcontainer {
    height: auto !important;
}

.ui-selectonelistbox,
.ui-selectmanymenu,
.ui-multiselectlistbox-listcontainer {
    padding: 2px;
    width: 100% !important;
}

.list-unstyled {
    padding-left: 0;
    list-style: none;
}

.q-button-plus-small {
    width: 40px !important;
    height: 15px;
}

.selectItemImg {
    width: 30px;
    border-radius: 3px;
}

/*elimina el borde de los select one menu que contienen una tabla (proveedores y clientes que se muestra la foto)*/
.ui-selectonemenu-panel .ui-selectonemenu-table th,
.ui-selectonemenu-panel .ui-selectonemenu-table td {
    border: none !important;
}

.circle {
    border-radius: 50%;
}

.ui-datascroller-content .ui-widget-content {
    background: none !important;
}

.ui-datascroller-content {
    background: none !important;
    border: none !important;
}

.dialogo {
    min-width: 60%;
    background-color: var(--widget-bg);
}

.dialogo-footer {
    text-align: right;
}

/* para los dialogos, deben tener la clase dialogo */
.dialogo .ui-inputfield {
    width: 100%;
    max-width: 100% !important;
    border: none !important;
    border-bottom: 1px solid #eee !important;
    border-radius: 0 !important;
    display: block !important;
    box-shadow: none !important;
}

.dialogo .obligatorio {
    border-bottom: 2px solid #bbb !important;
}

.dialogo .width-limited {
    width: 800px !important;
}

.dialogo .limited {
    width: 800px !important;
    height: 600px !important;
}

.status-dialog {
    min-width: 0;
    width: auto;
    height: auto;
}

body .ui-chkbox .ui-chkbox-box.ui-state-active {
    /*border: 1px solid var(--btn-border);*/
    border-color: var(--btn-border);
    color: var(--btn-label);
    background: var(--btn-back);
}

.activity-onlate {
    color: var(--danger-rgb);
}

.activity-ontoday {
    color: var(--warning-rgb);
}

.activity-ontime {
    color: var(--success-rgb);
}

.activity-onlate-bg {
    background-color: var(--danger-rgb);
}

.activity-ontoday-bg {
    background-color: var(--warning-rgb);
}

.activity-ontime-bg {
    background-color: var(--success-rgb);
}

body .fc .fc-toolbar .fc-button {
    background-color: var(--btn-back);
    border-color: var(--btn-border);
}

.chart .top .chart-top-item {
    display: inline-block;
    padding-left: 0.5rem;
}

.chart .select {
    width: 12rem !important;
    min-width: 12rem !important;
    max-width: 12rem !important;
    display: inline-block;
}

.h-100 {
    height: 100% !important;
}

.position-relative {
    position: relative !important;
}

body .ui-overlaypanel {
    background: var(--widget-bg) !important;
}

.ui-datatable thead th,
.ui-datatable tbody td,
.ui-datatable tfoot td,
.ui-datatable tfoot th {
    border: none !important;
}

.ui-progressbar {
    border: 0 none;
    height: 1rem;
    background: var(--draft);
    border-radius: 4px;
}

.ui-progressbar .ui-progressbar-value {
    border: 0 none;
    margin: 0;
    background: var(--primary);
    border-radius: 4px;
}

/*
Sobreescribe el estilo de css de primefaces 14.0 donde quitaron la propiedad float:left
*/
.ui-g-1,
.ui-g-2,
.ui-g-3,
.ui-g-4,
.ui-g-5,
.ui-g-6,
.ui-g-7,
.ui-g-8,
.ui-g-9,
.ui-g-10,
.ui-g-11,
.ui-g-12 {
    box-sizing: border-box;
    float: left;
    padding: 0.5em;
}

.nav-bar {
    background: var(--surface-100, #f5f5f5);
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
}

.nav-container {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.4rem;
    vertical-align: middle;
}

.nav-info {
    font-weight: 500;
    color: var(--text-color, #444);
    margin-right: 0.4rem;
    white-space: nowrap;
}

.nav-btn.ui-button {
    font-size: 0.5rem;
    padding: 0.15rem 0.3rem;
    min-width: 1.6rem;
}

.nav-pagesize {
    border: none !important;
    background: none !important;
    max-width: 100% !important;
}

.nav-pagesize .ui-state-default {
    border: none !important;
    background: var(--background-color);
}

.nav-pagesize .ui-selectonemenu-label {
    direction: ltr;
    /* importante para alinear a la izquierda */
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-pagesize.ui-selectonemenu {
    font-size: 0.5rem;
    max-width: 4rem !important;
}

.nav-pagesize .ui-selectonemenu-label {
    padding: 0.15rem 0.3rem;
}

.nav-compact .nav-info {
    display: none;
}

.nav-compact .nav-btn.ui-button {
    padding: 0.1rem 0.25rem;
}

.nav-minimal {
    gap: 0.1rem;
}

.nav-minimal .nav-btn.ui-button {
    background: transparent;
    border: none;
    color: var(--primary-color, #3f51b5);
}

.nav-minimal .nav-btn.ui-button:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Mostrar info, ocultar primero y último */
.nav-middle .nav-first,
.nav-middle .nav-last {
    display: none;
}

@media (max-width: 768px) {
    /* Ocultar primero y último automáticamente */
    .nav-container .nav-first,
    .nav-container .nav-last {
        display: none;
    }

    /* Botones más grandes para touch */
    .nav-btn.ui-button {
        font-size: 0.65rem;
        padding: 0.35rem 0.5rem;
        min-width: 2.2rem;
    }

    /* Info más legible */
    .nav-info {
        font-size: 0.65rem;
    }

    .nav-pagesize {
        display: none;
    }
}

.nav-mobile .nav-first,
.nav-mobile .nav-last {
    display: none;
}

.nav-mobile .nav-btn.ui-button {
    font-size: 0.65rem;
    padding: 0.35rem 0.5rem;
    min-width: 2.2rem;
}

.nav-mobile .nav-info {
    font-size: 0.65rem;
}
