﻿.course-page-gallery-wrapper {
    position: relative;
}

.course-page-breadcrumb-wrapper {
    background: #000;
    background: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
    color: #fff;
    position: absolute;
    top: 0;
    z-index: 10;
    width: 100%;
}

.course-page-breadcrumb {
    padding-top: 20px;
    padding-bottom: 20px;
}

    .course-page-breadcrumb a {
        color: #fff;
        text-decoration: none;
        border-bottom: 0;
    }

.swiper {
    width: 100%;
    height: auto;
    background-color: #000;
}

.swiperCourseGallery {
    margin-bottom: 20px;
}

@media all and (min-width: 768px) {
    .swiperCourseGallery {
        margin-bottom: 0;
    }
}

.swiper-button-next, .swiper-button-prev {
    --swiper-navigation-size: 66px;
    background-color: rgba(0,0,0,1);
    margin-top: 0 !important;
    height: calc(var(--swiper-navigation-size));
    width: calc(var(--swiper-navigation-size));
    top: 27%;
    opacity: 0;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

@media all and (min-width: 900px) {
    .swiper-button-next, .swiper-button-prev {
        margin-top: -33px !important; /* var(--swiper-navigation-size) / 2 */
        top: 40%;
    }
}

.swiper:hover .swiper-button-next, .swiper:hover .swiper-button-prev {
    opacity: 1;
}

.swiper-button-next {
    right: 0;
}

.swiper-button-prev {
    left: 0;
}

    .swiper-button-next::after, .swiper-button-prev::after {
        font-size: calc(var(--swiper-navigation-size) / 2);
    }

    .swiper-button-next:hover, .swiper-button-prev:hover {
        background-color: #007099;
    }

/*.swiper-slide img {
    display: block;*/
/*width: 100%;*/
/*height: auto;*/ /*IE11*/
/*object-fit: cover;*/
/*}*/

.swiper-slide img {
    width: 100%;
}

.swiper__caption {
    background-color: #000;
    color: #fff;
    display: block;
    font-family: Lato, Arial, sans-serif;
    font-size: .9rem;
    padding: 20px;
    position: relative;
    text-align: center;
    width: auto;
}

@media (min-width: 768px) {
    .swiper__caption {
        font-size: 1.1rem;
        padding: 30px 20px;
    }
}

.swiper-pagination {
    display: block;
    position: relative;
    bottom: 0;
    padding-bottom: 20px;
    padding-top: 0;
    top: 0;
    width: 100%;
    background: #000;
}

@media (min-width: 768px) {
    .swiper-pagination {
        display: none;
        padding-bottom: 30px;
    }
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #00aeef;
}

/* Thumbnail swiper */

.swiperCourseGalleryThumbnails {
    display: none;
    margin-bottom: 30px;
    box-sizing: border-box;
    max-width: none;
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 768px) {
    .swiperCourseGalleryThumbnails {
        display: block;
    }
}

@media (min-width: 1000px) {
    .swiperCourseGalleryThumbnails {
        padding-left: 5vw;
        padding-right: 5vw;
    }
}

@media (min-width: 1200px) {
    .swiperCourseGalleryThumbnails {
        padding-left: 10vw;
        padding-right: 10vw;
    }
}

.swiperCourseGalleryThumbnails .swiper-wrapper {
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
    gap: 10px;
}

@media (min-width: 768px) {
    .swiperCourseGalleryThumbnails .swiper-wrapper {
        padding-bottom: 30px;
        gap: 20px;
    }
}

.swiperCourseGalleryThumbnails .swiper-wrapper .swiper-slide {
    opacity: 0.4;
    flex: 1;
}

@media (min-width: 768px) {
    .swiperCourseGalleryThumbnails .swiper-wrapper .swiper-slide {
        flex: 1;
    }
}

@media (min-width: 1024px) {
    .swiperCourseGalleryThumbnails .swiper-wrapper .swiper-slide {
        flex: .15;
    }
}

@media (min-width: 1366px) {
    .swiperCourseGalleryThumbnails .swiper-wrapper .swiper-slide {
        flex: .1;
    }
}

.swiperCourseGalleryThumbnails .swiper-wrapper .swiper-slide-thumb-active {
    opacity: 1;
}

.swiperCourseGalleryThumbnails .swiper-wrapper .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    cursor: pointer;
}
