/* Reset básico */
*{
box-sizing:border-box;
margin:0;
padding:0;
}

/* cuerpo */
body{
    font-family:'Inter',sans-serif;
    background:#fefefe;
    margin:0;
    color:#2d3436;
	text-align:justify;
	-webkit-user-select: none; /* Chrome, Safari */
	-moz-user-select: none;    /* Firefox */
	-ms-user-select: none;     /* Edge antiguo */
	user-select: none; 
}

.page{
	width:100%;
	margin:auto;
	padding:0 5px;
}

.header{
    text-align:center;
    margin-bottom:40px;
}

.header h1{
    font-size:36px;
    color:#0b6fa4;
    margin-bottom:10px;
}

.subtitle{
    color:#636e72;
}

.layout{
	display:grid;
	grid-template-columns:minmax(0,2.5fr) minmax(0,1fr);
	gap:40px;
}

.content{
    background:white;
    padding:5px;
    border-radius:10px;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

.content h2{
    color:#0a4d74;
    margin-top:30px;
}

.content p{
    line-height:1.7;
}

ul{
    line-height:1.7;
    list-style: none;
    padding: 0;
    margin: 0;
}

.bloque{
    margin-bottom:35px;
}

.ejemplo{
    background:#eef6ff;
    border-left:4px solid #0b6fa4;
    padding:20px;
    border-radius:6px;
}

.examen{
    background:#eef6ff;
    border-left:4px solid #4DB961;
    padding:20px;
    border-radius:6px;
}

.sidebar{
    position:sticky;
    top:100px;
    height:fit-content;
}

.card{
    background:white;
    padding:20px;
    border-radius:10px;
    margin-bottom:20px;
    box-shadow:0 5px 15px rgba(0,0,0,0.05);
}

.card h3{
	text-align: center;
    margin-top:0;
	margin-bottom:15px;
}

.card ul{
    padding-left:18px;
}

.card li{
    margin-bottom:8px;
}

.footer{
    text-align:center;
    margin-top:50px;
    padding:20px;
    color:#636e72;
}

@media (max-width:900px){

.layout{
    grid-template-columns:1fr;
}

.sidebar{
    position:static;
}

.bloque{
    overflow:hidden;
}

.bloque iframe{
    width:80% !important;
    max-width:80% !important;
}

}

section{
scroll-margin-top:100px;
}

/* 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;
  list-style:none;
}
a:hover {
  text-decoration: underline;
  list-style:none;
}

/* 9. Responsividad */
@media (max-width: 768px) {

	.section .field {
		flex: 1 1 100%;
	}
	
	body {
		padding: 0px;
	}

	.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: "Simulador:"; }
	.tdresponsive:nth-of-type(2):before { content: "Descripción:"; }
	.tdresponsive:nth-of-type(3):before { content: "Preguntas teóricas:"; }
	.tdresponsive:nth-of-type(4):before { content: "Preguntas prácticas:"; }
	.tdresponsive:nth-of-type(5):before { content: "Certificación:"; }
	.tdresponsive:nth-of-type(6):before { content: "Ficha técnica:"; }
	
	.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: "Certificación:"; }
	.tdresponsive1:nth-of-type(2):before { content: "Descripción:"; }
	.tdresponsive1:nth-of-type(3):before { content: "Guía:"; }
	
	.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: "Rol:"; }
	.tdresponsive2:nth-of-type(2):before { content: "Descripción:"; }
	.tdresponsive2:nth-of-type(3):before { content: "Salario Promedio LATAM:"; }
	
	.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: "Simulador:"; }
	.tdresponsive3:nth-of-type(2):before { content: "Descripción:"; }
	.tdresponsive3:nth-of-type(3):before { content: "Preguntas teóricas:"; }
	.tdresponsive3:nth-of-type(4):before { content: "Preguntas prácticas:"; }
	.tdresponsive3:nth-of-type(5):before { content: "Ficha técnica:"; }
}
	
/* 10. Paginador */

.pagination {
  display: inline-table;
  padding: 0px 0px 0px 0px;
  background-color: #0d47a1;
}

.pagination a {
  color: white;
  float: left;
  padding: 8px 6px;
  text-decoration: none;
  transition: background-color .3s;
  border: 1px solid #ddd;
  font-size: 16px;
  list-style:none;
}

.pagination a.active {
  background-color: #0d47a1;
  color: white;
  border: 1px solid black;
  list-style:none;
}

.pagination a:hover:not(.active) {background-color: #0d47a1; color: white; list-style:none;}

.active, .pagination:hover {
  background-color: #0d47a1; 
  list-style:none;
}

/* Miga de pan */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 8px 16px;
  margin: 10px 0;
  background: #fefefe;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
}

.breadcrumb-item {
  color: #0b6fa4;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  margin: 0 8px;
  color: #9aa5b1;
  font-weight: bold;
}

.breadcrumb-item:hover {
  text-decoration: underline;
  color: #084c74;
}

.breadcrumb-item.active {
  color: #6b7280;
  pointer-events: none;
  font-weight: 600;
}

/* 12. Alineación contenido */

#Alineacion-Contenido {
	padding:30px 0 60px;
}

img {
	width: 100%;
	height: auto;
	filter: saturate(180%);
	pointer-events: none;
}

/* 13. Formulario */

#boton {

	display: inline-block;
	padding: 5px 10px;
	background: #2c5364;
	color: white;
	text-decoration: none;
	border: none; 
	cursor: pointer; 
	border-radius: 5px;
}

#texto {

  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 0px;
  font-family: sans-serif;
  width: 200px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-size: 15px;
}

#texto:focus{
  border-color: #66afe9;
  outline: none; 
  box-shadow: 0 0 8px rgba(102, 175, 233, 0.6);
}

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: #0d47a1;
  border: none;
  color: white;
  font-weight: bold;
  font-size: 15px;
  display: block;
  width: 120px;
}

/* Pie de página */

footer{
  background:linear-gradient(90deg,#0d47a1,#1976d2,#42a5f5);
  color:#fff;
  padding:20px 10px;
}

.footer-container{
  max-width:1000px;
  margin:auto;
  display:flex;
  flex-direction:column;
  gap:10px;
}

/* Links arriba en móvil */
.footer-links{
  display:flex;
  gap:15px;
  flex-wrap:wrap;
  justify-content:flex-start;
}

/* Redes debajo en móvil */
.footer-social{
  display:flex;
  gap:15px;
  flex-wrap:wrap;
  justify-content:flex-start;
}

.footer-links a,
.footer-social a{
  color:#fff;
  text-decoration:none;
  font-size:14px;
  transition:opacity .3s ease;
}

.footer-links a:hover,
.footer-social a:hover{
  opacity:0.8;
}

.footer-social a{
  font-size:18px;
}

.footer-copy{
  font-size:12px;
  margin-top:5px;
}

/* Escritorio */

@media (min-width:600px){

.footer-container{
  flex-direction:row;
  justify-content:space-between;
  align-items:center;
}

.footer-social{
  justify-content:flex-end;
}

}

.scrollable-content {
  width: 100%;
  height: 100%; 
  overflow: auto; 
  padding: 0px;
}

.mapa-aislado {
  position: relative;
  z-index: 0;
}

.mapa-aislado img {
  pointer-events: auto !important;
}

.mapa-aislado area {
  pointer-events: auto;
} 