/* Color Rojo rojo->#e00034
gris->#847770*/
.no-gutter>[class^="col-"] {
    padding-left: 0;
    padding-right: 0;
}
* {
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Roboto', sans-serif;
    overflow-y: scroll;
    overflow-x: hidden;
    background-color: lightgray;
}
body.popup-open {
    overflow: hidden;
    /* Desactiva el desplazamiento en el cuerpo de la página */
}
ol {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}
#semi-body {
    width: 100%;
    max-width: 1920px;
    margin: auto;
}
.fondo-rojo {
    background-color: #e00034 !important;
}
p {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}
#formulario1 {
    height: 55vh;
}
#formulario-vg{
    height: 45vh;
}
/* -------------------- LOADER-----------*/
#preloader {
    background-color: white;
    height: 100%;
    width: 100%;
    position: fixed;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -o-transition: all 1s;
    z-index: 10001;
}
.preloader {
    width: 70px;
    height: 70px;
    border: 10px solid #eee;
    border-top: 10px solid #e00034;
    border-radius: 50%;
    animation-name: girar;
    animation-duration: 2s;
    animation-iteration-count: infinite;

    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}
@keyframes girar {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
/*------------- TERMINA EL LOADER --------------*/

/*----------SUB-MENU-----------*/
.submenu {
    position: initial !important;
}

/*---------------------------------------
COMMON STYLES             
-----------------------------------------*/
.section_title {
    padding: 25px 10px 0;
}

.section_title h2 {
    text-align: center;
    position: relative;
    color: #e00034;
    font-size: 30px;
    font-weight: 400;
}

.section_title p {
    text-align: left;
    margin-top: 45px;
    color: #333;
    font-size: 18px;
    line-height: 28px;
    font-weight: 300;
}

.whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 24px;
    right: 24px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 55px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0px 0px 3px #999;
    z-index: 100;
}

.whatsapp:hover {
    background-color: #fff;
    color: #25d366;
}

.my-whatsapp {
    margin-top: 13px;
}

/*---------------------------------------
     SECTION HOME              
  -----------------------------------------*/
/*menu*/
.header h2 {
    height: 0px;
    margin: 0px;
}

.header {
    background-size: cover;
    background-repeat: no-repeat;
}

.imgheader {
    margin-top: 45px;
    width: 100%;
    text-align: center;
}

.iberoback {
    height: 108%;
    display: flex;
    justify-content: center;
    position: absolute;
    z-index: -1;
    width: 100%;
    overflow: hidden;
    max-width: 1920px;
}

.iberoback img {
    min-width: 100%;
    max-height: 100%;
    position: relative;
    margin-top: 50px;
    float: left;
}

.iberoback img {
    object-fit: cover;
}

#headerIberoPC {
    margin-top: -30px;
    top: 6%;
}

#headerIberoCel {
    display: none;
}

.header .section_overlay {
    background-color: rgba(33, 33, 33, .50);
}

.navbar {
    position: fixed !important;
    z-index: 16 !important;
    width: 100%;
}

.logo {
    padding-top: 13vh;
    padding-bottom: 50px;
}

.contador {
    position: absolute;
    top: 70px;
    max-height: 500px;
    width: 100%;
}

#dias,
#horas,
#minutos,
#segundos {
    font-size: 3.5em;
}

.event-time{
    margin-top: 20px;
    text-align: left;
}
.event-date, .event-hour{
    color: #e00034;
    font-size: 1.5em;
    font-weight: 600;
    padding-left: 10px;
}

.home_text {
    text-align: left;
}

.home_text h1 {
    color: #fff;
    font-size: 35px;
    font-weight: 300;
    line-height: 45px;
    padding-top: 30px
}

h2 {
    text-align: left !important;
    font-family: 'Alverata', sans-serif;
}

.home_text p {
    color: #fff;
    font-size: 17px;
    line-height: 28px;
    margin-top: 0px;
    font-weight: 300;
}

.home-btn,
.home-btn:focus,
.home-btn:active,
.home-btn:visited {
    background: #e00034 !important;
    color: white !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
    font-size: 19px !important;
    border-radius: 3px !important;
    -webkit-transition: all 1s !important;
    -moz-transition: all 1s !important;
    -o-transition: all 1s !important;
    transition: all 1s !important;
}

.home-btn:hover,
.btn-tarjeta:hover {
    background-color: #fff !important;
    color: #e00034 !important;
    border-color: #e00034 !important;
}

