/**  slider **/

.r-slider .fade {
    opacity: 1 !important;
}

.r-slider .fade .carousel-item {
    top: 0;
    z-index: 1;
    opacity: 0;
    width: 100%;
    position: absolute;
    left: 0 !important;
    display: block !important;
    -webkit-transition: opacity ease-in-out 1s;
    -moz-transition: opacity ease-in-out 1s;
    -ms-transition: opacity ease-in-out 1s;
    -o-transition: opacity ease-in-out 1s;
    transition: opacity ease-in-out 1s;
    height: -webkit-fill-available;
    top: auto;
    position: relative;
}

.r-slider .fade .carousel-item.active {
    opacity: 1;
    z-index: 2;
    -webkit-transition: opacity ease-in-out 1s;
    -moz-transition: opacity ease-in-out 1s;
    -ms-transition: opacity ease-in-out 1s;
    -o-transition: opacity ease-in-out 1s;
    transition: opacity ease-in-out 1s;
}

/** LEFT/RIGHT ROUND CONTROL **/
.bs-slider .carousel-control-next,
.bs-slider .carousel-control-prev {
    z-index: 50;
    background-color: #f8941e;
    width: 38px;
    height: 52px;
    top: 47%;
    opacity: 1;
    padding: 12px;
    opacity: 0;
    transition: .5s;
}

.bs-slider .carousel-control-next {
    right: 0 !important;
    left: auto !important
}

.bs-slider .carousel-control-prev {
    left: 0 !important;
    right: auto !important
}

.bs-slider:hover .carousel-control-next,
.bs-slider:hover .carousel-control-prev {
    opacity: 1
}

/** SLIDE CAPTION **/
.slide-image {
    width: 100%;
}

.slide-text {
    left: 0%;
    top: 3%;
    right: 0%;
    margin: auto;
    padding: 10px;
    position: absolute;
    text-align: left;
    padding: 0px 40px;
}

.slide-text.slider1 {
    bottom: 0 !important;
    top: auto !important;
}

.slide-text.slider2 {
    bottom: 24px !important;
    top: auto !important;
}

.slide-text.slider3 {
    top: 9px !important;
    text-align: center;
}

.slide-text.slider4 {
    top: auto !important;
    bottom: 20px;
}

.slide-text.slider5 {
    top: auto !important;
    bottom: 10px;
    text-align: center;
}

.slide-text.slider0 .logo-slide-img {
    width: 100%;
}

.slide-text.slider1 .logo-slide-img {
    width: 100% !important;
}

.slide-text.slider2 .logo-slide-img {
    width: 100%;
    max-width: 600px;
}

.slide-text.slider3 .logo-slide-img {
    margin: 0 auto;
    margin-right: 19px;
    width: 100%;
    max-width: 400px;
}

.slide-text.slider4 .logo-slide-img {
    width: 100% !important;
}

.slide-text.slider5 .logo-slide-img {
    width: 100% !important;
    max-width: 900px;
}


.slide-text > .logo-slide-img {
    margin-top: 20px;
    display: inline-block;
    -webkit-animation-delay: 0.9s;
    animation-delay: 0.9s;
}


.bs-slider > .carousel-inner > .item > img,
.bs-slider > .carousel-inner > .item > a > img {
    width: 100% !important;
    height: auto;
}

.slider-static {
    display: none;
}


/** RESPONSIVE SLIDER **/
@media(max-width:1200px) {
    .slide-text.slider0 .logo-slide-img {
        max-width: 100%;
        margin-top: 0px
    }

    .slide-text.slider2 .logo-slide-img {
        max-width: 400px;
    }
}

@media (max-width: 991px) {
    .slide-text.slider3 .logo-slide-img {
        max-width: 280px
    }
}

@media (max-width: 767px) {
    .slider-static {
        display: block;
    }

    .slide-text.slider3 .logo-slide-img {
        max-width: 180px
    }

    .slide-text.slider2 .logo-slide-img {
        max-width: 230px
    }

    .fade .carousel-item,
    .bs-slider .carousel-inner {
        height: auto !important;
    }

    .bs-slider .carousel-control-next,
    .bs-slider .carousel-control-prev {
        top: 40%;
        width: 34px;
        height: 40px;
    }
}

@media (max-width: 575px) {
    .slide-text.slider3 .logo-slide-img {
        max-width: 150px
    }

    .slide-text.slider2 .logo-slide-img {
        max-width: 190px
    }
}

/* timer **/
.r-slider .carousel .carousel-indicators {
    margin: 0 !important
}

.r-slider .carousel .carousel-indicators li {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: #50b848;
    border: 0 !important;
    margin: 0 !important;
}

.r-slider .carousel .carousel-indicators li.active {
    width: 100%;
    overflow: hidden;
    background: #fff;
}

.r-slider .carousel .carousel-indicators li.active::before {
    position: absolute;
    display: inline-block;
    height: 5px;
    background: #50b848;
    content: "";
    top: 0;
    right: 0;
    left: 100%;
    bottom: 0;
    -webkit-animation: progress 5s linear 0s;
    -moz-animation: progress 5s linear 0s;
    -ms-animation: progress 5s linear 0s;
    -o-animation: progress 5s linear 0s;
    animation: progress 5s linear 0s;
}

.r-slider .carousel .carousel-indicators li.active ~ li {
    background: none;
}

@-moz-keyframes progress {
    100% {
        left: 0px;
    }
}

@-webkit-keyframes progress {
    100% {
        left: 0px;
    }
}

@-ms-keyframes progress {
    100% {
        left: 0px;
    }
}

@-o-keyframes progress {
    100% {
        left: 0px;
    }
}

@keyframes progress {
    100% {
        left: 0px;
    }
}
