.smart-slider-widget {
    position: relative;
    clear: both;
}

.smart-slider-widget:not(.has-bg-color) .smart-slider-wrapper {
    overflow: hidden;
}

.smart-slider-surface {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.smart-slider-wrapper .swiper {
    width: 100%;
    max-width: 100%;
    overflow: hidden !important;
    box-sizing: border-box;
}

.smart-slider-wrapper .swiper:not(.swiper-initialized) {
    overflow: hidden !important;
}

.smart-slider-wrapper .swiper:not(.swiper-initialized) .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
    transform: translate3d(0, 0, 0);
    overflow: hidden;
    width: 100%;
}

.smart-slider-wrapper:not(.smart-slider-multi-view) .swiper:not(.swiper-initialized) .swiper-slide {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.smart-slider-wrapper:not(.smart-slider-multi-view) .swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) {
    visibility: hidden;
    pointer-events: none;
}

.smart-slider-wrapper .swiper.swiper-initialized .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
}

.smart-slider-wrapper:not(.smart-slider-multi-view) .swiper.swiper-initialized .swiper-slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    flex-shrink: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.smart-slider-wrapper:not(.smart-slider-multi-view) .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
}

.smart-slider-wrapper.smart-slider-multi-view .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    box-sizing: border-box;
    height: auto;
}

.smart-slider-wrapper .swiper-slide.picture-slide {
    position: relative;
    overflow: hidden;
}

.smart-slider-wrapper .swiper-slide.picture-slide .picture-slide-inner {
    position: relative;
    display: block;
    width: 100%;
    line-height: 0;
}

.smart-slider-wrapper .swiper-slide.picture-slide > a,
.smart-slider-wrapper .swiper-slide.picture-slide .picture-slide-inner > a {
    display: block;
    width: 100%;
    line-height: 0;
}

.smart-slider-wrapper .swiper-slide.picture-slide img.smart-slide-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
}

.smart-slider-wrapper .swiper-slide.html-slide {
    height: auto;
    overflow: hidden;
    box-sizing: border-box;
}

.smart-slider-wrapper .html-slide-content {
    width: 100%;
    max-width: 100%;
    padding: 15px;
    box-sizing: border-box;
    overflow: hidden;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.smart-slider-wrapper .html-slide-content img,
.smart-slider-wrapper .html-slide-content video,
.smart-slider-wrapper .html-slide-content iframe,
.smart-slider-wrapper .html-slide-content embed,
.smart-slider-wrapper .html-slide-content object {
    max-width: 100%;
    height: auto;
}

.smart-slider-wrapper .html-slide-content table {
    max-width: 100%;
    table-layout: fixed;
}

.smart-slider-wrapper .html-slide-content pre {
    max-width: 100%;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-x: auto;
}

.smart-slider-wrapper .single-picture-caption,
.smart-slider-wrapper .slide-caption,
.smart-slider-grid-wrapper .slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.65);
    width: 100%;
    color: #fff;
    padding: 10px 15px;
    font-size: 14px;
    line-height: 1.4;
    z-index: 8;
    text-align: center;
    box-sizing: border-box;
}

.smart-slider-wrapper.smart-slider-multi-slide .swiper {
    padding-bottom: 46px;
    box-sizing: border-box;
}

.smart-slider-wrapper .smart-slider-control-hidden {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.smart-slider-wrapper .swiper-pagination {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px 0;
    z-index: 10;
}

.smart-slider-wrapper .swiper-pagination-bullet {
    background: #ccc;
}

.smart-slider-wrapper .swiper-pagination-bullet-active {
    background: #4ab2f1;
}

.smart-slider-wrapper .swiper-button-next,
.smart-slider-wrapper .swiper-button-prev {
    color: #4ab2f1;
    z-index: 10;
    top: 50%;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.smart-slider-wrapper .swiper-button-next::after,
.smart-slider-wrapper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: 700;
}

@media (max-width: 767px) {
    .smart-slider-wrapper .swiper-button-next,
    .smart-slider-wrapper .swiper-button-prev {
        width: 30px;
        height: 30px;
        margin-top: -15px;
    }

    .smart-slider-wrapper .swiper-button-next::after,
    .smart-slider-wrapper .swiper-button-prev::after {
        font-size: 13px;
    }

    .smart-slider-wrapper .swiper-button-prev {
        left: 6px;
    }

    .smart-slider-wrapper .swiper-button-next {
        right: 6px;
    }

    .smart-slider-wrapper.smart-slider-multi-slide .swiper {
        padding-bottom: 40px;
    }

    .smart-slider-wrapper .swiper-pagination {
        padding: 8px 0;
    }

    .smart-slider-wrapper .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
}

/* Override DefaultClean theme global .swiper rules */
.smart-slider-wrapper .swiper {
    height: auto !important;
}

.smart-slider-wrapper .swiper .swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    box-sizing: border-box;
}

