:root { 
   --blcolor_1: #ffd670; 
   --blcolor_2: #1280c4; 
   --blcolor_3: #59a87a; 
   --blcolor_4: #f77561; 
 } 



/* abril 2023 */

body {
    background-color: #ECF0F4;
}

.navbar {
    background-color: #FFFFFF;
    padding: 0;
    min-height: revert;
    margin-bottom: 0;
}

.navbar-default {
    border-color: white; 
    border-radius: 0;
    height: 40px;
    margin-top: -10px;
    background-image: -webkit-linear-gradient(white, white);
    background-image: -o-linear-gradient(white, white);
    background-image: -webkit-gradient(linear, left top, left bottom, from(white), to(white));
    background-image: linear-gradient(white, white);    
}


.navbar-brand {
    font-size: 21px;
    font-weight: 500;
    padding-top: 0;
    padding-bottom: 0;
}

.panel-info.main-center {
	max-width: 100%;
    background-color: #FFFFFF;
    padding-bottom: 3px;
}
	
.panel-heading {
    background-color: #ffd670!important;
    padding: 5px 0 5px 15px;
    font-weight: 500;
}	

.panel-title {
    color: #212529!important;
    font-weight: 600;
}

.panel-info.main-center.page {
    margin-top: 12px;
}

.page-header {
    padding-bottom: revert; 
    margin: revert; 
}

.page-header.page-info {
    margin-top: -25px;
    background: white;
    padding-left: 12px;
}

.table-responsive {
    width:100%;
    margin-top: 12px;
}


/* .row { */
/*     display: -ms-flexbox; */
/*     display: flex; */
/*     -ms-flex-wrap: wrap; */
/*     flex-wrap: wrap; */
/* } */

/* .row.menu-title { */
/* 	background-color: white; */
/* 	padding: 0 25px 5px 25px; */
/* } */

.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

.flex-nowrap {
    -ms-flex-wrap: nowrap!important;
    flex-wrap: nowrap!important;
}

.container.navbar {
    background-color: #FFFFFF;
    height: 40px;
}

.navbar-default .navbar-brand {
    color: black;
}

.navbar-default .navbar-brand:hover {
	color: #525252;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}


.navbar-default .navbar-text {
	color: #525252;
	margin-top: 0;
    margin-bottom: 0;  
}



h1 small, .h1 small, h2 small, .h2 small, h3 small, .h3 small, h1 .small, .h1 .small, h2 .small, .h2 .small, h3 .small, .h3 .small {
    color: black;
}


/*.text-warning { */
/*    color: #cc8400; */
/*} */

.col-md-12 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
	.col-md-12 {
	    -ms-flex: 0 0 100%;
	    flex: 0 0 100%;
	    max-width: 100%;
	}
}

div.border-tabs {
    margin-top: 15px;
}


.border-tabs .btab {
    color: #212529;
    font-size: 15px;
    font-weight: 600;
    line-height: 18px;
    display: inline-block;
    margin-left: 30px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
}

.border-tabs .btab.active {
    border-bottom: 2px solid #0C629C;
    color: #0C629C;
}

.border-tabs .btab {
    padding: 0px 0px 6px 0px;
    margin-left: 0px;
    margin-right: 10px;
    margin-top: 4px;
    width: 160px;
    text-align: center;
}

.border-tabs .btab.active {
    border-bottom: none;
}






/* 09.08.2022 */
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    background-color: #dddddd;
}



/* 30.07.2022 */



.h1, h1 {
    font-size: 2em;
}



/* 12.07.2022 */
@media (min-width: 576px) {
	.container {
    	width: 100%;
    	max-width: 100%;
	}
}

@media (min-width: 768px) {
	.container {
    	width: 100%;
    	max-width: 100%;
	}
}

@media (min-width: 992px) {
	.container {
    	width: 100%;
    	max-width: 100%;
	}
}


@media (min-width: 1200px) {
	.container {
    	width: 100%;
    	max-width: 100%;
	}
	
	.navbar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand {
    	margin-left: 0;
    	margin-right: 0;
	}
	.navbar-right {
    	margin-right: 0;
	}
	
}



@media (min-width: 700px) {
	.body {
    	font-size: 16px;
	}
	
}


