/* Slider */

.slider-title {
    font-size: 1.1429em;
    line-height: 1.4;
    letter-spacing: normal;
    font-weight: $font-weight-bold;
    color: $color-widget-title;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 1.25em;
    position: relative;

    .line {
        content: "";
        @include if-dark {
            @include background-image(linear-gradient($left, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.15) 70%, rgba(255, 255, 255, 0) 100%));
        }
        @include if-light {
            @include background-image(linear-gradient($left, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15) 70%, rgba(0, 0, 0, 0) 100%));
        }
        display: block;
        height: 1px;
        position: relative;
        bottom: 0.7em;
        width: 0;

        @media #{$screen-small} {
            display: none !important;
        }
    }
}

.master-slider {
    direction: ltr;

    .ms-container {
        .ms-nav-prev,
        .ms-nav-next,
        .ms-slide-vpbtn,
        .ms-video-btn {
            background: transparent;
            border-radius: 0;
            font-family: "FontAwesome";
            font-size: 2.8571em;
            text-align: center;
            line-height: 1;
            margin-top: -25px;
            width: 50px;
            height: 50px;

            &:before {
                text-shadow: 0 0 3px #fff;
                font-size: 1.5em;
                line-height: 50px;
                display: block;
            }
        }
        .ms-nav-prev {
            left: 0;
            &:before {
                content: $fa-var-angle-left;
            }
        }
        .ms-nav-next {
            right: 0;
            &:before {
                content: $fa-var-angle-right;
            }
        }

        .ms-slide-vpbtn,
        .ms-video-btn {
            &:before {
                content: $fa-var-play;
                font-size: 1.1em;
                text-shadow: none;
            }
        }

        .ms-bullet {
            background-image: none;
            width: 10px;
            height: 10px;
            border-radius: 20px;
            margin: 5px 7px !important;
            opacity: .5;
        }

        .ms-bullet-selected {
            opacity: 1;
        }
    }

    .ms-loading-container .ms-loading,
    .ms-slide .ms-slide-loading {
        background-image: none;
        background-color: transparent;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;

        &:before {
            content: " ";
            display: inline-block !important;
            border-width: 3px 5px 2px 0;
            width: 32px;
            height: 32px;
            @include animation(1s linear 0s normal none infinite running spin);
            border-image: none;
            border-radius: 20px;
            border-style: solid;
            border-bottom-color: transparent !important;
            vertical-align: middle;
            position: absolute;
            margin: auto;
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
        }
    }

    .ms-slide {
        overflow: hidden;
    }
}

#content,
#content-inner-top,
#content-inner-bottom {
    .master-slider {
        border-radius: $border-thick;
        overflow: hidden;
        .ms-slide {
            .ms-slide-bgcont,
            .ms-slide-bgvideocont {
                border-radius: $border-thick;
                overflow: hidden;
            }
        }
    }
    .rev_slider_wrapper {
        border-radius: $border-thick;
        overflow: hidden;
        li.tp-revslider-slidesli {
            border-radius: $border-thick;
            overflow: hidden;
        }
    }
    body.wide &,
    .column1.wide & {
        .master-slider {
            border-radius: 0;
            .ms-slide {
                .ms-slide-bgcont,
                .ms-slide-bgvideocont {
                    border-radius: 0;
                }
            }
        }
        .rev_slider_wrapper {
            border-radius: 0;
            li.tp-revslider-slidesli {
                border-radius: 0;
            }
        }
    }
}

#main.wide {
    #content,
    #content-inner-top,
    #content-inner-bottom {
        .master-slider {
            border-radius: 0;
            overflow: visible;
            .ms-slide {
                .ms-slide-bgcont,
                .ms-slide-bgvideocont {
                    border-radius: 0;
                    overflow: visible;
                }
            }
        }
        .rev_slider_wrapper {
            border-radius: 0;
            li.tp-revslider-slidesli {
                border-radius: 0;
                overflow: visible;
            }
        }
    }
}

/* Revolution Slider */
.rev_slider_wrapper {
    z-index: 0;
    line-height: 1.4285;
}
.tparrows {
    border-radius: $border-medium;
    &.tparrows-carousel {
        display: inline-block;
        position: absolute;
        width: 30px;
        height: auto;
        padding: 20px 0;

        &.tp-leftarrow {
            left: -30px !important;
            right: auto !important;
            border-radius: 0 4px 4px 0;
            &:before {
                font-family: FontAwesome;
                content: "\f053";
                position: relative;
                left: -1px;
                top: 1px;
            }
        }
        &.tp-rightarrow {
            right: -60px !important;
            left: auto !important;
            border-radius: 4px 0 0 4px;
            &:before {
                font-family: FontAwesome;
                content: "\f054";
                position: relative;
                left: 2px;
                top: 1px;
            }
        }
    }
}
.tp-visible {
    opacity: 1 !important;
    visibility: visible !important;
}
.rev_slider {
    embed,
    iframe,
    object,
    video {
        border: none !important;
    }
}

.tp-caption.coverscreenvideo,
.caption.fullscreenvideo,
.tp-caption.fullscreenvideo {
    #{$left}: 0;
    #{$right}: auto;
}

.hesperiden .tp-tab-content {
    padding: side-values(15px 15px 15px 85px);
}

.hesperiden .tp-tab-image {
    float: $left;
}

.hesperiden .tp-tab-title {
    text-align: $left;
}

#revolutionSliderCarouselContainer {
    body.boxed &,
    #main.main-boxed &,
    .mfp-content .ajax-container & {
        margin-left: -$grid-gutter-width;
        margin-right: -$grid-gutter-width;
        width: auto;

        @media #{$screen-medium} {
            margin-left: -($grid-gutter-width / 2);
            margin-right: -($grid-gutter-width / 2);
        }
    }
}
#revolutionSliderCarousel {
    border-top: if-light(1px solid rgba(0, 0, 0, 0.15), 1px solid rgba(255, 255, 255, 0.15));
    border-bottom: if-light(1px solid rgba(0, 0, 0, 0.15), 1px solid rgba(255, 255, 255, 0.15));
    .rev_slider_wrapper & {
        border-radius: 0;
        li.tp-revslider-slidesli {
            border-radius: 0;
            overflow: visible;
        }
    }
    ul {
        list-style: none;
        padding: 0;
        text-align: center;
    }
}