/* ----------------------------------------------------------------VARIABLES-------------------------------------------------------------- */
:root{
    
    --h: 210;
    --primary-color: hsl(var(--h), 68%, 44%);
    --primary-color-light: hsl(var(--h), 68%, 50%);
    --primary-color-lighter: hsl(var(--h), 68%, 61%);
    --secondary-color: #2fc193;
    --jph-dorado: #c3a169;
    --primary-font: 'Montserrat', sans-serif;
    --secundary-font: 'Open Sans', sans-serif;
    --submenu-color: #1571c1;
}

/* ----------------------------------------------------------------- CLASES--------------------------------------------------------------- */
.bg-blanco{
    background-color: white !important;
}

.bg-verde-esmeralda{
   background-color:#2fc193 !important;
}

.bg-danger {
    background-color: #dc3545 !important;
}

.bg-warning {
    background-color: #ffc107 !important;
}

.bg-success {
    background-color: #28a745 !important;
}

.bg-info {
    background-color: #17a2b8!important;
}

li.noleido {
    background: #eeefff;
}

.font-blanco{
    color: #fafafa !important;
}

.oculto{
    display: none !important;
}

.bg-secondary{
    background-color: var(--secondary-color) !important;
}

/* ----------------------------------------------------- Resets ------------------------------------------------------------------------- */

body {
    font-size: 12px;
    font-family: 'Roboto',"Helvetica Neue",Helvetica,Arial,sans-serif;
    color: #707478;
    background:#f1f1f1;
}

a:hover{
    text-decoration: none;
}

h1{
    font-weight: 400 !important;
}

input:focus,
select:focus{
    outline: none;
}

input{
    border: 1px solid #c4c4c4;
    border-radius: 4px;
    height: 31px !important;
}

input[type="checkbox"]{
    height: 15px !important;
}

/* ----------------------------------------------------------------- Miscelaneos ---------------------------------------------------------*/
.selectpicker a{
    width: 100%;
    padding: 8px 15px !important;
}

.selectorCustom ~ button{
    font-size: .68rem !important;
}

.selectorCustom ul li a{
    font-weight: 500;
    font-size: 1em !important;
}

.selectorCustom ul li.selected a{
    color: #fff !important;
}

.selectorCustom ul li.selected a:hover{
    color: #414141 !important;
}
/* --------------------------------------------------------------  DHX Generales --------------------------------------------------------*/
.dhx_sample-container{
    max-width:10000px !important;
}

/* DHX GRID SELECTION */
/* IMPORTANTE!  Es lo que selecciona el background de las celdas al click */
.dhx_grid-selection,
.dhx_grid-selected-row{
    width: 100% !important;
}

.dhx_grid-content{
    width: 100% !important;
    height: 100% !important;
}

/* ---- Modal ----- */
.dhtmlx_modal_box{
    background: #fff !important;
    border: none !important;
}

.dhtmlx_popup_title{
    background: var(--primary-color-lighter) !important;
    text-shadow: none !important;
}

.dhtmlx_popup_text{
    color: #515151 !important;
}

.dhtmlx_popup_button{
    border: none !important;
    box-shadow: none !important;
}
.dhtmlx_popup_button div{
    border: none !important;
}

.dhtmlx_popup_button:first-child div{
    background: var(--primary-color-lighter) !important;
}

.dhtmlx_popup_button:nth-child(2) div{
    background: #ff0e0eba  !important;
}

.dhx_grid-header-cell--align_right .dhx_grid-header-cell-text {
    padding-left: 0px !important;
}

.dhx_sample-container {
    margin-top: 7px !important;
    height: 320px !important;
    min-height: auto !important;
}

.dhx_grid-body {
    height: 100% !important;
}
.dhx_grid-cell {
    font-size: 12px !important;
   font-family: 'Roboto',"Helvetica Neue",Helvetica,Arial,sans-serif !important;
    color: #707478;
}
.dhx_grid-footer-cell,
.dhx_grid-header-cell {
    color: #242a30;
    font-size: 12px !important;
 }
/*------------------------------------------------------------ JEXCEL Generales --------------------------------------------------------*/
.jexcel .filtro{
    float: left;
    width: 100%;
    border: none;
}

.jexcel input[type='checkbox']:checked + label{
    background-color: blue !important;
}

/*------------- Barra de Scroll --------------*/

.jexcel_content::-webkit-scrollbar {
    width: 3px;     /* Tamaño del scroll en vertical */
    height: 8px;    /* Tamaño del scroll en horizontal */
    display: block;  /* Ocultar scroll */
}

.jexcel_content::-webkit-scrollbar:vertical {
    width:10px;
}

.jexcel_content::-webkit-scrollbar-button:increment,
.jexcel_content::-webkit-scrollbar-button {
    display: block;
} 

.jexcel_content::-webkit-scrollbar:horizontal {
    height: 10px;
}

.jexcel_content::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.3) !important;
    border-radius: 20px;
    border: 2px solid #f1f2f3;
}


.jexcel_content::-webkit-scrollbar-track {
    border-radius: 10px;  
}
/* ---- */

.jexcel_toolbar{
    margin-right: 0 !important;
}
   
/*------------------------------------------------------ MS MultiSelect ------------------------------------------------------------ */
.ms-list::-webkit-scrollbar {
    width: 3px;     /* Tamaño del scroll en vertical */
    height: 8px;    /* Tamaño del scroll en horizontal */
    display: block;  /* Ocultar scroll */
}

