

/*  3. Slider CSS
/*----------------------------------------*/

.slider-area,
.single-banner {
    position: relative;
    overflow: hidden;
}

/*.single-slide:after,
.banner-area:after {

    left: 0;
    top: 0;
    content: "";

    width: 100%;
    height: 100%;
}
*/



.slider-img {
    z-index: 1;
    position: relative;
    margin-right: -25px
}

.slider-area img {
    width: 100%;
}

.slide-content,
.text-content {
    z-index: 99;
    position: relative
}

.text-content-wrapper,
.slider-area img {
    width: 100%;
}

.slide-content-wrapper {
    display: inline-table;
    width: 100%;
}

.slide-content {
display : flex;
align-items :center;
justify-content:center;
flex-direction:column;
}

.slider-area.two .slide-content {
    text-align: center;
}

.slide-content h3 {
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 40px;
    font-weight: 800;
    line-height: 58px;
    padding-top: 80px;
    text-transform: capitalize;
    -webkit-animation-delay: 0.7s;
    animation-delay: 0.7s;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: fadeOutDown;
    animation-name: fadeOutDown;
}

.slider-img {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: fadeInRight;
    animation-name: fadeInRight;
}

.slide-content h2 {
    display: inline-block;
    padding: 0px 10px;
    background-color: #ae9078;
    border-radius: 5px;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 40px;
    font-weight: 700;
    text-transform: capitalize;
    -webkit-animation-delay: 1.5s;
    animation-delay: 1.5s;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: fadeOutDown;
    animation-name: fadeOutDown;
}

.slider-area.two .slide-content h2 {
    /*line-height: 82px;*/
}

.slider-area.two .slide-content p {
    margin-bottom: 40px;
}

.slide-content p {
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    margin-top: 12px;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 35px;
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: fadeOutDown;
    animation-name: fadeOutDown;
}

.slider-area .default-btn {
    -webkit-animation-delay: 1.4s;
    animation-delay: 1.4s;
    -webkit-animation-duration: .8s;
    animation-duration: .8s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: fadeOutDown;
    animation-name: fadeOutDown;
}

.slider-area .owl-item.active .slide-content h2,
.slider-area .owl-item.active .slide-content h3,
.slider-area .owl-item.active .slide-content p,
.slider-area .owl-item.active .default-btn {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}

.slider-area .owl-item.active .default-btn {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}

.slider-area .owl-item.active .slider-img img {
    animation-delay: 0.2s;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-name: fadeInRight;
}

.owl-item.active .slider-img {
    animation-delay: 0.2s;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-name: fadeInRight;
}

.single-banner .slide-content h2,
.single-banner .slide-content h3,
.single-banner .slide-content p,
.single-banner .banner-btn {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}

.slider-area .owl-item.active .slide-content h3 {
    -webkit-animation-delay: 500ms;
    animation-delay: 500ms
}

.slider-area .owl-item.active .slide-content h2 {
    -webkit-animation-delay: 750ms;
    animation-delay: 750ms
}

.slider-area .owl-item.active .slide-content p {
    -webkit-animation-delay: 1100ms;
    animation-delay: 1100ms
}

.slider-area .owl-item.active .slide-content .banner-btn {
    -webkit-animation-delay: 1700ms;
    animation-delay: 1700ms
}

.owl-nav div {
    background: rgba(236, 28, 35, 0.64);
    color: #ddd;
    font-size: 18px;
    border-radius: 3px;
    height: 40px;
    left: -46px;
    line-height: 40px;
    margin-top: -20px;
    position: absolute;
    text-align: center;
    top: 50%;
    -webkit-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
    width: 35px;
    z-index: 999;
}

.owl-nav .owl-next {
    left: auto;
    right: -46px;
}

.slider-area:hover .owl-nav div {
    left: 0;
}

.slider-area:hover .owl-nav .owl-next {
    left: auto;
    right: 0;
}

.owl-nav div:hover {
    color: #fff
}

.single-slide {
    background-position: top center;
    background-size: cover
}

.animated.infinite {
    animation-iteration-count: infinite;
}

.fadeInDown {
    animation-name: fadeInDown;
}




.fix {
    overflow: hidden
}

.slider-area .owl-nav div {
    height: auto;
}

.owl-carousel .owl-item .slider-img>img {
    bottom: 0;
    position: absolute;
    right: 0;
    width: 70%;
}

.slider1-content
{
    display : flex;
    align-items : center;
    justify-content: center;
    flex-direction : column;
}

@media only screen and (max-width:990px) {
    .slide-content h2 {
        font-size : 22px;
    }
}

.slider-area div {
    height: 100%
}

@media only screen and (max-width:990px)
{
    .slider-area {
        height: 60vh;
    }

}
@media only screen and (min-width:990px)
{
    .slider-area {
        height: 100vh;
    }


}
