@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

html {
    scroll-padding-top: 157px;
}

div#trobbit-chatbot {
    display: none;
}

#quienes-somos,
#metodologia,
#perfil,
#postulacion,
#mecanismos {
    position: relative;
    top: -140px;
}

.main-fluid .border-redondo-10px img {
    border-radius: 10px;
}

.Menu {
    background-color: #f9f8f8;
    box-shadow: 0px 2px 6px 0px #0d0d0d1c;
    padding: 4px 0 0;
    position: sticky;
    width: 100%;
    z-index: 3;
    top: 120px;
}

.Menu .navbar-expand-lg .navbar-nav .nav-link {
    padding: 6px 12px 6px !important;
    position: relative;
}

.Menu a.nav-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #b3091c, #da0921, #da0921);
    background-color: #ffffff12;
    z-index: 1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease-in-out;
}

.Menu a.nav-link:hover:before {
    transform: scaleX(1);
}

.btn-close {
    background-color: #d4d4d4;
    opacity: 100;
    filter: initial;
}

hr {
    border: 1px solid #da0921;
    background-color: #da0921;
    opacity: 100;
}

button.Boton,
.Boton {
    background-color: #da0921;
    margin-bottom: 24px;
    padding: 9px 18px;
    border-radius: 6px;
    font-weight: 600;
    transition: 2s;
    border: 0;
}

button.Boton:hover,
.Boton:hover {
    background-color: #0a1867;
}

.btn-close:hover {
    background-color: #9b9b9b;
}

h3.h3.section-title__heading,
h4.h4.section-title__heading {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
}

.Consiliatura,
.Colegiatura {
    background-color: #f8f7f7;
    box-shadow: 0px 2px 17px 7px #dcd9d991;
    border-radius: 21px;
    padding: 36px 44px;
    background-image: url(/sites/default/files/2024-07/marca_0.jpg);
    background-size: 100%;
    background-position: top;
    background-repeat: no-repeat;
}

.caja-lg {
    background-color: #f8f7f7;
    box-shadow: 0px 2px 17px 7px #dcd9d991;
    border-radius: 21px;
    padding: 36px 44px;
    background-image: url(/sites/default/files/2024-07/marca_0.jpg);
    background-size: 312%;
    background-position-x: -435px;
    background-repeat: no-repeat;
}

.modal-body {
    background-image: url(/sites/default/files/2024-07/fondo-claustro_0.jpg);
    background-size: cover;
    background-position-x: 0;
    background-repeat: no-repeat;
    padding: 7% 7% !important;
}

.modallg {
    position: relative;
    transition: 0.2s;
    cursor: pointer;
}

.Mecanismos .caja-lg h4 {
    font-size: 1.3rem;
}

.modallg::before {
    content: "Ver más";
    color: #fff;
    position: absolute;
    bottom: 9px;
    font-size: .9em;
    padding: 0 3px;
    left: 53px;
    font-weight: 700;
    border-bottom: 2px solid #ffffff;
}

.modallg:hover {
    transform: scale(1.1);
    transition: 0.2s;
}

.Metodologia a {
    color: #da0921;
}

.Metodologia h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 1.4em;
    font-weight: 700;
}

.Metodologia ul {
    --icon-space: 1.3em;
    list-style: none;
    padding: 0;
}

.Metodologia li {
    padding-left: var(--icon-space);
}

.Metodologia li:before {
    content: "\f054";
    /* FontAwesome Unicode */
    font-family: FontAwesome;
    display: inline-block;
    margin-left: calc(var(--icon-space) * -1);
    width: var(--icon-space);
    color: #da0921;
}

.modal-header {
    border-bottom: 0px solid #dee2e6;
}

.Mecanismos .modallg {
    background-color: #f8f7f7;
    box-shadow: 0px 2px 17px 7px #dcd9d991;
    border-radius: 21px;
    padding: 36px 44px;
    min-height: 500px;
    height: 500px;
    padding: 36px 44px;
    background-image: url(/sites/default/files/2024-07/marca_0.jpg);
    background-size: 166%;
    background-position-x: 0;
    background-repeat: no-repeat;
}