.ms-list::-webkit-scrollbar:vertical {
    width:10px;
}

.ms-list::-webkit-scrollbar-button:increment,
.ms-list::-webkit-scrollbar-button {
    display: block;
} 

.ms-list::-webkit-scrollbar:horizontal {
    height: 10px;
}

.ms-list::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.3) !important;
    border-radius: 20px;
    border: 2px solid #f1f2f3;
}

.ms-list::-webkit-scrollbar-track {
    border-radius: 10px;  
}

/* Li Selecteable */
li.ms-elem-selectable{
    display: flex;
    align-items: center;
    padding: 5px 5px 5px 10px !important;
    font-family: var(--secundary-font);
}

/* El hover lo agregan por JS */
li.ms-elem-selectable.ms-hover{
    background-color: var(--primary-color-lighter) !important;
}

.ms-container .ms-list{
    height: 195px !important;
}

/* --------------------------------------------------------------- ICONOS FAS FA FAR ---------------------------------------------------- */
.fa, .far, .fas {
    cursor: pointer;
}

.fa-bell{
    font-size: 1.5em;
    color: #fff;
}

.fa-calendar{
    font-size: 1.3em;
}

.fa-clock{
    font-size: 1.3em;
}

.fa-expand{
    font-size: 1.3em;
    color: #1d1a27;
}

.fa-file{
    color: #484554;
}

.fa-filter{
    color: #fafafa;
    font-size: 1.2em;
}

.fa-filter:hover{
    color: var(--active-color);
}

.fa-info{
    font-size: 1.3em;
    color: var(--secondary-color);
}

.fa-keyboard{
    font-size: 1.3em;
    color: #ceb9ff;
}

.fa-lock-open{
    font-size: 1.3em;
}

.fa-pencil-square-o{
    color: #1e1e1e;
    font-size: 2em;
}

.fa-plus{
    position: relative;
    z-index: 1;
}

.orden-container[name="filaCampoOrden"] .fa-plus{
    display: none;
} 

.fa-sign-out-login{
    font-size: 2em !important;
}

.fa-save{
    color: var(--primary-color-lighter);
    font-size: 22px !important;
}

.fa-sync{
    color: var(--secondary-color);
    font-size: 1.3em;
}

.fa-tasks{
    font-size: 1.8em;
}

.fa-trash-alt{
    color: #e5000eb3;
}

.orden-container .fa-trash-alt{
    font-size: 1.5em;
    float: right;
}

.fa-times{
    font-size: 1.3em;
}

.fa-times:hover{
    color: #c34335;
}

.btn.btn-icon{
    font-size: 14px;
    background: transparent;
}

.btn.btn-icon .fa-file,
.btn.btn-icon .fa-save,
.btn.btn-icon .fa-trash-alt{
    font-size: 20px;
}

/*------------------------------------------------------------------ Panel------------------------------------------------------------- */
.panel{
    background-color: #fff;
    box-shadow:0px 0px 3px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.panel label{
    color: #475059;
    font-weight: 500;
}

/* Input Radio Magic */
.form-check input[type="checkbox"]{
    display: none;
}

/* ---------------------- Panel Heading--------------- */
.panel .panel-heading{
    height: 50px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:12px 15px !important;
    border-radius: 10px 10px 0 0;
    border-bottom: 1px solid #e6e6e6;
}

.panel .panel-heading h4{
    font-family: var(--primary-font);
    font-size: 1.5em !important;
    text-transform: uppercase;
    color: var(--primary-color-light) !important;
    order: 0;
}

.panel .panel-heading .panel-heading-btn{
    order: 1;
    margin-top: 0;
}

.panel-heading .badge{
    background-color: #ff0e0e !important;
    margin-bottom: 1rem;
}

.panel-info > .panel-heading{
    background-color: #fff;
    color: #555;
}

.registro .panel-info > .panel-heading{
    background-color: #14C772;
    color: #fffafa;
}

.panel-title {
    font-size: 16px;
    font-weight: 500;
}

/* ------------------BOTONES SELECCIONAR TODOS NINGUNO----------------------- */
.panel-body .btnContainer{
    margin-bottom: 2rem;
}

 .panel-body .btnContainer .ning{
    width: 140px;
    margin-left: 3rem;
}

.panel-body .btnContainer button{
    background: var(--primary-color-lighter);
    color: #fff;
    border-radius: 4px;
}

/*---------------------------------------------------------------------------NAVBAR----------------------------------------------------*/
header{
    box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.25);
    -webkit-box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.25);
}

.navbar-theme {
	background:var(--primary-color);
}

.navbar-theme-primary {
	background:var(--primary-color);
}

.navbar-theme-secondary {
	background:var(--secondary-color);
}
/* ----- Menu Complementos */

/* Icono menú modulos */
.navbar-menuModulos button {
    background: transparent;
    border: none;
}

.navbar-menuModulos button:focus{
    outline:none
}



.navbar-header .navbar-menuModulos button a{
    font-size: 30px;
    font-weight: 700;
    line-height: 5px;
    color: #fff;
}

/* Lista de modulos */
.dropdownModulos{
    background-color: transparent;
}

