/* 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: 2rem;
  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;
  }
}

/* 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: 94%;
	max-height: 50px;
	margin: 0 auto;
	background: #fff;
	padding: 2rem;
	border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);	
}

#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:#004085;
}

#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]{
  padding: 0px;
  border: none;
  border-bottom: solid 1px grey;
  width: 100%;
  margin: 0px 0px;
  font-size: 20px;
  color: black;
}

input[type=text]:focus{
  border-bottom: solid 3px black;
  color: black;
}

input[type=submit]{
  padding: 10px 10px;
  background-color: #004085;
  border: none;
  color: white;
  font-weight: bold;
  font-size: 15px;
  display: block;
  width: 120px;
}