.Mecanismos .modallg h4 {
    font-size: 1.4rem;
    margin-bottom: 23px;
}

.Mecanismos .modallg hr {
    width: 32px;
    border: 2px solid #da0921;
    background-color: #da0921;
    opacity: 101;
}

.Dialogo .layout__region.layout__region--content {
    position: relative;
    background-color: #f9f9f9;
    box-shadow: 0px 2px 17px 7px #dcd9d991;
    border-radius: 21px;
    padding: 20px 44px;
}

#Lineatiempo:before {
    content: "";
    background-color: #0000008a;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}

div#Lineatiempo {
    position: relative;
}

.caja button {
    background-color: #da0921;
    color: #fff;
    border: 0;
    font-size: 1.1rem;
    font-weight: 700;
    width: 119px;
    padding: 9px 3px;
}

.caja button:hover {
    background-color: #0a1867;
}

.caja h4 {
    font-size: 1.1rem;
    padding-left: 11px;
}

#Lineatiempo button {
    margin: 20px;
    border: 0;
    background-color: #da1b21;
}

/*linea de tiepo*/

.section {
    background: #f45b69;
    padding: 50px 0;
}

.section .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section h1 {
    font-size: 2.5rem;
}

.section h2 {
    font-size: 1.3rem;
}

.Dialogo .layout__region.layout__region--content::before {
    content: "";
    background-image: url(/sites/default/files/2023-01/abrir-comillas.png);
    height: 150px;
    width: 150px;
    background-size: contain;
    background-repeat: no-repeat;
    filter: contrast(0.5);
    position: absolute;
    top: -37px;
    left: -8%;
}

.Dialogo {
    position: relative;
}

.Dialogo .layout__region.layout__region--content::after {
    content: "";
    background-image: url(/sites/default/files/2023-01/abrir-comillas.png);
    height: 90px;
    width: 90px;
    background-size: contain;
    background-repeat: no-repeat;
    filter: contrast(0.5);
    position: absolute;
    transform: rotate(180deg);
    bottom: -8px;
    right: -5%;
}

.Dialogo {
    position: relative;
}

.Pregunta-rector form {

    margin: auto;
    width: 61%;
    background-color: #f8f7f7;
    box-shadow: 0px 2px 17px 7px #dcd9d991;
    border-radius: 21px;
    padding: 36px 44px;
    background-image: url(/sites/default/files/2024-07/marca_0.jpg);
    background-size: 109%;
    background-position-x: -41px;
    background-repeat: no-repeat;
}

.Pregunta-rector {
    background-color: #f9f9f9;
}

.Pregunta-rector form input#edit-actions-submit {
    background-color: #da0921;
    border-radius: 62px;
    border: 0;
    color: #fff;
    margin: auto;
}

.Pregunta-rector form input#edit-actions-submit:hover {
    background-color: #3d2876;
}

.Pregunta-rector .form-item__textfield {
    width: 100%;
    background-color: #f3f3f3;
    border: 0;
    border-bottom: 1px solid #3d2876;
}

.Pregunta-rector .form-fieldset .form-item {
    margin-left: 1em;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
}


