/*...........LOLI........*/
.btn-primary[type="submit"] { 
    border: none; 
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
} 

.btn-send{
    background-color: #0d6efd!important; 
    color: white;
}
.btn-send:hover{
    background-color: #025ce4 !important; 
    color: white;
}
.btn-return{
    background-color: rgb(158, 157, 157) !important;
    text-decoration: none !important;
}
.btn-return:hover{
    background-color: rgb(116, 114, 114) !important;
}
.btn-pdf{
    padding: 0.25rem 0.5rem !important;
    font-size: 14px !important;
}

#formInscripcion input, #formVerificarDNI input, .form input{
    margin: 10px 0px 10px 0px;
}

.container-datos-precargados section {
    margin: 15px 0px;
}

.container-datos-precargados h2 {
    font-size: 24px;
}
/*
.alert-danger{
    color: red;
}*/

.form-control {
    margin: 5px 0px 10px 0px;
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    appearance: none;
    border-radius: .375rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

.form-control:focus{
    color:#212529;
    background-color:#fff;
    border-color:#21AFCC;
    outline:0;box-shadow:0 0 0 .25rem #0d6efd40
}

.datosResponsable p {
    margin-top: 35px;
}

.container-datos-precargados fieldset {
    margin: 0px;
    padding: 0px;
    border: none;
    display: flex;
    flex-direction: column;
}

.container-datos-precargados section {
    display: block;
    justify-content: center;
}

input .dni {
    margin-bottom: 10px;
}

/* Estilos tabla de disciplinas inscriptas*/
.table-container {
    overflow-x: auto; 
    margin-top: 20px;
}

.info-insc-table {
    min-width: 850px;
    box-sizing: border-box;
    font-size: 1em;
    border: 1px solid rgba(181, 213, 144, 0.5);
    color: #666;
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;

}

.user-list{
    min-width: 350px !important;
}

.info-insc-table td,
.info-insc-table th {
    text-align: center;
    padding: .8em;
    border-bottom: 1px solid rgba(181, 213, 144, 0.5);
}

.info-insc-table th {
    background: #21AFCC;
    color: #fff;
    font-weight: bold;
    text-align: center;
    position: sticky;
    top: 0; /* Fija la posición en la parte superior */
    z-index: 1; /* Asegura que el encabezado esté sobre las filas al hacer scroll */
}

.info-insc-table td {
    text-align: center;
    font-size: 14px;
}

.info-insc-table td:first-of-type {
    text-align: center;
}

.info-insc-table tr:hover {
    background: rgba(181, 213, 144, 0.2);
}

.info-insc-table tr td:nth-child(2n) {
    background: rgba(181, 213, 144, 0.2);
}

/* Fin estilos tabla de disciplinas inscriptas*/
.buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    gap: 5px;
}

.buttons a,
.buttons button {
    margin: 0;
}

.planilla {
    padding: 5px;
    width: 100%;
}
.planilla a{
    padding: 5px;
}
.form-excel {
    margin: 15px 0;
}

hr {
    margin: 10px 0;
}

.botones-dash {
    gap: 10px;
    display: flex;
    align-items: center;
}

.date {
    padding: 5px;
    margin: 5px;
    font-size: 14px;
}
.form-insc{
    flex: 1;
    max-width: 600px;
    margin: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/*    Fin Loli    */

/* INICIO JUDIT */
html,
body {
    height: 100vh;
    /* 100% del viewport */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background-color: #f5f5f5;
    color: #35383d;
    font-family: 'Arial', sans-serif;
}

.header {
    background-color: #ffffff;
    color: #4cb4c4;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    padding-left: 2rem;
    text-align: left;
}
.header img .img-header{
    width: 300px;
    padding-left: 1.3rem;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-direction: column;
}

.img-header {
    width: 25px;
    height: auto;
}

.logo {
    width: 60px;
    height: auto;
}

.header-titles h2 {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0;
    margin-bottom: .5rem;
}

.header-titles h4 {
    margin: 0;
    font-weight: 500;
    line-height: 1.2;
    opacity: 0.9;
    /* Color menos saturado para el subtítulo */
}

.footer {
    background-color: #ffffff;
    color: #4cb4c4;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 1rem;
    font-size: 0.6rem;
    display: flex;
    justify-content: space-between;
}

.container-inicio {
    flex: 1;
    /* Hace que el contenido principal ocupe todo el espacio disponible */
    max-width: 600px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    /* Por defecto en mobile: uno debajo del otro */
    gap: 1.5rem;
    /* Espacio entre secciones */
}

.section {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1;
    /* Permite que las secciones crezcan igualmente en desktop */
}

.section-dashboard {
    width: 750px;
    min-width: 430px;
    background-color: white;
    padding: 1.5rem;
    flex: 1;
    /* Permite que las secciones crezcan igualmente en desktop */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 1rem;
    text-align: center;
    display: flex;
    justify-content: center;
}

.section-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #ec740c;
    margin-bottom: 1rem;
}

