/*
Theme Name: Joyn Child
Description: Joyn Child
Template: joyn
*/

/*Add your own styles here:*/
/*html.js.nice-scroll-enabled {
    overflow-y: visible !important;
}*/
.swiper-slide .caption-wrap.container {
    width: 500px; }
.caption-wrap.container.left {
    left: 10%;
    position: absolute; }
.caption-wrap.container.right {
    right: 10%;
    position: absolute; }

.sf-video-wrap .sf-video-cover{
    position: absolute;
    width: 100%;
    display: block;
    height: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.sf-video-wrap.played .sf-video-cover{
    display: none;
}
.sf-video-wrap .sf-video-play{
    display: block;
    position: absolute;
    width: 80px;
    height: 80px;
    background: url("images/icon-play-button.png") center no-repeat;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.swiper-slide .caption-content > h2.caption-title {
    font-family: Merriweather;
    line-height: 48px;
    letter-spacing: -2px;
    font-weight: 300;
    font-style: normal;
    font-size: 50px;
}

.thumbnail-gallery-standard .ss-view:before,
.thumbnail-gallery-standard .ss-view.right:after{
    content:'🔎';
}
.ilightbox-holder .ilightbox-container .ilightbox-social{
    display: none !important;
}

.mobile-only {
    display: none;
}

.swiper-slide .caption-content .mobile-only{
    text-align: center;
}

@media screen and (max-width: 767px) {

    .home .mobile-only,
    .custom_spb_parallax .mobile-only{
        display: block;
    }

    .home .mobile-up,
    .custom_spb_parallax .mobile-up{
        display: none;
    }

    .custom_spb_parallax{
        background: #fff !important;
        padding: 0;
        box-shadow: none;
        height: auto !important;
    }

    .custom_spb_parallax .spb_content_wrapper .mobile-only{
        padding: 0 30px;
    }
    .custom_spb_parallax .spb-divider{
        width: 30%;
        min-width: 150px;
        margin: 10px auto 0;
        height: 2px;
        background: #b1b1b1;
    }

    .custom_spb_parallax .mobile-image img{
        height: auto;
        max-height: 365px;
        width: 100%;
    }


    .home .swift-slider .swiper-slide {
        background: #fff !important;

    }
    .home .swift-slider,
    .home .swift-slider .swiper-wrapper,
    .home .swift-slider .swiper-slide {
        height: 350px !important;
    }

    .home .swift-slider .swiper-slide .caption-wrap{
        position: relative;
        width: 100%;
        max-width: none;
        right: 0;
        left: 0;
        height: auto;
    }
    .home .swift-slider .swiper-slide .caption-content{
        position: static;
        margin-top: 20px !important;
    }

    .home .swift-slider .swiper-slide .caption-content > h2.caption-title,
    .home .swift-slider .swiper-slide .caption-content > h2.caption-title span,
    .home .swift-slider .swiper-slide .caption-content > .caption-excerpt,
    .home .swift-slider .swiper-slide .caption-content > .caption-excerpt p{
        color: #252525 !important;
        font-family: "Merriweather";
        text-shadow: none;
        line-height: 1.4;
    }

    .home .swift-slider .swiper-slide .caption-content > .caption-excerpt a.sf-button{
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .home .swift-slider .swiper-slide .caption-content > .caption-excerpt a.sf-button,
    .home .swift-slider .swiper-slide .caption-content > .caption-excerpt a.sf-button .sf-button-border,
    .home .swift-slider .swiper-slide .caption-content > .caption-excerpt a.sf-button .text{
        border-color: #252525;
        font-size: inherit;
        font-family: inherit;
        font-weight: normal;
        letter-spacing: 0;
    }

    .home .swift-slider .swiper-slide .mobile-image{
        margin: 0 -15px;
    }
    .home .swift-slider .swiper-slide .mobile-image img {
        height: auto;
        max-height: 365px;
        width: 100%;
    }

    .home .swift-slider ~ .inner-page-wrap{
        margin-top: 0;
    }
    .home .swift-slider ~ .inner-page-wrap .title-wrap{
        margin-bottom: 0;
    }

}

.swift-slider-prev:hover, .swift-slider-next:hover {
    width: 50px !important;
}

.swift-slider-prev h4, .swift-slider-next h4 {
    display: none;
}