/* === SENDA ERP â€“ PALETA Y BASE DE MENÃš (fallback) === */
:root{
  /* si ya tienes un color corporativo, ponlo aquÃ­ */
  --blcolor_1: #0aa1c0;
  --blcolor_2: #1280c4;       /* celeste para activo/hover de menÃº */
  --text_color: #111;
}

html, body { /* para iframes que no tengan su propio CSS */
  background: #f7f9fb;
}



/*tamaï¿½o general para formulario y divs*/
.main-center{
 	margin: 0 auto;
 	max-width: 600px;
 	margin-bottom: 20px;
}

/* 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,
th.sortable i {
	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-text img {
	cursor: pointer;
}

/* FontAwesome icons: puntero para ï¿½conos */
.fas, .far, .fab {
    cursor: pointer;
}


/*tamaï¿½o de control de fecha*/
.date {
	width: 50%;
}

/*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;
}



/*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: 576px) {
	 .hidden-xs-down {
	 	display: table-cell;
	 }	
}

/*añadir asterisco a los campos obligatorios*/
.col-form-label.required::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;
}

/* Navbar mï¿½s compacta  FAAT  26.04.2025*/
.navbar {
  padding-top: 0.25rem;    /* antes era 0.5rem */
  padding-bottom: 0.25rem;
}

/* Marca/tï¿½tulo mï¿½s pequeï¿½o  FAAT  26.04.2025*/
.navbar-brand {
  padding-top: 0;          /* elimina padding extra */
  padding-bottom: 0;
  font-size: 1rem;         /* ajusta el tamaï¿½o de fuente */
  line-height: 1.5;        /* controla la altura de la lï¿½nea */
}

/*eliminar espacio de la izquierda*/	
.navbar-brand-padding0 {
	padding-left: 0px;
}

/*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;
}


/* personalizacion de Colores  FAAT 26.04.25 */

/* .bg-primary    { background-color: #0D47A1 !important; } */
/* .text-primary  { color: #0D47A1 !important; } */
/* .btn-primary   { background-color: #0D47A1; border-color: #0D47A1; } */
/* .btn-primary:hover { background-color: #1976D2; border-color: #1976D2; } */

/* .bg-light      { background-color: #F5F5F5 !important; } */
/* .text-dark     { color: #212121 !important; } */


/* Titulo de Pagina   FAAT 26.04.25 */
/* .page-title { */
/*   background-color: #0D47A1;  azul corporativo */
/*   color: #FFFFFF;             texto blanco */
/*   padding: 0.5rem 1rem;       un poco de espacio interno */
/*   border-radius: 4px;         esquinas suaves */
/*   font-size: 1.1rem;          tamaï¿½o ligeramente mayor */
/*   font-weight: 500;           un poco mï¿½s de grosor */
/* } */


/* personalizacion de Colores  FAAT 26.04.25 */

.custom-banner {
  background-color: #0aa1c0 !important;  /* azul corporativo */
  padding-top: 0.20rem;
  padding-bottom: 0.20rem;
}

  .custom-banner .navbar-brand,
  .custom-banner .nav-link,
  .custom-banner .navbar-toggler-icon {
    color: #fff !important;
  }


/* Adaptaciones Bootstrap 5 */

.form-group.required .col-form-label:after {
  content: " *";
  color: red;
  font-size: 19px;
  font-weight: bold;
  vertical-align: top;
}

/* Spin animado FontAwesome (reemplazo glyphicon-refresh-animate) */
.fa-spin-custom {
  animation: spin 0.7s infinite linear;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Adaptaciones Bootstrap 5 */

.form-group.required .col-form-label:after {
  content: " *";
  color: red;
  font-size: 19px;
  font-weight: bold;
  vertical-align: top;
}

/* Spin animado FontAwesome (reemplazo glyphicon-refresh-animate) */
.fa-spin-custom {
  animation: spin 0.7s infinite linear;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}


input[readonly] {
  background-color: #f8f9fa; /* Gris muy claro */
  color: #6c757d;           /* Texto gris */
}


/* Agregado FAAT  14.09.2025  */
/* Fondo oscuro semitransparente */
.alertbox-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.45);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alertbox {
  min-width: 280px;
  max-width: 400px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  padding: 20px;
  font-family: "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  display: flex;
  flex-direction: column;   /* apila mensaje y botones en columna */
  justify-content: space-between; /* reparte espacio */
  height: 180px;            /* define alto fijo (ajústalo a gusto) */
  text-align: center;
  animation: fadeInScale .25s ease;
}

#alertbox-msg {
  margin-bottom: auto; /* empuja botones hacia abajo */
  margin-bottom: 8px;
  color: #333;
}

.alertbox-buttons {
  display: flex;
  justify-content: center; /* centrado siempre */
  gap: 16px;               /* separación entre botones */
  margin-top: 8px;
}

.alertbox-buttons button:first-child {
  margin-right: 8px;
}

/* Botón principal */
#alertbox-ok {
  background: #1e92d2;
  color: #fff;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}
#alertbox-ok:hover {
  background: #1878ac;
}

/* Botón cancelar */
.cancel-btn {
  background: #f8f9fa;
  color: #333;
  border: 1px solid #d0d5db;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
}
.cancel-btn:hover {
  background: #e9ecef;
}

/* Animación */
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(.9); }
  to { opacity: 1; transform: scale(1); }
}

