body {
    font-family: sans-serif;
    overflow-x: hidden;
}

a:visited {
    color: blue;
}

header {
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.colorBecarios {
    background-color: #009ce1;
}

.colorCentros {
    background-color: #ec971f;
}

.logo img {
    height: 40px;
    margin-left: 20%;
}

.headerBotonMovil {
    display: none;
}

.headerBotonMovilCentros {
    color: #ec971f;
}

.headerBotonMovilBecarios {
    color: #009ce1;
}

.headerBotonMovilMenu {
    display: none;
    height: 20%;
    left: 0;
    width: 100%;
    position: fixed;
    z-index: 1;
    top: 75px;
    flex-direction: column;
    justify-content: space-evenly;
}

.headerBotonMovilMenu a {
    font-weight: bold;
    cursor: pointer;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    padding: 10px;
    margin: 0 10px;
    transition: background-color 0.3s;
    border-radius: 22px;
    width: fit-content;
}

.header-links {
    display: flex;
    align-items: center;
    margin-right: 5%;
}

.header-links a {
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
    color: #fff;
    text-decoration: none;
    padding: 10px;
    margin: 0 10px;
    transition: background-color 0.3s;
    border-radius: 22px;
}

.header-linksCentros a:hover {
    border-radius: 22px;
    background-color: #ffffff;
    color: #ec971f;
}

.header-linksBecarios a:hover {
    border-radius: 22px;
    background-color: #ffffff;
    color: #009ce1;
}

.idioma {
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    width: 10%;
}

.idiomaLabel-toggle {
    color: #fff;
    cursor: pointer;
    padding: 4px 0px;
}

.idiomaCheck-toggle {
    display: none;
}

.idiomaCheck-toggle:checked+.idiomaLabel-toggle+#menuIdioma {
    display: flex;
}

.idiomaCheck-toggle:checked+.idiomaLabel-toggle svg {
    transform: rotate(180deg);
}

#menuIdioma {
    right: 5%;
    display: none;
    position: fixed;
    box-shadow: 0 2px 3px 0 rgb(71 69 69 / 60%);
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
}

#menuIdioma a {
    transition: background-color 0.3s;
    cursor: pointer;
    color: #fff;
    width: 70%;
    padding: 15px;
    font-weight: bold;
}

#menuIdioma.colorBecarios a:hover {
    background: #fff;
    color: #009ce1;
}

#menuIdioma.colorCentros a:hover {
    background: #fff;
    color: #ec971f;
}

#container {
    position: fixed;
    top: 75px;
    left: 0px;
    height: -webkit-fill-available;
    overflow: auto;
    width: -webkit-fill-available;
}

#container.scrollCentros::-webkit-scrollbar-thumb,
.containerDocsFAQ::-webkit-scrollbar-thumb {
    border-radius: 6px;
    background-color: #ec971f; 
    border: 3px solid #ffffff;
}

#container.scrollBecarios::-webkit-scrollbar-thumb {
    border-radius: 6px;
    background-color: #009ce1;
    border: 3px solid #ffffff;
}

#container::-webkit-scrollbar-thumb {
    border-radius: 6px;
    background-color: #009ce1;
    border: 3px solid #ffffff;
}

::-webkit-scrollbar {
    width: 13px;
}

::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    border-radius: 6px;
}

.flechaBajar {
    opacity: 1;
    width: 35px;
    position: fixed;
    right: 17px;
    top: 0;
    cursor: pointer;
    transition: top 0.2s linear;
}

.flechaBajar:hover{
    cursor: pointer;
}

.flechaBajar.desplazar {
    top: 80px;
}

.flechaSubir {
    opacity: 1;
    width: 35px;
    position: fixed;
    right: 17px;
    bottom: -50px;   
    transform: rotate(180deg);
    transition: opacity 0s, bottom 0.2s linear;
}

.flechaSubir:hover{
    cursor: pointer;
}

.flechaSubir.desplazar {
    bottom: 5px;
}

#CentrosTodo,
#BecariosTodo,
#DocsFAQS {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.separador {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.container h1 {
    margin: 20px 0 0 5%;
    font-weight: 900;
    width: fit-content;
}

