@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&family=Poppins:wght@300&display=swap');

body {
    font-family: 'Open Sans';
}
html, body {
    overflow-x: hidden;
  }
 
*, *:hover {
    transition: ease-in-out .3s all;
}
  
h1, h2, h3, h4, h5, h6  {
    font-family: 'Poppins' !important;
    font-weight: 700;
}
.videoIframe{
    border: 0;
    border-radius: 1rem;
}
/*----MENSAJES DE ERROR EN ESPAÑOL INCONCERT------*/

#copyOfIdentityDocument-error,   #program-error {
    /* Oculta el texto original */
    color: transparent;
    visibility: hidden;
    display: block;
  }
  
  #copyOfIdentityDocument-error::after {
    /* Agrega tu propio mensaje de error personalizado */
    margin-top:-20px;
    content: "Por favor ingrese un RUT.";
    display: block;
    color: var(--rojo) !important;
    font-weight: 900;
    visibility: visible;
  }
  h3.my-2.p-0 {
    font-size: 1rem;
}
  #program-error::after {
    /* Agrega tu propio mensaje de error personalizado */
    margin-top:-20px;
    content: "Por favor ingrese un programa de interés.";
    display: block;
    color: var(--rojo) !important;
    font-weight: 900;
    visibility: visible;
  }
/*----FIN MENSAJES DE ERROR INCONCERT----------*/

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--blanco);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
}
.titleForm{
    font-family: 'Poppins' !important;
    font-weight: 700;
    font-size: 1.75rem;
}
.left-menu span{
    font-family: 'Poppins' !important;
    font-weight: 700;
    font-size: 1.25rem;
}
:root {
    --blanco: #FFFFFF;
    --negro: #000000;
    --gris: #F2F3F7;
    --gris-oscuro: #4C4C4C;
    --rojo: #962330;
    --azul: #042F53;
    --azul-btn-form: #1D99D6;
    --azul-claro: #2FBED4;
    --azul-oscuro: #151E2F;
    --whatsapp: #80E134;
}
::-webkit-scrollbar {
    width: 10px;
    background: var(--azul);
}
::-webkit-scrollbar-thumb{
    border-radius: 5px;
    height: 30px;
    background: var(--rojo);
}

a:hover {
    text-decoration: none;
    color: unset;
}

.bg-blanco {
    background: var(--blanco);
}

.bg-whatsapp {
    background: var(--whatsapp);
}

.bg-negro {
    background: var(--negro);
}

.bg-gris {
    background: var(--gris);
}

.bg-gris-oscuro {
    background: var(--gris);
}

.bg-rojo {
    background: var(--rojo);
}

.bg-azul {
    background: var(--azul);
}

.bg-azul-claro {
    background: var(--azul-claro);
}

.bg-azul-oscuro {
    background: var(--azul-oscuro);
}

.blanco {
    color: var(--blanco) !important;
}

.dotted-bottom-border {
    border-bottom-style: dashed;
}
.dotted-bottom-border.b-rojo {
    border-bottom: 3px solid var(--rojo);
    border-bottom-style: dashed;

}
.dotted-bottom-border.b-blanco {
    border-bottom: 2px solid var(--blanco);
    border-bottom-style: dashed;

}
.gris-oscuro {
    color: var(--gris-oscuro) !important;
}

.negro * {
    color: var(--negro);
}

.rojo * {
    color: var(--rojo);
}

.azul * {
    color: var(--azul);
}

.azul-claro {
    color: var(--azul-claro);
}

.jumbo-title {
    font-size: 38px;
}

.jumbo-text {
    font-size: 32px;
    font-weight: 700;
}

.number {
    font-size: 60px;
}

strong {
    font-weight: 900 !important;
}

#btn-video-preview:hover {
    transform: scale(1.01);
}
#btn-video-preview {
    display: block;
}

video {
    /* display: none; */
    border-radius:20px;
}

/* video.active {
    display: block;
} */

.arrow-down.active {
    -webkit-transform:rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}
#mas-30000 {
    background: url('../img/mas-30000-graduados.png');
    background-repeat: no-repeat;
    background-size: cover;
}