.navbar-header .lista_complementos{
    background-color: var(--primary-color-light);
    opacity: 0.93;
    width: 250px;
    border-radius: 6px;
	margin: 3px -14px 0;
}

.navbar-theme-secondary .navbar-header .lista_complementos{
    background-color: var(--secondary-color);

}

.navbar-header .lista_complementos li{
    border-bottom: none;
    height: 100px;
}

.navbar-header .lista_complementos li:hover{
    background-color: unset;
}

.navbar-header .lista_complementos li a:hover{
    background: unset !important;
}

.navbar-header .lista_complementos li a span{
    color: #fff;
    display:block;
	font-size:14px;
	font-weight:400;
	text-align:center;
}

.navbar-header .lista_complementos li:hover a span{
    color: #ccc;
}

.navbar-header .lista_complementos li a img{
    height: 50px;
}

.navbar-header .lista_complementos li a image{
    opacity: unset;
}

.logo {
    background-image: url('../images/logo.png');
    width: 60px;
    height: 33px;
    float: left;
    background-size: 60px 33px;
    margin-right: 10px;
}

.dropdown-menu{
    width: 200px;
}

.dropdown-menu li{
    display: flex;
    align-items: center;
    cursor: pointer;
    height: 40px;
    border-bottom: 1px solid #e6e6e6;
}
.dropdown-menu li.activo{
    background-color: #edf0f5;
}

.dropdown-menu li:hover{
    background-color: #dae3f2;    
}

.dropdown-menu li.activo a,
.dropdown-menu li:hover a{
    color: var(--jph-dorado);
    background-color: none !important;
}

.dropdown-menu li a{
    font-size: 1.25em !important;
    color: #555252 !important;
}

.navbar-header a.navbar-brand {
	color:#fff;
	font-size: 20px;
	font-weight:700;
}

.spinner,
.spinner-small {
    height: 40px;
    width: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -20px 0 0 -20px;
    border: 2px solid #fff;
    border-top-color: rgb(255, 255, 255);
    border-top-style: solid;
    border-top-width: 2px;
    border-top: 2px solid var(--jph-dorado);
    border-radius: 100%;
}


.filtro .btn.btn-default {
	color: #fff;
    background: transparent;
    border-color: transparent;
}


/* -------------- SIDEBAR------------------- */
.sidebar .nav > li > a:focus {
	color:var(--jph-dorado);
}

.sidebar .nav > li{
    width: 100%;
}

.sidebar .nav > li > a{
    display: block;
    width: 100%;
    font-size: 1.3em ;
    transition: 250ms;
    padding:16px 40px;
}



.sidebar .nav > li.expand > a{
    background:rgb(0,0,0,0.1);
}

.sidebar.theme .nav > li > a:hover{
    background: rgb(0,0,0,0.2);
    text-decoration: none;
}

.sidebar.theme .nav > li > a:focus{
    background: rgba(56, 122, 189, 0.8);
}

.sidebar .sub-menu{
    background: #1b5486;
} 

.sidebar .sub-menu li:hover{
    background:rgba(56, 122, 189, 0.8);
}

.sidebar .sub-menu li a{
    font-size: 1.01em;
    padding: 10px 40px;
}

.sub-menu a span{
    color: #fff;
    font-size: 1.2em;
}



.sidebar.theme {
	background: var(--primary-color-light);
    /* background: linear-gradient(180deg, rgba(36, 112, 189, 1) 0%, rgba(30, 93, 156,1) 100%); */
    height: 1000px;
}

.sidebar.theme.primary {
    background:var(--primary-color);
}

.sidebar.theme.secondary {
    background:var(--secondary-color);
}

.sidebar.theme .nav > li > a {
    line-height: 20px;
    color: #fff;
}

.sidebar .anchorMenu.active{
    background: rgba(56, 122, 189, 0.8) !important;
}

.sidebar .anchorMenu.active span,
.sidebar .anchorMenu.active i{
    color: var(--jph-dorado);
}

/* ----- NavBar Right ----- */
.navbar-right{
    width: 250px;
    margin-right: 1rem;
}

.navbar-right .dropdown-menu .media{
    height: 65px;
}

.navbar-right a:hover{
    background-color: transparent !important;
    color: var(--jph-dorado) !important;
    opacity: .9 !important;
}

/* ------------------ Notificaciones -----------*/

#cantidad_notificaciones.label{
    background: red;
    border-radius: 10px;
    font-size: .62em;
    top: -9px;
    position: relative;
    left: -8px;
    padding: 3px 6px 3px !important;
}

/* Lista de notificaciones */
.contenedor_notif{
    width: 300px;
    left: -110px;
}

.contenedor_notif li{
    height: auto;
    padding: 10px;
    padding-left: 25px;
}

.contenedor_notif li a i{
    font-size: 22px;
    color: var(--secondary-color)
}

.contenedor_notif li .media-body h6{
    font-size: 13px;
    font-weight: 500;
}

/* --------------------- Nav User ----------------*/
.navbar-user{
    cursor: pointer;
}

.navbar-user div span,
.navbar-user div b,
.navbar-user div i{
    color: #fff;
}

.foto img {
	max-width:100%;
}

.formularios .tab-content{
    padding-left:0;
    padding-right:0;
}

.nav > li > a:focus{
    background-color: var(--primary-color);
    color: #fff;
}
/* -------------------------------------------------------------------------  Grilla------------------------------------------------ */

