@keyframes aparecerDerecha {
    from {right: -200px; opacity: 0;}
    to {right: 0; opacity: 1;}
}

@keyframes aparecer {
    from {opacity: 0}
    to {opacity: 1}
}

.lightSlider {
    width: 100%;
    height: calc( 100vh - 91px );
    margin-top: 91px;
    position: relative;
    overflow: hidden;
    min-height: 540px;
}

.admin-bar .lightSlider {
    height: calc( 100vh - 123px )
}

.lightSlider .slide {
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
    animation: aparecer 1s forwards;
    -webkit-animation: aparecer 1s forwards;
}

.lightSlider .slide > img {
    object-fit: cover;
    width: 100%!important;
    height: 100%!important;
}

.lightSlider .text-wrap {
    position: absolute;
    height: 100%;
    width: calc( var(--halfSection) * 2 );
    margin: 0 calc( 50% - var(--halfSection) );
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    bottom: 0;
    right: -200px;
    opacity: 0;
    animation: aparecerDerecha 1.5s forwards;
    animation-delay: 1s;
    -webkit-animation: aparecerDerecha 1.5s forwards;
}

.lightSlider .text-wrap .title {
    color: var(--principal);
    font-family: var(--fontContent);
    font-size: 68px;
    line-height: 1;
    font-weight: 600;
    max-width: 680px;
    margin-bottom: 30px;
}

.lightSlider .text-wrap .subtitle {
    color: var(--principal);
    font-family: var(--fontTitle);
    font-size: 27px;
    line-height: 1.2;
    max-width: 380px;
    text-transform: uppercase;
}

.lightSlider .imagen-fondo {
    height: 350px;
    text-align: right;
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.lightSlider .imagen-fondo img {
    height: 100%;
}

.lightSlider .video-wrap, 
.lightSlider .video-wrap .video iframe {
    width: 100%;
    height: 100%;
}

.lightSlider .video-wrap .video {
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
    margin-top: -100px;
}

.lightSlider .video-wrap .video iframe {
    position: absolute;
    left: 0;
    top: 0;
}

.lightSlider .video-wrap .video:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.lightSlider .arrow {
    display: block;
    position: absolute;
    width: 40px;
    height: 40px;
    top: 50%;
    margin-top: -20px;
    background: black;
    opacity: .7;
    z-index: 200;
    cursor: pointer;
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.lightSlider .arrow:before {
    content: "";
    display: block;
    position: absolute;
    width: 50%;
    height: 50%;
    top: 25%;
    left: 25%;
}

.lightSlider .arrow:hover {
    opacity: .9;
}

.lightSlider .arrow.arrowRight {
    right: 50px;
}

.lightSlider .arrow.arrowRight:before {
    background: url(./right-arrow.svg) center center/contain no-repeat;

}

.lightSlider .arrow.arrowLeft {
    left: 50px;
}

.lightSlider .arrow.arrowLeft:before {
    background: url(./left-arrow.svg) center center/contain no-repeat;
}

.lightSlider .moreInfo {
    display: block;
    position: absolute;
    z-index: 200;
    bottom: 0;
    left: calc( 50% - var(--halfSection) );
    text-transform: uppercase;
}

.lightSlider .moreInfo:before {
    content: "";
    position: absolute;
    height: 50px;
    width: 4px;
    background: var(--principal);
    left: 50%;
    margin-left: -2px;
    bottom: 150%;
}

.lightSlider .moreInfo > a {
    display: flex;
    align-items: center;
    color: white;
    line-height: 20px;
    font-size: 20px;
    width: 40px;
    height: 40px;
    justify-content: center;
}

.lightSlider .moreInfo > a:before {
    content: "";
    background: url(/wp-content/uploads/2022/12/onda-2022-12-28.svg) bottom center/contain no-repeat;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    height: 100%;
    width: 310%;
}

.lightSlider .point-nav {
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: 25%;
    z-index: 100;
}

.lightSlider .point-nav .point {
    width: 15px;
    height: 15px;
    background: white;
    display: inline-block;
    margin: 0 5px;
    opacity: .6;
    cursor: pointer;
    transition: all ease-in-out .3s;
    -webkit-transition: all ease-in-out .3s;
    -moz-transition: all ease-in-out .3s;
    -ms-transition: all ease-in-out .3s;
    -o-transition: all ease-in-out .3s;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.lightSlider .point-nav .point.active,
.lightSlider .point-nav .point:hover {
    opacity: 1;
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
    .lightSlider {
        min-height: 475px;
    }

    .lightSlider .imagen-fondo {
        height: 290px;
    }

    .lightSlider .text-wrap .title {
        font-size: 54px;
        max-width: 560px;
        margin-bottom: 20px;
    }

    .lightSlider .text-wrap .subtitle {
        font-size: 22px;
        max-width: 330px;
    }
}

@media only screen and (max-width: 767px) {
    .lightSlider {
        height: 460px;
        margin-top: 0;
        min-height: 460px;
    }

    .lightSlider .text-wrap {
        width: 80%;
        margin: 0 10%;
        justify-content: flex-start;
        top: 70px;
    }

    .lightSlider .text-wrap .title {
        font-size: 40px;
        max-width: 410px;
    }

    .lightSlider .text-wrap .subtitle {
        font-size: 20px;
        max-width: 300px;
    }

    .lightSlider .imagen-fondo {
        height: 240px;
        top: 70%;
    }
}

@media only screen and (max-width: 500px) {
    .lightSlider .text-wrap .title {
        font-size: 35px;
        max-width: 360px;
        margin-bottom: 15px;
    }

    .lightSlider .text-wrap .subtitle {
        font-size: 18px;
        max-width: 260px;
    }

    .lightSlider .imagen-fondo {
        height: 175px;
        top: 80%;
    }
}