:root {
  --red: red;
  --white: white;
  --darkcyan: darkcyan;
  --bluebutton: #0016b0;
  --tipi: #1c41a0;
  --maroon: maroon;
  --CCC1A9: #ccc1a9;
  --yellow: yellow;
  --lightblue: lightblue;
  --tableBackground: #b3b7b9;
  --green: green;
  --tablaHover: #ac9696;  
}

body,
html {
	font-size: 90%;
	padding: 0;
	margin: 0;
}

/* Reset */
*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}


.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}

#body {
	font-family: 'Lato', Calibri, Arial, sans-serif;
	color: #5c5c5a;
	background: #fffcf5;
	min-height: 800px;
}

a {
	color: black;
	text-decoration: none;
}

a:hover {
	color: blue;
}

.main,
.container>header {
	width: 100%;
	margin: 0 auto;
	padding: 0 1.875em 3.125em 1.875em;
}

.main {
	max-width: 100%;
	padding-top: 2em;
}

.column {
	float: left;
	width: 15%;
	padding: 1% 3em;
	min-height: 300px;
	min-width: 320px;
	position: absolute;
	top: 0em;
}

.column:nth-child(2) {
	min-height: 0px;
	box-shadow: -1px 0 0 rgba(0, 0, 0, 0.1);
	/*background: url(../images/clickhere.png) 90px 30px no-repeat;*/
	z-index: 1;
}

.column:last-child:before {
	content: '';
	position: absolute;
	height: 7px;
	background: #ceccc6;
	top: 100px;
	left: 10px;
}

.column p {
	font-weight: 300;
	font-size: 2em;
	padding: 0;
	margin: 0;
	text-align: right;
	line-height: 1.5;
}

.container>header {
	padding: 2.875em 1.875em 2.875em;
	text-align: center;
	background: rgba(0, 0, 0, 0.01);
}

.container>header h1 {
	font-size: 2.625em;
	line-height: 1.3;
	margin: 0;
	color: #89867e;
	font-weight: 300;
}

.container>header span {
	display: block;
	font-size: 60%;
	color: #463543;
	padding: 0 0 0.6em 0.1em;
}

/* Header Style */
/*.codrops-top {
    top: 0;
    background: #fff;
    text-transform: uppercase;
    position: fixed;
    font-size: 13px;
    box-shadow: 1px 0px 2px rgba(0, 0, 0, 0.2);
    line-height: 2.2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 1;
    padding: 0 10px;
}

.codrops-top a {
	padding: 0 1em;
	letter-spacing: 0.1em;
	/*color: #333;*/
	/*display: inline-block;
}

.codrops-top a:hover {
	background: rgba(255, 255, 255, 0.99);
	color: #000;
}*/

/*.codrops-top span.right-side {
	float: right;
}

.codrops-top span.right-side a {
	float: left;
	display: block;
}*/

.codrops-top {
    /*position: fixed;*/
    top: 0;
    width: 100%;
    background: #fff;
    text-transform: uppercase;
    font-size: 13px;
    box-shadow: 1px 0 2px rgba(0,0,0,0.2);
    line-height: 2.2;
    display: flex;
    justify-content: space-between; /* Empuja los hijos a los extremos */
    align-items: center;
    z-index: 9999; /* asegurar que quede por encima */
    padding: 0 10px;
}

.codrops-top .left-side,
.codrops-top .right-side,
.codrops-top .app-version-badge {
    flex: 1; /* que no crezcan ni se centren */
}

.codrops-top .left-side {
    text-align: left; /* asegurar alineación */
}

.codrops-top .right-side {
    text-align: right; /* asegurar alineación */
}

.codrops-top .app-version-badge {
    text-align: center;
}


/* Contenedor que ajusta la posición de los iconos */
.header-icons {
    position: relative; /* Referencia para iconos absolutos relativos al contenedor */
    width: 100%;
}


.bienvenido {
  top: 20px;
  text-align: center;
  font-size: 16px;
  color: var(--red);
  float: right;
  width: 100%;
  background: var(--white);
  text-transform: capitalize;
  position: fixed;
  height: 20px;
  z-index: 1;
}

.nav-bg {
  background-color: var(--darkcyan);
  /*margin-top: 3rem;*/
  
}

.contenedor_menu {
  width: fit-content;
  margin-bottom: 10px;
  margin: auto;
}

.menu_principal ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.menu_principal ul li {
  /*padding: 1rem;*/
  position: relative; /* Necesario para el submenú */
}

