.btn-info {
    background-color: #1A99F8;
    border-color: #1A99F8;
    color: #fff;
}

.btn-info-outline {
    background-color: #E0F9FC;
    border-color: #E0F9FC;
    color: #1CA4EB;
}


.btn-cancelar-outline {
    background-color: white;
    border-color: #1CA4EB;
    color: #1CA4EB;
}

.btn-cancelar-outline:hover {
    background-color: #E0F9FC;
    border-color: #1CA4EB;
    color: #1CA4EB;
}

.caja-select-alumno {
    border-top-style: solid;
    border-top-width: 1px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-left-style: solid;
    border-left-width: 1px;
    border-right-width: 1px;
    border-right-style: solid;
    border-color: #e5e5e5;
}


.caja-alumno {
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-left-style: solid;
    border-left-width: 1px;
    border-right-width: 1px;
    border-right-style: solid;
    border-color: #e5e5e5;
}

#wrapper {
    padding-bottom: 100px;
}

.dataTables_wrapper .dataTables_length select {
    border: 1px solid #aaa;
    border-radius: 3px;
    padding: 5px;
    background-color: #fff !important;
    padding: 4px;
}

.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #aaa;
    border-radius: 3px;
    padding: 5px;
    background-color: #fff !important;
    margin-left: 3px;
}

.paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: inherit !important;
    border: 1px solid rgba(0, 0, 0, 0.3);
    background-color: rgba(230, 230, 230, 0.1);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(230, 230, 230, 0.1)), color-stop(100%, rgba(0, 0, 0, 0.1)));
    background: -webkit-linear-gradient(top, rgba(230, 230, 230, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
    background: -moz-linear-gradient(top, rgba(230, 230, 230, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
    background: -ms-linear-gradient(top, rgba(230, 230, 230, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
    background: -o-linear-gradient(top, rgba(230, 230, 230, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
    background: white !important;
}

.btn-primary {
    color: #fff !important;
}

.dataTables-tablaLibros.table>tbody>tr>td,
.table>tfoot>tr>td {
    padding: 0px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 0px solid #ddd;
}

.containerBibliotecaLecCon {
    background-image: url(../../frontend/styles/paes/bg_biblioteca_lec_con.png);
    background-position: top center;
}

.containerMiespacio {
    background-color: white;
    background-size: cover;
    background-position: center center;
    border-radius: 15px;
    -webkit-box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.41);
    -moz-box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.41);
    box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.41);
}

.containerBibliotecaLec {
    background-image: url(../../frontend/styles/paes/bg_biblioteca_lec.png);
    background-size: cover;
    background-position: center center;
    border-radius: 15px;
    -webkit-box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.41);
    -moz-box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.41);
    box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.41);
}

.containerBibliotecaMat {
    background-image: url(../../frontend/styles/paes/bg_biblioteca_mat.jpg);
    background-size: cover;
    background-position: center center;
    border-radius: 15px;
    -webkit-box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.41);
    -moz-box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.41);
    box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.41);
}

.container1 {
    background-image: url(../../frontend/styles/paes/bg_container1.jpg);
    background-size: cover;
    background-position: center center;
    border-radius: 15px;
    -webkit-box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.41);
    -moz-box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.41);
    box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.41);
}

.container2 {
    background-image: url(../../frontend/styles/paes/bg_container2.jpg);
    background-size: cover;
    background-position: center center;
    border-radius: 15px;
    -webkit-box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.41);
    -moz-box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.41);
    box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.41);
}

.container3 {
    background-image: url(../../frontend/styles/paes/bg_container3.jpg);
    background-size: cover;
    background-position: center center;
    border-radius: 15px;
    -webkit-box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.41);
    -moz-box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.41);
    box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.41);
}

.container4 {
    background-image: url(../../frontend/styles/paes/bg_container4.jpg);
    background-size: cover;
    background-position: center center;
    border-radius: 15px;
    -webkit-box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.41);
    -moz-box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.41);
    box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.41);
}
.container5 {
    background-image: url(../../frontend/styles/paes/bg_container5.jpg);
    background-size: cover;
    background-position: center center;
    border-radius: 15px;
    -webkit-box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.41);
    -moz-box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.41);
    box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.41);
}

.btn-pink-light {
    background-color: #E44B43;
    border-color: #E44B43;
    color: #fff;
}

.btn-green-light {
    background-color: #85C97A;
    border-color: #85C97A;
    color: #fff;
}

.btn-blue-light {
    background-color: #1A99F8;
    border-color: #1A99F8;
    color: #fff;
}