.section-list {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.section-links li {
    margin-bottom: 0.5rem;
}

.link {
    color: #4cb4c4;
    text-decoration: none;
}

.link:hover {
    text-decoration: hsl(from color h s l);
}

.button-link {
    background: none;
    border: none;
    padding: 5px;
    font: inherit;
    /* Hereda la fuente del elemento padre */
    color: #4cb4c4;
    cursor: pointer;
    text-decoration: none;
}

.button-link:hover {
    text-decoration: underline;
}

.btn-primary {
    display: inline-block;
    background-color: #54b41c;
    color: white;
    padding: 0.35rem 0.7rem;
    border-radius: 0.375rem;
    text-decoration: none;
    /*font-weight: bold;*/
    transition: background-color 0.3s;
    margin: 10px 0;
    text-align: center;
}

.btn-primary:hover {
    background-color: #449117;
}

.tabla th, .tabla td{
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
    display: table-cell !important;
    width: auto;
    box-sizing: border-box;
}

.tabla th {
    background-color: #7c53bd;
    font-weight: bold;
    color: white;
}

.tabla tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.tabla tbody tr:hover {
    background-color: #f1f1f1;
    /* Resalta la fila cuando el cursor pasa sobre ella */
}

/*FIN JUDIT*/

/* inicio Leo */

/* para dividir en dos columnas en alumno_detalle */
.container-datos-precargados {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.column {
    width: 100%;
    margin-bottom: 10px;
}


/* para alumno-detalle-admin */

.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.table th,
.table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}

.table th {
    background-color: #007bff;
    color: #fff;
    
}

/* Responsive primero móvil */
.table th,
.table td {
    display: block;
    width: 100%;
}

.table th {
    display: none;
}

.table td {
    border: none;
    border-bottom: 1px solid #ccc;
    position: relative;
    padding-left: 50%;
}

.table td:before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    width: 50%;
    padding-left: 10px;
    font-weight: bold;
    background-color: #f4f4f4;
}

/* Inicio - Carousel*/
.custom-carousel {
    width: 100%;
    height: 12vh;
    overflow: hidden;

}

.custom-carousel img {
    width: 100%;
    height: 100%;
    
}

.section-content {
    margin-top: 20px;
    /* Ajusta el margen superior según sea necesario */
}

.header-inicio {
    background: transparent;
    /* Fondo transparente */
    color: #4cb4c4;
    text-align: center;
    font-size: 2rem;
    padding: 1rem;
}

.texto-header-inicio {
    color: #ffffff;
    /*text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);*/
    margin-top: 0px;
}

.tamaño-fuente-inicio {
    font-size: 1.2rem;
    padding-top: 0;
}

.texto-header-inicio img {
    width: 30px;
}

.carousel-item img {
    
    object-fit: cover; /* Asegura que la imagen cubra el área designada manteniendo su proporción */
    width: 100%;
}



.carousel-inner .carousel-item {
    position: relative;
    /* Necesario para que el ::before pseudo-elemento funcione correctamente */
    z-index: 2;
    /* Coloca el contenido del carousel encima de la capa */
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    /* Para que quede por encima del carrusel */
    background: transparent;
    /* Fondo transparente */
    color: white;
    /* Texto blanco para contraste */
}

.carousel-inner {
    position: relative;
}

.fuente-eslogan {
    font-family: 'Dancing Script', cursive;
    font-weight: lighter;
}


main {
    flex: 1;
    text-align: center;
}

