/* 1. Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 2. Tipografías y cuerpo */
body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
  padding: 20px;
}

/* 3. Contenedor principal */
.main-container {
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  padding: 0.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  user-select: none;
}

/* 4. Encabezados */
h1, h2, h3 {
  margin-bottom: 0.75em;
  font-weight: 400;
}

h1 {
  color: #0056b3;
  font-size: 1.7rem;
  margin-bottom: rem;
  padding:0 10px 0;
}

h2 {
  color: #000000;
  font-size: 2rem;
  margin-bottom: 1rem;
}

h3 {
  color: #000000;
  font-size: 1rem;
  margin-bottom: 1rem;
}

h4 {
	color: #000000;
	font-size:16px;
	font-family: Helvetica,Arial;
	text-align:left;
	font-weight: normal;
}

/* 5. Secciones del lienzo */
.section {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  z-index: 1;
}

.section .field {
  flex: 1 1 calc(50% - 1rem);
  background: #f8f9fa;
  padding: 1rem;
  margin: 0.5rem;
  border-radius: 8px;
  border: 1px solid #e1e5eb;
}

/* 6. Títulos internos */
.section .field h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #004085;
}

/* 7. Tablas (si existen) */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 0rem 0;
}

th, td {
  padding: 0.75rem 1rem;
  border: 0px solid #dee2e6;
}

th {
  background: #e9ecef;
  font-weight: 600;
}