/* 
    ciencias rehabilitacion fill: linear-gradient(90deg, #042F53 0%, #00BF9F 100%);
    enfermeria fill: linear-gradient(90deg, #042F53 0%, #4B7BEB 100%);
    ciencias de la vida: fill: linear-gradient(90deg, #042F53 0%, #A4CA3D 100%);
    ingenieria fill: linear-gradient(90deg, #042F53 0%, #20246D 100%);
    ciencias exactas: fill: linear-gradient(90deg, #042F53 0%, #553B8F 100%);
    medicina: fill: linear-gradient(90deg, #042F53 0%, #2FBED4 100%);
    derecho: fill: linear-gradient(90deg, #042F53 0%, #056653 100%);
    odontologia : fill: linear-gradient(90deg, #042F53 0%, #1578AC 100%);
    educación y ciencias sociales fill: linear-gradient(90deg, #042F53 0%, #B53C10 100%);
    economia: fill: linear-gradient(90deg, #042F53 0%, #C99400 100%);
    campus creativo: fill: linear-gradient(90deg, #042F53 0%, #73797C 100%);
*/


/* Estilos en orden  */
header a {
    border: 1px solid transparent;
}
.no-hoverable:hover {
    border-bottom: unset !important;
}

.menu a:hover {
    border-bottom: 1px solid var(--rojo)
}

.social-fixed {
    position: fixed;
    display: flex;
    flex-direction: column;
    right: 0;
    top: 45%;
    z-index: 99;

}

.social-fixed .wa, .social-fixed .form {
    padding: 10px
}

#formulario-popup {
    position: fixed;
    z-index: 1010000;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    display: none;
}

#formulario-popup .close {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 32px;
    color: var(--blanco);
    z-index: 102;
    cursor: pointer;
}

#formulario-popup.active {
    display: flex;
}

#banner-top {
    background-image: url(../img/banner-top-mobile2.png);
    background-size: cover;
    background-repeat: no-repeat;
    height: 60vh;
    background-position: right;
    display: flex;
    align-items: center !important;
    justify-content: center;
    flex-direction: column;
}

.pqitem {
    border-radius: 10px;
}

.pqitem img {
    width: 32px !important;
}

.diplomado-card {
    display: flex;
    flex-direction: column;
    flex: 0 0 100%;
    position: relative;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    height: 194px;
}

.diplomado-card .content {
    width: 0;
    height: 0;
    display: none;
}

.diplomado-card:hover .content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #042f53e8;
    color: var(--blanco);
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 20px;
    padding: 10px;
    font-size: 14px;

}

.diplomado-card img {
    border-radius: 25px
}


.diplomado-card2 {
    display: flex;
    flex-direction: column;
    flex: 0 0 100%;
    position: relative;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
}

.diplomado-card2 .content {
    width: 0;
    height: 0;
    display: none;
}
form label {
    font-weight: bold;
    color: white;
}
.diplomado-card2:hover .content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #919191e1;
    color: var(--blanco);
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 20px;
    padding: 10px;

}
.formTxt{
    color: white !important;
}
.diplomado-card2 img {
    border-radius: 25px
}

hr.facultad {
    height: 3px;
    width: 80%;
    float: left;
}

hr#ciencias-rehabilitacion {
    background: linear-gradient(90deg, #042F53 0%, #00BF9F 100%);
}

hr#enfermeria {
    background: linear-gradient(90deg, #042F53 0%, #4B7BEB 100%);
}

hr#ciencias-vida {
    background: linear-gradient(90deg, #042F53 0%, #A4CA3D 100%);
}

hr#ingenieria2 {
    background: linear-gradient(90deg, #042F53 0%, #20246D 100%);
}

hr#ciencias-exactas {
    background: linear-gradient(90deg, #042F53 0%, #553B8F 100%);
}

hr#medicina2 {
    background: linear-gradient(90deg, #042F53 0%, #2FBED4 100%);
}

hr#derecho {
    background: linear-gradient(90deg, #042F53 0%, #056653 100%);
}

hr#odontologia {
    background: linear-gradient(90deg, #042F53 0%, #1578AC 100%);
}

