
body {
    
    background-image: url('images/backgrounds/portada2.jpg'); 
    background-size: cover; 
    background-position: center; 
   
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    margin-bottom: 50px;
   
}



/* Definición de la fuente Roboto */
@font-face {
    font-family: 'Roboto';
    src: url('/fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


/* Estilos para el contenedor principal */
.container {
    background-color: #f2ebeb42;
    padding-top: 50px;
    padding-bottom: 50px;
    padding-left: 100px;
    padding-right: 100px;
    border: 2px solid rgb(49, 112, 143);
    border-radius: 10px;
    box-shadow: 0 0 10px rgb(49, 112, 143);
    margin: auto; 
  
}

.container2{
   
    background-color: #FCFCFC;
    padding-top: 50px;
    padding-bottom: 50px;
    padding-left: 75px;
    padding-right: 75px;
    border: 2px solid rgb(49, 112, 143);
    border-radius: 10px;
    box-shadow: 0 0 10px rgb(49, 112, 143);
    margin: auto; 
}

.textContainer{
    width: 400px;
    height: 250px;
    max-height: 250px;
    overflow-y:auto;
    background-color: rgb(248, 249, 249);
    margin-top: 25px;
    border: 2px solid rgb(49, 112, 143);
    border-radius: 10px;
    box-shadow: 0 0 10px rgb(49, 112, 143);
    margin-bottom: 50px;
    padding: 20px;
}

/* Estilos para el título  */
#titulo {
    margin-top: 10px;
    margin-bottom: 60px;
    color: rgb(3, 3, 3);
    font-family: 'Roboto', sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}


#titulo2 {
    padding-top: 5px;
    padding-bottom: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: xx-large;
     color: rgb(29, 136, 190);
    /* Cambio de color a azul */
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.label {
    padding-top: 5px;
    padding-bottom: 5px;
    font-family: 'Roboto', sans-serif;
    color: rgb(49, 112, 143);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    font-weight: bold;
    font-size: 16px;


}

/* Centrar elementos */
.centrar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;

}

/* Estilos para el botón dentro de la clase centrar */
.centrar button a {
    display: flex;
    align-self: center;
}


.campo {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.campo input {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}


footer {
    position: absolute; 
    bottom: 0;
    width: 100%;
    height: 25px;
    display: flex;
    justify-content: center; 
    align-items: center; 
    text-align: center;
    z-index: 9999;
}


.opciones {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Añadido para centrar verticalmente */
    flex-wrap: wrap;
}

.opciones ul {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.opciones li {
    margin-bottom: 20px;
}

.opciones img {
    width: 100px;
    /* Tamaño de la imagen */
    height: auto;
    margin-bottom: 10px;
}

.opciones a {
    color: rgb(255, 255, 255);

    width: 100px;
    height: auto;
    background-color: rgb(49, 112, 143);

    border-radius: 10px;
    padding: 18px 36px;
    display: block;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    text-decoration: solid;
    text-align: center;
    font-size: 14px;
    letter-spacing: 2px;
    cursor: pointer;  
    transition: ease-out 0.9s;
    margin: 25px;
    margin-top: 7px;
}

.opciones a:hover {
    box-shadow: inset 400px 0 0 0 #479a71;
   
    /* Cambio de color a azul */
}



/* Estilos para el color del texto */
.color {
    font-family: 'Roboto', sans-serif;
    color: rgb(49, 112, 143);

}



 button {
    width: 105px;
    height: 45px;
    font-size: 15px;
    position: relative;
    border: 1px solid rgb(49, 112, 143);
    
    border-radius: 10px;
    cursor: pointer;
} 
#similar-button{
    width: 105px;
    height: 45px;
    font-size: 15px;
    position: relative;
    border: 1px solid rgb(49, 112, 143);
    
    border-radius: 10px;
    cursor: pointer;
}

img {
    width: 100px;
    height: auto;
}


/* Icono de mostrar o ocultar contraseña */
.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    cursor: pointer;

}

.toggle-password .fa-eye-slash {
    color: red;
}
table {
    width: 100%; /* Ajusta el ancho de la tabla al 100% del contenedor */
    border-collapse: collapse; /* Combina los bordos de las celdas */
}

/* Estilos para las celdas de la tabla */
td, th {
    border: 2px solid #ddd; 
    border-bottom: 5px solid #ddd;

    padding: 10px; 
}

/* Estilos para las celdas de encabezado */
th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: center; /* Alinea el texto a la izquierda */
    background-color: #3187BA; /* Añade un color de fondo a las celdas de encabezado */
    color: white; /* Cambia el color del texto a blanco */
}