.grilla{
    padding-bottom: 10px;
}

/*----- Grilla Header -----*/
.grilla .panel-heading{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.grilla .panel-heading-btn{
    position: relative;
}

.grilla .panel-heading-btn button{
    border: 1px solid #fafafa;
    border-radius: 25%;
    width: 35px;
    height: 35px;
}

.grilla .panel-heading-btn .filtrosContainer{
    right: 0;
    top: 4rem;
    left: inherit;
    width: 250px;
    overflow: hidden;
    cursor: default;
}
.grilla .panel-heading-btn .filtrosContainer .filtroContainerHeader{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px 10px 5px;
    font-size: 1.5em;
    border-bottom: 1px solid #e6e6e6;
}

.grilla .panel-heading-btn .filtrosContainer .filtroContainerHeader p{
    margin: 0;
    color: #535353;
}

.grilla .panel-heading-btn .filtrosContainer .filtroContainerHeader .fa-plus:hover{
    color: var(--jph-dorado);
}

.grilla .panel-heading-btn .filtrosContainer ul{
    padding-left: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.grilla .panel-heading-btn .filtrosContainer ul li{
    display: flex;
    justify-content: space-between;
    font-size: 1.1em;

}

.grilla .panel-heading-btn .filtrosContainer ul li .iconContainer .far{
    font-size: 1.3em;
}

.grilla .panel-heading-btn .filtrosContainer ul li .iconContainer .far:hover{
    color: var(--jph-dorado)
}

.grilla .panel-heading-btn .filtrosContainer ul li .iconContainer .far:first-child{
    margin-right: 10px;
}

/*----- Grilla Body ----- */
.grilla .panel-body, .paneles .panel-body {
	padding: 5px;
}

.grilla .panel-body{
    padding-left: 14px;
    padding-right: 14px;
}

.bootstrap-select.btn-group:not(.input-group-btn) {
    margin-bottom: 0px !important;
}

.formularios .btn.btn-enviar,
.grilla .btn.btn-enviar{
    color:#6a72e1;
}

.grilla .panel-heading-btn,
.formularios .panel-heading-btn,
.paneles .btn.btn-default,
.filtro .btn.btn-default {
    margin-top: 2px;
}

.modal-dialog.filtro {
    width: 90%;
    margin: 30px auto;
}

.grilla .nav-tabs > li > a {
    border-radius: 0px 5px 0 0;
}

.grilla .nav-tabs {
    background: #555;
    -webkit-border-radius: 0px 0px 0 0;
    -moz-border-radius: 0px 0px 0 0;
    border-radius: 0px 0px 0 0;
}

.grilla .jtabs-headers .jtabs-selected{
    color: #fff !important;
    background-color: var(--primary-color-lighter) !important;
    border-radius: 4px;
    transition: all .1s cubic-bezier(.17,.84,.44,1);
}

.grilla .jtabs-headers .jtabs-selected:active{
    transform: scale(.9);
}
/* ---- Iframe -----*/
/* #contenedorGrillas iframe{
    height:90vh !important;
} */

[data-ajustada]{
    height:40px;
    font-size: 1.5em;
    text-align:center;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.content.grilla-iframe{
    padding-top: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.content.grilla-iframe .panel{
    height: 90vh;
}

.content.grilla-iframe .panel .jexcel_content{
    max-height: 66vh !important;
}

.doble .content.grilla-iframe .panel .jexcel_content{
    max-height: 44vh !important;
}

.tresomas .content.grilla-iframe .panel .jexcel_content{
    max-height: 22vh !important;
}

.panel-container{
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* --------- Modales ---------*/
/* Eliminar Filtro */
#eliminar_modal .modal-footer{
    display: flex;
    align-items: center;
    justify-content: center;
}

#eliminar_modal .modal-footer button{
    width: 150px;
}

/* Editar o Nuevo Filtro */
.modal-fullscreen .modal-dialog{
    width: 100%;
}

.modal-fullscreen .modal-content{
    width: 90%;
}

/* ------ Gestión de Columnas ------ */

.form-check label{
    margin-bottom: 0;
    margin-right: .5em;
    padding-left: 10px;
    font-weight: 400;
    font-size: 1.5em;
    text-transform: capitalize;
    position: relative;
    width: 100%;
    cursor: pointer;
}

.form-check label::after{
    content: '';
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-left: 11px;
    position: absolute;
    right: 0;
    bottom: 3px;
    color: #fafafa;
    background: #cbcccc;
    font-size: 16px;
}

.form-check label.active::after{
    content: '\2714';
    color: #fafafa;
    background: var(--secondary-color);
}

/*-- Dropdown Button --- */
.filtroCustom{
    margin: 2rem 0;
    padding-left: 0;
}

.filtroCustom .dropdown{
    padding-left: 15px;
}

.filtroCustom button{
    font-size: 1.2em;
    background-color: transparent;
    color: var(--primary-color-light) !important;
    border: .5px var(--primary-color-light) solid;
    border-radius: 10px;
    text-transform: unset;
    font-family: 'Open Sans',"Helvetica Neue",Helvetica,Arial,sans-serif;
    letter-spacing: 1px;
    font-weight: 500;
    box-shadow: 1px 1px 2px 0px rgba(0, 155, 242,0.25);
    -webkit-box-shadow: 1px 1px 2px 0px rgba(0, 155, 242,0.25);
    -moz-box-shadow: 1px 1px 2px 0px rgba(0, 155, 242,0.25);
}

.filtroCustom button:hover{
    background-color: #fafafa;
    color: var(--primary-color-lighter) !important;
}

/* Filtro Custom DropDown */
.filtroCustom span.close{
    float: right;
}

.filtroCustom .dropdown-menu{
    border: 1px solid #ccc;
}

.filtroCustom ul{
    display: flex;
    flex-direction: column;
    padding: 0;
}

.filtroCustom ul li{
    padding-left: 0;
    padding-right: 0;
}

/* FiltroCustom Container Header */
.filtroCustom .filtroContainerHeader{
    border-bottom: 1px solid #e6e6e6;
    display: flex;
    flex-direction: column;
}

.filtroHeaderButtons{
    display: flex;
    justify-content: space-between;
    padding: 1rem;
}

.filtroHeaderButtons p{
    font-size: 1.3em;
    margin: 0;
    color: #514e4e;
}

.filtroHeaderButtons:hover p,
.filtroHeaderButtons:hover .fa-tasks{
    color: var(--jph-dorado);
    cursor: pointer;
}

.filtroCustom .filtroContainerHeader .searchColumnas{
    display: flex;
    padding: 2px 5px 14px;
}

.filtroCustom .filtroContainerHeader .searchColumnas button{
    border-radius: 0 4px 4px 0;
    border-left: none;
    border-color: #ccd0d4;
    pointer-events: none;
    box-shadow: none;
}

.filtroCustom .filtroContainerHeader .searchColumnas input{
    border-radius: 4px 0 0 4px;
    border-right: none;
}

.filtroCustom .filtroContainerHeader .searchColumnas input:focus + button{
    border-color:#9fa2a5;
}

.mensajeError{
    color: red;
    height: 35px;
    width: 50%;
    margin: 10px 0;
    padding: 5px;
    font-size: 1.3em;
    transform: translateX(50%);
    text-align: center;
    border-radius: 8px;
    font-family: var(--primary-font);
    font-weight: 400;
}

.dhx_data-wrap,
.dhx_grid-body,
.dhx_footer-wrapper,
.dhx_header-wrapper {
    width: 100% !important;
}

.dhx_header-wrapper,
.dhx_grid-header {
    width: 100% !important;
}

.grilla .dhx_header-row .dhx_grid-header-cell {
	text-align: center;
}

.grilla .dhx_grid-cell {
	text-align: center;
}

#paneles .dhx_grid-cell:first-child,
#paneles .dhx_header-row .dhx_grid-header-cell:first-child {
    width: 30% !important;
	text-align: center;
}

#paneles .dhx_grid-cell:last-child,
#paneles .dhx_header-row .dhx_grid-header-cell:last-child {
    width: 68% !important;
	text-align: center;
}



.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
    font-size: 12px;
}

