BODY {
    height: 100%;
    background-color: #e5efea !important;
   
}

a.text-dark:hover {
    text-decoration: underline;
}


.separador{
    background-color: #e5efea;
}

.container.body .main_container {
    min-height: 100%;
}

.main_container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.contenido-central {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 100vh;
    flex-wrap: nowrap;
}

.aside-izquierdo,
.aside-derecho {
    width: 220px;
    flex-shrink: 0;
    background-color: #f1f1f1; /* solo para test */
    overflow-y: auto;
}

.contenido-principal {
    flex: 1;
    min-width: 0;
    background: #fff; /* si querés ver bien la zona */
}

#datatable-publicidades td img {
    max-width: 64px;
    height: auto;
    display: block;
    margin: 0 auto;
}


.right_col {
    flex: 1;
}


/* footer */
footer.footer {
    background-color: #f8f9fa;
    font-size: 0.9rem;
}

footer img {
    transition: transform 0.2s ease;
}

footer img:hover {
    transform: scale(1.05);
    cursor: pointer;
}

/*----- Fin Footer -----*/




.top_nav {
    /*width: 100%;*/
    background-color: #FFF; /*#fff;*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}
.top_nav img {
    max-height: 100px;
}

.navbar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

.navbar-nav .nav-item {
    display: inline-block;
}

.navbar-nav .nav-link {
    text-decoration: none;
    color: #000;
    font-weight: 600;
}

.navbar-nav .badge {
    background: #555;
    color: #fff;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 0.75rem;
    margin-left: 5px;
}

.container-fluid {
    width: 100%;
    padding: 0.3rem;
}

.card {
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1px auto;
}

.card-img-top {
    width: 100%;
    height: auto;
    object-fit: cover;
    padding: 5px;
}



.card-body {
    padding: 0.3rem;
}

.card-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0.1rem 0;
}

.card-title a{
    text-decoration: none;
    color: #000;
}

.card-title a:hover {
    text-decoration: underline;
}


.card-title-principal {
    font-size: 2.0rem;
    font-weight: bold;
    margin: 0.1rem 0;
}
.card-title-principal a{
    text-decoration: none;
    color: #000;
}

.card-title-principal a:hover {
    text-decoration: underline;
}


.banner-item img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    transition: transform 0.2s ease-in-out;
}


/* Noticia completa */
.noticia-detalle {
    max-width: 800px;
    margin: 0 auto;
}

.noticia-imagenes {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 5px;
}

.noticia-imagenes img {
    max-height: 200px;
    flex-shrink: 0;
    border-radius: 6px;
    transition: transform 0.2s ease-in-out;
}

.noticia-imagenes img:hover {
    transform: scale(1.03);
}

.noticia-texto {
    font-size: 1.1rem;
    line-height: 1.6;
    white-space: pre-wrap;
}

.noticia-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 30px;
    padding-bottom: 10px;
    justify-content: center;
}

.carousel-slide {
    flex: 0 0 80%;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-slide img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.carousel-slide img:hover {
    transform: scale(1.02);
}

.carousel-slide figcaption {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

/*---------- FIN NOTICIA COMPLETA -----------------*/




/*Scroll de imágenes/*
.banner-scroll {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    scroll-behavior: smooth;
    gap: 10px;
}

.banner-item {
    flex: 0 0 auto;
    display: inline-block;
}

.banner-item img {
    height: 80px;
    width: auto;
    display: block;
    border-radius: 4px;
    transition: transform 0.2s ease-in-out;
}

.banner-item img:hover {
    transform: scale(1.05);
}

.main-layout {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
}

.banner-col {
    max-width: 150px;
    width: 100%;
    background-color: #f5f5f5;
}

.content-col {
    background-color: #fff;
}



.banner-item img:hover {
    transform: scale(1.05);
}




/*responsive*/

/*Menú*/
@media (max-width: 768px) {
    .navbar-nav .nav-link {
        background-color: #f8f9fa;
        border-radius: 5px;
        margin-bottom: 5px;
        padding: 10px 15px;
        font-size: 1rem;
    }

    .navbar-nav .nav-link:hover {
        background-color: #e2e6ea;
    }

    .navbar-collapse {
        background-color: #ffffff;
        padding: 10px 15px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        border-radius: 8px;
    }

    .navbar-brand {
        margin-bottom: 10px;
    }
    
    .top_nav img {
    max-height: 100%;
}
}

/*Fin menú*/
@media (max-width: 768px) {
    .contenido-central {
        flex-direction: column;
    }

    .aside-izquierdo {
        order: 1;
        width: 100%;
    }

    .contenido-principal {
        order: 2;
        width: 100%;
    }

    .aside-derecho {
        order: 3;
        width: 100%;
    }
    .aside-izquierdo IMG{max-width: 100%}
    .aside-derecho IMG{max-width: 100%}
}


@media (min-width: 768px) {
    .col-md-6 {
        width: 50%;
    }

    .col-md-3 {
        width: 25%;
    }
}
@media(max-width:1366px) {}
@media(max-width:1280px) {
    #carouselNotificaciones .carousel-caption{top: 30px;}
    #carouselNotificaciones .carousel-caption h3{font-size: 12pt;}
    #carouselNotificaciones .carousel-caption p{font-size: 10pt;}
}
@media(max-width:1150px) {}
@media(max-width:1050px) {}
@media(max-width:1024px) {
    #carouselNotificaciones .carousel-caption{top: 10px;}}
@media(max-width:991px) {}
@media(max-width:768px) {
    .table>tbody>tr>td, 
    .table>tbody>tr>th {
        padding: 8px
    }
    
    #PanelAsistencias .scroll-container {
        height: 20vh;
        overflow-y: auto;
    }
    #PanelAsistencias .form-control{
        margin-bottom: 10px;
        
    }
}
@media(max-width:640px) {}
@media(max-width:480px) {}
@media(max-width:375px) {}
@media(max-width:320px) {}
@media(min-width:1280px){}