/* OJO  FACOSTA 30.06.2023*/
.navbar-right {
	margin-right: 0!important;
}


.container {
   	width: 100%;
   	max-width: 100%; 
    padding: 12px 12px 0 12px;
}

.panel {
    margin-bottom: 5px;
}
    
.table {
    margin-bottom: 3px;
}

.table>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td {
    padding: 5px 8px 5px 3px;
    vertical-align: middle;
}



.form-group {
    margin-bottom: 15px;
}

/*tamaño general para formulario y divs*/
.main-center{
/* 	margin-top: 12px; */
/* 	margin-bottom: 20px; */
 	margin: 0 auto;
 	max-width: 1060px;
 	margin-bottom: 10px;
 	text-align: center;
}

/* aplicar color a la celda cuando se pasa el puntero del mouse*/
th.sortable:hover {
	background-color: #d9edf7;
	color: #3170aa;
	cursor: pointer;
	border-radius: 5px;
}

/*ocultar y alinear a la derecha imagen de ordenamiento*/
th.sortable span {
	display: none;
	float: right;
}

/*las imagenes de una celda tendra el puntero del mouse*/
.table td img {
	cursor: pointer;
}

/*las imagenes de un input tendra el puntero del mouse*/
.input-group-addon img {
	cursor: pointer;
}

/*tamaño de control de fecha*/
.date {
	width: 150px;
}

/*alinear a la derecha los controles numericos*/
/* .numeric { */
/* 	text-align: right; */
/* } */

/*botones de picklist tendra una fuent mas pequeña*/
.btn-picklist {
	font-size: 9pt;
}

/* popup con iframe */
.dialogbox {
	box-shadow: 0px 0px 15px 3px #61606c;
}

/* popup html alert/confirm box */
.alertbox {
	border-radius: 7px 7px 7px 7px;
	box-shadow: 0px 0px 15px 3px #61606c;
	background-color: #ffffff;
	min-width: 250px;
	min-height: 150px;
	text-align: center;
}

/* div general del alert/confirm box */
.alertbox div {
	height: 100px;
	width: 250px;
	background-color: #ffffff;
	border-radius: 7px 7px 0px 0px;
	border-bottom: 1px solid #e5e5e5;
	box-shadow: 0px 0px 0px 0px #61606c;
	display: table-cell;
	vertical-align: middle;
	padding-left: 5px;
	padding-right: 5px;
	color: black;
}

/*boton del alert/confirm box */
.alertbox button {
	margin-top: 2px;
}

/* lightbox */
.overlay {
	display: none;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-color: #b5b5b5;
	z-index: 1001;
	opacity: .50;
	filter: alpha(opacity = 50);
}

/* calendario inicio */
TD.calDay:hover {
	background-color: #CCCCCC;
	color: #ffffff;
	cursor: pointer;
}

TD.calCurDay:hover {
	background-color: #CCCCCC;
	color: #ffffff;
	cursor: pointer;
}

TD.calCurDay {
	color: white;
	font-weight: bold;
	background-color: #007dcc;
	font-family: Arial;
	font-size: 8pt;
	padding: 1px;
	cursor: pointer;
}

TD.calDisabled {
	color: red;
	background-color: white;
	font-family: Arial;
	font-size: 8pt;
	padding: 1px;
	text-decoration: line-through;
}
/* calendario fin */

/* hgrid inicio */
.hgrid td {
	padding: 5px; 
	vertical-align: top; 
	height: 140px; 
	width: 160px; 
	padding-top: 10px; 
	font-size: 8pt;
	text-align: center;
}

.hgrid td img {
	background-color: #ffffff;
	box-shadow: 0px 0px 15px 1px #61606c;
	border-radius: 5px;
	margin-top: 10px;
	margin-bottom: 10px;
	height: 130px;
	padding: 5px;
}

.hgrid td img:hover {
    -webkit-transform: scale(1.6);
    -ms-transform: scale(1.6);
    transform: scale(1.6);
}

.fade {
	-webkit-transition: opacity 0.3s ease-in;
    -moz-transition: opacity 0.3s ease-in;
    -ms-transition: opacity 0.3s ease-in;
    -o-transition: opacity 0.3s ease-in;
}
/* hgrid fin */

