/*
Theme Name: ADINA Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.owl-carousel .item {
    height: 30px;
    transition: ease 500ms;
    text-align: center;
}

.item.current-data h4 {
    color: #fca646;
}

.autoscroll {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 99;
    padding-bottom: 0 !important;
    background: #fff;
}

.owl-item h4 {
    margin: 0;
    height: 30px;
    line-height: 30px;
}

.autoscroll .owl-nav button {
    position: absolute;
    top: -7px;
    margin: 0 !important;
    min-height: unset !important;
}

.autoscroll .owl-nav button span {
    font-size: 1.5em;
}

.autoscroll button.owl-prev {
    left: -10px;
}

.autoscroll button.owl-next {
    right: -10px;
}

@media only screen and (max-width: 48em) {
    body {
        overflow-x: initial;
    }

    .autoscroll {
        /*position: fixed;*/
        /*top: 0;*/
        /*background: #fff;*/
        z-index: 1111;
        border-bottom: 1px solid #ddd;
    }

    .autoscroll h4 {
        font-size: 13px;
    }
}


/* services ================ */
.stretcher-wrapper .stretcher {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    font-size: 0;
    margin: 0;
    padding: 0;
}

.stretcher-wrapper .stretcher {
    height: 500px;
    white-space: nowrap;
}

.stretcher-wrapper .stretcher .stretcher-item {
    position: relative;
    background-size: cover;
    background-position: center;
    display: block;
    width: 100%;
    height: 30vh;
    overflow: hidden;
    -moz-transition: width .5s;
    -o-transition: width .5s;
    -webkit-transition: width .5s;
    transition: width .5s;
}

.stretcher-wrapper .stretcher .stretcher-item {
    width: 23%;
    height: 100%;
    display: inline-block;
}

.stretcher-item .stretcher-logo {
    background-color: #dbb89dde;
    opacity: 1;
    position: absolute;
    width: 100%;
    height: 100%;
    -moz-transition: opacity .2s;
    -o-transition: opacity .2s;
    -webkit-transition: opacity .2s;
    transition: opacity .2s;
    font-size: initial;
    color: #fff;
}

.stretcher-wrapper .stretcher {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    font-size: 0;
    margin: 0;
    padding: 0;
}

.stretcher-wrapper .stretcher {
    height: 500px;
    white-space: nowrap;
}

.stretcher-wrapper .stretcher .stretcher-item {
    position: relative;
    background-size: cover;
    background-position: center;
    display: block;
    width: 100%;
    height: 30vh;
    overflow: hidden;
    -moz-transition: width .5s;
    -o-transition: width .5s;
    -webkit-transition: width .5s;
    transition: width .5s;
}

.stretcher-wrapper .stretcher .stretcher-item {
    width: 23%;
    height: 100%;
    display: inline-block;
}

.stretcher-wrapper .section-header:before {
    content: '';
    position: absolute;
    border-width: 20px 20px 0 20px;
    border-style: solid solid solid solid;
    border-color: #fff transparent #fff;
    top: 70px;
    left: 50%;
    z-index: 2;
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.stretcher-wrapper .section-header {
    background-color: #fff;
    position: relative;
    padding-bottom: 40px;
}

.stretcher-wrapper .stretcher .stretcher-item .stretcher-logo img,
.stretcher-wrapper .stretcher .stretcher-item .stretcher-logo .text {
    position: absolute;
    left: 50%;
    top: 50%;
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.stretcher-wrapper .stretcher .stretcher-item .stretcher-logo .text span {
    color: rgb(30 8 4);

    font-size: 1.8rem;
    font-weight: bold;
}

.stretcher-wrapper .stretcher .stretcher-item.active .stretcher-logo .text {
    display: none;
}

.stretcher-wrapper .stretcher .stretcher-item .stretcher-logo .text {
    text-align: center;
}

.stretcher-wrapper .stretcher .stretcher-item figure {
    display: none;
    position: absolute;
    bottom: -10px;
    padding: 15px 30px;
    background-color: rgb(30 8 4);
    /* background: #f3f3f3; */
    width: 100%;
    -moz-transition: width .5s;
    -o-transition: width .5s;
    -webkit-transition: width .5s;
    transition: width .5s;
    color: #FFF;
    padding-bottom: 30px;
}

.stretcher-wrapper .stretcher .stretcher-item figure h4 {
    margin-bottom: 0;
    color: #FFF;
    font-size: 2.4rem;
    font-family: "Playfair Display", serif;
}

.stretcher-wrapper .stretcher .stretcher-item figure figcaption {
    white-space: normal;
    font-size: 13px;
}

.stretcher-wrapper .stretcher .stretcher-item.active {
    width: 38%;
}

.stretcher-wrapper .stretcher .stretcher-item.inactive {
    width: 18%;
}

.stretcher-wrapper .stretcher .stretcher-item.active .stretcher-logo {
    background-color: transparent;
}

.stretcher-wrapper .stretcher .stretcher-item.active figure {
    display: block;
}

.stretcher-wrapper .stretcher .stretcher-item.more .more-icon {
    font-size: 70px;
    color: #fff;
    position: absolute;
    left: 18%;
    top: 50%;
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.stretcher-wrapper .stretcher .stretcher-item.more.active .more-icon {
    left: 50%;
    font-size: 20px;
}

.stretcher-wrapper .stretcher .stretcher-item.more .more-icon a {
    display: none;
}

.stretcher-wrapper .stretcher .stretcher-item.more .more-icon span {
    display: block;
}

.stretcher-wrapper .stretcher .stretcher-item.more.active .more-icon span {
    display: none;
}

.stretcher-wrapper .stretcher .stretcher-item.more.active .more-icon a {
    color: #FFF;
    display: block;
}

.stretcher-wrapper .stretcher .stretcher-item.more {
    background-color: rgb(30 8 4);
}

@media (max-width: 768px) {

    .stretcher-item-mobile.more-mobile a {
        color: #fff;
        font-size: 60px;
        font-weight: 900;
        z-index: 9999;
        line-height: 60px;
        display: block;
        position: relative;
        top: -6px;
    }
    .stretcher-item-mobile.more-mobile {
        background: rgb(30 8 4);
        text-align: center;
        padding: 10px;
    }
    .stretcher-wrapper .stretcher {
        height: unset;
    }
    .stretcher-wrapper .stretcher .stretcher-item {
        width: 50%;
        height: 200px;
        float: left;
    }

    .stretcher-item .stretcher-logo {
        background-color: transparent;
    }

    .stretcher-wrapper .stretcher .stretcher-item.more {
        width: 100%;
    }

    .stretcher-wrapper .stretcher .stretcher-item.more .more-icon {
        left: 50%;
        top: 25%;
    }

    .stretcher-wrapper .stretcher .stretcher-item .stretcher-logo .text span {
        font-size: 1.2rem;
        color: #fff;
    }
}