.footer-inicio {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: white;
    color: #4cb4c4;
    text-align: center;
    padding: 1rem;
    font-size: 0.6rem;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

.footer-inicio .left img {
    height: 25px;
}

.footer-inicio .left p {
    margin: 0; 
}

.footer-inicio .right p {
    margin: 0; 
}

.footer .left img {
    height: 25px;
}

.footer .left p {
    margin: 0; 
}

.footer .right p {
    margin: 0; 
}


.left {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding-left: 5vw;
}

.right {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: right;
    padding-right: 5vw;
}

/*para botones de planillas a descargar*/
.margen-fondo {
    margin-bottom: 80px;
    justify-content: center;
    display: flex;
}

.margen-fondo-ingresar {
    margin-bottom: 15px;
    justify-content: center;
    display: flex;
}

/*carousel*/
.quitar-margen {
    margin-bottom: 0px;
    margin-top: 20px;
    background-color: white;
}

main.container-fluid.quitar-margen {
    flex: 1 0 auto;
    overflow-y: auto;
}

.texto-portada {
    text-align: center;
    color: #35383d;
    padding: 1rem;
}

.sin-padding{
    padding: 0px !important;
    margin-top: 0px !important;
    background-color: #f5f5f5 !important;
}

/*texto inicio*/
.paddin-texto-inicio{
    padding-left: 30px;
    padding-right: 30px;
}

.font-blanco {
    color: #ffffff;
}

/* fin Leo */

@media (min-width: 768px) {

    /* Inicio Loli */
    

    #formInscripcion input,
    #formVerificarDNI input {
        margin: 10px 0px 10px 0px;
    }
    .btn-admin{
        display: flex;
        justify-content: space-between;
    }
    .botones-dash{
        display: flex;
        justify-content: space-around;
        padding: 0 5px;
        gap: 10px;
    }
    .buttons {
        gap: 25px;
    }
    .column-scroll{
        flex: 1; /* La segunda sección también ocupa el espacio restante */
        max-height: 562px; /* Establece una altura máxima para que se pueda hacer scroll */
        overflow-y: scroll; /* Agrega scroll solo en el eje vertical */
    }
    
    

    /*Fin Loli*/

    /* INICIO JUDIT */
    .container-inicio {
        max-width: 1024px;
        /* Ancho máximo para escritorio */
        flex-direction: row;
        /* Secciones una al lado de la otra */
    }

    .header-content {
        flex-direction: row;
        /* Elementos en línea */
        justify-content: center;
        align-items: center;
    }

    .header-titles h2 {
        font-size: 1.5rem;
    }

    .tabla {
        font-size: 1rem;
        margin: 20px auto;
    }

    /* FIN JUDIT */


    /* Inicio Leo */
    /* para dividir en dos columnas en alumno_detalle */
    .container-datos-precargados {
        flex-direction: row;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .column {
        width: 49% !important;
    }

    .left-column {
        margin-right: 1%;
    }

    .right-column {
        margin-left: 1%;
    }

    /* Esilos tabla de disciplinas inscriptas */

    table {
        display: table;
        table-layout: auto;
    }

    th,
    td {
        text-align: center;
        padding: 10px;
        display: table-cell;
        width: auto;
    }

    th::before,
    td::before {
        content: '';
        position: static;
    }

    /* para alumno-detalle-admin  */

    .container {
        max-width: 1320px;
        margin: 0 auto;
    }

    .table th,
    .table td {
        display: table-cell;
        width: auto;
    }

    .table th {
        display: table-cell;
    }

    .table td {
        border: 1px solid #ccc;
        padding-left: 10px;
    }

    .table td:before {
        content: none;
    }

    button {
        width: auto;
    }

    .tamaño-fuente-inicio {
        font-size: 2.1rem;
    }

    .texto-header-inicio img {
        width: 80px;
    }

    .header-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 10;
        /* Para que quede por encima del carrusel */
        background: transparent;
        /* Fondo transparente */
        color: white;
        /* Texto blanco para contraste */
    }

    .carousel-inner {
        position: relative;
    }

    /* Inicio - Carousel*/
    .custom-carousel {
        width: 100%;
        height: 40vh;
        /* 55% de la altura de la ventana */
        overflow: hidden;

    }
    .user-list{
        min-width: 580px !important;
    }

    main {
        flex: 1;
        text-align: left;
        background-color: #007bff;
    }

    .footer {
        font-size: 1rem;
    }

    .footer-inicio {
        font-size: 1rem;
    }

    .footer-inicio .left img {
        height: 50px;
    }

    .footer .left img {
        height: 50px;
    }

    
    .margen-fondo-ingresar {
        margin-bottom: 80px;
        justify-content: left;
        display: flex;
    }
/*para los botones de las planillas a descargar*/
    .margen-fondo {
        margin-bottom: 80px;
        justify-content: left;
        display: flex;
    }

    /* carousel*/
    .quitar-margen {
        margin-bottom: 0px;
        margin-top: 20px;
    }

    /*footer-inicio*/
    .left {
        text-align: left;
        padding-left: 15vw;
    }
    
    .right {
        text-align: right;
        padding-right: 15vw;
    }
    /*texto inicio*/
    .paddin-texto-inicio{
        padding-left: 30px;
        padding-right: 30px;
    }

    .header-inicio {
        padding: 1rem;
    }
    
    .carousel-item img {
        height: 650px; /* Ajusta la altura a tu preferencia */
        object-fit: cover; /* Asegura que la imagen cubra el área designada manteniendo su proporción */
        width: 100%;
    }

    .img-header {
        width: 450px;
        height: auto;

    }
    /* Fin Leo */
}

/* Estilos para pantallas intermedias */
@media (min-width: 768px) and (max-width: 1040px) {
    /*leo*/
    /*pagina de inicio*/
    
    .footer {
        font-size: 0.8rem;
    }
    .footer-inicio {
        font-size: 0.8rem;
    }
    .tamaño-fuente-inicio {
        font-size: 1.5rem;
    }

    .footer-inicio .left img {
        height: 35px;
    }

    .footer .left img {
        height: 35px;
    }

    .texto-header-inicio img {
        width: 40px;
    }

    
    .custom-carousel {
        width: 100%;
        height: 30vh;
        overflow: hidden;
    }

    .header-inicio {
        padding: 1rem;
    }

    .carousel-item img {
        height: 400px; /* Ajusta la altura a tu preferencia */
        object-fit: cover; /* Asegura que la imagen cubra el área designada manteniendo su proporción */
        width: 100%;
    }

}