/*colocar curso en los iconos de fuentes*/
span.glyphicon  {
	cursor: pointer;
}

/*añadir icono de pdf al boton*/
.exportPDF {
	background-origin:content-box; 
	display:block; 
	margin:0 auto; 
	width:150px;
	margin-bottom: 10px;
	padding-left: 10px; 
}

/*panel de menu iconograficos inicio*/
.home-panel td:hover {
	background-color: #f5f5f5;
	cursor: pointer;
}

.home-panel td{
	font-size: 8pt;
	text-align: center;
}

.home-panel > tbody > tr > td,
.home-panel > tbody > tr > th,
.home-panel > tfoot > tr > td,
.home-panel > tfoot > tr > th,
.home-panel > thead > tr > td,
.home-panel > thead > tr > th {
    border: none;
    border-radius: 5px;
}

.home-panel td img {
	border-radius: 5px;
	height: 50px;
}
/*panel de menu iconograficos fin*/

/*estilo para la pagina de inicio del sistema*/
.main {
	box-shadow: 0px 0px 15px 3px #61606c;
	border-radius: 5px;
	width:970px; 
	height: 530px;
	background-color:#ffffff; 
	margin:0 auto; 
	margin-top:20px;
}

/*estilo para el formulario de login y olvide contraseña*/
.mainform {
	float:right;
	width:40%;
	margin-right:5px;
	margin-top:30px;
	margin-bottom:15px;
	width:350px;
}

/*estilo para iframe del menu*/
#homeHeader {
    height: 50px;
    width: 100%;
    background-color: white;
	border: 0px;
 	border-bottom: 1px solid var(--blcolor_2);  
	margin-top: 1px;
}


#homeBar {
	width:230px;
	height: -moz-calc(100% - 50px + 4px);
	height: -webkit-calc(100% - 50px + 4px);
	height: -o-calc(100% - 50px + 4px);
	height: calc(100% - 50px + 4px);
	border:0px;
	float:left;
	margin-top: -4px;
}

/*estilo para iframe del contenido principal*/
#homeContent {
	width: -moz-calc(100% - 230px);
	width: -webkit-calc(100% - 230px);
	width: -o-calc(100% - 230px);
	width: calc(100% - 230px);
	height: -moz-calc(100% - 50px + 4px);
	height: -webkit-calc(100% - 50px + 4px);
	height: -o-calc(100% - 50px + 4px);
	height: calc(100% - 50px + 4px);
	border:0px;
	float:left;
	margin-top: -4px;
}

.container-topbar {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  background-color: white;
  color: var(--blcolor_3);  
}

.container-topbar > div:nth-child(1),
.container-topbar > div:nth-child(3),
.container-topbar > div:nth-child(4) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position:relative;
  font-size:12px;
}


.container-topbar > div:nth-child(5) {
  margin: 0 auto;
}

.container-topbar > div:nth-child(6),
.container-topbar > div:nth-child(7) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position:relative;
/*   margin-left: auto; */
}




/* menu inicio */
.menuBody {
	margin-left: 0px;
	margin-right: 0px;
	border-right: solid 1px silver;
	background-color: white;
}

.menuContainer {
	position: relative;
    display: block;
    margin-left: 5px;
    margin-right: 5px;
	border-radius: 4px;
}

.menuContainerBorder {
	border-bottom: 1px solid #dddddd;
}

div.menuContainer:hover {
	cursor: pointer;
	transition: all 0.3s linear 0s;
    -webkit-transition: all 0.3s linear 0s;
    -moz-transition: all 0.3s linear 0s;
    -o-transition: all 0.3s linear 0s;
/* 	overflow: hidden; */
/* 	text-overflow: ellipsis; */
    background-color: #b9e6fc;
    border-left: 0px solid #1e92d2;
    color: #16191d;
}


.menuTitle {
    text-decoration: none;
    padding: 6px;
    padding-left: 10px;

    display: block;
    width: 100%;
    clear: both;
    font-weight: 400;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    display: flex;
    flex-direction: row;
}