/* TIMELINE
  –––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline {
    white-space: nowrap;
    overflow-x: hidden;
}

.timeline ol {
    font-size: 0;
    width: 100vw;
    padding: 250px 0;
    transition: all 1s;
}

.timeline ol li {
    position: relative;
    display: inline-block;
    list-style-type: none;
    width: 290px;
    height: 3px;
    border: 2px dashed #ffffffb5;
}

.timeline ol li:last-child {
    width: 280px;
}

.timeline ol li:not(:first-child) {
    margin-left: 14px;
}

.timeline ol li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(100% + 1px);
    bottom: 0;
    width: 12px;
    height: 12px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: #fff;
}

.timeline ol li div {
    position: absolute;
    left: calc(100% + 7px);
    width: 484px;
    height: auto !important;
    padding: 30px 23px;
    font-size: 1rem;
    white-space: normal;
    color: #ffffff;
    background: #4d4d4d70;
    box-shadow: -1px 0px 17px 7px #11101033;
    border-radius: 11px;
    border: 1px solid #acacac;
}

.timeline ol li div::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline ol li:nth-child(odd) div {
    top: -16px;
    transform: translateY(-100%);
}

.timeline ol li:nth-child(odd) div::before {
    top: 100%;
    border-width: 8px 8px 0 0;
    border-color: white transparent transparent transparent;
}

.timeline ol li:nth-child(even) div {
    top: calc(100% + 16px);
}

.timeline ol li:nth-child(even) div::before {
    top: -8px;
    border-width: 8px 0 0 8px;
    border-color: transparent transparent transparent white;
}

.timeline time {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 8px;
    background-color: #3d2876;
    color: #fff;
    display: table;
    padding: 4px 0px;
    border-radius: 29px;
    display: flex;
    align-items: center;
    padding-right: 20px;
    width: 40%;
    justify-content: flex-start;
}

.timeline time strong {
    background-color: #da0921;
    border-radius: 50%;
    height: 38px;
    width: 39px;
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    margin-right: 4px;
    justify-content: center;
}

/* TIMELINE ARROWS
  –––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline .arrows {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.timeline .arrows .arrow__prev {
    margin-right: 20px;
}

.timeline .disabled {
    opacity: 0.5;
}

.timeline .arrows img {
    width: 45px;
    height: 45px;
}

.Postulaciones .layout__region.layout__region--content {
    position: relative;
    background-color: #f9f9f9;
    box-shadow: 0px 2px 17px 7px #dcd9d991;
    border-radius: 21px;
    padding: 20px 44px;
}


.NumeroDestacado {
    font-size: 3em;
    color: #f3f3f3;
    background-color: #da0921;
    border-radius: 10px 0px 20px 0px;
    padding: 5px 10px;
    margin-right: 20px;
}

.Parrafo {
    background-color: #fff;
    margin-bottom: 30px;
    height: 160px;
    padding: 3%;
    border-radius: 20px 0px;
}

.Parrafo p {
    font-family: 'Montserrat';
}

.Parrafo p span {
    font-weight: 600;
}

/* GENERAL MEDIA QUERIES
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
@media screen and (max-width: 599px) {

    .timeline ol,
    .timeline ol li {
        width: auto;
    }

    .timeline ol {
        padding: 0;
        transform: none !important;
    }

    .timeline ol li {
        display: block;
        height: auto;
        background: transparent;
    }

    .timeline ol li:first-child {
        margin-top: 25px;
    }

    .timeline ol li:not(:first-child) {
        margin-left: auto;
    }

    .timeline ol li div {
        position: static;
        width: 94%;
        height: auto !important;
        margin: 0 auto 25px;
    }

    .timeline ol li:nth-child(odd) div {
        transform: none;
    }

    .timeline ol li:nth-child(odd) div::before,
    .timeline ol li:nth-child(even) div::before {
        left: 50%;
        top: 100%;
        transform: translateX(-50%);
        border: none;
        border-left: 1px solid white;
        height: 25px;
    }

    .timeline ol li:last-child,
    .timeline ol li:nth-last-child(2) div::before,
    .timeline ol li:not(:last-child)::after,
    .timeline .arrows {
        display: none;
    }
}

/* FOOTER STYLES
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
.page-footer {
    position: fixed;
    right: 0;
    bottom: 20px;
    display: flex;
    align-items: center;
    padding: 5px;
    color: black;
    background: rgba(255, 255, 255, 0.65);
}

.page-footer a {
    display: flex;
    margin-left: 4px;
}

per @media (max-width: 600px) {
    .Menu {
        position: inherit;
    }

    .modallg {
        margin-bottom: 23px;
    }

    .timeline time {
        width: 100%;
    }

    .caja-lg {
        margin-bottom: 56px;
    }

    .caja {
        margin-bottom: 39px;
    }

    .Consiliatura,
    .Colegiatura {
        margin-bottom: 65px;
    }

    /*Consiliarios*/
    .NumeroDestacado {
        font-size: 2em;
    }
}