/* 8. Enlaces */
a {
  color: #0056b3;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* 9. Responsividad */
@media (max-width: 768px) {
	.section .field {
		flex: 1 1 100%;
	}
	
	body {
		padding: 10px;
	}
	
	.tablaresponsive, thead, tbody, .thresponsive, .tdresponsive, .trresponsive { 
		display: block; 
	}

	thead .trresponsive { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
		
	.trresponsive { border: 0.5px solid #ccc; }
		
	.tdresponsive { 
		border: none;
		border-bottom: 0px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
		
	.tdresponsive:before { 
		position: absolute;
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}

	.tdresponsive:nth-of-type(1):before { content: "Enfoque:"; }
	.tdresponsive:nth-of-type(2):before { content: "Descripción:"; }
	.tdresponsive:nth-of-type(3):before { content: "Ejemplo:"; }
	
	.tablaresponsive1, thead, tbody, .thresponsive1, .tdresponsive1, .trresponsive1 { 
		display: block; 
	}

	thead .trresponsive1 { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
		
	.trresponsive1 { border: 0.5px solid #ccc; }
		
	.tdresponsive1 { 
		border: none;
		border-bottom: 0px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
		
	.tdresponsive1:before { 
		position: absolute;
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}

	.tdresponsive1:nth-of-type(1):before { content: "Paso:"; }
	.tdresponsive1:nth-of-type(2):before { content: "Acción clave:"; }
	.tdresponsive1:nth-of-type(3):before { content: "Condición:"; }
  
	.tablaresponsive2, thead, tbody, .thresponsive2, .tdresponsive2, .trresponsive2 { 
		display: block; 
	}

	thead .trresponsive2 { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
		
	.trresponsive2 { border: 0.5px solid #ccc; }
		
	.tdresponsive2 { 
		border: none;
		border-bottom: 0px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
		
	.tdresponsive2:before { 
		position: absolute;
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}

	.tdresponsive2:nth-of-type(1):before { content: "Elemento:"; }
	.tdresponsive2:nth-of-type(2):before { content: "Descripción:"; }
	.tdresponsive2:nth-of-type(3):before { content: "Ejemplo:"; }
	
	.tablaresponsive3, thead, tbody, .thresponsive3, .tdresponsive3, .trresponsive3 { 
		display: block; 
	}

	thead .trresponsive3 { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
		
	.trresponsive3 { border: 0.5px solid #ccc; }
		
	.tdresponsive3 { 
		border: none;
		border-bottom: 0px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
		
	.tdresponsive3:before { 
		position: absolute;
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}

	.tdresponsive3:nth-of-type(1):before { content: "Herramienta:"; }
	.tdresponsive3:nth-of-type(2):before { content: "Activación:"; }
	
	.tablaresponsive4, thead, tbody, .thresponsive4, .tdresponsive4, .trresponsive4 { 
		display: block; 
	}

	thead .trresponsive4 { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
		
	.trresponsive4 { border: 0.5px solid #ccc; }
		
	.tdresponsive4 { 
		border: none;
		border-bottom: 0px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
		
	.tdresponsive4:before { 
		position: absolute;
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}

	.tdresponsive4:nth-of-type(1):before { content: "Junior:"; }
	.tdresponsive4:nth-of-type(2):before { content: "Intermedio:"; }
	.tdresponsive4:nth-of-type(3):before { content: "Senior:"; }
	
	.tablaresponsive5, thead, tbody, .thresponsive5, .tdresponsive5, .trresponsive5 { 
		display: block; 
	}

	thead .trresponsive5 { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
		
	.trresponsive5 { border: 0.5px solid #ccc; }
		
	.tdresponsive5 { 
		border: none;
		border-bottom: 0px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
		
	.tdresponsive5:before { 
		position: absolute;
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}

	.tdresponsive5:nth-of-type(1):before { content: "Elemento:"; }
	.tdresponsive5:nth-of-type(2):before { content: "Relación:"; }
	.tdresponsive5:nth-of-type(3):before { content: "Elemento:"; }
	.tdresponsive5:nth-of-type(4):before { content: "Factor de éxito:"; }
	
	.tablaresponsive6, thead, tbody, .thresponsive6, .tdresponsive6, .trresponsive6 { 
		display: block; 
	}

	thead .trresponsive6 { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
		
	.trresponsive6 { border: 0.5px solid #ccc; }
		
	.tdresponsive6 { 
		border: none;
		border-bottom: 0px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
		
	.tdresponsive6:before { 
		position: absolute;
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}

	.tdresponsive6:nth-of-type(1):before { content: "Categoría:"; }
	.tdresponsive6:nth-of-type(2):before { content: "Descripción:"; }
	
	.tablaresponsive7, thead, tbody, .thresponsive7, .tdresponsive7, .trresponsive7 { 
		display: block; 
	}

	thead .trresponsive7 { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
		
	.trresponsive7 { border: 0.5px solid #ccc; }
		
	.tdresponsive7 { 
		border: none;
		border-bottom: 0px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
		
	.tdresponsive7:before { 
		position: absolute;
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}

	.tdresponsive7:nth-of-type(1):before { content: "Herramienta:"; }
	.tdresponsive7:nth-of-type(2):before { content: "Descripción:"; }
	
	.tablaresponsive8, thead, tbody, .thresponsive8, .tdresponsive8, .trresponsive8 { 
		display: block; 
	}

	thead .trresponsive8 { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
		
	.trresponsive8 { border: 0.5px solid #ccc; }
		
	.tdresponsive8 { 
		border: none;
		border-bottom: 0px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
		
	.tdresponsive8:before { 
		position: absolute;
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}

	.tdresponsive8:nth-of-type(1):before { content: "Alternativa:"; }
	.tdresponsive8:nth-of-type(2):before { content: "Acción clave:"; }
	
	.tablaresponsive9, thead, tbody, .thresponsive9, .tdresponsive9, .trresponsive9 { 
		display: block; 
	}

	thead .trresponsive9 { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
		
	.trresponsive9 { border: 0.5px solid #ccc; }
		
	.tdresponsive9 { 
		border: none;
		border-bottom: 0px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
		
	.tdresponsive9:before { 
		position: absolute;
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}

	.tdresponsive9:nth-of-type(1):before { content: "Entrada:"; }
	.tdresponsive9:nth-of-type(2):before { content: "Acción clave:"; }
	
	.tablaresponsive10, thead, tbody, .thresponsive10, .tdresponsive10, .trresponsive10 { 
		display: block; 
	}

	thead .trresponsive10 { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
		
	.trresponsive10 { border: 0.5px solid #ccc; }
		
	.tdresponsive10 { 
		border: none;
		border-bottom: 0px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
		
	.tdresponsive10:before { 
		position: absolute;
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}

	.tdresponsive10:nth-of-type(1):before { content: "Herramienta:"; }
	.tdresponsive10:nth-of-type(2):before { content: "Acción clave:"; }
	
	.tablaresponsive11, thead, tbody, .thresponsive11, .tdresponsive11, .trresponsive11 { 
		display: block; 
	}

	thead .trresponsive11 { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
		
	.trresponsive11 { border: 0.5px solid #ccc; }
		
	.tdresponsive11 { 
		border: none;
		border-bottom: 0px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
		
	.tdresponsive11:before { 
		position: absolute;
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}

	.tdresponsive11:nth-of-type(1):before { content: "Salida:"; }
	.tdresponsive11:nth-of-type(2):before { content: "Acción clave:"; }
	
	.tablaresponsive12, thead, tbody, .thresponsive12, .tdresponsive12, .trresponsive12 { 
		display: block; 
	}

	thead .trresponsive12 { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
		
	.trresponsive12 { border: 0.5px solid #ccc; }
		
	.tdresponsive12 { 
		border: none;
		border-bottom: 0px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
		
	.tdresponsive12:before { 
		position: absolute;
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}

	.tdresponsive12:nth-of-type(1):before { content: "Paso:"; }
	.tdresponsive12:nth-of-type(2):before { content: "Acción clave:"; }
	.tdresponsive12:nth-of-type(3):before { content: "Entrada clave:"; }
	.tdresponsive12:nth-of-type(4):before { content: "Salida clave:"; }
	.tdresponsive12:nth-of-type(5):before { content: "Condición:"; }
}

/* 10. Menu */

	#menu ul {
	top: 0px;
	list-style:none;
	margin:0;
	border: 0px solid #fff;
	border-radius: 5px;

	}
	
	#menu ul li {
	position:relative;
	float:left;
	margin:0;
	padding:0;
	background-color:black;
	}
	
	#menu ul li:hover {
	background-color:#fff;
	color:#000;
	}

	#menu ul li:hover > ul {
	display:block;
	}

	#menu ul a {
	display:block;
	background-color:#004085;
	color:#FFF;
	text-decoration:none;
	font-weight:normal;
	font-size:15px;
	padding:5px 10px;
	font-family: Helvetica,Arial;
	letter-spacing:1px;

	}
	
	#menu ul a:hover {
	display:block;
	background-color:#FFF;
	color:#000;
	text-decoration:none;
	font-weight:bold;
	font-size:15px;
	padding:3px 3px;
	font-family: Helvetica,Arial;
	letter-spacing:1px;

	}

	#menu ul ul {
	display:none;
	position:absolute;
	top:100%;
	left:0;
	background:#000000;
	padding:0;
	}

	#menu ul ul li {
	float:none;
	width:250px;
	}

	#menu ul ul a {
	line-height:100%;
	padding:3px 3px;
	}
	
/* 11. Paginador */

.pagination {
  display: inline-table;
  padding: 0px 0px 0px 0px;
  background-color: #004085;
}

.pagination a {
  color: white;
  float: left;
  padding: 8px 6px;
  text-decoration: none;
  transition: background-color .3s;
  border: 1px solid #ddd;
  font-size: 16px;
}

.pagination a.active {
  background-color: #004085;
  color: white;
  border: 1px solid black;
}

.pagination a:hover:not(.active) {background-color: #004085;}

.active, .pagination:hover {
  background-color: #004085; 
}

/* 12. Miga pan */

.breadcrumb {
  display: flex; 
  padding-left: 0;
  list-style: none; 
  padding:0 10px 0;

}

.breadcrumb-item {
  margin-right: 0px;
  text-decoration: none; 
  color: #fff;
}

.breadcrumb-item.active {
  color: #000;
  pointer-events: none;
}

/* 13. Barra encabezado */

#Buscador {
	top:0;
	position:fixed;
	right:0;
	left:0;
	max-width: 100%;
	max-height: 50px;
	margin: 0 auto;
	background: #fff;
	padding: 2rem;
	border-radius: 0px;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.0);	
}

#Alineacion-Contenido {
	padding:140px 0 60px;
}

img {
	width: 100%;
	height: auto;
	filter: saturate(180%);
	pointer-events: none;
}

/* Establecer un margen de 100px en la parte superior al activar una nota */

[id] {
  scroll-margin-top: 145px; 
}


#Enlace { 
	color:#5564eb;
}

.Enlace {
	font-size:16px;
}

.Enlace:hover {
	font-size:18px;
}

.Enlace1 { 
	color:#0000FF;
}

#Enlace2 { 
	color:#004085;
	font-weight: bold;
}

a:hover,
a:focus {
	color: black;
    text-decoration: none;
	font-size:16px;
}

#boton {

	display: inline-block;
	padding: 5px 10px;
	background-color: #4CAF50;
	color: white;
	text-decoration: none;
	border: none; 
	cursor: pointer; 
	border-radius: 5px;
}

input.text, textarea.text {

	background-color: #ffffff;
	border: 4px double black;
	width: 340px;
	color: #000
}

input[type=text]{
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 0px;
  font-family: sans-serif;
  width: 100%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-size: 15px;
}

input[type=text]:focus{
  border-color: #66afe9;
  outline: none; 
  box-shadow: 0 0 8px rgba(102, 175, 233, 0.6);
}

input[type=submit]{
  padding: 10px 10px;
  background-color: #004085;
  border: none;
  color: white;
  font-weight: bold;
  font-size: 15px;
  display: block;
  width: 120px;
}

footer {
  background-color: #004085;
  color: #fff;
  padding: 20px 10px;
  text-align: center;
}

.footer-container {
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-links, .footer-social {
  margin: 10px 0;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a, .footer-social a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover, .footer-social a:hover {
  color: #fff;
}

.footer-social a {
  font-size: 18px;
}

.footer-copy {
  font-size: 12px;
  color: #aaa;
  margin-top: 10px;
}

@media (min-width: 600px) {

  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
 
  .footer-links, .footer-social {
    margin: 0;
  }

  .footer-copy {
    margin-top: 0;
  }
}