﻿
.slider-container {
    position: relative;
    height: 300px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: all-scroll;
    z-index:3;
}

.slider {
    z-index: 1;
    position: relative;
    height: 100%;
}

    .slider.animating {
        -webkit-transition: -webkit-transform 0.5s;
        transition: -webkit-transform 0.5s;
        transition: transform 0.5s;
        transition: transform 0.5s, -webkit-transform 0.5s;
        will-change: transform;
    }

        .slider.animating .slide__bg {
            -webkit-transition: -webkit-transform 0.5s;
            transition: -webkit-transform 0.5s;
            transition: transform 0.5s;
            transition: transform 0.5s, -webkit-transform 0.5s;
            will-change: transform;
        }

.slide {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

    .slide.active .slide__overlay,
    .slide.active .slide__text,
    .slide.active .slide__title {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }



.slide__bg {
    position: absolute;
    top: 0;
    left: -50%;
    width: 100%;
    height: 300px;
    background-size: cover;
    will-change: transform;
}


    .slide__bg img {
        width: 100%;
        height: 100%;
    }

.slide:nth-child(1) {
    left: 0;
}

    .slide:nth-child(1) .slide__bg {
        left: 0;
    }


.slide:nth-child(2) {
    left: 100%;
}

    .slide:nth-child(2) .slide__bg {
        left: -50%;
    }

.slide:nth-child(3) {
    left: 200%;
}

    .slide:nth-child(3) .slide__bg {
        left: -100%;
    }


.slide__overlay {
    position: absolute;
    height: 100%;
    min-height: 700px;
    bottom: 0;
    left: 0;
    -webkit-transition: opacity 0.2s 0.5s, -webkit-transform 0.5s 0.5s;
    transition: opacity 0.2s 0.5s, -webkit-transform 0.5s 0.5s;
    transition: transform 0.5s 0.5s, opacity 0.2s 0.5s;
    transition: transform 0.5s 0.5s, opacity 0.2s 0.5s, -webkit-transform 0.5s 0.5s;
    will-change: transform, opacity;
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
    opacity: 0;
}

.slide__overlay path {
    opacity: 0.5;
}

.slide:nth-child(1) .slide__overlay-path {
    fill: rgba(9,94,93,1);
}

.slide:nth-child(2) .slide__overlay-path {
    fill: #e1ccae;
  /*  fill: rgba(112,15,56,1);
    fill: rgba(18,172,110,1);*/
}

.slide:nth-child(3) .slide__overlay-path {
    fill: rgba(112,15,56,1);
}


.slide__content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



.slide__text {
    position: absolute;
    width: 40%;
    bottom: 35%;
    left: 8%;
    -webkit-transition: opacity 0.5s 0.8s, -webkit-transform 0.5s 0.8s;
    transition: opacity 0.5s 0.8s, -webkit-transform 0.5s 0.8s;
    transition: transform 0.5s 0.8s, opacity 0.5s 0.8s;
    transition: transform 0.5s 0.8s, opacity 0.5s 0.8s, -webkit-transform 0.5s 0.8s;
    will-change: transform, opacity;
    -webkit-transform: translateY(-20%);
    transform: translateY(-20%);
    opacity: 0;
    z-index: 10;
}

.slide__title {
    display:table;
    position: absolute;
    width: 40%;
    height:auto;
    bottom: 40%;
    right: 8%;
    font-size: 20px;
    text-align: right;
    line-height: 32px;
    color: rgba(255,255,255,1);
    text-shadow: 0px 1px 2px rgba(0,0,0,0.5);
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
}

    .slide__title span {
        display:block;
        position: relative;
        width: 100%;
        font-size: 18px;
        text-align: right;
        line-height: 24px;
        margin:10px 0px 0px 0px;
        color: rgba(255, 153, 185,1);
        text-shadow: 0px 0px 0px rgba(0,0,0,0);
        direction:rtl;
    }

        .slide__title span span {
            color: rgba(255,255,255,1);
            float: right;
            display: inline-table;
            width: auto;
            line-height: 24px;
            margin: 0px 0px 0px 0px;
            padding:0px 0px 0px 2px;
        }

.slide__text_update {
    bottom: 30%;
}

.slide__text-desc {
    font-size: 20px;
    text-align: justify;
    line-height: 32px;
    color: rgba(255,255,255,1);
    text-shadow: 0px 1px 2px rgba(0,0,0,0.5);
    direction: rtl;
    margin: 0px 0px 0px 0px;
}

.slide__text-desc_update {
    position: relative;
    color: rgba(183,17,63,1);
    text-shadow: 0px 1px 2px rgba(0,0,0,0);
    padding: 10px 15px;
    border-radius: 5px;
    background: rgba(255,255,255,1);
    box-shadow:0px 5px 20px rgba(0,0,0,0.1);
    overflow:hidden;
    z-index: 2;
}


    .slide__text-desc_update span {
        display: table;
        width: auto;
        color: rgba(112,15,56,1);
        z-index: 2;
        float: right;
    }

.slide__text-desc i {
    display: block;
    position: absolute;
    width: 40%;
    height: 100%;
    bottom: -15%;
    left: 5%;
    background: url(../../img/slider_coma.png) left bottom no-repeat;
    background-size: contain;
    z-index: -1;
	opacity: 0.4;
}

.slide-0 > i {
    display: block;
    position: absolute;
    width: 40%;
    height: 100%;
    bottom: -15%;
    right: -25%;
    background: url(../../img/slider_logo.png) left bottom no-repeat;
    background-size: contain;
    opacity: 0.4;
}

/*slider control next prev*/
.slider-control {
    z-index: 2;
    position: absolute;
    top: 0;
    width: 12%;
    height: 100%;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
    will-change: opacity;
    opacity: 0;
}

    .slider-control.inactive:hover {
        cursor: auto;
    }

    .slider-control:not(.inactive):hover {
        opacity: 1;
        cursor: pointer;
    }

    .slider-control.left {
        left: 20px;
        /*background: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.18)), to(rgba(0, 0, 0, 0)));
        background: linear-gradient(to right, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0) 100%);*/
        background:url(../../img/back.svg) left center  no-repeat;
        background-size: 50px 50px;
    }

    .slider-control.right {
        right: 20px;
        /*        background: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.18)));
        background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.18) 100%);*/
        background: url(../../img/next.svg) right center no-repeat;
        background-size: 50px 50px;
    }

/*slider pages*/
.slider-pagi {
    position: absolute;
    z-index: 3;
    left: 15px;
    bottom: 15px;
    font-size: 0;
    list-style-type: none;
}

.slider-pagi__elem {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 10px;
    height: 10px;
    margin: 0 0.5rem;
    border-radius: 50%;
    border: 2px solid #fff;
    cursor: pointer;
}

    .slider-pagi__elem:before {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 10px;
        height: 10px;
        background: #fff;
        border-radius: 50%;
        -webkit-transition: -webkit-transform 0.3s;
        transition: -webkit-transform 0.3s;
        transition: transform 0.3s;
        transition: transform 0.3s, -webkit-transform 0.3s;
        -webkit-transform: translate(-50%, -50%) scale(0);
        transform: translate(-50%, -50%) scale(0);
    }

    .slider-pagi__elem.active:before, .slider-pagi__elem:hover:before {
        -webkit-transform: translate(-50%, -50%) scale(1);
        transform: translate(-50%, -50%) scale(1);
    }

/*-- media query --*/
@media only screen and (max-width:950px) {

    .slide__overlay {
        min-height: 1000px;
    }

    .slide__title {
        display:none;
    }

    .slide__text {
        position: absolute;
        width: 90%;
        bottom: 35%;
        left: 5%;
        padding:0px 60px;
    }



    .slide__text-desc {
        font-size:20px;
        text-align: center;
    }

    .slide-0 > i {
        right: -10%;
    }

}
@media only screen and (max-width:650px) {

    .slider-container {
        height: 250px;
    }

    .slide__bg {
        height: 250px;
    }

    .slide__text {
        width: 90%;
        bottom: 27%;
        left: 4%;
    }

    .slide__text_update {
        width: 100%;
        bottom: 22%;
        left: 0%;
    }

    .slide__text-desc {
        font-size: 18px;
    }


}