hr#ciencias-sociales {
    background: linear-gradient(90deg, #042F53 0%, #B53C10 100%);
}

hr#economia2 {
    background: linear-gradient(90deg, #042F53 0%, #C99400 100%);
}

hr#campus-creativo {
    background: linear-gradient(90deg, #042F53 0%, #73797C 100%);
}

.facultad-item {
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
    position: relative;
    cursor: pointer;
    transition: ease-in-out all .3s;
}


.facultad-item:hover {
    transform: scale(1.1);
    cursor: pointer;
    transition: ease-in-out all .3s;
}

.facultad-item img {
    position: absolute;
    top: 10%;
    right: 10px;
}

#formulario-c {
    background-size: contain;
    background-repeat: no-repeat;
}

#navOwl {
    position: absolute;
    width: 100%;
    bottom: -40px;
    z-index: 300;
}

.owl-dot span {
    background-color: var(--azul) !important;
}

.owl-dot.active span {
    background-color: var(--rojo) !important;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("../img/arrow-down.png");
    background-repeat: no-repeat;
    background-position-x: 100%;
    border: 1px solid #dfdfdf;
    background-size: contain;
    border-radius: 2px;
    margin-right: 2rem;
    padding: 2rem;
    padding-right: 2rem;
}
.ListCardsProgramsEdu{
    display: flex !important;
}
.ListCardsPrograms {
    margin-left:1vw ;
    width: 100%;
    display: none;
    transform: scaleY(0);
    margin-top: 0 !important;
    transition: transform 0.4s ease, opacity 0.4s ease;
    margin-left: 10px;

}

.ListCardsPrograms.show {
    transform: scaleY(1);
    display: flex;
}
.txtCardProgram{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}


#videollamada-c {
    background: url(../img/bg-videollamada.png);
    background-size: cover;
    background-repeat: no-repeat;
}

#acreditaciones {
    background-size: contain;
    background-repeat: no-repeat;
    background-position-x: right;
}

.faq-item .question {
    border-radius: 20px;
    position: relative;
}

.faq-item img {
    position: absolute;
    top: 10%;
    right: 10px;
}

.faq-item .answer {
    border: 1px solid var(--rojo);
    border-top: 1px solid transparent;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    display: none;
    height: 0px;
    transition: ease-in-out .3s all;
    background: #fff;
}

.faq-item .answer.active {
    display: block;
    height: auto;
    transition: ease-in-out .3s all;
    cursor: pointer;
}

.menu-icon.active {
    display: block !important;
}

.menu-icon {
    display: none !important;
}

.menu-mobile {
    background: var(--azul);
    display: none;
}

.menu-mobile a {
    color: #fff;
}

.menu-mobile.active {
    display: flex;
}

#cifras-c .owl-item {
    height: 249px;
}


.testimonio-item {
    padding: 10px 20px;
    border-radius: 15px;
}

.testimonio-item:hover {
    transform: scale(1.09);
    background: var(--gris);
}

.testimonio-item img {
    width: 92px !important;
    margin: 0 auto;
}

.testimonio-item p {
    visibility: hidden;
    transition: ease-in-out all .3s;
}

.testimonio-item:hover p {
    visibility: visible;
    transition: ease-in-out all .3s;

}

.diplomado-card.showable {
    display: none;
}

.diplomado-card.showable.active {
    display: flex;
}

.diplomado-card2.showable {
    display: none;
}

.diplomado-card2.showable.active {
    display: flex;
}

.hidden {
    display: none;
}

.ic-class-form-check-input-legal {
    margin-right: 5px;
}
label.error{
    color: var(--rojo) !important;
    font-weight: 900;
    width: 100%;
}



