#fases {
    width: 100%;
    margin: 10vh 0 10vh;
    display: flex;
    flex-direction: column;
    align-items: center
}
#fases>p:first-of-type {
    font-weight: 700;
    font-size: 1.5em;
    color: var(--negro-cursos);
    margin-bottom: 5vh;
    width: 38%;
    text-align: center;
    line-height: 1.2
}
#fases>aside {
    width: 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 7vh;
    margin-top: 3vh
}
#fases>aside>.swiper-button-prev {
    opacity: 1;
    position: initial;
}
#fases>aside>.swiper-button-prev:after,
.swiper-container-rtl .swiper-button-next:after {
    content: none
}
#fases>aside>.swiper-button-next {
    opacity: 1;
    position: initial;
}
#fases>aside>.swiper-button-next:after,
.swiper-container-rtl .swiper-button-prev:after {
    content: none
}
#fases>div>div {
    width: 95%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    margin-bottom: 5vh;
    margin-left: 30px
}
#fases>div>div>div {
    width: 47%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: auto
}
#fases>div>div>div:first-of-type {
    padding-right: 3%
}
#fases>div>div>div:last-of-type {
    padding-left: 0
}
#fases>div>div>div>div{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 3vh 3.5em 6em 4em auto 1fr;
    margin-bottom: 7vh;
}
#fases>div>div>div>div>i{
    width: 30px;
    height: 6px;
    background: #3d5cc1;
    margin-left: 10%;
}
#fases>div>div>div>div>p {
    font-weight: 500;
    font-size: .9em;
    color: var(--celeste-titulos);
    text-align: left;
    width: 60%;
    margin-left: 10%;
}
#fases>div>div>div>div>h2 {
    font-weight: 700;
    font-size: 1.3em;
    color: var(--negro-cursos);
    text-align: left;
    width: 65%;
    line-height: 1.2;
    margin-left: 10%;
    transition: all .2s ease
}
#fases>div>div>div>div>span{
    font-weight: 500;
    font-size: 0.9em;
    color: var(--negro-cursos);
    text-align: left;
    width: 70%;
    margin-left: 10%;
}
#fases>div>div>div:first-of-type>div>h2,
#fases>div>div>div:first-of-type>div>p:first-of-type {
    width: 50%
}
#fases>div>div>div>h2:hover,
#fases>div>div>div>div>h2:hover {
    color: var(--celeste-titulos)
}
#fases>div>div>div>div>aside {
    width: 85%;
    padding: 2vh 0 2vh;
    border-radius: 65px;
    border: 1px solid #9eb0d5;
    background: #e2efff;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
}
#fases>div>div>div:first-of-type>div>aside,
#fases>div>div>div:first-of-type>div>div {
    margin-left: 15%
}
#fases>div>div>div>div>aside>div {
    width: 25%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between
}
#fases>div>div>div>div>aside>div:first-of-type{
    width: 27%;
}
#fases>div>div>div>div>aside>div>img {
    aspect-ratio: 1/1;
    width: 45px;
    height: 45px;
    margin-right: 5px;
}
#fases>div>div>div>div>aside>div>div {
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: flex-start
}
#fases>div>div>div>div>aside>div>div>span {
    font-weight: 600;
    font-size: .8em;
    color: var(--negro-cursos);
    text-align: left
}
#fases>div>div>div>div>aside>div>div>p {
    font-weight: 500;
    font-size: .8em;
    color: var(--negro-cursos);
    text-align: left;
    white-space: nowrap;
    line-height: 1.2;
}
#fases>div>div>div>div>aside.abiertos {
    justify-content: space-evenly;
}
#fases>div>div>div>div>aside.abiertos>div:first-of-type,
#fases>div>div>div>div>aside.abiertos>div{
    width: 40%;
}
#fases>div>div>div>div>aside.abiertos>div>div{
    width: 75%;
}
#fases>div>div>div>div>div{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 85%;
    margin: 10vh 0 4vh;
    cursor: pointer;
    position: relative;
}
#fases>div>div>div>div>div>.overlay-image{
    position: absolute;
    inset: 0;
    background-color: rgba(177, 206, 251, 1);
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 98%;
    left: 1%;
    height: 97%;
    top: 2%;
    border-radius: 25px;
}
#fases>div>div>div>div>div:hover>.overlay-image{
    opacity: 0.5;
}
#fases>div>div>div>div>div>span{
    display: none;
}
#fases>div>div>div>div>button{
    font-size: .9em;
    font-weight: 500;
    color: var(--blanco);
    background: var(--celeste-segundo);
    padding: 1vh 4vh;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / .29);
    cursor: pointer;
    border: none;
    width: fit-content;
    white-space: nowrap;
    margin-left: 27%;
}
#fases>div>div>div:first-of-type>div>button{
    margin-left: 42%;
}
#fases>div>div>div>span {
    font-weight: 700;
    font-size: 1.1em;
    color: var(--negro-cursos);
    text-align: left;
    width: fit-content;
    margin-left: 10%;
    margin-bottom: 3vh;
    position: relative;
}
#fases>div>div>div>span>i{
    display: flex;
    position: absolute;
    width: 100%;
    z-index: -1;
    height: 6px;
    background: #a2cfff;
    bottom: 2px;
    border-radius: 30px;
}
#fases>div>div>div>p {
    font-weight: 500;
    font-size: .9em;
    color: var(--negro-cursos);
    text-align: left;
    width: 70%;
    margin-left: 10%;
    margin-bottom: 5vh
}
#fases>div>div>div>h3 {
    font-weight: 700;
    font-size: 0.9em;
    color: var(--negro-cursos);
    text-align: left;
    width: 70%;
    margin-left: 10%;
    margin-bottom: 3vh
}
#fases>div>div>div>.cubierto,
#fases>div>div>div>h3:hover {
    color: var(--celeste-titulos)
}
#fases>div>div>div>ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70%;
    list-style: none;
    margin-left: 10%;
    margin-bottom: 3vh
}
#fases>div>div>div>ul>li {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1vh
}
#fases>div>div>div>ul>li>span {
    width: 1vw;
    height: 1vw;
    background-image: url(../iconos/icono-check.svg);
    background-position: center;
    background-size: 90%;
    background-repeat: no-repeat;
    margin-top: 2px;
    margin-right: 3%
}
#fases>div>div>div>ul>li>p,
#fases>div>div>div>ul>li>h3 {
    font-weight: 500;
    font-size: .9em;
    color: var(--negro-cursos);
    width: 95%;
    text-align: left
}
#fases>div>div>div:first-of-type>div>h2,
#fases>div>div>div:first-of-type>div>p:first-of-type,
#fases>div>div>div:first-of-type>div>span,
#fases>div>div>div:first-of-type>div>i,
#fases>div>div>div:first-of-type>span,
#fases>div>div>div:first-of-type>p,
#fases>div>div>div:first-of-type>h3,
#fases>div>div>div:first-of-type>ul {
    margin-left: 25%
}
#fases>div.modalImagen{
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 76vw;
    height: 75vh;
    position: fixed;
    top: 10vh;
    left: 10vw;
    background: var(--blanco);
    padding: 2vw 2vw;
    border-radius: 30px;
    box-shadow: 0 0px 12px rgba(184, 193, 201, 0.8);
    z-index: 10000;
}
#fases>div.open{
    display: flex;
}
#fases>div.modalImagen>i{
    position: absolute;
    top: 2vw;
    right: 2vw;
    height: 2vh;
    width: 2vh;
    background: url(../iconos/buscador-close.svg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
}
#fases>div>div>.swiper-pagination {
    display: none
}
.fases-esc {
    width: 100%;
    margin: 10vh 0 10vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative
}
.fases-esc>div {
    width: 95%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: initial;
    overflow: hidden
}
.fases-esc>div>div>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 32.85%;
    transition: all .2s ease;
    justify-content: flex-start;
    position: relative;
    margin-bottom: 5vh
}
.fases-esc>div>div>div:hover>.no-modulo {
    color: var(--celeste-titulos)
}
.fases-esc>div>div>div>p {
    color: var(--celeste);
    font-weight: 700;
    font-size: 1.1em;
    margin-bottom: 20vh;
    margin-top: 3vh;
    line-height: 1.2
}
.fases-esc>div>div>div>.no-modulo {
    position: initial;
    margin: 5vh 0;
    text-align: center;
    align-self: center;
    width: 85%;
    min-height: 10vh;
    line-height: 1.2
}
.fases-esc>div>div>div>ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    list-style: none;
    margin-bottom: 3vh
}
.fases-esc>div>div>div>ul>li {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2vh
}
.fases-esc>div>div>div>ul>li>span {
    width: 1vw;
    height: 1vw;
    background-image: url(../iconos/icono-check.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    margin-top: 2px;
    margin-right: 3%
}
.fases-esc>div>div>div>ul>li>p {
    font-weight: 500;
    font-size: .9em;
    color: var(--negro-cursos);
    width: 95%;
    text-align: left
}
.fases-esc>div>.carrusel-next,
.fases-esc>div>.carrusel-prev {
    display: flex;
    top: 40%;
    width: 7vh;
    height: 7vh
}
.fases-esc>div>.carrusel-next:after,
.fases-esc>div>.carrusel-prev:after {
    content: none
}
.fases-esc>div>.carrusel-prev {
    background-image: url(https://idesaa.edu.mx/iconos/icono-izquierda.svg);
    background-size: 90%;
    background-position: center;
    background-repeat: no-repeat;
    left: 3%
}
#fases>#fases-carrusel>div>div:first-of-type {
    border-right: 1px solid #acbddd
}
.fases-esc>div>.carrusel-next {
    background-image: url(https://idesaa.edu.mx/iconos/icono-derecha.svg);
    background-size: 90%;
    background-position: center;
    background-repeat: no-repeat;
    right: 3%
}
.fases-esc>div>.paginas-fases {
    display: none
}
#fases>#fases-carrusel-2 {
    width: 55%
}
#fases>div>.fases-next,
#fases>div>.fases-prev {
    display: none
}
@media (max-width: 768px) {
    #fases {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 8vh 0
    }
    #fases>h3 {
        font-weight: 700;
        font-size: 1.5em;
        color: var(--negro-cursos);
        margin-bottom: 5vh
    }
    #fases>h2 {
        font-weight: 700;
        font-size: 1.25em;
        color: var(--negro-cursos);
        margin-bottom: 5vh;
        margin-top: 5vh;
        width: 80%;
        text-align: center
    }
    #fases>h2:first-of-type {
        margin-top: 0
    }
    #fases>span {
        font-size: .8em;
        font-weight: 400;
        text-align: center;
        margin-top: 2vh
    }
    #fases>div {
        width: 90%;
        display: flex;
        padding-bottom: 6vh
    }
    #fases>#fases-carrusel-2 {
        width: 90%;
        margin-top: 5vh
    }
    #fases>div>div>div {
        display: flex;
        cursor: pointer;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start
    }
    #fases>div>div>div>p {
        color: var(--celeste);
        font-weight: 700;
        font-size: 1.1em;
        margin: 3vh 0;
        line-height: 1.2
    }
    #fases>div>div>div>h2 {
        font-weight: 500;
        font-size: 1.1em;
        color: var(--negro-cursos);
        text-align: center;
        width: 90%;
        margin-bottom: 6vh
    }
    #fases>div>div>div>ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 90%;
        list-style: none
    }
    #fases>div>div>div>ul>li {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        margin-bottom: 2vh
    }
    #fases>div>div>div>ul>li>span {
        min-width: 3vw;
        min-height: 3vw;
        background-image: url(https://idesaa.edu.mx/iconos/icono-check.svg);
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
        margin-top: 6px;
        margin-right: 3%
    }
    #fases>div>div>div>ul>li>p {
        font-weight: 500;
        font-size: .8em;
        color: var(--negro-cursos);
        width: 93%;
        text-align: left
    }
    #fases>div>.paginas-fases {
        bottom: 0
    }
    #fases>div>.paginas-fases>span {
        width: 1.5vh;
        height: 1.5vh
    }
}
@media screen and (max-width: 768px) {
    #fases>div>div {
        justify-content: normal
    }
    #fases>div>div>.swiper-pagination {
        display: none
    }
    #fases>#fases-carrusel {
        width: 95%;
        margin: 0 0 0 0;
        padding: 12vh 0 0 0
    }
    #fases>#fases-carrusel>div {
        margin: 0 0 0 0
    }
    #fases>#fases-carrusel>div>div:first-of-type {
        border-right: none
    }
    #fases>div>div>div>div{
        grid-template-rows: 3vh 4.5em 9em 5em auto 1fr;
    }
    #fases>div>div>div:first-of-type>h2,
    #fases>div>div>div:first-of-type>p:first-of-type,
    #fases>div>div>div:first-of-type>span,
    #fases>div>div>div:first-of-type>p,
    #fases>div>div>div:first-of-type>h3,
    #fases>div>div>div:first-of-type>ul,
    #fases>div>div>div>p:first-of-type,
    #fases>div>div>div>span,
    #fases>div>div>div>h2 {
        margin-left: 0
    }
    #fases>div>div>div:first-of-type>div>h2, 
    #fases>div>div>div:first-of-type>div>p:first-of-type, 
    #fases>div>div>div:first-of-type>div>span, 
    #fases>div>div>div:first-of-type>div>i{
        margin-left: 10%;
    }
    #fases>div>div>div:first-of-type>div>h2, 
    #fases>div>div>div:first-of-type>div>p:first-of-type,
    #fases>div>div>div>div>h2, 
    #fases>div>div>div>div>p:first-of-type,
    #fases>div>div>div>div>span{
        width: 90%;
    }
    #fases>div>div>div>div>aside {
        width: 99%;
        padding: 3vh 0;
        border-radius: 65px;
        background: #f0f0f0;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }
    #fases>div>div>div:first-of-type>aside {
        margin-left: 0
    }
    #fases>div>div>div>div>aside>div {
        width: 32%;
        display: flex;
        align-items: flex-start;
        justify-content: center
    }
    #fases>div>div>div:first-of-type>div>aside, 
    #fases>div>div>div:first-of-type>div>div{
        margin-left: 0;
    }
    #fases>div>div>div>div>aside>div:nth-of-type(2) {
        width: 22%;
        margin: 0vh 3%
    }
    #fases>div>div>div>div>aside>div:nth-of-type(1)>div {
        width: 75%
    }
    #fases>div>div>div>div>aside>div:nth-of-type(3)>div {
        width: auto
    }
    #fases>div>div>div>div>aside>div>img {
        margin: 0 7% 0 12%
    }
    #fases>div>div>div>div>aside>div:nth-of-type(3)>img {
        margin: 0 7% 0 15%
    }
    #fases>div>div>div>div>aside>div>img {
        aspect-ratio: 1/1;
        width: 28px;
        height: 28px;
    }
    #fases>div>div>div>div>aside>div>div {
        width: 70%;
        display: flex;
        flex-direction: column;
        align-items: flex-start
    }
    #fases>div>div>div>div>aside>div>div>span {
        font-weight: 500;
        font-size: .65em;
        color: var(--celeste);
        text-align: left;
        line-height: 1.2
    }
    #fases>div>div>div>div>aside>div>div>p {
        font-weight: 400;
        font-size: .65em;
        color: var(--negro-cursos);
        text-align: left;
        line-height: 1.2;
        white-space: normal;
    }
    #fases>div>div>div>div>aside>div:nth-of-type(1) {
        width: 32%
    }
    #fases>div>div>div>div>aside.abiertos {
        justify-content: center;
    }
    #fases>div>div>div>div>aside.abiertos>div:nth-of-type(1),
    #fases>div>div>div>div>aside.abiertos>div:nth-of-type(2),
    #fases>div>div>div>div>aside.abiertos>div{
        width: 40%;
        margin: 0;
    }
    #fases>div>div>div>div>.viewer{
        width:100%;
        overflow:hidden;
        position:relative;
        touch-action:none;
    }
    #fases>div>div>div>div>.viewer>span{
        display: flex;
        position: absolute;
        pointer-events: none;
        animation-delay: 1s;
        transition: opacity 0.5s;
        top: calc(50% - 20px);
        background-color: #babbbe;
        color: var(--negro-cursos);
        font-size: 0.8em;
        padding: 0vh 2vh;
        border-radius: 30px;
    }
    #fases>div>div>div>div>.viewer>span.ocultar{
        display: none;
    }
    #fases>div>div>div>div>.viewer img{
        width:100%;
        height:100%;
        object-fit:contain;
        user-select:none;
        -webkit-user-drag:none;
        touch-action:none;
    }
    #fases>div>div>div>div>button{
        margin-left: 15%;
        width: 70%;
    }
    #fases>div>div>div:first-of-type>div>button{
        margin-left: 15%;
    }
    #fases>div>div>div:first-of-type {
        padding-right: 0
    }
    #fases>#fases-carrusel>div>div>h2 {
        font-weight: 700;
        font-size: 1.3em;
        color: var(--negro-cursos);
        text-align: center;
        width: 85%;
        line-height: 1.2;
        margin-bottom: 7.5vh;
        transition: all .2s ease
    }
    #fases>p:first-of-type {
        font-weight: 700;
        font-size: 1.2em;
        color: var(--negro-cursos);
        margin-bottom: 2vh;
        width: 90%;
        text-align: center;
        line-height: 1.2
    }
    #fases>#fases-carrusel>div>div>p {
        font-weight: 500;
        font-size: .9em;
        color: var(--negro-cursos);
        text-align: left;
        width: 80%;
        margin: 0 0 5vh 0;
        line-height: 1.5
    }
    #fases>div>div>div>span {
        font-weight: 700;
        font-size: 1.2em;
        color: var(--negro-cursos);
        text-align: left;
        width: fit-content;
        margin-right: auto;
        margin-bottom: 3vh;
        margin-left: 10%;
    }
    #fases>div>div>div:first-of-type>span{
        margin-left: 10%;
    }
    #fases>div>div>div>ul>li>h3,
    #fases>div>div>div>ul>li>p,
    #fases>div>div>div>h3 {
        font-weight: 500;
        font-size: .9em;
        color: var(--negro-cursos);
        width: 90%;
        text-align: left
    }
    #fases>div>div>div>h3,
    #fases>div>div>div:first-of-type>h3 {
        font-weight: 700;
        font-size: 1em;
        margin-left: 10%
    }
    #fases>#fases-carrusel>div>div>ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 80%;
        list-style: none;
        margin: 0 0 0 0
    }
    #fases>#fases-carrusel>div>div>ul>li {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        margin-bottom: 1vh
    }
    #fases>#fases-carrusel>div>div>ul>li>span {
        width: 3vw;
        height: 3vw;
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
        margin-top: 3px;
        margin-right: 2%
    }
    #fases>div>.fases-next,
    #fases>div>.fases-prev {
        display: flex;
        top: 2%;
        width: 5vh;
        height: 5vh
    }
    #fases>div>.fases-next:after,
    #fases>div>.fases-prev:after {
        content: none
    }
    #fases>div>.fases-prev {
        background-image: url(https://idesaa.edu.mx/iconos/icono-izquierda.svg);
        background-size: 90%;
        background-position: center;
        background-repeat: no-repeat;
        left: 28vw
    }
    #fases>div>.fases-next {
        background-image: url(https://idesaa.edu.mx/iconos/icono-derecha.svg);
        background-size: 90%;
        background-position: center;
        background-repeat: no-repeat;
        right: 28vw
    }
    #fases>aside {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row-reverse;
        margin: 0;
        position: relative
    }
    #fases>aside>.swiper-button-prev {
        left: 30%;
        background-image: url(https://idesaa.edu.mx/iconos/icono-izquierda.svg);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat
    }
    #fases>aside>.swiper-button-prev.swiper-button-disabled {
        opacity: 1;
        background-image: url(https://idesaa.edu.mx/iconos/icono-izquierda-gris.svg);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat
    }
    #fases>aside>.swiper-button-next {
        right: 30%;
        background-image: url(https://idesaa.edu.mx/iconos/icono-derecha.svg);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat
    }
    #fases>aside>.swiper-button-next.swiper-button-disabled {
        opacity: 1;
        background-image: url(https://idesaa.edu.mx/iconos/icono-derecha-gris.svg);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat
    }
    #fases>aside>.swiper-button-next,
    #fases>aside>.swiper-button-prev {
        top: 2vh;
        position: absolute;
        width: 40px;
        height: 70px;
        transition: all .2s ease
    }
}
@media screen and (max-width: 430px) {
    #fases>div>div>div>div>aside>div>img {
        margin: 0 7% 0 0
    }
    #fases>div>div>div>div>aside>div {
        justify-content: left
    }
    #fases>div>div>div>div>aside>div:nth-of-type(3) {
        justify-content: center
    }
}