.menuTitle.active {
	transition: all 0.3s linear 0s;
    -webkit-transition: all 0.3s linear 0s;
    -moz-transition: all 0.3s linear 0s;
    -o-transition: all 0.3s linear 0s;
	background-color: #1E92D2;
    color: #fff;
    text-decoration: none;
    border-left: 0px solid #0C629C;
    display: block;
    border-left: 0px solid transparent;
    border-radius: 4px;
    display: flex;
    flex-direction: row;
}


.submenuTitle {
	text-decoration: none;
	padding: 4px;
    padding-left: 22px;

    display: block;
    width: 100%;
    clear: both;
    font-weight: 400;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.submenuTitle.active {
	transition: all 0.3s linear 0s;
    -webkit-transition: all 0.3s linear 0s;
    -moz-transition: all 0.3s linear 0s;
    -o-transition: all 0.3s linear 0s;
	background-color: #1E92D2;
    color: #fff;
    text-decoration: none;
    border-left: 0px solid #0C629C;
    display: block;
    border-left: 0px solid transparent;
    border-radius: 4px;
}

.menuItems {
	max-height: 0;
	overflow: hidden;
}

.menuItem {
/* 	color: #337ab7; */
	text-decoration: none;
	padding: 4px;
    padding-left: 22px;

    display: block;
    width: 100%;
    clear: both;
    font-weight: 400;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    display: flex;
    flex-direction: row;
}

.menuItem.active {
	transition: all 0.3s linear 0s;
    -webkit-transition: all 0.3s linear 0s;
    -moz-transition: all 0.3s linear 0s;
    -o-transition: all 0.3s linear 0s;
	background-color: #1E92D2;
    color: #fff;
    text-decoration: none;
    border-left: 0px solid #0C629C;
    display: block;
    border-left: 0px solid transparent;
    border-radius: 4px;
    display: flex;
    flex-direction: row;
}

.menuIco {
    width: 16px;
    margin-right: 6px;
/*     overflow: hidden; */
    white-space: nowrap;
    text-overflow: ellipsis;
}


/* menu fin */


/* iframes 50% */
.iframe-container {
      width: 100%;
      height: 47%;
}

.iframe-container iframe {
      width: 100%;
      height:100%;
      border: 1px solid blue;
}

/* iframes 50% fin */





/*icono animado de espera*/
.glyphicon-refresh-animate {
    -animation: spin .7s infinite linear;
    -ms-animation: spin .7s infinite linear;
    -webkit-animation: spinw .7s infinite linear;
    -moz-animation: spinm .7s infinite linear;
}

@keyframes spin {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}
  
@-webkit-keyframes spinw {
    from { -webkit-transform: rotate(0deg);}
    to { -webkit-transform: rotate(360deg);}
}

@-moz-keyframes spinm {
    from { -moz-transform: rotate(0deg);}
    to { -moz-transform: rotate(360deg);}
}
/*icono animado de espera*/

/*ocultar columna cuando no sea landscape*/
.hidden-xs-down {
	display: none;
}

/*mostral columna cuando sea landscape*/
@media (min-width: 568px) {
	 .hidden-xs-down {
	 	display: table-cell;
	 }	
}

/*añadir asterisco a los campos obligatorios*/
.form-group.required .control-label:after {
  	content:"*";
  	color:red;
  	font-size: 19px;
  	font-weight: bold;
  	vertical-align: top;
}

/*añadir espacio de 70px a la parte superior*/
.container-padding70 {
	padding-top: 70px;
}

/*eliminar espacio de la izquierda, en este caso no, se pone a 12px*/	
.navbar-brand-padding0 {
	padding-left: 12px;
	height: 33.5px;
}

/*Caja de opciones para grid*/
.option-box {
	border-radius: 7px 7px 7px 7px; 
	box-shadow: 0px 0px 15px 3px #61606c; 
	background-color: #ffffff; 
	text-align: center; 
	padding: 10px; 
	position: absolute;	
}

/*separar las imagenes*/
.option-box span {
	padding-right: 10px;
}

/*Aplicar un margen a los formularios de un tab*/
.tab-form-margin {
	margin-top: 20px;
}


/* TD Celda editable*/
.editable-cell {
    border: 0.5px solid #dddddd; 
    outline: 1px solid #dddddd; 
	background-color: white; 
}

.editable-cell:focus {
     outline: none; /*Optional: Remove the default focus outline */
}

/* 03.08.2023*/

.normal-readonly {
  color: #141414 !important; /* Set the desired color for the input text */
  background-color: #e7e7e7!important; /* Set the desired background color for the input */
}



.circle {
    width: 30px;
    height: 30px;
    background-color: red;
    border-radius: 50%; /* Esto hace que el div tenga forma de círculo */
  }
  
  
/* 09.10.2023   Para la barra de titulo */
.container-bartit {
  display: flex; /* Esto activa el modelo de caja flexible */
  align-items: center; /* Alinea verticalmente los elementos en el centro */
}

.container-bartit select,
.container-bartit input {
  margin-right: 10px; /* Agrega espacio a la derecha de los elementos */
  margin-top: 6px;
  font-size:12px;
  padding: 3px;
  height: 24px;
}
  
.container-bartit select {
    border-radius: 3px;
}  
  
  
/* 12.10.2023   Para hacer drag and drop */
input[type=file]  {
	display: block !important;
	right: 1px;
	top: 1px;
	opacity: 0; 
	width: 100%; 
	background: none;
	position: absolute;
	overflow: hidden;
} 

/* 25.11.2023   Para resaltar una línea en una grilla */
.resaltar {
  background-color: rgba(191, 191, 191, 0.4) !important; /* Puedes ajustar el color según tus preferencias */
}


/* 26.12.2023   Para mostrar un indicador de colores */
.indicador {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
 }

 
.extend_sm1 {
    padding-left: 2px;
    padding-right: 0px;   
    width: 112%;
 }
 
 .th_cell {
 	border: 1px solid #ccc!important;
 	padding: 2px 3px 2px 3px!important;
 	background-color: white;
 }
 

.input_filter_cell {
        width: 100%!important; /* Ajusta el ancho del input al 100% de la celda */
        height: 100%!important; /* Ajusta la altura del input al 100% de la celda */
        box-sizing: border-box!important; /* Incluye el padding y el border en el tamaño total del input */
        border: 0;
        padding: 0 2px 0 2px;
        color: blue;
        font-weight: 400;
        outline: none; /* Esto quita el contorno al hacer clic */
}

.input_filter_cell::placeholder {
        font-weight: 400;
}


/* 09.09.2024   Para colocar una ventana modal para abrir documentos e imagenes */

.modal {
    display: none; 
    position: fixed; 
    z-index: 3000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    background-color: rgba(0,0,0,0.8); 
    justify-content: center;
    align-items: center;
}

.modal-content {
      	margin: 5% auto; /* Centrar verticalmente y horizontalmente */
    padding: 20px;
    width: 80%;
    max-width: 900px;
    background-color: white;
    border-radius: 5px;
    text-align: center;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-close:hover,
.modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* =========================
   CLASE STICKY - INICIO  
   ========================= */

.sticky-top-bar {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: #fff;
}

.sticky-filter {
  position: sticky;
  top: 45px; /* altura aprox del navbar */
  z-index: 1040;
  background: #fff;
}	

.grid-container {
			padding: 0;
}
	
.table-scroll {
  max-height: calc(100vh - 230px);  /* si cambia el layout, se ajusta de forma particular*/
  overflow-y: auto;
		  position: relative; /* OBLIGATORIO */
}

.table-scroll thead th {
  position: sticky;
  top: 0;
  background: #f5f5f5;
  z-index: 30;
  border-bottom: 2px solid #ddd;
}		

.table-scroll table {
  border-collapse: separate;
  border-spacing: 0;
}


/* =========================
   TOTALES STICKY (BOTTOM)
   ========================= */

.totales-sticky {
  position: sticky;
  bottom: 0;
  z-index: 25;
  background-color: #fff;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.15);
}

/* que no se pegue al borde */
.totales-sticky table {
  margin-bottom: 0;
}		

/* =========================
   AGRANDA CHECKBOX 
   ========================= */
.grid-check {
		  transform: scale(1.4);
  cursor: pointer;
  accent-color: #0C629C; /* opcional: color corporativo (Chrome/Edge) */
}


.ui-autocomplete {
  z-index: 2000 !important;
}

/* =========================
   CLASE STICKY - FIN   
   ========================= */


