/*
|-----------------------------------------------------------------------------------------------------------
| HOMEPAGE SLIDESHOW SECTION
|-----------------------------------------------------------------------------------------------------------
*/

.header-slideshow .home-header {
    position: relative;
    padding-bottom: 38px;
}

.header-slideshow .item .img-cont {
    position: relative;
}

.header-slideshow .item .img-cont::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1));
}

.header-slideshow .item .img-cont img {
    display: block;
    width: 100%;
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 30%);
    mask-image: linear-gradient(to top, transparent 0%, black 30%);
}

.header-slideshow .home-header .item .img-cont video {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    min-width: 100%;
    width: auto;
    height: auto;
    min-height: 100%;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease-in;
    -webkit-mask-image: linear-gradient(to top, transparent 20%, black 35%);
    mask-image: linear-gradient(to top, transparent 20%, black 35%);
}

.header-slideshow .home-header .item .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    font-size: 80px;
    color: #FFF;
}

.header-slideshow .item .slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    text-align: center;
}

.header-slideshow .item .slide-content h2 {
    font-family:'Avenir LT W01_45 Book1475508';
    font-size: 34px;
    line-height: 36px;
    margin: 0 0 15px;
    color: white;
}

.header-slideshow .item .slide-content .desc {
    font-family:'Avenir LT W01_55 Roman1475520';
    font-size: 18px;
    line-height: 22px;
    color: white;
    margin: 0;
}

.header-slideshow .custom-arrow {
    display: none !important;
}

@media (min-width: 641px) {
    .header-slideshow .item .img-cont::after {
        display: none;
    }
}

@media (min-width: 1025px) {
    .header-slideshow .home-header {
        padding-top: 63px;
    }
    .header-slideshow .custom-arrow {
        display: block !important;
        position: absolute;
        top: 30%;
        z-index: 100;
        width: 27px;
        cursor: pointer;
    }
    .header-slideshow .custom-arrow .slick-prev,
    .header-slideshow .custom-arrow .slick-next{
        width: 50px;
        height: 50px;
        text-align: center;
    }
    .header-slideshow .custom-arrow .slick-prev:before, 
    .header-slideshow .custom-arrow .slick-next:before{
        font-size: 30px;
        line-height: 50px;
        opacity: .9;
    }
    .header-slideshow .custom-arrow.prev {
        left: 30px;
    }
    .header-slideshow .custom-arrow.next {
        right: 30px;
    }
    .header-slideshow .item .img-cont::after {
        display: none;
    }
    .header-slideshow .home-header .item .img-cont video.loaded {
        opacity: 1;
    }

    .header-slideshow .home-header .item .img-cont picture.has-vimeo img{
        opacity: 0 !important;
    }
    .header-slideshow .home-header .item .play-btn.vimeo {
        display: none;
    }
    
    .header-slideshow .home-header .item .img-cont video {
        -webkit-mask-image: linear-gradient(to top, transparent 18%, black 32%);
        mask-image: linear-gradient(to top, transparent 18%, black 32%);
    }
    .header-slideshow .item .slide-content {
        width: 50%;
        text-align: left;
        left: 25px;
        bottom: auto;
        top: 53%;
        z-index: 5;
    }
    .header-slideshow .item .slide-content h2 {
        font-size: 42px;
        line-height: 46px;
    }
}
@media (min-width: 1200px) {
    .header-slideshow .home-header .item .img-cont video {
        -webkit-mask-image: linear-gradient(to top, transparent 10%, black 35%);
        mask-image: linear-gradient(to top, transparent 10%, black 35%);
    }
}
/**** DOTS ****/

.header-slideshow ul.slick-dots {
    position:absolute;
    bottom:0px;
    height:38px;
    width:100%;
    margin:0px;
    text-align:center;
    padding:0px;
    list-style:none;
    background: rgba(0, 0, 0, 0.95);
}
.header-slideshow ul.slick-dots li {    
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    display:inline-block;
}
.header-slideshow ul.slick-dots li button {
    background-color:transparent!important;
    width:14px;
    height:14px;
    font-size:0px;
    padding:0px;
    margin:0px 8px 0px 8px; 
    border:2px #fff solid;  
    border-radius:50%;  
    vertical-align: top;
}
.header-slideshow ul.slick-dots li.slick-active button { 
    background-color: white !important; 
}
.header-slideshow ul.slick-dots li button:before {
    content: "";
}
@media (min-width: 641px) {
    .header-slideshow ul.slick-dots {
        background: transparent;
    }
}
/**** END DOTS ****/