/* Banner */
.section-home-destacados {
    position: relative;
}

.home-destacado-imagen {
  background-position: center;
}

.home-destacado-imagen .box-height {
    position: relative;
    height: 450px;
}

.home-destacado-imagen .height {
    position: absolute;
    top: 40%;
    transform: translate(0, -40%);
}

.home-destacado-imagen .btn-height {
    position: absolute;
    bottom: 50px;
}

.home-destacado-imagen .title {
    color: #fff;
    font-family: "SharpGroteskBold";
    font-size: calc(1.5rem + 1.5vw);
    line-height: 1.2;
    text-transform: uppercase;
    text-shadow: 0px 2px 4px rgb(0 0 0 / 70%);
}

.home-destacado-imagen .description {
    color: #fff;
    font-family: "TelegrafUltraBold";
    font-size: 1.2rem;
    text-shadow: 0px 2px 4px rgb(0 0 0 / 70%);
}

.section-outpages .block span.title-medium {
    font-family: "SharpGroteskBold";
    line-height: 1;
    padding: 1em 1em 0 2em;
    text-shadow: 0px 2px 4px rgb(0 0 0 / 70%);
}

.block-horizontal h2 {
    font-family: "SharpGroteskSemiBold";
}

.section-home-destacados #slide_home .owl-dots {
    position: absolute;
    bottom: 5px;
    right: 20px;
}

.section-home-destacados #slide_home .owl-dots .owl-dot span {
    background-color: #fff;
}

.section-home-destacados #slide_home .owl-dots .owl-dot.active span {
    width: 40px;
}

.section-home-destacados #slide_home .owl-stage-outer::after {
    content: "";
    width: 100%;
    height: 48px;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.2) 100%);
    position: absolute;
    bottom: 0;
}

a.btn-slider {
    background: #ffffff;
    border: none;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #000000;
    display: inline-block;
    font-family: "TelegrafUltraBold";
    padding: 16px 60px 16px 20px;
    position: relative;
}

a.btn-slider:after {
    background: url("/sites/all/themes/upn/imagenes/icono-flecha-boton.svg");
    content: "";
    width: 25px;
    height: 15px;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translate(0, -50%);
}

a.btn-slider:hover::after {
    background: url("/sites/all/themes/upn/imagenes/icono-flecha-blanco-boton.svg");
}

a.btn-slider:hover,
a.btn-slider:focus {
    background: #000;
    color: #fff;
    text-decoration: none;
    transition: all 0.5s ease;
}

.section-home-destacados .mouse-down {
    display: none;
}

.active .slider .home-destacado-imagen a {
    -webkit-animation-duration: 2.21s !important;
    animation-duration: 2.21s !important;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: fadeInRight;
    animation-name: fadeInRight;
}

.section-home-destacados #slide_home .owl-dots {
    -webkit-animation-duration: 1.91s !important;
    animation-duration: 1.91s !important;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: fadeInRight;
    animation-name: fadeInRight;
}

@-webkit-keyframes fadeInRight {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-200px);
    }

    25% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(-200px);
    }

    25% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.fadeInRight {
    -webkit-animation-name: fadeInRight;
    animation-name: fadeInRight;
}

/* Estilos generales para los dots */
.owl-theme .owl-dots,
.owl-theme .owl-dots {
    margin-top: 24px;
}

.owl-theme .owl-dots .owl-dot span,
.owl-theme .owl-dots .owl-dot span {
    width: 16px;
    height: 16px;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot.active span {
    background: #fdba30 !important;
    opacity: 0.99;
}

/* Preguntas frecuentes */
.becas-ayuda-economica {
    background-color: #404041;
    color: #fff;
    padding: 15px;
}

.style-i-ayuda {
    color: #fdba30;
}

.border-bienvenido {
    background: #f6f6f6;
    border-top: 1px solid #eaeaea;
}

@media (min-width: 425px) {
    .home-destacado-imagen .box-height {
        height: 535px;
    }

    .home-destacado-imagen .height {
        top: 50%;
        transform: translate(0, -50%);
    }
}

@media (min-width: 768px) {
    .section-home-destacados #slide_home .owl-dots {
        right: 10%;
    }

    .section-home-destacados .mouse-down {
        position: absolute;
        left: 50%;
        margin-left: -103px;
        bottom: -9px !important;
        z-index: 9;
        display: block;
    }

    .section-home-destacados .mouse-down::before {
        content: "";
        width: 25px;
        height: 30px;
        display: block;
        position: absolute;
        bottom: 6px;
        left: 0;
        right: 0;
        margin: auto;
        background-image: url("/sites/default/themes/upn/img/icon-slider-2.png");
        background-repeat: no-repeat;
        background-position: center;
        animation: MoveUpDown 4.1s linear infinite;
    }

    @keyframes MoveUpDown {

        0%,
        100% {
            bottom: 10px;
        }

        50% {
            bottom: -15px;
        }
    }

    .becas-ayuda-economica {
        background-color: #eaeaea;
        color: #000;
        cursor: pointer;
    }

    .style-i-ayuda {
        background-color: #fff;
        border-radius: 50px;
        padding: 10px;
    }
}

@media (min-width: 992px) {
    .section-outpages .block span.title-medium {
        font-size: calc(1.6rem + 1.3vw);
        line-height: 1;
    }
}

@media (min-width: 1200px) {
    .home-destacado-imagen .title {
        font-size: 3.3rem;
    }

    .home-destacado-imagen .description {
        font-size: 1.3rem;
    }

    .section-outpages .block span.title-medium {
        font-size: 44px;
    }
}