.container h2 {
    margin: 1% 0;
    font-weight: bold;
    width: fit-content;
}

.container h3 {
    width: fit-content;
    font-weight: 500;
    margin-top: 20px;
}


.containerCentros h1,
.containerCentros h2,
.containerCentros h3 {
    color: #ec971f;
}

.containerBecarios h1,
.containerBecarios h2,
.containerBecarios h3 {
    color: #009ce1;
}

.containerDocs {
    padding: 0 6%;
}

.content ul,
.containerDocs ul {
    list-style-type: disc;
    margin-left: 20px;
}

.content li,
.containerDocs li {
    margin-bottom: 8px;
}

.containerDocsFAQ ul {
    list-style-type: disc;
    margin-left: -24px;
}

.content li,
.containerDocsFAQ li {
    margin-bottom: 8px;
}

.containerDocsFAQ {
    padding: 0 6%;
}

.containerDocsFAQ h2 {
    color: #ec971f;
}

#tablaRemanentes {
    margin: 2% auto 3%;
    width: 60%;
}

#tablaRemanentes,
td,
th {
    border-collapse: collapse;
    text-align: center;
    padding: 1%;
    border-bottom: 1px solid #949494;
}

.tabRemCabecera {
    border-bottom: 3px solid #949494;
}

.tabRemTextIzquierdo {
    text-align: left;
    font-weight: bold;
    font-style: italic;
}

#Becarios,
#Centros {
    margin: 0 6%;
}

#Becarios2,
#Centros2 {
    margin: 0 13%;
}


.separarLista {
    display: flex;
    justify-content: flex-start;
}

footer {
    text-align: center;
    background-color: #fff;
    color: #000;
    padding: 10px 0;
}

.footer-logo {
    text-align: center;
    margin-top: 20px;
}

.footer-logo img {
    height: 45px;
}

.footer-text {
    font-size: 12px;
    margin-top: 10px;
}

.popupMostrar {
    height: 100%;
    left: 0;
    outline: 0;
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1055;
}

.popupMostrar .logo img {
    height: 40px;
    margin-left: 20px;
    ;
    margin-top: 1%;

}

.containerPopup {
    position: fixed;
    top: 75px;
    height: -webkit-fill-available;
    width: -webkit-fill-available;
}

.contentPopUp {
    opacity: 0;
    display: flex;
    background-color: #fff;
    height: 50%;
    width: 40%;
    margin: 8% auto;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, .3);
}

.contentPopUp h1 {
    font-size: 25px;
    font-weight: bold;
    color: #666666;
    text-align: center;
}

.contentPopUp a {
    padding-top: 1.5%;
    padding-bottom: 1.5%;
    font-weight: bold;
    width: 40%;
    font-size: 20px;
    cursor: pointer;
    color: #fff;
    border-radius: 22px;
    transition: background-color 0.3s;
    text-align: center;
}

.popupCentros {
    background-color: #ec971f;
}

.popupBecarios {
    background-color: #009ce1;
}

.contentPopUp .popupCentros:hover {
    border-radius: 22px;
    background-color: #ec971fba;
    color: #ffffffa6;
}

.contentPopUp .popupBecarios:hover {
    border-radius: 22px;
    background-color: #009ce1bf;
    color: #ffffffa6;
}