.menu_principal li a {
  padding: 1rem;
  color: var(--white);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
  display: block;
}

.menu_principal li a:hover {
  color: var(--maroon);
  border-radius: 10px;
}

.menu_principal .submenu_lista {
  display: none;
}

.submenu_lista {
  /*display: block;*/
  display: none;
  position: absolute;
  top: 0; /* Aparece debajo del padre */
  /*left: 100%;*/
  min-width: 180px;
  background-color: var(--lightblue);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 0;
  margin: 0;
  opacity: 1;
    transition: opacity 0.2s ease-in-out;
  z-index: 1000;
}

.submenu_lista.show {
    display: block;
    opacity: 1;
}

.submenu_lista.active {
  display: block;
  background-color: var(--lightblue);
  border-radius: 10px;
  top: 100%;
}

.submenu_lista li {
  width: 18rem;
  color: var(--darkcyan);
}

.submenu_lista a {
  padding: 10px;
  display: block;
  color: #333;
  text-decoration: none;
  font-size: 1.5rem;
}

.submenu_lista a:hover {
  color: var(--yellow);
  /*background-color: var(--darkcyan);*/
}

/* Alternar la posición de los submenús para que algunos se muestren a la derecha y otros a la izquierda */
.submenu_lista.left {
  right: auto; /* Anula la posición a la derecha */
  left: 100%; /* Mueve el submenú hacia la izquierda */
}

/* Cambiar el orden de las sublistas */
/*.submenu:nth-child(n + 9):nth-child(-n + 13) .submenu_lista {
  left: auto; /* Anula la posición a la derecha */
 /*right: 100%; /* A la derecha */
/*}*/

/*.submenu:nth-child(n + 1):nth-child(-n + 8) .submenu_lista {
  right: auto; /* Anula la posición a la derecha */
 /* left: 100%; /* A la derecha */
/*}*/

.submenu.active .submenu_lista {
  display: block;
}
.submenu_lista.nivel-2 {
  top:0;
  left:100%;
}

.submenu_lista.nivel-3 {
  top: 0;
  left: 100%;
}

.submenu_toggle {
  cursor: pointer; /* Indicar que es interactivo */
}


  /* =============================
   Estilos generales de enlaces
   ============================= */

/* Todos los enlaces de menú */
.menu_principal a {
    display: flex;
    justify-content: space-between; /* Texto a la izquierda, flecha a la derecha */
    align-items: center;
    text-decoration: none;
    padding: 5px 10px;
}

/* Flecha o icono unificado */
.menu_principal a::after {
   /*content: url('<?= $rel ?>images/arrow.svg');*/
    margin-left: 10px;
    color: #555;        /* Color uniforme para todas las flechas */
    font-weight: bold;
}

/* =============================
   Nivel 1 - categorías principales
   ============================= */
.submenu_lista li.sin_submenu > a {
    color: rgb(161, 54, 54) !important;
    font-weight: bold;
}

/* Nivel 1 enlaces con submenú */
.submenu_lista.nivel-1 > li > a {
    color: #003366; /* Azul oscuro */
    font-weight: bold;
}

/* =============================
   Nivel 2 - submenús
   ============================= */
.submenu_lista.nivel-2 > li > a {
    color: #006600; /* Verde oscuro */
    font-style: italic;
}

/* Nivel 2 - enlace directo (sin submenú) */
.submenu_lista.nivel-2 > li > a.link-directo {
    color: #990000;          /* Rojo oscuro */
    font-style: normal;
    font-weight: bold;
    cursor: pointer;
}

/* =============================
   Nivel 3 - sub-submenús
   ============================= */
.submenu_lista.nivel-3 > li > a {
    color: #990000; /* Rojo oscuro */
}

/* =============================
   Ajustes de hover / active
   ============================= */
/*.menu_principal a:hover {
    /*background-color: #087aec;*/    
/*}*/

.submenu_lista.nivel-1 > li > a:hover {
    background-color: #97a5b4;
}

.submenu_lista.nivel-2 > li > a:hover {
    background-color: #8a779c;
}

.submenu_lista.nivel-3 > li > a:hover {
    background-color: #82888d;
}
/* =============================
   Ajuste opcional: icono SVG
   ============================= */
/* Si quieres usar SVG en lugar de ▸ */
.menu_principal a::after {
    /*content: url('<?= $rel ?>images/arrow.svg');*/
    float: right; /* opcional si usas float */
}

/* =============================
   Ajuste responsive / ancho
   ============================= */
.menu_principal li {
    list-style: none;
}