.paneles .panel-heading .etiqueta{
    text-align:center;
    background:#eee;
    margin-bottom:5px;
}

.etiqueta:first-child{
    border-right:1px solid #ddd !important;
}

.etiqueta label{
    height:34px;
    line-height:34px;
    margin:0;
}

.reglas label{
    font-weight:500;
}

.filtroPersonal .panel-heading {
    padding: 7px !important;
}

.paneles img {
    max-width: 60%;
}

.paneles span {
    font-size: 12px;
}

.paneles table > tbody > tr > td {
	padding: 3px 5px !important;
	font-size:11px;
}

.filtroPersonal table > thead > tr > th {
	background:#545454;
	color:#fff;
	padding: 5px 15px !important;
}

.datosLiq .table > thead > tr > th {
	background:#848484;
	color:#fff;
	padding: 3px 5px !important;
	text-align:center;
}

.paneles .pagination-sm > li > a,
.paneles .pagination-sm > li > a.active {
    font-size: 10px;
    margin-left: 4px;
    background: #f1f1f1;
}

.paneles .panel-title,
.panel-title .pull-right {
    line-height: 15px;
}

.page-header {
    font-size: 20px !important;
    text-transform: uppercase;
}

.dhx_now {
    background-color: #f7f7f7;
	color: #fff !important;
}

.dhx_checkbox__input:checked + .dhx_checkbox__visual-input {
    background-color: #848484 !important;
    background-position: 50%;
    background-size: cover;
    border-color: #848484 !important;
   
}
.dhx_checkbox__visual-input {
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 20px;
    max-height: 20px;
    background-color: #fff;
    border-radius: 2px;
    cursor: pointer;
	border-color: #848484 !important;
}

.dhx_grid-body {
    overflow:auto;  
	scrollbar-color: rgba(0, 0, 0, .7);
    scrollbar-width: thin;
	scroll-behavior: smooth;
}
.dhx_grid-body::-webkit-scrollbar {
    width: 3px;     /* Tamaño del scroll en vertical */
    height: 8px;    /* Tamaño del scroll en horizontal */
    display: block;  /* Ocultar scroll */
}

.dhx_grid-body::-webkit-scrollbar:vertical {
    width:10px;
}

.dhx_grid-body::-webkit-scrollbar-button:increment,
.dhx_grid-body::-webkit-scrollbar-button {
    display: block;
} 