/* Añade un estilo de fondo a las filas al pasar el mouse */
tr:hover {background-color: #91D9C8;}


.formulario-busqueda {
    display: flex;
    justify-content: space-between;
}

.formulario-busqueda div {
    flex: 1;
    margin-right: 10px;
    padding-right: 25px;
}

.formulario-busqueda button {
    display: block;
    width: 75px;  
    height: auto;
    margin-left: 25px;
    margin-right: 65px;
    border: none;
    background: none;
    padding-bottom: 5px;
}
.formulario-busqueda img.imagen-formulario-buscar {
    /* width: 115px;  */ 
    width: 150px;
    height: auto; 
}

.formulario-busqueda img.imagen-formulario-anadir {
   /*  width: 95px; */  
   width: 125px;
    height: auto; 
    padding-left: 25px;
}

.formulario-busqueda label,
.formulario-busqueda input {
    display: block;
    outline: none;
    width: 100%;
    margin-bottom: 5px;
    
}
.floating-label {
    position: relative;
    width: 100%;
    height: auto;
    
}

.floating-label label {
    position: absolute;
    top: 0;
    left: 0;
    padding-left: 25px;
    padding: 10px;
    pointer-events: none;
    transition: 0.2s;
    color: #9096b6;
    transition: background-color 0.2s ease;
}

.floating-label input {
    padding: 10px;
    outline: none;
    display: block;     
    margin-bottom: 20px;
    border-radius: 5px;
    border: 2px solid #6198b9;
}

.floating-label input:not(:placeholder-shown) + label,
.floating-label input:focus + label {
    font-size: 15px;
    font-style: bold;
    top: -27px;
    border-color: #489ABD;
    
}

.form-row {
    display: flex;
    justify-content: space-between;
}

.form-group {
    flex: 1; /* Hace que cada .form-group ocupe un espacio igual dentro de .form-row */
    margin: 5px; /* Ajusta el espaciado entre los campos */
}
.contenedor-columnas {
    display: flex;
    flex-direction: column;
}

.fila {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.columna {
    display: flex;
    flex-direction: column;
    flex-basis: 50%;
}   

.pagination {
    display: flex;
    justify-content: center; 
    list-style: none; 
}

.pagination li {
    margin: 0 5px; 
}

.pagination a, .pagination span {
    color: #007bff; 
    text-decoration: none; 
    background-color: #fff; 
    border: 1px solid #dee2e6; 
    padding: 5px 10px; 
}

.pagination a:hover {
    color: #0056b3; 
    background-color: #e9ecef; 
}

.pagination .active span {
    color: #fff; 
    background-color: #007bff; 
    border-color: #007bff; 
}
#columna-tamaño {
    width: 35px; 
}
#columna-alumno {
    width: 150px; 
}

/* 
Titulo con una letra de cada color, poniendo los colores que se usa para el background
*/
#titulo-colores {
    font-size: 2em; /* Tamaño de fuente deseado */
    position: relative; /* Asegura que los elementos posicionados internamente sean relativos a este contenedor */
    display: inline-block; /* Asegura que el contenedor solo ocupa el ancho del texto */
}
/*
#titulo-colores::first-letter {
    color: #82B9EF; 
    
    font-weight: bold; 
}


#titulo-colores span:nth-child(1) { color: #BB7166; }
#titulo-colores span:nth-child(2) { color: #04B5A2; }
#titulo-colores span:nth-child(3) { color: #E6767D; }
#titulo-colores span:nth-child(4) { color: #B7695D; }
#titulo-colores span:nth-child(5) { color: #e5e582; }
#titulo-colores span:nth-child(6) { color: #5DC5E2; }
#titulo-colores span:nth-child(7) { color: #03DC96; }
#titulo-colores span:nth-child(8) { color: #BB7166; }
#titulo-colores span:nth-child(9) { color: #04B5A2; }
#titulo-colores span:nth-child(10) { color: #E6767D; }
#titulo-colores span:nth-child(11) { color: #B7695D; }
#titulo-colores span:nth-child(12) { color: #e5e582; }
#titulo-colores span:nth-child(13) { color: #5DC5E2; }
#titulo-colores span:nth-child(14) { color: #03DC96; }
#titulo-colores span:nth-child(15) { color: #BB7166; }
#titulo-colores span:nth-child(16) { color: #04B5A2; }
#titulo-colores span:nth-child(17) { color: #E6767D; }
#titulo-colores span:nth-child(18) { color: #B7695D; }
#titulo-colores span:nth-child(19) { color: #e5e582; }
#titulo-colores span:nth-child(20) { color: #5DC5E2; }

*/