.btn-tarjeta {
    background: #e00034 !important;
    color: white !important;
    border-radius: 3px !important;
    -webkit-transition: all 1s !important;
    -moz-transition: all 1s !important;
    -o-transition: all 1s !important;
    transition: all 1s !important;
}

.btn-whats {
    background: #25d366 !important;
    color: white !important;
    padding-top: 0px !important;
    padding-bottom: 10px !important;
    padding-left: 21px !important;
    padding-right: 21px !important;
    font-size: 19px !important;
    border-radius: 3px !important;
    -webkit-transition: all 1s !important;
    -moz-transition: all 1s !important;
    -o-transition: all 1s !important;
    transition: all 1s !important;
}

.btn-whats:hover {
    background-color: white !important;
    color: #25d366 !important;
    border-color: #25d366;
}

.tuor,
.tuor:focus,
tuor:active,
tuor:visited {
    color: #A9ADB0 !important;
    margin-left: 20px !important;
    font-size: 19px !important;
    font-weight: 500 !important;
    background: transparent !important;
    -webkit-transition: all 1s !important;
    -moz-transition: all 1s !important;
    -o-transition: all 1s !important;
    transition: all 1s !important;
}

.tuor:hover {
    color: #fff !important;
    border-color: #fff !important;
}

.tuor i {
    font-size: 20px !important;
    padding-left: 5px !important;
    color: #e00034 !important;
}


/*---------------------------------------
  IG y TIKTOK FEEDS
  -----------------------------------------*/
.feeds {
    margin-top: 16px;
}

#IG-Feed {
    position: relative;
    display: block;
    width: 100%;
    margin: 18px auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    line-height: 1.15;
    overflow: hidden;
    -webkit-text-size-adjust: 100%;
    font-family: proxima-regular, PingFangSC, sans-serif;
    font-weight: 400;
    border: 1px solid rgb(22 24 35 / 12%);
    display: block;
    visibility: unset;
    max-height: 457px;
}

#IG-Feed div {
    padding-left: 15px;
}

#IG-Feed div a {
    color: black;
    font-weight: 900;
}

#IG-Feed div a:hover {
    text-decoration: underline;
}

#IG-Logo {
    margin-top: 16px;
    margin-bottom: 16px;
    -webkit-flex: 0 0 48px;
    -ms-flex: 0 0 48px;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    -webkit-margin-end: 12px;
    -margin-inline-end: 12px;
}

#instafeed-container {
    text-align: center;
}

#instafeed-container>a:nth-child(1)>img,
#instafeed-container>a:nth-child(2)>img,
#instafeed-container>a:nth-child(3)>img,
#instafeed-container>a:nth-child(4)>img {
    display: inherit;
}

#instafeed-container a img {
    display: none;
    width: 45%;
    padding: 2.5%
}

/*---------------------------------------
     SECTION ABOUT              
  -----------------------------------------*/
.about {
    background: #F1F1F1;
}

.inner_about_area {
    padding-top: 5px;
    padding-bottom: 30px;
}

.inner_about_title {
    padding-bottom: 5px;
}

.inner_about_title h2 {
    font-weight: 800;
    font-size: 30px;
    line-height: 37px;
    position: relative;
}

.inner_about_title h2:after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 70px;
    background: #e00034;
    height: 1px;
}

.inner_about_title p {
    font-size: 19px;
    line-height: 24px;
    margin-top: 40px;
}

.inner_about_desc {
    padding-top: 30px;
}

.single_about_area {
    position: relative;
    padding-bottom: 4px;
    padding-left: 30px;
}

.single_about_area div {
    position: absolute;
    top: 0px;
    left: 0px;
}

.single_about_area div i {
    font-size: 55px;
    color: #BABABA;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
}

.single_about_area h3 {
    color: #343434;
    font-size: 20px;
    font-weight: 800;
}

.single_about_area p {
    color: #727272;
    font-size: 15px;
}

.single_about_area:hover div i {
    color: #e00034;
}

/*---------------------------------------
     SECTION VIDEO              
  -----------------------------------------*/
.video_area {
    background: #e4e4e4;
    padding-bottom: 30px;
    padding-top: 30px;
}

.video_diaov {
    color: white;
    background: url(../assets/images/banner_diaov.webp);
    background-repeat: no-repeat;
    padding-bottom: 70px;
    padding-top: 70px;
    background-position: top center !important;
    background-size: cover !important;
    display: block !important;
    height: auto !important;
}

