﻿#first-slider iframe {
    position: absolute;
    top: 0;
    z-index: -1;
}

#first-slider {
    position: relative;
}

    #first-slider .main-container {
        padding: 0;
    }

    #first-slider .item .text-left {
        padding-left: 40px;
    }

    #first-slider .item .text-right {
        padding-right: 40px;
    }

        #first-slider .item .text-right img {
            max-width: 750px;
        }

    #first-slider .carousel-indicators {
        bottom: 40%;
        width: 15%;
        margin: 0;
        left: -10%;
    }

    /*#first-slider .carousel-control.right, #first-slider .carousel-control.left {
        background-image: none;
    }*/

    #first-slider .carousel .item {
        min-height: 75vh;
        height: 100%;
        width: 100%;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        background-blend-mode: overlay;
        background-color: rgba(0, 0, 0, .4);
    }

.carousel-inner .item .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

#first-slider h3 {
    animation-delay: 1s;
    color: #fff;
}

#first-slider h4 {
    animation-delay: 1s;
    color: #fff;
    font-weight: 100;
    font-size: 16px;
    opacity: .7;
}

#first-slider .carousel-control {
    width: 6%;
    text-shadow: none;
    background-image: none;
}

#first-slider .carousel-indicators span {
    width: 100%;
    height: 50px;
    background-color: transparent;
    border: none;
    color: #fff;
    position: relative;
    text-indent: 1px;
    text-align: center;
    font-size: 36px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    display: block;
}

    /*#first-slider .carousel-indicators .active {
    width: 16px;
    height: 16px;
    background-color: #01813e;
    border: none;
}*/

    #first-slider .carousel-indicators span:before {
        position: absolute;
        content: "";
        width: 100%;
        height: 50%;
        left: 0;
        background-color: #01813e;
        z-index: -1;
    }

.carousel-fade .carousel-inner .item {
    -webkit-transition-property: opacity;
    transition-property: opacity;
}

.carousel-fade .carousel-inner .item, .carousel-fade .carousel-inner .active.left, .carousel-fade .carousel-inner .active.right {
    opacity: 0;
}

.carousel-fade .carousel-inner .active, .carousel-fade .carousel-inner .next.left, .carousel-fade .carousel-inner .prev.right {
    opacity: 1;
}

    .carousel-fade .carousel-inner .next, .carousel-fade .carousel-inner .prev, .carousel-fade .carousel-inner .active.left, .carousel-fade .carousel-inner .active.right {
        left: 0;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

.carousel-fade .carousel-control {
    z-index: 0;
}

.carousel-control .fa-chevron-right, .carousel-control .fa-chevron-left {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-block;
}

    .carousel-control .fa-chevron-right:hover, .carousel-control .fa-chevron-left:hover {
        color: #01813e;
        background-color: #fff;
        /* Firefox */
        -moz-transition: all .3s ease-in;
        /* WebKit */
        -webkit-transition: all .3s ease-in;
        /* Opera */
        -o-transition: all .3s ease-in;
        /* Standard */
        transition: all .3s ease-in;
    }

.carousel-control .fa-chevron-left {
    left: 50%;
    width: 38px;
    height: 38px;
    line-height: 38px;
    font-size: 12px;
    color: #fff;
    background-color: #01813e;
    /* Firefox */
    -moz-transition: all .3s ease-out;
    /* WebKit */
    -webkit-transition: all .3s ease-out;
    /* Opera */
    -o-transition: all .3s ease-out;
    /* Standard */
    transition: all .3s ease-out;
}

.carousel-control .fa-chevron-right {
    right: 50%;
    width: 38px;
    height: 38px;
    line-height: 38px;
    font-size: 12px;
    color: #fff;
    background-color: #01813e;
    /* Firefox */
    -moz-transition: all .3s ease-out;
    /* WebKit */
    -webkit-transition: all .3s ease-out;
    /* Opera */
    -o-transition: all .3s ease-out;
    /* Standard */
    transition: all .3s ease-out;
}

.carousel-control {
    opacity: 1;
    filter: alpha(opacity=100);
}

.slide_title {
    position: absolute;
    left: 15%;
    bottom: 25%;
    width: 35%;
}

    .slide_title h1 {
        font-family: 'Montserrat',sans-serif;
        font-size: 28px;
        font-weight: 800;
        line-height: 1;
        margin: 0;
        z-index: 0;
        color: #fff;
        text-align: right;
    }

        .slide_title h1 span {
            color: #be0002;
        }

    .slide_title h2 {
        font-family: 'Montserrat',sans-serif;
        font-size: 14px;
        line-height: 25px;
        width: 60%;
        text-align: center;
        color: #fff;
        background-color: #be0002;
        float: right;
        margin: 10px auto;
        -webkit-transition: all 1s ease-out;
        -moz-transition: all 1s ease-out;
        -o-transition: all 1s ease-out;
        transition: all 1s ease-out;
    }

    .slide_title:hover h2 {
        color: #be0002;
        background-color: #fff;
    }

@media (max-width: 767px) {
    #first-slider {
        display: none;
    }

    .two-slider {
        display: block;
    }
}

@media (min-width: 768px) {
    #first-slider {
        display: block;
    }

    .two-slider {
        display: none;
    }

    .slide_title {
        width: 40%;
    }

    #first-slider .carousel .item {
        min-height: 50vh;
    }
}

@media(min-width:992px) {
    #first-slider .carousel .item {
        min-height: 50vh;
    }
}

@media(min-width:1200px) {
    #first-slider .carousel .item {
        min-height: 100vh;
    }
}