.btn-yellow-light {
    background-color: #FFB639;
    border-color: #FFB639;
    color: #fff;
}
.btn-black {
    background-color: #393939;
    border-color: #393939;
    color: #fff;
}
.btn-bio {
    background-color: #00A887;
    border-color: #00A887;
    color: #fff;
}
.btn-fis {
    background-color: #C6186B;
    border-color: #C6186B;
    color: #fff;
}
.btn-qui {
    background-color: #7E0090;
    border-color: #7E0090;
    color: #fff;
}
.btn-his {
    background-color: #63B200;
    border-color: #63B200;
    color: #fff;
}

.color_gris {
    color: #9B9B9B;
}

.color_dark {
    color: #383838;
}

.color_gris_goku {
    color: #6a6c6f;
}



.fs-30 {
    font-size: 30px;
}

.fs-24 {
    font-size: 24px;
}

.fs-20 {
    font-size: 20px;
}

.fs-18 {
    font-size: 18px;
}

.fs-17 {
    font-size: 17px;
}

.fs-16 {
    font-size: 16px;
}

.fs-15 {
    font-size: 15px;
}

.fs-14 {
    font-size: 14px;
}

.fs-13 {
    font-size: 13px;
}

.fs-12 {
    font-size: 12px;
}

.font-weight-500 {
    font-weight: 500;
}

.font-weight-600 {
    font-weight: 600;
}


.centrado-vertical {
    min-height: 400px;
}

@media (max-width: 1024px) {

    .centrado-vertical {
    min-height: 0px;
    }
}

body.modal-open {
    overflow: hidden;
    position: fixed;
}
.titulo-len {
    width: 270px;
    height: 50px;
    background-color: #1a99f8;
    /* Cambia el color según tu preferencia */
    border-top-left-radius: 15px;
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 15px;
}

.titulo-len::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    border-left: 25px solid #1a99f8;
    /* El mismo color del rectángulo */
    right: -25px;
    top: 0;
}

.titulo-mat {
    width: 270px;
    height: 50px;
    background-color: #ee4b41;
    /* Cambia el color según tu preferencia */
    border-top-left-radius: 15px;
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 15px;
}

.titulo-mat::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    border-left: 25px solid #ee4b41;
    /* El mismo color del rectángulo */
    right: -25px;
    top: 0;
}

/* Estilos específicos para igualar alturas */
.equal-height-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: -20px; /* Compensa el margen inferior de las columnas */
}

.equal-height-col {
    display: flex;
    margin-bottom: 20px; /* Espacio entre filas */
}

.equal-height-card {
    flex: 1; /* Hace que las tarjetas ocupen todo el espacio disponible */
    display: flex;
    flex-direction: column;
}

/* MODAL ACTUALIZACIÓN TEMARIO */
.mat-temarios {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #ED4A41;  
    border-radius: 10px;
    overflow: hidden; /* Evita que la imagen sobresalga al hacer zoom */
    transition: transform 0.3s ease-in-out; /* Suaviza la animación */
    cursor: pointer;
}

.mat-temarios:hover {
    transform: scale(1.05); /* Zoom sutil al pasar el mouse */
}

.imagen-mat {
    width: 90%;
    height: 300px;
    background-color: white;
    background-image: url('paes/bg_biblioteca_mat_chica.jpg');
    background-size: cover; /* Ajusta el tamaño de la imagen para cubrir el área */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    background-position: center center; /* Centra la imagen horizontal y verticalmente */
    border-radius: 10px;
}
.lec-temarios {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #1A99F8;  
    border-radius: 10px;
    overflow: hidden; /* Evita que la imagen sobresalga al hacer zoom */
    transition: transform 0.3s ease-in-out; /* Suaviza la animación */
    cursor: pointer;
}

.lec-temarios:hover {
    transform: scale(1.05); /* Zoom sutil al pasar el mouse */
}

.imagen-lec {
    width: 90%;
    height: 300px;
    background-color: white;
    background-image: url('paes/bg_biblioteca_lec_chica.jpg');
    background-size: cover; /* Ajusta el tamaño de la imagen para cubrir el área */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    background-position: center center; /* Centra la imagen horizontal y verticalmente */
    border-radius: 10px;
}
.fis-temarios {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #C6216C;  
    border-radius: 10px;
    overflow: hidden; /* Evita que la imagen sobresalga al hacer zoom */
    transition: transform 0.3s ease-in-out; /* Suaviza la animación */
    cursor: pointer;
}

.fis-temarios:hover {
    transform: scale(1.05); /* Zoom sutil al pasar el mouse */
}