.popupFooter {
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.fade-in {
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

.contentInformacion {
    display: none;
}

.containerFAQS {
    opacity: 0;
    background-color: #bfbfbf6e;
    height: 100%;
    left: 0;
    outline: 0;
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: -5;
    transition: all 0.2s linear;
}

.containerFAQS.fade {
    opacity: 1;
    z-index: 1055;
}

.containerFAQS.scrollCentros::-webkit-scrollbar-thumb {
    border-radius: 6px;
    background-color: #ec971f; 
    border: 3px solid #ffffff;
}

.containerFAQS.scrollBecarios::-webkit-scrollbar-thumb {
    border-radius: 6px;
    background-color: #009ce1;
    border: 3px solid #ffffff;
}

.bodyFAQS {
    position: relative;
    width: auto;
    max-width: 80%;
    top: 0%;
    margin: 0 auto;
    transition: top 0.2s linear;
}

.bodyFAQS.desplazar {
    top: 7%;
}

.estructuraFAQS {
    background-clip: padding-box;
    background-color: #fff;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    outline: 0;
    pointer-events: auto;
    position: relative;
    width: 100%;
    margin-bottom: 5%;
}

.pregIndFAQS {
    width: 95%;
    background: #ec971f;
    border-radius: 20px;
    margin: 1% auto 2%;
    padding: 3px;
}

.individualFAQ {
    cursor: pointer;
    background-color: #fffaf2;
    height: 19.6%;
    padding: 0px 30px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    margin: 1px 0;
}

.individualFAQ.cambiarColor {
    background-color: white;
}

.contenidoFAQ {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.textoIndividualFAQ {
    font-size: 18px;
}

.individualFAQ:hover {
    background-color: white;
}

.iconoVerMas {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    cursor: pointer;
    transition: transform 0.5s;
}

.iconoVerMas.rotate {
    transform: rotate(45deg);
}

.alinearCerrarFAQS {
    width: 100%;
    text-align: right;
    margin-top: 1%;
}

#cerrarFAQS {
    border: none;
    background: white;
    cursor: pointer;
    margin-right: 4%;
    width: 1%;
}

.respuestaFAQ {
    font-size: 0px;
    visibility: hidden;
    opacity: 0;
    max-height: 0;
    margin: 0%;
    transition: opacity 1.5s, margin 0.5s, max-height 0.5s cubic-bezier(0.4, 0, 0.95, 0.06);
    z-index: -1;
}

.respuestaFAQ img {
    width: 0%;
}

.respuestaFAQ.bajar {
    opacity: 1;
    margin: 1% 0%;
    max-height: 100%;
    z-index: 2;
    width: 95%;
    visibility: visible;
    font-size: 14px;
}

.respuestaFAQ.bajar img {
    width: 100%;
}

@media (max-width: 800px) {
    .contentPopUp {
        opacity: 0;
        display: flex;
        background-color: #fff;
        height: 35%;
        width: 80%;
        margin: 50% auto;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        border-radius: 10px;
        box-shadow: 0 0 20px rgba(0, 0, 0, .3);
    }

    .fade-in {
        opacity: 1;
        transition: opacity 1s ease-in-out;
    }

    .popupMostrar .logo img {
        height: 40px;
        margin-left: 12%;
        margin-top: 5%;
    }

    .contentPopUp a {
        width: 58%;
        padding-top: 1.5%;
        padding-bottom: 1.5%;
    }

    .headerBotonMovil {
        margin-right: 10px;
        cursor: pointer;
        display: block;
        padding: 0.25rem 0.75rem;
        line-height: 1;
        background-color: white;
        border: 1px solid transparent;
        border-radius: 0.25rem;
        transition: box-shadow 0.15s ease-in-out;
        font-size: 1rem;
        font-weight: bold;
        text-transform: uppercase;
    }

    .headerBotonMovil svg {
        height: 0.9em;
    }

    .header-links {
        display: none;
    }

    .header {
        justify-content: space-around;
        align-items: center;
    }

    #menuIdioma {
        top: 7%;
    }

    .idiomaLabel-toggle span {
        margin-left: -8px;
    }

    .logo img {
        margin-left: 1px;
    }

    .content li {
        margin-bottom: 8px;
    }

    .container h2 {
        margin: 0.83em 0;
    }

    .separador {
        display: block;
    }

    #Becarios2,
    #Centros2 {
        margin: 0 5%;
    }

    .separarLista {
        display: block;
    }

    .contenidoFAQ {
        margin: 2% auto;
    }

    .respuestaFAQ.bajar {
        margin: 5% auto;
    }

    #cerrarFAQS {
        margin-right: 7%;
    }

    .individualFAQ {
        padding: 0px 15px;
    }

    #tablaRemanentes {
        width: 100%;
    }

    .footer-text {
        margin: 0 auto;
        width: 75%;
    }
}