.smart-slider-wrapper:not(.smart-slider-multi-view) .swiper .swiper-slide {
    display: block !important;
    height: auto !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
}

.smart-slider-wrapper.smart-slider-multi-view .swiper-slide.picture-slide img.smart-slide-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
}

.smart-slider-wrapper.smart-slider-multi-view .swiper-slide.html-slide {
    height: auto;
    overflow: hidden;
    box-sizing: border-box;
}

.smart-slider-wrapper.smart-slider-multi-view .swiper .swiper-slide {
    display: block !important;
    height: auto !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
}

.smart-slider-wrapper-with-text .picture-with-text-slide {
    text-align: center;
}

.smart-slider-wrapper-with-text .slide-caption a,
.smart-slider-grid-with-text .slide-caption a {
    color: #fff;
    text-decoration: none;
}

.smart-slider-wrapper-with-text .slide-caption a:hover,
.smart-slider-grid-with-text .slide-caption a:hover {
    text-decoration: underline;
}

.smart-slider-grid-wrapper {
    position: relative;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.smart-slider-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.5%;
}

.smart-slider-grid-item {
    width: calc((100% / var(--smart-slider-pictures-per-row, 3)) - 1%);
    margin: 0 0.5% 20px;
    box-sizing: border-box;
}

.smart-slider-grid-item .html-slide-content {
    width: 100%;
    max-width: 100%;
    padding: 15px;
    box-sizing: border-box;
    overflow: hidden;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.smart-slider-grid-item .html-slide-content img,
.smart-slider-grid-item .html-slide-content video,
.smart-slider-grid-item .html-slide-content iframe,
.smart-slider-grid-item .html-slide-content embed,
.smart-slider-grid-item .html-slide-content object {
    max-width: 100%;
    height: auto;
}

.smart-slider-grid-item .html-slide-content table {
    max-width: 100%;
    table-layout: fixed;
}

.smart-slider-grid-item .html-slide-content pre {
    max-width: 100%;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-x: auto;
}

.smart-slider-grid-item .picture-slide-inner {
    position: relative;
    display: block;
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

.smart-slider-grid-item .picture-slide-inner > a {
    display: block;
    width: 100%;
    line-height: 0;
}

.smart-slider-grid-with-text .picture-with-text-slide {
    text-align: center;
}

.smart-slider-grid-item img.smart-slide-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
}

.smart-slider-wrapper {
    position: relative;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.smart-slider-widget.has-bg-color {
    padding: 50px 0;
    margin-bottom: 50px;
}

.smart-slider-widget.has-bg-color .smart-slider-wrapper .swiper,
.smart-slider-widget.has-bg-color .smart-slider-wrapper .swiper-slide {
    background: transparent;
}

.smart-slider-widget.has-bg-color .smart-slider-wrapper .swiper-pagination {
    background: transparent;
}

.smart-slider-widget.has-bg-color .smart-slider-wrapper .swiper-pagination-bullet {
    background: #fff;
    opacity: 1;
}

.smart-slider-widget.has-bg-color .smart-slider-wrapper .swiper-pagination-bullet-active {
    background: #4ab2f1;
}

.smart-slider-widget.has-bg-color.smart-slider-grid-mode {
    padding: 50px 0 0;
}

.smart-slider-bg-outer-color {
    position: absolute;
    top: 0;
    height: 100%;
    z-index: 0;
    left: calc(-50vw + 50%);
    width: 100vw;
    pointer-events: none;
}

.center-2 .smart-slider-widget .smart-slider-bg-outer-color,
.side-2 .smart-slider-widget .smart-slider-bg-outer-color {
    left: 0;
    width: 100%;
}

.smart-slider-widget.has-bg-color .smart-slider-surface > .swiper,
.smart-slider-widget.has-bg-color .smart-slider-surface > .title,
.smart-slider-widget.has-bg-color .smart-slider-surface > .short-description,
.smart-slider-widget.has-bg-color .smart-slider-surface > .smart-slider-grid,
.smart-slider-widget.has-bg-color .smart-slider-grid-wrapper > .title,
.smart-slider-widget.has-bg-color .smart-slider-grid-wrapper > .short-description {
    position: relative;
    z-index: 1;
}

.smart-slider-widget .short-description {
    margin: 0 0 30px;
    text-align: center;
}