@media screen and (max-width: 768px) {
    .nosotrosMobile{
        font-size: 2rem !important;
    }
    .subTxtBanner{
        width: 95% !important;
    }
    .txtCardProgram p{
        margin-left: 0rem !important;
    }
    .diplomado-card{
        flex: 0 0 90%;  
    }
    .diplomado-card2{
        flex: 0 0 90%;  
    }
    .BtonFlotante2 > .menuWhatsapp{
        transform: translate(78%, -25%);
        z-index: 100;
      }
    .dotted-bottom-border.b-blanco {
        border-bottom: 4px solid var(--blanco);
        border-bottom-style: dashed;
    }
    #cifras-c .item {
        border-radius: 20px;
        text-align: center;
    }
    .pqitem {
        border-radius: 10px;
        height: 200px;
    }
    #btn-video-preview {
        width: 75%;
    }
    

    #carousel-pqeunab img {
        width: unset
    }

    #banner-top h2 {
        font-size: 28px;
    }
    form label {
        font-size: 12px !important;
    }

}

#submenu {
    display: flex;
}

#submenu.active {
    flex-direction: column;
}
.txtBanner{
    text-align: center;display: flex;justify-content: center;
}
.txtBanner p{
    width: 55%;
}
@media screen and (min-width: 768px) {
   
    #formulario-popup .close {
        right: 32px;
        top: 32px;
    }

    #banner-top {
        background-image: url(../img/banner-top-mobile2.png);
    }

    .menu-icon, .menu-icon.active {
        display: none !important;
    }
    

    .menu-mobile {
        position: absolute;
        top: 75px;
        right: 0;
        display: flex;
        flex-direction: column;
        flex: 0 0 20%;
        width: 400px;
        
    }
    
    .menu-mobile .menu {
        background: #fff;
        padding: 20px;
        box-shadow: 1px;
        -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
        -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
        box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
    
    }
    

    .menu-mobile {
        color: var(--azul);
        display: none;
    }

    .menu-mobile.active.menu {
        background: transparent !important;
        width: 400px !important;

    }

    .menu-mobile a {
        color: var(--azul);
        font-weight: 900;
    }

    #cifras-c .item.item-1 {
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
    }

    #cifras-c .item.item-3 {
        border-top-right-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .faq-item .question, .faq-item .answer {
        font-size: unset;
    }

    #cifras {
        margin-top: -90px !important;
    }

    #cifras .row .col-md-3:nth-child(1) {
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
    }

    #cifras .row .col-md-3:nth-child(3) {
        border-top-right-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .facultad-item {
        padding: 10px 30px;
        margin: 10px 0;
        border-top-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .facultad-item img {
        display: none;
    }

    .diplomado-card {
        flex: 0 0 23%;
        margin-right: 20px;
        margin-top: 20px !important;
        height: 154px;
    }
     .diplomado-card2 {
        flex: 0 0 23%;
        margin-right: 20px;
        margin-top: 20px !important;
    }
    .facultad-card {
        animation: taadaa 2s;
    }

    .facultad-card div p:hover {
        -webkit-line-clamp: 11;
        cursor: pointer;
    }
    .facultad-card div p {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    #acreditaciones {
        height: 100%;
        background-image: url(../img/inscribete-bg.png);

    }

    #btn-inscribete-a {
        position: absolute;
        top: 45%;
        text-shadow: 2px 2px 4px var(--negro);
        right: 5%;
        font-family: Poppins;
        text-transform: uppercase;
        font-weight: 700;
        letter-spacing: 1px;
    }

    #testimonios {
        background: url(../img/testimonios-bg.png);
        background-repeat: no-repeat;
        background-position-y: bottom;

    }

    #navOwl {
        position: absolute;
        width: 150%;
        top: 25%;
        bottom: unset;
        z-index: 99;
    }

    #formulario-c {
        background-image: url(../img/bg-form2.png);

    }
}

@media screen and (min-width: 992px) {
    #banner-top {
        background-image: url(../img/banner-top-desktop2.png);
        height: 50vh;

    }

    .pqitem {
        display: flex;
        flex-direction: column;
        flex: 0 0 47%;
        margin: 5px;
        box-shadow: 1px;
        height: 200px;
        -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
        -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
        box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
    }
}

/* Animaciones  */

/* Animación con keyframe llamada "latidos" */
@keyframes latidos {
    from { transform: none; }
    50% { transform: scale(1.05); }
    to { transform: none; }
}
@keyframes taadaa { 
    0% {
      opacity: 0;
    }
  
    100% {
      opacity: 1;
    }
  }
