.contenido {
	margin-top: 64px;  /* Espacio reservado para el menú superior e inferior "position:fixed" */
	margin-bottom: 64px;  /* Espacio reservado para el menú superior e inferior "position:fixed" */
	overflow: auto;
}


nav.navbar {
	background-color: #334C94;
}

nav.navbar .dropdown-menu {
	background-color: #334C94;
}

footer {
	background-color: #334C94;
}

table.redcapa-table {
    width: 100%;
    /* border-collapse: collapse; */
    background-color: #004C99; /* Azul base */
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    text-align: center;
    margin-top: 1rem;
    border: 1px solid white;
}

table.redcapa-table th {
	border: 2.5px solid white;
    color: yellow;
    background-color: #0077CC;
    padding: 1rem;
    font-weight: 300;
    vertical-align: middle;
}


/* El primer span (nombre de la estación) en negrita */
table.redcapa-table th > span:first-of-type {
	font-weight: bold;
}

/* Los spans dentro del small (latitud, longitud, altitud) en cursiva */
table.redcapa-table th small span {
	font-style: italic;
}

.redcapa-table thead th {
    color: white !important;
    font-weight: bold;
}

table.redcapa-table td {
	border: 2.5px solid white;
    padding: 0.8rem;
    vertical-align: middle;
}

.dato-meteorologico {
    font-size: 1.5rem;
    font-weight: bold;
}

.unidad {
    font-weight: 300; 
    font-size: 1.3rem; 
    margin-left: 0.2rem;
}

/* Botón VER estilo imagen */
table.redcapa-table a.ver-camara {
    background-color: #D5D8DC;   /* Gris claro */
    color: #004C99;              /* Texto azul oscuro */
    font-weight: bold;
    padding: 0.6rem 1.2rem;      /* Igual que botón Acceder */
    text-decoration: none;
    border: 1px solid #7B7D7D;  /* Borde gris medio */
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.1s ease;
    display: inline-block;
    font-size: 0.95rem;
    cursor: pointer;
}

table.redcapa-table a.ver-camara:hover {
    background-color: #BFC9CA;  /* Gris más oscuro al hacer hover */
    color: #004C99;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}



/* Botón "Acceder" */
table.redcapa-table a.boton-acceder {
    background-color: #ffffff;
    color: #333333;
    font-weight: bold;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.1s ease;
    display: inline-block;
    font-size: 0.95rem;
    cursor: pointer;
}

table.redcapa-table a.boton-acceder:hover {
    background-color: #f0f0f0;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
    color: black;
}

h3.titulo-redcapa {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: #004C99;
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid #0077CC;
    display: inline-block;
    padding-bottom: 0.3rem;
}


a.ver-camara {
    background-color: #bbb; /* Gris claro */
    color: black;
    font-weight: bold;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    border: 1.5px solid #666; /* Gris más oscuro para el borde */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease, transform 0.1s ease, box-shadow 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
    cursor: pointer;
}

a.ver-camara:hover {
    background-color: #005A99;
	color: white;
}

/* Estilo para la tabla de datos de la estación */

h3.titulo-estacion {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: #004C99;
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid #0077CC;
    display: inline-block;
    padding-bottom: 0.3rem;
}


table.estacion-table {
    width: 100%;
    background-color: #004C99; 
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    text-align: center;
    margin-top: 1rem;
    border: 1px solid white;
}

table.estacion-table th {
    border: 2.5px solid white;
    color: yellow;
    background-color: #0077CC;
    padding: 1rem;
    font-weight: 600;
    vertical-align: middle;
}

table.estacion-table td {
    border: 2.5px solid white;
    padding: 0.8rem;
    vertical-align: middle;
}

/*Celdas de datos de inicio*/

.estacion-cellInicio {
    display: flex;
    justify-content: space-between; /* Esto separa texto e imagen */
    align-items: center;
    background-color: #004C99;
    padding: 0.5rem;
    border-radius: 8px;
    width: 100%;
}

.estacion-cellInicio .texto {
    display: flex;
    align-items: baseline;   
    gap: 4px;                
    margin-right: 0.5rem; 
}

.estacion-cellInicio .dato-meteorologico {
    font-size: 1.7rem;
    font-weight: bold;
}

.estacion-cellInicio .unidad {
    font-size: 1rem;
    font-weight: 300;
}

.estacion-cellInicio .iconoInicio {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/*Celdas de datos de la estación*/

.estacion-cell {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #004C99;
    padding: 0.5rem;
    border-radius: 8px;
}


.estacion-cell .texto {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.estacion-cell .titulo {
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.2rem;
}

.estacion-cell .medida {
    font-size: 1.7rem;
    font-weight: bold;
    color: white;
}

.estacion-cell .icono {
    margin-left: 0.3rem;
}

.estacion-cell .unidad {
    font-size: 1rem;       
    font-weight: 300;
    text-align: left; 
}


/* Texto fecha ultima medición */
.info-fecha {
    margin-top: 1rem;
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: flex-start;
}

.info-fecha span {
    background-color: yellow;   /* Fondo amarillo */
    color: black;               /* Texto negro para contraste */
    padding: 0.2rem 0.4rem;     /* Espaciado interior */
    border-radius: 4px;         /* Bordes ligeramente redondeados */
    font-weight: bold;
}

/* Botón Volver al Inicio */

.volver-inicio {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.btn-volver {
	background-color: #0077CC;
	color: white;
	padding: 0.6rem 1.2rem;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
	transition: background-color 0.3s ease, transform 0.1s ease, box-shadow 0.3s ease;
}

.btn-volver:hover {
	background-color: #005A99;
	transform: translateY(-2px);
	box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}

.contenedor-boton-copiar {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin-top: 1rem;
	margin-bottom: 2rem;
	gap: 1rem;
}


.btn-copiar {
	background-color: #0077CC; 
	color: white;
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
	border: none;
	border-radius: 8px;
	padding: 0.6rem 1.2rem;
	font-size: 1rem;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
	transition: background-color 0.3s ease, transform 0.1s ease, box-shadow 0.3s ease;
}

.btn-copiar:hover {
	background-color: #005A99; 
	transform: translateY(-2px);
	box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}

.btn-copiar:active {
	transform: translateY(0);
	box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.btn-grafica {
    background-color: #0077CC; 
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease, transform 0.1s ease, box-shadow 0.3s ease;
    text-decoration: none; 
}

.btn-grafica:hover {
    background-color: #005A99; 
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.25);
    text-decoration: none; 
}

.btn-grafica:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

