/* ==========================================================================
   SKYSTONE WIDGET - SLIDES
   Own CSS only.
   ========================================================================== */

body.template-skystone .sky-feature__slides .site-slides {
    position: relative;

    width: 535px;
    max-width: 100%;
    height: 268px;

    margin: 0;
    padding: 0;

    overflow: hidden;
    background: #eef7f9;
}

body.template-skystone .sky-feature__slides .site-slides-track,
body.template-skystone .sky-feature__slides .site-slide,
body.template-skystone .sky-feature__slides .site-slide > a {
    width: 100%;
    height: 100%;
}

body.template-skystone .sky-feature__slides .site-slide {
    position: absolute;
    inset: 0;

    opacity: 0;
    visibility: hidden;

    transition: opacity .28s ease;
}

body.template-skystone .sky-feature__slides .site-slide.is-active {
    opacity: 1;
    visibility: visible;
}

body.template-skystone .sky-feature__slides .site-slide img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

body.template-skystone .sky-feature__slides .site-slides-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;

    width: 42px;
    height: 64px;

    margin: 0;
    padding: 0;

    border: 0;
    background: rgba(255,255,255,.64);

    transform: translateY(-50%);
    cursor: pointer;
}

body.template-skystone .sky-feature__slides .site-slides-arrow.prev {
    left: 0;
}

body.template-skystone .sky-feature__slides .site-slides-arrow.next {
    right: 0;
}

body.template-skystone .sky-feature__slides .site-slides-arrow::before {
    content: "";

    position: absolute;
    top: 50%;
    left: 50%;

    width: 11px;
    height: 11px;

    border-top: 3px solid #57c4d8;
    border-right: 3px solid #57c4d8;
}

body.template-skystone .sky-feature__slides .site-slides-arrow.prev::before {
    transform: translate(-35%, -50%) rotate(-135deg);
}

body.template-skystone .sky-feature__slides .site-slides-arrow.next::before {
    transform: translate(-65%, -50%) rotate(45deg);
}

body.template-skystone .sky-feature__slides .site-slides-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    z-index: 6;

    display: flex;
    justify-content: center;
    gap: 8px;
}

body.template-skystone .sky-feature__slides .site-slides-dot {
    width: 9px;
    height: 9px;

    margin: 0;
    padding: 0;

    border: 2px solid #fff;
    border-radius: 50%;

    background: #78b5c3;
    cursor: pointer;
}

body.template-skystone .sky-feature__slides .site-slides-dot.is-active {
    width: 13px;
    height: 13px;

    margin-top: -2px;

    background: #19b7d1;
}

@media (max-width: 790px) {
    body.template-skystone .sky-feature__slides .site-slides {
        width: 100%;
        height: 250px;
    }
}