.dhx_grid-body::-webkit-scrollbar:horizontal {
    height: 10px;
}

.dhx_grid-body::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.3);
    border-radius: 20px;
    border: 2px solid #f1f2f3;
}


.dhx_grid-body::-webkit-scrollbar-track {
    border-radius: 10px;  
}

.dot{
    width:26px;
    height:26px;
    border:1px solid #ccc;
    border-radius:50px;
    margin:0px 2px;
    display:inline-block;
    position:relative;
}

.dot-red::after{
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    left: 50%;
    top: 50%;
    margin-top: -2px;
    margin-left: -2px;
    background: 
    #e16a6a;
    border-radius: 50px;
}

.dot-yellow::after{
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    left: 50%;
    top: 50%;
    margin-top: -2px;
    margin-left: -2px;
    background: 
    #f8ae62;
    border-radius: 50px;
}

.dot-green::after{
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    left: 50%;
    top: 50%;
    margin-top: -2px;
    margin-left: -2px;
    background: 
    #1dbb9a;
    border-radius: 50px;
}

.dot-red-active::after, .dot-yellow-active::after, .dot-green-active::after{
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    left: 50%;
    top: 50%;
    margin-top: -13px;
    margin-left: -13px;
    border-radius: 50px;    
}

.dot-red-active::after{
    background: 
    #e16a6a;
}

.dot-yellow-active::after{
    background: 
    #f8ae62;
}

.dot-green-active::after{
    background: 
    #1dbb9a;
}

.dot span{
    position: absolute;
    z-index: 1000;
    text-align: center;
    width: 100%;
    height: 26px;
    line-height: 26px;
    color: white;
    font-size: 15px;
}

.rojo table thead tr th{
    background:  #e16a6a;
    color:#fff;
}

.amarillo table thead tr th{
    background:  #f8ae62;
    color:#fff;
}

.verde table thead tr th{
    background:  #1dbb9a;
    color:#fff;
}

.datepicker.dropdown-menu{
    z-index: 10000 !important;
}

.contenedorGrillas .divIframes{
    height: 50vh;
}

/* ----------------------------------------------------------------- Modulos ------------------------------------------------------------------*/
.modulos .right .dhx_grid-header-cell,
.modulos .right .dhx_grid-cell
{
    width: 33.3333% !important;
}

/* -------------------------------------------------------------------Mascaras------------------------------------------------------------- */
.tarjetas{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    row-gap: 20px;
    margin-top: 3rem;
}

.tarjeta_padre {
    background-color: #fff;
    border: solid 1px #e6e6e6;
    border-radius: 10px;
    padding: 3rem 2rem;
    max-width: 300px;
}

.tarjeta_item {
    border-radius: 4px 4px 4px 4px;
    margin-bottom: 14px;
}

.tarjeta_item span{
    position: relative;
    top: 5px;
    left: 12px;
}

.tarjeta_item button{
    margin-top: 1.5rem;
    height: 30px;
    border:none;
    border-radius: 4px;
    font-size: 1.2em;
    text-transform: uppercase;
}