.latido {
    animation: latidos 1s infinite;
    -webkit-box-shadow: 0px 0px 25px 0px rgba(255,255,255,1);
        -moz-box-shadow: 0px 0px 25px 0px rgba(255,255,255,1);
        box-shadow: 0px 0px 25px 0px rgba(255,255,255,1);

}
@media screen and (min-width: 577px) and (max-width: 991px) {
    
    .BtonFlotante2 > .menuWhatsapp {
      transform: translate(80%, -25%);
      z-index: 100;
      width: 80%;
      height: 40%;
    }
}

/*-------------------------------------------------*/

/* Estilo para el botón ajuste Duvan */
  /* Estilo del encabezado */
  .menu-toggle {
    cursor: pointer;
    padding: 10px 15px;
    border: none;
    font-size: 16px;
    text-align: left;
    color: #042F53;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 1000;
  }
  

  
  .menu-toggle img {
    width: 15px;
    height: 15px;
    transition: transform 0.3s ease;
  }
  .menu-toggle.open img {
    transform: rotate(180deg); /* Gira la imagen 180 grados */
  }
  

  
  .menu-toggle:hover {

  }
  

  
  .menu-content {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
    border-top: 1px solid #ddd;
    display: flex;
    gap: 20px;
    padding: 20px;
    box-sizing: border-box;
  }
  .left-menu {
    width: 30%;
    border-right: 1px solid #ccc;
  }
  
  .menu-list {
    list-style: none;
    padding: 0;
  }
  
  .menu-list li {
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border: 1px dashed #d6d6d6;
    margin-bottom: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .menu-list li.active {
    background-color: #f8d7da;
    color: #721c24;
  }
  
  .menu-list li .arrow {
    border: solid 8px transparent;
    border-left: solid 8px #721c24;
    margin-left: auto;
    transition: border-color 0.3s ease;
  }
  
  .menu-list li.active .arrow {
    border-left-color: #d8000c;
  }
  
  .right-content {
    width: 70%;
  }
  
  .program-list {
    list-style: none;
    padding: 0;
  }
  
  .program-list li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
  }
  

  /*Menu en mobile*/


  .hamburger {
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    font-size: 24px;
    display: none;
}

.menu-container-mobile {
    padding: 20px;
    background-color: #003a70;
    max-width: 400px;
    margin: auto;
    z-index: 9999; /* Asegura que el menú esté por encima de otros elementos */
    position: relative; /* Necesario para que el z-index funcione */
}

.menu-item-mobile {
    margin-bottom: 15px;
}

.menu-item-mobile button {
    background-color: #004080;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
}

.submenu {
    display: none;
    margin-top: 10px;
    padding-left: 20px;
}

.submenu a {
    display: block;
    color: white;
    text-decoration: none;
    margin: 5px 0;
}

.submenu a:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .hamburger {
        display: block;
    }

    .menu-container-mobile {
        display: none;
    }

    .menu-container-mobile.active {
        display: block;
    }
}
.ocultar_desktop {
    display: none !important;
}
.ocultar_mobile {
    display: block !important;
}


@media (max-width: 1200px) {

    .ocultar_desktop {
        display: flex !important; 
    }

    .ocultar_mobile {
        display: none !important;
    }
}

.select-wrap{
  position: relative;
}

/* El select ocupa el ancho y trunca */
.select-wrap select#program{
  width: 100%;
  max-width: 100%;
  padding-right: 2.5rem;            /* espacio para la flecha */
  white-space: nowrap;               /* no hacer wrap */
  overflow: hidden;                  /* ocultar desborde */
  text-overflow: ellipsis;           /* … */
  appearance: none;                  /* quitar flecha nativa */
  -webkit-appearance: none;
  background-image: none !important; /* evitar flechas/gradientes del framework */
}

/* Flecha personalizada (puro CSS) */
.select-wrap::after{
  content: "";
  position: absolute;
  right: .75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #0d6efd;     /* color de la flecha (ajusta al diseño) */
  pointer-events: none;
}