/*.video_ite {
      background: url(../assets/images/banner_ov.webp);
      background-repeat:no-repeat;
      padding-bottom: 70px;
      padding-top: 70px;
      background-position: top center !important;
      background-size: cover !important;
      display: block !important;
      height: auto !important;
  
  }*/
.video_ite {
    margin-top: 70px;
}

.video_ite_esp {
    position: relative;
    background: #FFFFFF;
    padding: 116px 22px 22px;
}

.video_ite_esp:before {
    content: '';
    background: url('../assets/images/logoRojo.png');
    width: 159px;
    height: 72px;
    position: absolute;
    top: 22px;
    left: 22px;

}

.video_vg {
    margin-top: 70px;
}

#vg_banner {
    margin-top: 5%;
}

/* visitas guiadas */

.visita_guiada_esp {
    position: relative;
    background: #FFFFFF;
    padding: 116px 22px 22px;
}

.visita_guiada_esp:before {
    content: '';
    background: url('../assets/images/logoRojo.png');
    width: 159px;
    height: 72px;
    position: absolute;
    top: 22px;
    left: 22px;

}

.carousel-item{
    max-height: 282px;
}
/* TODO Tendencias*/

.fondo_tarjeta1 {
    position: relative;
    background: #e00034;
    padding: 116px 22px 22px;
}

.fondo_tarjeta1:before {
    content: '';
    background: url('../assets/images/LogoBlanco.png');
    width: 159px;
    height: 72px;
    position: absolute;
    top: 22px;
    left: 22px;
}

/*Triángulo*/
.fondo_tarjeta1:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-bottom: 100px solid #FFF;
    border-left: 100px solid transparent;
}

/*.video_tendencias {
      background: url(../assets/images/Banner_Tendencias.webp);
      background-repeat:no-repeat;
      padding-bottom: 70px;
      padding-top: 70px;
      background-position: top left !important;
      background-size: cover !important;
      display: block !important;
      height: auto !important;
  }*/
#GUIA-ESTUDIO {
    padding: 0;
}

.div-examen {
    margin-right: 0 !important;
    max-width: 1280px !important;
}

.curso-examen {
    background: url(../assets/images/curso_excoba_P23.png);
    background-repeat: no-repeat;
    padding-bottom: 30px;
    padding-top: 50px;
    background-position: top center !important;
    background-size: cover !important;
    display: block !important;
    height: auto !important;
}

.curso-examen div h2 {
    max-width: 350px;
    color: white;
}

.curso-examen div p {
    max-width: 35%;
    color: white;
}

.curso-examen div.video-button a {
    color: white !important;
}

.guia-examen {
    padding-top: 50px;
}

.video_title {
    padding-bottom: 30px;
}

.video_title h2 {
    font-weight: 800;
    font-size: 30px;
    line-height: 37px;
    position: relative;
    margin-top: 0px;
}

.video_title h2:after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 70px;
    background: #e00034;
    height: 1px;
}

.video_title p {
    font-size: 18px;
    line-height: 28px;
    margin-top: 40px;
    color: #333;
    font-weight: 300;
}

.btn-video,
.btn-video:active,
.btn-video:focus,
.btn-video:visited {
    background: transparent !important;
    border: 1px solid #929292 !important;
    color: #686868 !important;
    border-radius: 3px !important;
    padding: 12px 35px !important;
    -webkit-transition: all 1s !important;
    -moz-transition: all 1s !important;
    -o-transition: all 1s !important;
    transition: all 1s !important;
}

.btn-video:hover {
    background: #e00034 !important;
    color: #fff !important;
    border: 1px solid #e00034 !important;
}

.btn-primary,
.btn-primary:active,
.btn-primary:focus,
.btn-primary:visited {
    background: transparent !important;
    border: 1px solid #fff !important;
    color: white !important;
    border-radius: 3px !important;
    padding: 12px 35px !important;
    -webkit-transition: all 1s !important;
    -moz-transition: all 1s !important;
    -o-transition: all 1s !important;
    transition: all 1s !important;
}

.btn-primary:hover {
    color: #e00034 !important;
    background: #fff !important;
}

.video iframe {
    width: 100%;
    border: 1px solid #999999;
    padding: 5px;
    margin-top: 5%;
}

