@font-face {
 font-family: 'Garabito';
 src: url(Gabarito-Regular.ttf) format('woff2');
}

*
{
  font-family: "Garabito", sans-serif;
}
#CajaIndexPadre{
  width: 1000px;

}
#CajaIndexB{
  float:left;
  width: 300px;
  height: 300px;
  margin: 5px;
  border-color: blue;
  border-radius: 150px;
  background-color: grey;
}
#CajaIndexH{
  float:left;
  
  width: 300px;
  height: 300px;
  margin: 5px;
  border-color: blue;
  border-radius: 150px;
  background-color: grey;
}
#CajaIndexN{
  float:left;
  width: 300px;
  height: 300px;
  margin: 5px;
  border-color: blue;
  border-radius: 150px;
  background-color: grey;
}
#CajaIndexA{
  float:left;
  width: 300px;
  height: 300px;
  margin: 5px;
  border-color: blue;
  border-radius: 150px;
  background-color: grey;
}
.recuperar {
  clear:both;
}

footer {
  background-color:lightblue;
 /* position: fixed;*/
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
}

details {
    border: none solid #aaa;
    border-radius: 4px;
    padding: 0.5em 0.5em 0;
    width: 100%;
  }

  summary {
    font-weight: bold;
    margin: -0.5em -0.5em 0;
    padding: 0.5em;
    cursor: pointer;
    list-style: none; /* Oculta la flecha por defecto del navegador */
  }

  /* Añadir una flecha personalizada usando CSS */
  summary::after {
    content: ' ▶'; /* Flecha derecha */
    float: left;
  }

  details[open] summary::after {
    content: ' ▼'; /* Flecha abajo cuando está abierto */
  }

  .contenido {
    padding: 10px;
    background-color: #f9f9f9;
  }  
Letrero{
  display:block;
  Height: 50px;
  font-size: 36px;
  font-weight:bold;
  text-align: center;
  background-color: orange;
  margin: none;
}

cajanavegacion{
  float: left;
  width:250px;
  height: 70px;
  font-size: 18px;
  font-weight: bold;
  margin: 5px;
  border: 2px;
 
 }
 cajapagina{
  display: block;
  height: 25;
  font-size: 28px;
  font-weight: bold;
  color:white;
  text-align: center;
  background-color: blue;
 }
botonInicio{
  width:60px;
  height:60px;
  background-color:#03800b;
  margin: 5px;
  padding:10px;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
  font-size:11px;
  line-height:32px;
  text-transform: uppercase;
  float:left;
  display: flex;
  justify-content: center;
  align-items: center;
}
footer {
  background-color:lightblue;
 /* position: fixed;*/
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
}

H1{
  text-align: center;
}
.figureD{
float: right;
margin: 0px 10px;
}
.cajanavegacion {
  background-color: blue;
  overflow: hidden;
  position: sticky;
  top: 1px;
}
.cajanavegacion a {
  float:left;
  color:#f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}
.cajanavegacion a:hover {
  background-color: #ddd;
  color: black
}
.cajanavegacion a:active {
  background-color: #ff2323;
  color: white;
}
.cajanavegacion a.active {
  background-color: white;
  color: black;
}
.de {
  width: 90%;
  background: #ff8000;
  float: right;
  padding: 20px;
  box-sizing: border-box;
}
.iz{
  width: 10%;
  background: #ff8000;
  float: left;
  padding: 20px;
  box-sizing: border-box;
}
.btn-year:hover
{
  background-color: red;
}

/* Definimos tipo tablas */
.elencoTable td {
  border: 1px solid black !important;
  border-collapse: collapse;
}

.elencoTable th{
  border: 1px solid black !important;
  border-collapse: collapse;
  background-color: lightskyblue;
}

.elencoTable tr:hover
{
  background-color: #003bfb;
  color: white;
}

header
{
  position: sticky;
}

/* Estilo para el menú vertical de años de PorAnno : Barra desplazamiento */
#menuYears
{
  width: 10%;
  display: block !important;
  position: sticky;
  overflow-y: auto;
  overflow-x: hidden;
  height: 600px;
}
/* Notas en gris */
#P1 {
  color: grey;
}
P[Datos] {
  color:#4f4f4f
  font-size = 10px
}
/* Formatos acordeon */

.Subaccordion {
  background-color: #eee;
  color: #9303dc;
  cursor: pointer;
  padding: 16px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 14px;
  transition: 0.4s;
}
.Subactive, .Subaccordion:hover {
  background-color: #ccc;
}
.Subaccordion:after {
  content: '\002B';
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}
.Subactive:after {
  content: "\2212";
}
.Subpanel {
  padding: 0 14px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
} 
/* Pop Up o Modal */

.modal {
  display: none; /*oculto por defecto*/
  position: fixed;
  z-index: 1;
  left: o;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
 /* background-color: rgb(0,0,0);*/
  background-color: rgba(0, 0, 0, 0.56);
}

/* Cabecera Modal */
.modal-header {
  padding: 2px 16px;
  background-color: #5cb85c;
  color: white;
}
/* Cuerpo Modal */
.modal-body {padding: 2px 16px;}


.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  margin-top: 100px !important;
  padding: 20px;
  border: 1px solid #888;
  width: 75% !important;/* Could be more or less, depending on screen size */
 } /* Estilo del contenido*/

/* el boton cerrar */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
/* Animación */
@keyframes animatetop {
  from {top: -300px; opacity: 0}
  to {top: 0; opacity: 1}
}
.Table {
  caption-side: top;
}

#tbInfoObra .tdInfoObra
{
  padding: 10px;
  vertical-align: baseline;
}

#tbInfoObra .tdInfoObra > li
{
  list-style-type: none;
}

.cabInfoObra
{
  color: #0079FB;
}


.tableYear tr:nth-child(odd)
{
  background-color: whitesmoke;
  border: 1px solid gainsboro;
}

.tableYear tr:nth-child(even)
{
  background-color: white;
  border: 1px solid gainsboro;
}

.bi
{
  color:  #0079FB;
}

h3.titleObra
{
  color: #003bfb;
}

#divTableYear
{
  overflow-y: scroll;
  overflow-x: hidden;
  max-height: 600px;
}
.galeria {
    display: grid;
    /* Define 3 columnas de igual ancho */
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2,1fr); 
    /* Espacio entre imágenes */
    gap: 10px; 
    padding: 10px;
    box-sizing: border-box;
  }

  .galeria img {
    width: 100%; /* La imagen ocupa todo el ancho de su celda */
    height: 200px; /* Altura fija para uniformidad */
   /* object-fit: cover; /* Recorta la imagen para que no se deforme */
    object-fit: scale-down;
    border-radius: 5px;
  }