@media (min-width: 576px) {
    .caja-lg {
        margin-bottom: 57px;
        min-height: auto;
        height: auto;
    }
}

@media (max-width: 768px) {
    .Parrafo {
        height: auto;
        max-height: 210px;
    }
}

@media (min-width: 990px) {
    .caja-lg {
        min-height: 544px;
        height: 689px;
    }
}

@media (min-width: 1200px) {
    .caja-lg {
        min-height: 544px;
        height: 591px;
    }
}

@media (min-width: 768px) and (max-width:1280px) {
    .Menu {
        top: 76px;
    }

    #quienes-somos,
    #metodologia,
    #perfil,
    #mecanismos {
        position: relative;
        top: -117px;
    }
}

@media (min-width: 900px) and (max-width:1200px) {
    .Parrafo {
        height: 200px;
    }
}

/* ==========================================================================
   Sección: Etapas del proceso (#sec-etapas-proceso)
   ========================================================================== */

.main-fluid #sec-etapas-proceso .etapa-card {
    display: flex;
    width: 100%;
    min-height: 158px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #da0921;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.main-fluid #sec-etapas-proceso .etapa-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.main-fluid #sec-etapas-proceso .etapa-card__body {
    flex: 0 0 66%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px 14px 12px 16px;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
}

.main-fluid #sec-etapas-proceso .etapa-card__content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.main-fluid #sec-etapas-proceso .etapa-card__number {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    flex-shrink: 0;
    color: #ffffff;
}

.main-fluid #sec-etapas-proceso .etapa-card__text {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.35;
    font-weight: 400;
    color: #ffffff;
}

.main-fluid #sec-etapas-proceso .etapa-card__text strong {
    font-weight: 700;
}

.main-fluid #sec-etapas-proceso .etapa-card__date {
    display: block;
    margin-top: 3px;
    font-weight: 400;
}

.main-fluid #sec-etapas-proceso .etapa-card__icon {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    margin-top: 8px;
    font-size: 1.7rem;
    line-height: 1;
    color: #ffffff;
}

.main-fluid #sec-etapas-proceso .etapa-card__media {
    flex: 0 0 34%;
    position: relative;
    background-color: #d9d9d9;
    overflow: hidden;
}

.main-fluid #sec-etapas-proceso .etapa-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    transition: transform 0.35s ease, filter 0.35s ease;
}

.main-fluid #sec-etapas-proceso .etapa-card:hover .etapa-card__img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

@media (max-width: 575.98px) {
    .main-fluid #sec-etapas-proceso .etapa-card {
        min-height: 145px;
    }

    .main-fluid #sec-etapas-proceso .etapa-card__body {
        padding: 14px 12px 10px 14px;
    }

    .main-fluid #sec-etapas-proceso .etapa-card__number {
        font-size: 1.5rem;
    }

    .main-fluid #sec-etapas-proceso .etapa-card__text {
        font-size: 0.8rem;
    }

    .main-fluid #sec-etapas-proceso .etapa-card__icon {
        font-size: 1.5rem;
    }

    .main-fluid .section-title--line-start {
        margin: 0;
        margin-bottom: 1rem;
    }

    h3.h3.section-title__heading,
    h4.h4.section-title__heading {
        font-size: 1.6rem !important;
    }

    .Consiliatura,
    .Colegiatura {
        padding: 24px;
    }
    .Estilos a{
        display: block;
    }
}