.input_tarjeta {
    width: 100%;
    padding: 2%;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.oculto {
    display: none;
}

.div-button-agregar button{
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 4px;
    height: 40px;
    background-color: var(--secondary-color);
    padding: 3px 15px;
    font-family: var(--secunday-font);    
    text-transform: uppercase;
    font-size: 1.3em;
    color: #fff;
}

.div-button-agregar button span{
    font-size: 1.2em;
    font-weight: 600;
    margin-left: 5px;
}

.input_tarjeta_form {
    width: 100%;
    padding: 2%;
    border-radius: 4px;
    border: 1px solid #c8c8c8;
}

/*----------- Modal Agregar tarjeta------------------- */
.modal-dialog{
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content{
    width: 400px;
    border-radius: 10px;
    background-color: rgba(255,255,255,.9);
}

.modal-header h4{
    color: var(--primary-color);
    text-transform: uppercase;
}

.modal-header .close{
    opacity: .67;
    position: absolute;
    right: 20px;
    top: 10px;
}

.modal-body{
    height: 350px;
}

.modal-body .tarjeta_item:first-child::before{
    content: "Nombre de la máscara";
    position: relative;
    top: -2px;
}

.modal-body .tarjeta_item:nth-child(2)::before{
    content: "Campo Regex";
    position: relative;
    top: -2px;
}

.modal-body .tarjeta_item:nth-child(3)::before{
    content: "Prueba de Regex";
    position: relative;
    top: -2px;
}

.modal-body .tarjeta_item:nth-child(4)::before{
    content: "Ejemplo";
    position: relative;
    top: -2px;
}

.modal-body input:focus-visible{
    outline: none;
}

.modal-body button{
    border: none;
    background-color: var(--secondary-color);
    color: #fff;
}

/* FADE IN */

.fade-in {
    animation: fade-in .8s forwards !important;
}
/* - */

.tarjeta_padre_form {
margin: auto;
padding: 10px;
height: 275px;
}

.tarjeta_padre_form .tarjeta_item button{
height: 40px;
margin-top: 0.5rem;
font-size: 1.5em;
}

/* ----------------------------------------------------------- Entidades ------------------------------------------------------------- */
.entidades .primera .dhx_grid-header-cell,
.entidades .primera .dhx_grid-cell{
    width: 50% !important;
}

.entidades .segunda .jexcel_content,
.entidades .segunda .jexcel_content .jexcel.jexcel_overflow{
    width: 100%;
    max-height: 350px !important;
    resize: vertical;
    height: 260px;
}

.entidades .segunda .jexcel td{
    width: 10%;
    height: 25px;
}

.entidades .segunda .panel-body{
    height: 430px;
}

.entidades .row{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
 }

 .entidades .jexcel_content{
     padding-right: 6px;
 }

.entidades .smallContainer{
    pointer-events: none;
    background-color: transparent !important;
    overflow-x: hidden;
}

.entidades .smallContainer .instrucciones{
    position: relative;
    right: 200%;
    transition: all .5s ease;
}

/* ------------------------------------------------------------Entidad Relaciones ----------------------------------------------------------- */
.entidadRelaciones .dhx_grid-header-cell,
.entidadRelaciones .dhx_grid-cell{
    width: 33.333% !important;
}


/*------- Formulario Entidad Relaciones------- */
.formulario-relacion{
    padding-top: 0;
}

.formulario-relacion .col-md-6{
    margin-bottom: 0;
}

.formulario-relacion label{
    color: #604e4e;
    font-size: 1.1em;
    margin-top: 1rem;
}

/*------------ Tipo de Relación --------------- */
.tipoRelacion{
    display: flex;
    flex-direction: column;
}

.tipoRelacion  span.text{
    margin-left: 1rem;
    position: relative;
    top: -4px;
}
/* -----------SWITCH BUTTON ---------------*/
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 17px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    left: 1px;
    bottom: 1px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(19px);
    -ms-transform: translateX(19px);
    transform: translateX(19px);
}

/* Rounded sliders */
.slider.round {
        border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
} 


/* ------------------------------------------------------------ Visualizaciones  -----------------------------------------------------------------*/
.visualizacion .dhx_grid-header-cell,
.visualizacion .dhx_grid-cell{
    width: 50% !important;
}

.crearVisual label{
    color: #555555de;
}

.quintoPanel .search-input{
    border: 1px solid #b9b9b9b9;
    border-radius: 3px;
}

.quintoPanel .panel-body .slimScrollDiv{
    max-height: 232px;
}

/* Ordenamiento */
.orden-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.orden-container select{
    border: 1px solid #c4c4c4;
    border-radius: 4px;
    padding: 4px;
    width: 115px;
}

/* Filtros */

.grupo-filtro{
    border-radius: 6px 6px 6px 6px;
    -moz-border-radius: 6px 6px 6px 6px;
    -webkit-border-radius: 6px 6px 6px 6px;
    border: 1px solid #000000;
    padding: 2%;
    background: rgb(44 214 41 / 8%);
    margin: 1%;
    padding-bottom: 0%;
}

.switch-condicion-grupal {
    border-radius: 6px 6px 6px 6px;
    -moz-border-radius: 6px 6px 6px 6px;
    /* -webkit-border-radius: 6px 6px 6px 6px; */
    border: 1px solid #000000;
    padding: 2%;
    background: rgb(167 245 15 / 8%);
    margin: 1%;
    padding-bottom: 0%;
}



.switch-condicion
{
    margin-top: -2%;
}

.switch-condicion > center > .onoffswitch3
{
    margin-left: -15%;
}


.switch-condicion-externo
{
    border: 1px solid #50a0839e;
    background: #50a0831c;
}

.switch-condicion-externo > center > .onoffswitch3
{
    margin-left: -15%;
    margin-top: 1%;
}

.elemento-condicion
{
    margin: 2%;
}

.panel-body .btnContainer-condicion{
    margin-bottom: 2rem;
}

 .panel-body .btnContainer-condicion .ning{
    width: 140px;
    margin-left: 3rem;
}

.btn-contenedor{
    background: var(--primary-color-lighter);
    color: #fff;
    border-radius: 4px;
}


 /* ----------------------------------------------------------------USUARIO MODULOS --------------------------------------------------------- */
 .usuarioModulos .dhx_grid-header-cell,
 .usuarioModulos .dhx_header-wrapper,
 .usuarioModulos .dhx_data-wrap,
 .usuarioModulos .dhx_grid-cell{
     width: 100% !important;
 }
.usuarioModulos .dhx_sample-container{
    max-height: 313px;
}

.usuarioModulos .slimScrollDiv{
    height: 250px !important;
}

.usuarioModulos .height-sm{
    height: 250px !important;
}

.usuarioModulos .dhx_sample-container__widget{
    height: 292px !important;
}

.usuarioModulos .dhx_grid-less-width{
    height: 292px !important;
}

  /* -----------------------------------------------------ARBOL VISUALIZACIONES---------------------------------------------------------------- */
.arbolVisualizaciones .dhx_grid-header-cell,
.arbolVisualizaciones .dhx_header-wrapper,
.arbolVisualizaciones .dhx_data-wrap,
.arbolVisualizaciones .dhx_grid-cell{
    width: 100% !important;
}

.arbolVisualizaciones .tree{
    overflow-x: auto;
}

.arbolVisualizaciones .tree > ul {
    width: 100% !important;
}

/* --------------------------------------------------------------EMPRESAS----------------------------------------------------------------------- */
.empresas .dhx_grid-header-cell,
.empresas .dhx_grid-cell{
    width: 20% !important;
}
.empresas .jexcel_content,
.empresas .jexcel_content .jexcel.jexcel_overflow{
    width: 100%;
    max-height: 350px !important;
    resize: vertical;
    height: 330px;
}

.empresas .panel-body{
    overflow-y: auto;
    resize: vertical;
}

.empresas .panel-body{
    margin-top: 2rem;
}

.empresas .panel-body[data-jph-alta='empresas']{
    padding-left: 0;
    padding-right: 0;
}

/* -------------------------------------------------------------------ROLES-------------------------------------------------------------------- */

.roles .dhx_grid-header-cell,
.roles .dhx_grid-header,
.roles .dhx_header-wrapper,
.roles .dhx_grid-cell{
    width: 100% !important;
}

/* ----------------------------------------------------------------PERFILES-------------------------------------------------------------------- */
.perfiles .dhx_grid-header-cell,
.perfiles .dhx_grid-header,
.perfiles .dhx_header-wrapper,
.perfiles .dhx_grid-cell{
    width: 100% !important;
}

.perfiles .left .slimScrollDiv{
    max-height: 286px;
}

.perfiles .left .dhx_grid-less-height{
    height: 280px !important;
}

.perfiles .right .slimScrollDiv{
    max-height: 232px;
}

.perfiles .search-input{
    border: 1px solid #b9b9b9b9;
    border-radius: 3px;
}

/* ------------------------------------------------------------------USUARIO PERFIL ----------------------------------------------------- */
.usuarioPerfil .dhx_grid-header-cell,
.usuarioPerfil .dhx_grid-header,
.usuarioPerfil .dhx_header-wrapper,
.usuarioPerfil .dhx_grid-cell{
    width: 100% !important;
}

.usuarioPerfil .col-md-12{
    margin-top: 4rem;
    border-radius: 10px;
}

.usuarioPerfil .col-md-7 .slimScrollDiv{
    max-height: 247px;
}

.usuarioPerfil .col-md-5 .slimScrollDiv{
    height: 300px !important;
}

.usuarioPerfil .height-sm{
    height: 281px !important;
}

.usuarioPerfil .page-header{
    margin-bottom: 0;
}

.usuarioPerfil .left{
    padding-left: 0;
}

.usuarioPerfil .right{
    padding-right: 0;
}

.usuarioPerfil .search-input{
    border: 1px solid #b9b9b9b9;
    border-radius: 3px;
}


/* ---------------------------------------Registro-------------------------------------------------------- */
.registroContainer .dhx_grid-header-cell,
.registroContainer .dhx_grid-cell{
    width: 33.333333% !important;
}

/* Animacion fadeLeft */
@-webkit-keyframes fadeInLeft {
    0% {
     opacity:0;
     -webkit-transform:translateX(-20%);
     transform:translateX(-20%)
    }
    to {
     opacity:1;
     -webkit-transform:translateX(0);
     transform:translateX(0)
    }
}

@keyframes fadeInLeft {
    0% {
        opacity:0;
        -webkit-transform:translateX(-20%);
        transform:translateX(-20%)
    }
    to {
        opacity:1;
        -webkit-transform:translateX(0);
        transform:translateX(0)
    }
}

.animate__fadeInLeft {
    -webkit-animation-name:fadeInLeft;
    animation-name:fadeInLeft
}

.animate__animated {
    -webkit-animation-duration:1s;
    animation-duration:1s;
    -webkit-animation-duration:1s;
    animation-duration:1s;
    -webkit-animation-fill-mode:both;
    animation-fill-mode:both
}

/* LOADER */

.loader-bg{
    position: fixed;
    z-index: 9999999999;
    background-color: #fff;
    width: 100%;
    height: 100%;
}

.loader{
    border: 0 solid transparent;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    position: absolute;
    top: calc(50vh - 75px);
    left: calc(50vw - 75px);
}

.loader::before, 
.loader::after{
    content: '';
    border: 1em solid var(--primary-color);
    border-radius: 50%;
    width: inherit;
    height: inherit;
    position: absolute;
    top: 0;
    left: 0;
    animation: loader 2s linear infinite;
    opacity: 0;
}

.loader::before{
    animation-delay: .5s;
}

@keyframes loader{
    0%{
        transform: scale(0);
        opacity: 0;
    }
    50%{
        opacity: 1;
    }
    100%{
        transform: scale(1);
        opacity: 0;
    }
}

.fadeOut{
    animation:  fade 1s forwards;
}

@keyframes fade{
    100%{
        opacity: 0;
        visibility: hidden;
    }
}

.celda-adjunto{
    background-repeat: no-repeat;
    background-position: bottom 0 right 5px;
    background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='lightgray' width='18px' height='18px'%3E%3Cpath d='M0 0h24v24H0' fill='none'/%3E%3Cpath d='M8 11h8v2H8zm12.1 1H22c0-2.76-2.24-5-5-5h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1zM3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM19 12h-2v3h-3v2h3v3h2v-3h3v-2h-3z'/%3E%3C/svg%3E");
    text-overflow: ellipsis;
    overflow-x: hidden;
}
/* CAMBIO LI SUBMODULO */

.sidebar .sub-menu>li:after{
    content: unset;
    border: none !important;
    background: transparent !important;
}