
/* ============================================================
                        IOS SLIDER 
============================================================= */


/* BANNER INSIDE CONTAINER LAYOUT */

.ic-slider {
    height: auto !important;
    position: absolute !important;
    top: 0;
    bottom: 0;
    width: 100% !important;
    overflow: visible !important;
    opacity: 0;
    transition: opacity .35s ease-in-out;
    -moz-transition: opacity .35s ease-in-out;
    -webkit-transition: opacity .35s ease-in-out;
}

    .ic-slider.visible {
        opacity: 1;
    }

    /* slider */
    .ic-slider .slider {
        height: auto !important;
        /* required */
        width: 100%;
        position: absolute !important;
        top: 0;
        bottom: 0;
        overflow: visible !important;
    }

        /* slide */
        .ic-slider .slider .slide {
            height: auto !important;
            /* required */
            float: left;
            position: absolute;
            top: 0;
            bottom: 0;
            width: 100%;
            overflow: visible !important;
        }

    .ic-slider.fade .slider .slide {
        opacity: 0;
        position: relative;
        transition: opacity 1s ease-in-out;
        -moz-transition: opacity 1s ease-in-out;
        -webkit-transition: opacity 1s ease-in-out;
    }


.slide .bannerImage {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}

.slide .bannerImage {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    -ms-behavior: url(/backgroundsize.min.htc);
}

/* ============================================================
                        BANNER TEXT
============================================================= */


.bannerText {
    width: 70%;
    max-width: 500px;
    padding: 10px 10px 10px 40px;
    color: white;
    position: absolute;
    bottom: 80px;
    left: 0;
    background: #000;
    background: rgba(0,0,0,0.7);
    opacity: 0;
    transition: opacity .15s ease-in-out;
    -moz-transition: opacity .15s ease-in-out;
    -webkit-transition: opacity .15s ease-in-out;
}

    .bannerText.visible {
        opacity: 1;
    }

.bannerTextContent {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
}

    .bannerTextContent h2 {
        color: #fff;
        font-size: 2.133em;
        margin: 2px;
        padding: 0;
    }


.bannerTextGradient {
    width: 24px;
    height: auto;
    background: #c1ce00;
    position: absolute;
    top: 0;
    bottom: 0;
    right: -26px;
}


/* ============================================================
                        CONTROLS
============================================================= */

.ic-slider-controls {
    width: 150px;
    position: absolute;
    bottom: 20px;
    left: 30px;
    z-index: 1000;
    text-align: left;
    opacity: 0;
}

    .ic-slider-controls.visible {
        opacity: 1;
    }

    .ic-slider-controls a {
        display: inline-block;
        width: 40px;
        height: 40px;
        border-radius: 90px;
        margin-left: 3px;
    }

        .ic-slider-controls a:hover, .ic-slider-controls a:active {
            background-color: #eaeaea;
        }

    .ic-slider-controls .prev {
        background: #fff url(../images/structure/sliderPrev2x.png) center center no-repeat;
        background-size: 15px auto;
    }

.no-backgroundsize .ic-slider-controls .prev {
    background: #fff url(../images/structure/sliderPrev.png) center center no-repeat;
}

.ic-slider-controls .next {
    background: #fff url(../images/structure/sliderNext2x.png) center center no-repeat;
    background-size: 15px auto;
}

.no-backgroundsize .ic-slider-controls .next {
    background: #fff url(../images/structure/sliderNext.png) center center no-repeat;
}


.ic-slider-controls .pause {
    background: #fff url(../images/structure/slider-pause2x.png) center center no-repeat;
    background-size: 15px auto;
}

.no-backgroundsize .ic-slider-controls .pause {
    background: #fff url(../images/structure/slider-pause.png) center center no-repeat;
}



/* ============================================================
                        PAGINATION
============================================================= */


.ic-slider-pagination, .ic-slider-pagination li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ic-slider-pagination {
    display: none;
    width: 100%;
    text-align: center;
    padding-top: 20px;
}

    .ic-slider-pagination li {
        display: inline-block;
    }

        .ic-slider-pagination li a {
            display: block;
            margin: 0 7px;
            width: 10px;
            height: 10px;
            background: #545454;
            -webkit-border-radius: 90px;
            -moz-border-radius: 90px;
            border-radius: 90px;
        }

        .ic-slider-pagination li.current a {
            background: #f0702f;
        }

@media only screen and (max-width : 991px) {

    /* Homepage ========= */

    .ic-slider-controls {
        display: none;
    }


    /* slide */
    .ic-slider .slider .slide {
        /* required */
        float: left;
        width: 100%;
        height: 350px;
    }

    .bannerText {
        width: 100%;
        padding: 0 10px;
        max-width: 100%;
        font-size: .9em;
        color: white;
        top: auto;
        bottom: 0;
        height: 50px;
        left: auto;
        text-align: center;
        background: #333;
        background: rgba(0,0,0,0.7);
        border-right: none;
        border-top: solid 2px #c1ce00;
        opacity: 1 !important;
    }

    .bannerTextContent {
        width: 100%;
    }

        .bannerTextContent h2 {
            font-size: 1.5em;
            line-height: 50px;
            margin: 0;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

    .bannerTextGradient {
        display: none;
    }
}

@media only screen and (max-width : 767px) {
    .ic-slider-controls {
        display: none;
    }

    .bannerTextContent h2 {
        font-size: 1.2em;
    }
}
