/*-- Adaptar botones --*/

/*Botones de menú (Info principal)*/

.btn-responsive
{
    max-width: 100%;
    height: auto;
    align-content: center;
    border: none;
    background-color: white;
    padding-top: 5%;
    padding: center;
}

/*-- Adaptar Imágenes --*/

/*Imágenes de menú*/

.img1-responsive
{
    max-width: 100%;
    height: auto;
    align-content: center;
    border: none;
    background-color: white;
    padding-top: 5%;
    padding: center;
}

/*Imagen de encabezado*/

.img2-responsive
{
    max-width: 100%;
    height: auto;
    align-content: center;
    border: none;
    background-color: white;
    padding: center;
}

/*Configuraciones para Iphone SE*/

@media only screen and (max-width: 375px) and (max-height: 667px)
{
    .tamaniologo
    {
        background-color: white;
        border: none;
    }
    .img
    {
        background-color: white;
        border: none;
    }
    .img1-responsive
    {
        max-width: auto;
        height: auto;
        padding-right: 10%;
    }
    .img2-responsive
    {
        max-width: 360px;
        height: auto;
    }
} 

/*Configuraciones para Galaxy 8+*/

@media only screen and (max-width: 360px) and (max-height: 740px)
{
    .tamaniologo
    {
        background-color: white;
        border: none;
    }
    .img1-responsive
    {
        max-width: auto;
        height: auto;
        padding-right: 10%;
    }
    .img2-responsive
    {
        max-width: 340px;
        height: auto;
    }
}

/*Configuraciones para Galaxy Fold*/

@media only screen and (max-width: 280px) and (max-height: 653px)
{
    .tamaniologo
    {
        background-color: white;
        border: none;
    }
    .img1-responsive
    {
        max-width: auto;
        height: auto;
        padding-right: 10%;
    }
    .img2-responsive
    {
        max-width: 260px;
        height: auto;
    }
}
/* Ajustes verificados para el apartado de Elecciones Escolares 2026. */
.contenido-elecciones > .row {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-right: 5%;
}
.contenido-elecciones ul {
    max-width: 100%;
    padding-left: 0;
    overflow-wrap: anywhere;
}
.contenido-elecciones ul ul {
    padding-left: 1rem;
}
.navbar .dropdown-menu {
    max-width: calc(100vw - 2rem);
}
.navbar .dropdown-item {
    white-space: normal;
}
@media (min-width: 1200px) {
    .navbar-nav > .nav-item:nth-last-child(-n+3) > .dropdown-menu {
        right: 0;
        left: auto;
    }
}
@media (max-width: 575.98px) {
    .contenido-elecciones > .row {
        padding-left: 3.5rem !important;
        padding-right: 1rem;
    }
    .contenido-elecciones .titulos {
        font-size: 2rem;
    }
}
