.featured-slider-wrapper {
    text-align: center;
}

.featured-slider-head {
    max-width: 600px;
    margin: 0 auto;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    border: 1px solid #dddddd;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-slider .swiper-slide .colorbox.cboxElement {
    position: relative;
    display: block;
}

.featured-slider .swiper-slide .colorbox.cboxElement:hover::before {
    opacity: 1;
}

.featured-slider .swiper-slide .colorbox.cboxElement:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.featured-slider .swiper-slide .colorbox.cboxElement::before {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    content: '';
    border: 1px solid rgba(0,0,0,0.5);
    background-color: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}


.featured-slider .swiper-slide .colorbox.cboxElement::after {
    content: '\F52A';
    font-family: 'bootstrap-icons';
    position: absolute;
    left: 50%;
    font-size: 25px;
    font-weight: bold;
    top: 50%;
    transform: translate(-50%, 20%);
    color: #2ea3f2;
    opacity: 0;
    transition: all 0.3s ease;
}


.featured-slider-content {
    background-color: #fafafa;
    padding-top: 60px;
    padding-bottom: 40px;
}

.featured-slider-pagination {
    margin: 20px 0;
}

.featured-slider .swiper-pagination-bullet {
    background: transparent;
    width: 12px;
    height: 12px;
    text-indent: -9999px;
    border: #aaa solid 1px;
    border-radius: 50%;
    padding: 0;
    display: inline-block;
    opacity: 1;
}

#cboxContent {
    margin-top: 40px;
    margin-bottom: 20px;
}
#cboxContent #cboxTitle,
#cboxContent #cboxCurrent {
    bottom: -20px;
    top: auto;
    color: #fff; 
}

#cboxOverlay {
    background-color: #0b0b0b;
}
#cboxClose {
    color: transparent;
    background: transparent;
    text-indent: 0;
    top: -50px;
}
#cboxClose::before {
    content: '\F62A';
    font-size: 50px;
    font-family: 'bootstrap-icons';
    font-weight: 200;
    opacity: 0.5;
    color: #fff;
    transition: all 0.3s ease;
}
#cboxClose:hover::before {
    opacity: 1;
}

@media (min-width: 768px) { 

    #colorbox, #cboxOverlay, #cboxWrapper {
        overflow:visible;   
    }
    
    #cboxPrevious {
        left: -50px;
        background: transparent;
        text-indent: 0;
        color: transparent;
    
    }
    
    #cboxNext {
        right: -30px;
        color: transparent;
        text-indent: 0;
        background: transparent;
    }
    
    #cboxPrevious::before,
    #cboxNext::before {
        content: '\F284';
        font-size: 50px;
        font-family: 'bootstrap-icons';
        font-weight: 200;
        opacity: 0.5;
        color: #fff;
        transition: all 0.3s ease;   
    }
    
    #cboxNext::before {
        content: '\F285';
    }
    
    #cboxPrevious:focus {
        outline: none;
    }
    
    #cboxPrevious:hover::before,
    #cboxNext:hover::before {
        opacity: 1;
    }
}