.link_rojo {
    text-decoration: none;
    color: #e00034;
}

.link_rojo:hover {
    text-decoration: underline;
    color: #e00034;
}

.link_blanco {
    text-decoration: none;
    color: white;
}

.link_blanco:hover {
    text-decoration: underline;
    color: white;
}

/*---------------------------------------
     SECTION CARDS             
  -----------------------------------------*/
*::before,
*::after {
    box-sizing: border-box;
}


img {
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

.banner {
    max-width: 100%;
    height: auto;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cards__item {
    display: flex;
    padding: 1rem;
    /*@media(min-width: 40rem) {
      width: 50%;
    }
    @media(min-width: 56rem) {
      width: 33.3333%;
    }*/
}

.card {
    background-color: white;
    border-radius: 0.25rem;
    box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;

    &:hover {
        .card__image {
            filter: contrast(100%);
        }
    }
}

.card__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 1rem;
}

.card__image {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    filter: contrast(70%);
    /*filter: saturate(180%);*/
    overflow: hidden;
    position: relative;
    transition: filter 0.5s cubic-bezier(.43, .41, .22, .91);
    ;

    &::before {
        content: "";
        display: block;
        padding-top: 56.25%; /*16:9 aspect ratio*/
    }

    @media(min-width: 40rem) {
        &::before {
            padding-top: 66.6%; /* 3:2 aspect ratio*/
        }
    }
}

.card__image--individual {
    background-image: url(https://preuniversitarios.ibero.mx/assets/images/OV2.webp);
}

.card__image--taller {
    background-image: url(https://preuniversitarios.ibero.mx/assets/images/OV1.webp);
}

.card__title {
    font-size: 2rem;
    font-weight: 300;
    text-align: center;
    letter-spacing: 2px;
}

/*---------------------------------------
CAROUSEL DE TARJETAS
----------------------------------------*/
.cards-wrapper {
    display: flex;
    justify-content: center;
}

.card img {
    max-width: 100%;
    max-height: 100%;
}

.card {
    margin: 0 0.5em;
    box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
    border: none;
    border-radius: 0;
}

.carousel-inner {
    padding: 1em;
    /*height: 370px; /*SI SON 3 TARJETAS*/
    height: 110%;
    /*SI SON 2 TARJETAS*/
    margin-top: 1.6em;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    height: 40px !important;
}

.carousel-control-prev,
.carousel-control-next {
    background-color: #e1e1e1;
    width: 5vh !important;
    height: 5vh;
    border-radius: 50%;
    top: 50% !important;
    transform: translateY(-50%);
}

/*---------------------------------------
SECTION CALL TO ACTION              
-----------------------------------------*/

.call_to_action {
    background-color: #1a1a1a;
    padding-top: 100px;
    padding-bottom: 100px;
}

.call_to_action p {
    color: #dfdfdf;
    font-size: 18px;
    font-weight: 300;
}

.btn-action,
.btn-action:active,
.btn-action:focus,
.btn-action:visited {
    background: #e00034 !important;
    border: 1px solid #e00034 !important;
    color: #fff !important;
    border-radius: 3px !important;
    padding: 15px 35px !important;
    -webkit-transition: all 1s !important;
    -moz-transition: all 1s !important;
    -o-transition: all 1s !important;
    transition: all 1s !important;
}

.btn-action:hover {
    background: white !important;
    border-color: #e00034 !important;
    color: #e00034 !important;
}

.last {
    border-right: 1px solid #0F1217;
}
/*---------------------------------------
SECTION CONTACT              
-----------------------------------------*/

#CONTACT {
    background-color: white;
}
/*---------------------------------------
SECTION FOOTER              
-----------------------------------------*/
.copyright {
    background-color: #1A1D22;
    padding-bottom: 65px;
    padding-top: 65px;
    border-bottom: 3px solid #e00034;
}

.copy_right_text {
    width: 71%;
}

.copy_right_text p {
    color: #8C8B8A;
    font-weight: 600;
    font-size: 15px;
}

.copy_right_text p a {
    color: #8C8B8A;
    font-weight: 600;
    font-size: 15px;
}

.copy_right_text p a:hover {
    color: white;
}

.scroll_top {
    text-align: right;
}

.scroll_top a {
    background: #e00034;
    padding: 25px;
}

.scroll_top a i {
    color: #fff;
    font-size: 25px;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    background-color: red;
    background-image: none;
    color: rgb(0, 0, 0);
}

/*POP UP*/
.popup {
    display: none;
    position: fixed;
    height: auto;
    max-height: 100vh;
    top: 0;
    left: 0;
    padding: 8%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.contenido-popup {
    background-color: #fff;
    padding: 0;
    margin: auto;
}

.PopTexto {
    padding: 50px;
}

.titulo-popup {
    color: #ef0034;
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 30px;
}

.boton-cerrar {
    display: none;
    color: #e00034;
    position: absolute;
    right: 5%;
    top: 2%;
    border: 0;
    background-color: white;
}


/*------------- MEDIA QUERIES -----------------*/
@media(min-aspect-ratio: 320/169) {}

@media all and (max-width:1200px) {
    .video_title {
        padding-bottom: 15px;
    }

    .video_title h2 {
        font-size: 28px;
        line-height: 1.5px;
        display: inline;
    }

    .video_title h2:after {
        bottom: -12px;
    }

    .video_title p {
        font-size: 16px;
        line-height: 1.5;
        margin-top: 25x;
    }
}

@media (max-width: 768px) {
    #btn2 {
        margin-top: 15px;
    }

    .about_phone {
        text-align: center;
    }

    .video {
        padding-top: 50px;
    }

    .video-button {
        text-align: center;
    }

    .call_to_action .col-md-3 {
        text-align: center;
        padding-top: 50px;
    }

    .about_phone img {
        width: 100%;
    }

    .home-iphone {
        display: none;
    }

    .home_text {
        text-align: center;
    }

    div.activity-lists {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }
    #formulario1 {
        height: 50vh;
    }
    #formulario-vg{
        height: 45vh;
    }
    #miCarrusel{
        margin-top: 20px;
    }
    .video_diaov {
        background: url(../assets/images/banner_diaov.webp);
        background-repeat: no-repeat;
        background-position: 10% top !important;
        background-size: cover !important;
    }

    .carousel-item{
        max-height: 160px;
    }

    .iberoback {
        height: 120vh;
    }

    #headerIberoPC {
        display: none;
    }

    #headerIberoCel {
        display: flex;
    }

    .contador {
        position: inherit;
    }

    .centrar {
        text-align: center !important;
    }

    .centrar h3 {
        padding-top: 0 !important;
    }

    .carousel-inner {
        /* height: 280px;*/
        height: 100%;
    }

    .cuadro {
        width: 33% !important;
        padding: 0 !important;
    }

    .conten {
        left: 4%;
    }

    .video_area {
        padding-bottom: 50px;
        padding-top: 50px;
    }

    .curso-examen div p {
        max-width: 70%;
    }

    .curso-examen {
        background-position: left center !important;
        background-size: 170% 100% !important;
        padding-top: 15px;
    }

    #formulario {
        height: 1700px;
    }

    .aviso-cookies {
        left: 5%;
    }

    .aviso-cookies .cerrar {
        left: calc(50% + 130px);
    }

    .calendario {
        margin-top: 20px;
    }

    .popup {
        height: 100vh;
    }

    .contenido-popup {
        margin: 0;
        height: 72vh;
    }

    .PopTexto {
        padding: 35px 0 0 0;
    }
}


@media (min-width: 769px) {
    .about_phone {
        text-align: center;
    }

    .call_to_action .col-md-3 {
        text-align: center;
        padding-top: 50px;
    }

    .video-button {
        text-align: center;
    }

    .video {
        padding-bottom: 70px;
    }
}

@media (max-width: 769px) {
    #formulario {
        height: 1620px;
    }
}

@media (max-width: 992px) {
    #formulario {
        height: 1620px;
    }

    .fondo_tarjeta1 {
        margin-top: 50px;
    }

    .video {
        margin-top: 0;
    }

    .cards-wrapper {
        display: block;
    }

    .cards-wrapper div:nth-child(2) {
        margin-top: 30px;
    }
}

@media (min-width: 992px) {
    .video-button {
        text-align: left;
    }

    .call_to_action .col-md-3 {
        text-align: right;
        padding-top: 0px;
    }

    .video {
        padding-top: 0px;
    }
}
@media (min-width: 1200px) {
    .video-button {
        text-align: left;
    }

    .call_to_action .col-md-3 {
        text-align: right;
        padding-top: 0px;
    }

    .video {
        padding-top: 0px;
    }
}