.sliderflex {
    position: relative;
}

.sliderflex--flex {
    height:auto;
    min-height: 400px;
    height: 400px;
    position: relative;
    flex-direction: column;
    display:flex;
}

.sliderflex--images,
.sliderflex--texts {
    position: relative;
    flex: 1;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* IMAGES */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.sliderflex--images {
}

.sliderflex--image {
    background: no-repeat center center;
    background-size: cover;
    height: 100%;
    width:100%;
    position: absolute;
    top:0;
    left:0;
}

.sliderflex--image img {
    display:none;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* TEXTS */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.sliderflex--texts {
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
}

.sliderflex--text {
    position: relative;
    max-height: calc( 100% - 20px - 60px );
    overflow: hidden;
    font-size: 16px;
    line-height: 20px;
    flex:1;
    display: -ms-flex;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    margin: 10px 50px 10px 20px;
    width: calc( 100% - 80px );
}

.sliderflex--desc {
    width: 100%;
    margin: 0px;
    padding: 20px 50px 20px 20px;
}

.owl-carousel-slide-flex-desc {
    overflow: hidden;
}

.sliderflex--alternative-title {
    display: none !important;
    opacity: 0;
    position: absolute;
    width: 0px;
    height:0px;
    overflow: hidden;
    z-index: -999;
}

.sliderflex--alternative-url {
    display: none !important;
    opacity: 0;
    position: absolute;
    width: 0px;
    height:0px;
    overflow: hidden;
    z-index: -999;
}


.sliderflex--title {
    position: relative;
    max-height: 280px;
    overflow: hidden;
}

.sliderflex--title p {
    position: relative;
    display: inline-block;
    word-wrap: break-word;
    overflow: hidden;
    max-height: 3.6em;
    line-height: 1.2em;
    text-align:justify;
    padding-right: 20px;
}

.sliderflex--text-truncate {
    max-height: 250px;
    overflow: hidden;
}
.sliderflex--text,
.sliderflex--desc,
.sliderflex--flex a,
.sliderflex--flex a:hover {
    color: #666;
    text-decoration: none;
}

.sliderflex--text,
.sliderflex--desc {
    max-width: 550px;
    width: 100%;
    margin: 0 auto;
}

.sliderflex--title {
    display: block;
    font-size: 40px;
    line-height: 40px;
    font-variant: small-caps !important;
    letter-spacing: 3px;
}

.sliderflex--subtitle {
    min-height: 20px;
    margin-top: 20px;
    font-size: 17px;
    line-height: 20px;
    display: block;
    text-decoration: none !important;
    color: #666;
    font-variant: small-caps;
    overflow: hidden;
    -webkit-transition: opacity 0.5s ease-out;
    -moz-transition: opacity 0.5s ease-out;
    transition: opacity 0.5s ease-out;
    opacity: 0;
}

.active .sliderflex--subtitle {
    opacity: 1;
}

.sliderflex--subtitle.capitalize::first-letter {
    font-size: 1.1em;
    font-variant: small-caps;
    text-transform: uppercase;
}
.sliderflex--link {
    height: 60px;
}
.sliderflex--link a {
    font-size: 60px;
    line-height: 20px;
    display: block;
    float:left;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* ARROWS */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.sliderflex--arrows {
    position: absolute;
    top:50%;
    left:0%;
    width: 100%;
    height:40px;
    margin-top:-20px;
}

.sliderflex--arrow-prev,
.sliderflex--arrow-next {
    font-size: 14px;
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    color: #8d320e;
    font-family: "loropianatextile";
    cursor: pointer;
    text-align:center;
    position:absolute;
    top:0;
    -webkit-transition: height 0.5s ease-out;
    -moz-transition: height 05s ease-out;
    transition: height 0.5s ease-out;
}

.sliderflex--arrow-prev:hover,
.sliderflex--arrow-next:hover {
    width: 60px;
}

.sliderflex--arrow-prev {
    color: white;
    background: #8d320e;
    right:50%;
}

.sliderflex--arrow-next {
    background: white;
    color: #8d320e;
    left:50%;
}

.owl-carousel-slide-flex,
.owl-wrapper-outer,
.owl-wrapper {
    height: 100%;
}

.owl-carousel-slide-flex .owl-item {
    height: 100%;
    background: center center no-repeat;
    background-size: cover;
}

.owl-carousel-slide-flex .owl-controls {
   position:absolute;
   width:0;
   left:0;
   top: calc( 50% - 20px ) ;
   height:40px;
   z-index:2;
}

.owl-carousel-slide-flex .owl-controls .owl-buttons {
    position: relative;
    height:40px;
}

.owl-carousel-slide-flex.owl-carousel .owl-controls .owl-buttons .owl-prev,
.owl-carousel-slide-flex.owl-carousel .owl-controls .owl-buttons .owl-next {
    -webkit-transform: translate(0, -20px) !important;
    -moz-transform: translate(0, -20px) !important;
    transform: translate(0, -20px) !important;
    -webkit-transition: width 0.5s ease-out;
    -moz-transition: width 0.5s ease-out;
    transition: width 0.5s ease-out;
    position: absolute !important;
    top:0 ;
    left:auto ;
    right:auto ;
}

.owl-carousel-slide-flex.owl-carousel .owl-controls .owl-buttons .owl-prev,
.text-to-right .owl-carousel-slide-flex.owl-carousel .owl-controls .owl-buttons .owl-next {
    right:100%;
    background: #8d320e;
}
.owl-carousel-slide-flex.owl-carousel .owl-controls .owl-buttons .owl-prev:hover,
.text-to-right .owl-carousel-slide-flex.owl-carousel .owl-controls .owl-buttons .owl-next:hover {
    box-shadow: -5px 0 5px rgba(255,255,255,0.75);    
}
.owl-carousel-slide-flex.owl-carousel .owl-controls .owl-buttons .owl-prev:before,
.text-to-right .owl-carousel-slide-flex.owl-carousel .owl-controls .owl-buttons .owl-next:before {
    color: white;
}
.owl-carousel-slide-flex.owl-carousel .owl-controls .owl-buttons .owl-next {
    left:0 ;
}
.text-to-right .owl-carousel-slide-flex .owl-controls {
   left:auto;
   right:0;
}
.owl-carousel-slide-flex.owl-carousel .owl-controls .owl-buttons .owl-next,
.text-to-right .owl-carousel-slide-flex.owl-carousel .owl-controls .owl-buttons .owl-prev {
    right:100%;
    background: white;
}
.owl-carousel-slide-flex.owl-carousel .owl-controls .owl-buttons .owl-next:before,
.text-to-right .owl-carousel-slide-flex.owl-carousel .owl-controls .owl-buttons .owl-prev:before {
    color: #8d320e;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* RESPONSIVE */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

/* order img-text */

@media( min-width:641px ) {
    .sliderflex--flex {
      flex-direction: row;
    }
    .sliderflex--images {
      order: 1;
    }
    .text-to-right .sliderflex--texts {
      order: 2;
    }
    .sliderflex--images,
    .sliderflex--texts {
        width:50%;
        flex: 0 auto;
    }
    .sliderflex--text {
        position: absolute;
        top:50%;
        left: 0;
        padding: 0 50px 0 0;
        -webkit-transform: translate(0,-50%);
        -moz-transform: translate(0,-50%);
        transform: translate(0,-50%);
    }
}
@media( max-width:640px ) {
    .sliderflex--flex {
        height: auto;
    }
    .sliderflex--images {
        height: 400px;
        border: white 20px solid;
    }
    .sliderflex--desc {
        width: calc( 100% - 40px );
        margin: 0px;
        padding: 20px 0;
    }

    .sliderflex--text,
    .sliderflex--desc {
        max-width: calc( 100% - 40px );
        width: 100%;
        margin: 0 20px;
    }


    .sliderflex--text {
        width: calc( 100% - 20px );
        max-height: 350px;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .sliderflex--arrows {
        top:200px;
    }
    .sliderflex--arrow-prev,
    .sliderflex--arrow-next {
        background: white;
        color: #8d320e;
        left:auto;
        right:auto;
    }
    .sliderflex--arrow-prev {
        left:20px;
    }

    .sliderflex--arrow-next {
        right:20px;
    }
    .owl-carousel-slide-flex .owl-controls {
       width: 100%;
       margin: 0;
    }

    .text-to-right .owl-carousel-slide-flex.owl-carousel .owl-controls .owl-buttons .owl-next,
    .owl-carousel-slide-flex.owl-carousel .owl-controls .owl-buttons .owl-next,
    .text-to-right .owl-carousel-slide-flex.owl-carousel .owl-controls .owl-buttons .owl-prev,
    .owl-carousel-slide-flex.owl-carousel .owl-controls .owl-buttons .owl-prev {
        right:100%;
        background: white;
    }
    .text-to-right .owl-carousel-slide-flex.owl-carousel .owl-controls .owl-buttons .owl-next:before,
    .owl-carousel-slide-flex.owl-carousel .owl-controls .owl-buttons .owl-next:before,
    .text-to-right .owl-carousel-slide-flex.owl-carousel .owl-controls .owl-buttons .owl-prev:before,
    .owl-carousel-slide-flex.owl-carousel .owl-controls .owl-buttons .owl-prev:before {
        color: #8d320e;
    }
    .text-to-right .owl-carousel-slide-flex.owl-carousel .owl-controls .owl-buttons .owl-next,
    .owl-carousel-slide-flex.owl-carousel .owl-controls .owl-buttons .owl-next {
        left:auto;
        right:0;
    }
    .text-to-right .owl-carousel-slide-flex.owl-carousel .owl-controls .owl-buttons .owl-prev,
    .owl-carousel-slide-flex.owl-carousel .owl-controls .owl-buttons .owl-prev {
        right:auto;
        left:0;
    }
}