.menu_principal ul {
    padding-left: 0;
    margin: 0;
    top: auto;
}

/**********/
.right-side {
	/* Optional: Adjust width or use flex-grow */
	/*flex: 1;*/
	color: red;
	margin-right: 1rem;
}

.right-side a {
    color: inherit;  /* heredará el color del contenedor .right-side */
    text-decoration: none;
}

.left-side {
	/* Optional: Adjust width or use flex-grow */
	flex: 1;
	margin-left: 1rem;
}

.left-side a {
	color: inherit;  /* heredará el color del contenedor .left-side */
	text-decoration: none;
}

/* Demo Buttons Style */
.codrops-demos {
	padding-top: 1em;
	font-size: 0.9em;
}

.codrops-demos a {
	display: inline-block;
	margin: 0.5em;
	padding: 0.7em 1.1em;
	border: 3px solid #b1aea6;
	color: #b1aea6;
	font-weight: 700;
}

.codrops-demos a:hover,
.codrops-demos a.current-demo,
.codrops-demos a.current-demo:hover {
	border-color: #89867e;
	color: #89867e;
}



.help { 
  position: absolute;
  left: 3rem;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;

  background-image: url("../images/information.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  cursor: help;
}

/* Posición por defecto (sin menú) */
.header-icons .iconLocation,
.header-icons .help {
    position: absolute;
    top: 1rem;
    z-index: 9999;
}

/* Si existe el menú, empuja los iconos debajo */
.header-icons .codrops-top ~ .iconLocation,
.header-icons .codrops-top ~ .help {
    top: 108px;
}


@media screen and (max-width: 46.0625em) {

	.main {
		padding: 0;
	}

	.column {
		/*width: 15em;*/
		min-width: auto;
		height: 0px;
		padding: 5em 1em;
	}

	.column p {
		text-align: left;
		font-size: 1.5em;
	}

	/*.column:nth-child(2) {
		box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.1);
		background-position: 90px 3em;
	}*/
}

@media only screen and (max-width : 480px) {

	.codrops-top {
		font-size: 1rem;
	}

  .iconLocation,
  .iconLocation-ok, 
  .iconLocation-ko {
    z-index: 9999;
    top: 154px;                    /* distancia desde arriba */
    right: 1rem;
     
    /*margin: 3rem auto*/
  } 

}

@media only screen and (max-width : 800px) and (orientation: landscape) {

	.column {
		display: none;
		padding: 9% 3em;
		
	}

}

/* Professional navigation refresh */
.app-userbar.codrops-top {
	box-sizing: border-box;
	min-height: 42px;
	padding: 0 22px;
	border-bottom: 1px solid #dbe4ea;
	background: #f8fafc;
	color: #40515c;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.4;
	box-shadow: none;
}

.app-userbar .left-side,
.app-userbar .right-side,
.app-userbar .app-version-badge {
	display: flex;
	align-items: center;
	min-width: 0;
	margin: 0;
}

.app-userbar .app-version-badge {
	justify-content: center;
	border: 0;
	background: transparent;
	color: #5f6f79;
	cursor: pointer;
	font: inherit;
	white-space: nowrap;
}

.app-userbar .app-version-badge:hover {
	color: #0f766e;
}

.app-userbar .lab-environment-banner {
	align-self: stretch;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	min-width: 180px;
	padding: 0 12px;
	background: #b00020;
	color: #fff;
	text-align: center;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.app-userbar .right-side {
	justify-content: flex-end;
	color: #0f766e;
	text-align: right;
}

.app-userbar .bienvenido {
	position: static;
	width: auto;
	height: auto;
	padding: 0;
	background: transparent;
	color: inherit;
	font-size: 12px;
	line-height: 1.25;
	text-align: right;
}

.app-back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 11px;
	border-radius: 999px;
	color: #334155;
	text-decoration: none;
	transition: background-color 0.18s ease, color 0.18s ease;
}

.app-back-link::before {
	content: "\2039";
	font-size: 20px;
	line-height: 1;
}

.app-back-link:hover {
	background: #e8f3f3;
	color: #0f766e;
}

.nav-bg {
	position: relative;
	z-index: 900;
	background: linear-gradient(135deg, #0f172a 0%, #123d46 52%, #0f766e 100%);
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.contenedor_menu {
	box-sizing: border-box;
	width: 100%;
	margin: 0 auto;
	padding: 0 8px;
}

.menu_principal > ul {
	display: flex;
	justify-content: center;
	align-items: stretch;
	gap: 2px;
	min-height: 48px;
	overflow: visible;
}

.menu_principal li {
	position: relative;
	list-style: none;
}

.menu_principal li a {
	display: flex;
	position: relative;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	box-sizing: border-box;
	min-height: 44px;
	padding: 10px 9px;
	border-radius: 8px;
	color: #f8fafc;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.15;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.menu_principal > ul > li > a {
	height: 48px;
	border-radius: 0;
	color: #eaf7f5;
	letter-spacing: 0;
}

.menu_principal > ul > li > a:hover,
.menu_principal > ul > li.is-open > a,
.menu_principal > ul > li > a:focus-visible {
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	outline: none;
}

.menu_principal > ul > li > a::before {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 0;
	height: 3px;
	border-radius: 999px 999px 0 0;
	background: transparent;
	transition: background-color 0.18s ease;
}

.menu_principal > ul > li > a:hover::before,
.menu_principal > ul > li.is-open > a::before,
.menu_principal > ul > li > a:focus-visible::before {
	background: #67e8f9;
}

.menu_principal .has-children::after,
.menu_principal .submenu_toggle::after {
	content: "";
	width: 6px;
	height: 6px;
	margin-left: 4px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	opacity: 0.72;
	transform: rotate(45deg) translateY(-2px);
}

.menu_principal .submenu_lista .has-children::after,
.menu_principal .submenu_lista .submenu_toggle::after {
	transform: rotate(-45deg);
}

.menu_principal .submenu_lista {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 218px;
	padding: 6px;
	margin: 0;
	border: 1px solid rgba(148, 163, 184, 0.26);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 22px 45px rgba(15, 23, 42, 0.18);
	opacity: 1;
	z-index: 1000;
}

.menu_principal .submenu_lista::before {
	content: "";
	position: absolute;
	top: -8px;
	left: 0;
	right: 0;
	height: 8px;
}

.menu_principal .submenu_lista.nivel-2,
.menu_principal .submenu_lista.nivel-3 {
	top: -8px;
	left: calc(100% + 8px);
}

.menu_principal .submenu_lista.nivel-2::before,
.menu_principal .submenu_lista.nivel-3::before {
	top: 0;
	bottom: 0;
	left: -8px;
	right: auto;
	width: 8px;
	height: auto;
}

.menu_principal .submenu_lista li {
	width: auto;
	min-width: 206px;
	color: #334155;
}

.menu_principal .submenu_lista a,
.submenu_lista.nivel-1 > li > a,
.submenu_lista.nivel-2 > li > a,
.submenu_lista.nivel-3 > li > a,
.submenu_lista.nivel-2 > li > a.link-directo,
.submenu_lista li.sin_submenu > a {
	min-height: 40px;
	padding: 9px 10px;
	border-radius: 7px;
	color: #253442 !important;
	font-size: 12px;
	font-style: normal;
	font-weight: 650;
	letter-spacing: 0;
}

.menu_principal .submenu_lista a:hover,
.menu_principal .submenu_lista a:focus-visible,
.submenu_lista.nivel-1 > li > a:hover,
.submenu_lista.nivel-2 > li > a:hover,
.submenu_lista.nivel-3 > li > a:hover {
	background: #ecfeff;
	color: #0f766e !important;
	outline: none;
}

.menu_principal .submenu_lista .sin_submenu > a::before,
.menu_principal .submenu_lista a.link-directo::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #14b8a6;
	opacity: 0.6;
}

.menu_principal .menu-logout > a {
	color: #fee2e2;
}

.menu_principal .menu-logout > a:hover,
.menu_principal .menu-logout > a:focus-visible {
	background: rgba(248, 113, 113, 0.18);
	color: #ffffff;
}

.header-icons .codrops-top ~ .iconLocation,
.header-icons .codrops-top ~ .help {
	top: 108px;
}

.app-mobile-menu + .iconLocation,
.app-mobile-menu + .iconLocation-ok,
.app-mobile-menu + .iconLocation-ko {
	top: 154px;
	opacity: 1;
	background-color: #ffffff;
	background-size: contain;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18);
}

@media only screen and (max-width: 1180px) {
	.contenedor_menu {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
	}

	.menu_principal > ul {
		justify-content: flex-start;
		width: max-content;
		min-width: 100%;
	}
}

@media only screen and (min-width: 1181px) {
	.menu_principal > ul > li > a {
		padding-left: clamp(5px, 0.56vw, 9px);
		padding-right: clamp(5px, 0.56vw, 9px);
		font-size: clamp(11px, 0.78vw, 12px);
	}
}