.imagen-fis {
    width: 90%;
    height: 300px;
    background-color: white;
    background-image: url('paes/bg_biblioteca_fis_chica.jpg');
    background-size: cover; /* Ajusta el tamaño de la imagen para cubrir el área */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    background-position: center center; /* Centra la imagen horizontal y verticalmente */
    border-radius: 10px;
}
.his-temarios {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #63B21F;  
    border-radius: 10px;
    overflow: hidden; /* Evita que la imagen sobresalga al hacer zoom */
    transition: transform 0.3s ease-in-out; /* Suaviza la animación */
    cursor: pointer;
}

.his-temarios:hover {
    transform: scale(1.05); /* Zoom sutil al pasar el mouse */
}

.imagen-his {
    width: 90%;
    height: 300px;
    background-color: white;
    background-image: url('paes/bg_biblioteca_his_chica.jpg');
    background-size: cover; /* Ajusta el tamaño de la imagen para cubrir el área */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    background-position: center center; /* Centra la imagen horizontal y verticalmente */
    border-radius: 10px;
}

#preview2 .modal-dialog {
    width: 100vw !important; /* Full ancho de la pantalla */
    max-width: 100vw !important;
    height: 100vh !important; /* Full altura */
    max-height: 100vh !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

#preview2 .modal-content {
    width: 100% !important;
    height: 100vh !important;
    border-radius: 0;
    display: flex;
    flex-direction: column;
}

#preview2 .modal-body {
    flex-grow: 1;
    height: calc(100vh - 60px); /* Resta header y footer */
    padding: 0;
    overflow: hidden;
}

#preview2 iframe {
    width: 100%;
    height: 100%;
    border: none;
}
/* Habilitar el scroll en modales superpuestas */
.modal {
    overflow-y: auto !important; /* Permitir scroll en la modal */
}

/* Forzar que el body no se bloquee al abrir la segunda modal */
.modal-open {
    overflow: auto !important;
    padding-right: 0 !important;
}
/* Evita que el body haga scroll cuando hay una modal abierta */
body.modal-open {
    overflow: hidden !important; /* Evita el scroll en la página */
}

/* Permitir el scroll dentro de las modales */
.modal {
    overflow-y: auto !important; /* Activa el scroll en la modal */
}


/* Asegurar que toda la fila tenga el mismo fondo en hover */
#tablaTemarios tbody tr:hover td {
    background-color: rgba(78, 93, 115, 0.1) !important;
    box-shadow: none !important;
}

/* Eliminar cualquier sombra en la primera y segunda columna */
#tablaTemarios tbody tr td.sorting_1,
#tablaTemarios tbody tr td:nth-child(2) {
    box-shadow: none !important;
}

/* Asegurar que la segunda columna también reciba el mismo color de fondo */
#tablaTemarios tbody tr:hover td:nth-child(2) {
    background-color: rgba(78, 93, 115, 0.1) !important;
}


/* Estilos personalizados para DataTables */
#tablaTemarios thead {
    background-color: #4e5d73 !important; /* Color de fondo */
    font-size: 16px !important; /* Tamaño de fuente */
}

#tablaTemarios thead th {
    color: white !important; /* Color del texto */
    vertical-align: middle !important; /* Centrar verticalmente */
    padding: 10px !important; /* Espaciado */
}
/* Aplica el borde redondeado a la primera columna del encabezado */
#tablaTemarios thead th:first-child {
    border-top-left-radius: 10px;
    padding-left: 20px; /* Ajusta el padding si es necesario */
}

/* Aplica el borde redondeado a la última columna del encabezado */
#tablaTemarios thead th:last-child {
    border-top-right-radius: 10px;
}


/* efecto de latido de corazón */
@keyframes heartbeat {
    0% {
      transform: scale(1);
    }
    25% {
      transform: scale(1.1);
    }
    50% {
      transform: scale(1);
    }
    75% {
      transform: scale(1.1);
    }
    100% {
      transform: scale(1);
    }
  }
  
  .pulse-heart {
    animation: heartbeat 1s infinite;
  }
  

.tituloCredito {
    font-size: 25px;
    left: 115px;
    position: relative;
}


.contenedorCreditos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 0 auto;
}

.columnaCreditos {
    background: white;
    padding: 20px;
    flex: 1 1 calc(25% - 20px); /* 4 columnas */
    max-width: calc(22% - 20px);
    min-width: 240px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}
.creditos-titulo {
    background: #2c3e50;
    color: white;
    padding: 10px;
    margin: -20px -20px 10px -20px;
    font-size: 18px;
    font-weight: bold;
    text-align: left;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

/* Créditos - Subtítulo */
.creditos-subtitulo {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    text-align: left;
    color: #333;
}

/* Créditos - Párrafo */
.creditos-parrafo {
    font-size: 16px;
    color: #666;
    text-align: left;
    margin: 5px 0;
}