
/* GLOBAL */

.theme-custom {
    position: relative;
    margin: 0 auto 0px;
    z-index: 1;
}

    .theme-custom .nivoSlider {
        position: relative;
        z-index: 0;
        background: #fff url('./loading.gif') 50% 50% no-repeat;
        /*height: 450px; */
        height: auto;
    }

        .theme-custom .nivoSlider img {
            display: none;
            position: absolute;
            top: 0px;
            left: 0px;
        }

        .theme-custom .nivoSlider a {
            display: block;
            border: 0;
        }

    /* BULLET NAVIGATION */

    .theme-custom .nivo-controlNav {
        position: absolute;
        bottom: 0;
        z-index: 1;
        width: 100%;
        padding: 20px 0;
        text-align: center;
        font-size: 0;
        display: none;
    }

        .theme-custom .nivo-controlNav a {
            display: inline-block;
            width: 14px;
            height: 14px;
            margin: 0 7px;
            box-shadow: 0 0 1px 0 rgba(0,0,0,0.2);
            background-color: #fff;
            font-size: 0;
        }

            .theme-custom .nivo-controlNav a.active {
                background-color: #4ab2f1;
            }

    /* DIRECTIONAL NAVIGATION */

    .theme-custom .nivo-directionNav a {
        display: block;
        width: 40px;
        height: 60px;
        border: 0;
        background: rgba(255,255,255,0.8) url('./arrows.png') no-repeat;
        font-size: 0;
        opacity: 0;
        -webkit-transition: all 200ms ease-in-out;
        -moz-transition: all 200ms ease-in-out;
        -o-transition: all 200ms ease-in-out;
        transition: all 200ms ease-in-out;
    }

    .theme-custom a.nivo-prevNav {
        left: 0;
        background-position: left center;
        background: rgba(0,0,0,.55) !important;
        height: 60px;
        width: 40px;
        /*/top: 50%;
		margin-top: -30px;*/
        z-index: 99;
        text-decoration: none;
    }

    .theme-custom a.nivo-nextNav {
        right: 0;
        background-position: right center;
    }

    .theme-custom a.nivo-prevNav i {
        display: block;
        margin: 0;
        text-align: center;
        line-height: 60px;
        position: initial;
        height: 60px;
        font-size: 32px;
        color: #fff;
    }

    .theme-custom a.nivo-nextNav {
        background: rgba(0,0,0,.55) !important;
        height: 60px;
        width: 40px;
        top: 50%;
        margin-top: -30px;
        text-decoration: none;
    }

        .theme-custom a.nivo-nextNav i {
            display: block;
            margin: 0;
            text-align: center;
            line-height: 60px;
            position: initial;
            height: 60px;
            font-size: 32px;
            color: #fff;
        }

    .theme-custom:hover .nivo-directionNav a {
        opacity: 0.9;
    }

    .theme-custom .nivo-directionNav a:hover {
        background-color: rgba(255,255,255,1);
    }

    /* CAPTION */

    .theme-custom .nivo-caption {
        /*background-color: 333;*/
        top: 30%;
    }

        .theme-custom .nivo-caption a {
            color: #fff;
        }

            .theme-custom .nivo-caption a:hover {
                /* color: #4ab2f1;*/
                color: #fff !important;
            }

    .theme-custom .theme-caption-container {
        margin-left: 15%;
        margin-right: 15%;
    }

    .theme-custom .theme-caption-header {
        font-size: 64px;
        text-shadow: 1px 1px 1px #000;
    }

    /* THUMBNAILS */

    .theme-custom .nivo-controlNav.nivo-thumbs-enabled {
        width: 100%;
    }

        .theme-custom .nivo-controlNav.nivo-thumbs-enabled a {
            width: auto;
            height: auto;
            background: none;
            margin-bottom: 5px;
        }

        .theme-custom .nivo-controlNav.nivo-thumbs-enabled img {
            display: block;
            width: 120px;
            height: auto;
        }

/* Add text position */
.slider-middle {
    top: 30% !important;
}

.slider-top {
    top: 0% !important;
}

.slider-bottom {
    top: 70% !important;
}
/* Start changes by Sachin */
.slider_class .theme-caption-container {
    /*margin-left: 6%;
        margin-right: 6%;*/
    width: 1170px;
    margin: 0 auto;
    padding: 0 60px;
}

.slider_class .nivo-caption {
    opacity: 1;
}

.slider_class .theme-caption-header {
    font-size: 64px;
    margin-bottom: 40px !important;
    font-weight: 300;
    text-shadow: 0px 1px 2px rgba(0,0,0,.8);
}

.slider_class .textcenter_class {
    text-align: center !important;
}

.slider_class .textleft_class {
    text-align: left !important;
    left: 0;
    position: absolute;
    padding-left: 50px;
}

.slider_class .textright_class {
    text-align: right !important;
    right: 0;
    position: absolute;
    padding-right: 50px;
}

.slider_class .texttop_class {
    text-align: center !important;
    top: 0;
    padding-top: 20px;
}

.slider_class .textbottom_class {
    text-align: center !important;
    bottom: 0;
    padding-bottom: 20px;
}

.slider_class .texttopleft_class {
    text-align: left !important;
    top: 0;
}

.slider_class .texttopright_class {
    text-align: right !important;
    top: 0;
}

.slider_class .textbottomleft_class {
    text-align: left !important;
    bottom: 0;
}

.slider_class .textbottomright_class {
    text-align: right !important;
    bottom: 0;
}

.slider_class .theme-caption-container {
    width: 100%;
    max-width: 1170px;
    padding: 0 15px;
}


/* End of changes by Sachin */

/* RESPONSIVE */


/*@media all and (max-width: 1000px) {
    .theme-custom {
        max-width: 600px;
        margin: 0px auto 0px;
    }

        .theme-custom .nivo-directionNav {
            
        }
}

@media all and (min-width: 1001px) {
    .theme-custom {
        margin: 0px 0 0px;
    }

        .theme-custom .nivo-directionNav {
            
        }
}*/



@media (min-width: 1920px) {
    .theme-custom .theme-caption-header {
        font-size: 64px;
    }

    .btn-for-slider-nivo {
        padding: 10px 16px;
        font-size: 18px;
        line-height: 2;
    }
}

@media (max-width: 1199px) {
    .theme-custom .theme-caption-header {
        font-size: 54px;
    }

    .btn-for-slider-nivo {
        padding: 10px 16px;
        font-size: 18px;
        line-height: 2;
    }
}

@media (max-width: 1024px) {

    .theme-custom .nivoSlider {
        height: auto;
    }

    .slider_class .theme-caption-container {
        width: auto;
    }

    .theme-custom .theme-caption-header {
        font-size: 44px;
    }

    .btn-for-slider-nivo {
        padding: 7px 12px;
        font-size: 16px;
        line-height: 2;
    }
}

@media (max-width: 991px) {
    .theme-custom .theme-caption-header {
        font-size: 34px !important;
    }


    .btn-for-slider-nivo {
        padding: 7px 12px;
        font-size: 16px;
        line-height: 2;
    }
}

@media (max-width: 768px) {
    .theme-custom .theme-caption-header {
        font-size: 26px !important;
    }

    .btn-for-slider-nivo {
        padding: 6px 10px;
        font-size: 15px;
        line-height: 2.3333333;
    }
}

@media (max-width: 639px) {
    .slider_class .nivo-caption .text-right {
        text-align: left !important;
    }

    .theme-custom .theme-caption-header {
        font-size: 24px !important;
    }

    .btn-for-slider-nivo {
        padding: 5px 10px;
        font-size: 15px;
        line-height: 2.5;
    }

    .theme-custom .nivo-caption {
        top: 21%;
    }

    .theme-custom .theme-caption-header {
        margin-bottom: 15px !important;
    }

    .section-container {
        padding: 33px 0;
    }

    .theme-custom .nivoSlider {
        height: auto;
    }
}
/* Start changes by Sachin */
@media (max-width: 480px) {
    .theme-custom .theme-caption-header {
        font-size: 18px;
    }

    .btn-for-slider-nivo {
        padding: 3px 8px;
        font-size: 13px;
        line-height: 2.5;
    }

    .nivo-directionNav a {
        top: 30%;
    }

    .slider_class .nivo-caption .textleft_class {
        width: 100%;
        padding: 0 20px;
        text-align: center !important;
    }

    .slider_class .nivo-caption .textright_class {
        width: 100%;
        padding: 0 20px;
        text-align: center !important;
    }

    .slider_class .nivo-caption .textleft_class div {
        text-align: center;
    }

    .slider_class .nivo-caption .textleft_class a {
        text-align: center;
    }

    .slider_class .nivo-caption .textright_class div {
        text-align: center;
    }

    .slider_class .nivo-caption .textright_class a {
        text-align: center;
    }

    .slider_class .nivo-caption {
        width: 100%;
    }
}
/* End changes by Sachin */
@media (max-width: 359px) {
    .theme-custom .theme-caption-header {
        font-size: 17px;
    }

    .btn-for-slider-nivo {
        padding: 3px 8px;
        font-size: 13px;
        line-height: 2.5;
    }
}


/*Fix for portraits*/
@media (max-width: 812px) {
    .theme-custom .nivoSlider {
        min-height: 250px;
    }

        .theme-custom .nivoSlider img {
            min-height: 250px;
        }
}

/* Fix for phones */
@media (max-width: 575px) {
    .theme-custom .nivoSlider {
        min-height: 140px;
    }

        .theme-custom .nivoSlider img {
            min-height: 140px;
        }
}



@media (max-width: 639px) {
    .theme-custom .slider-bottom {
        top: 60% !important;
    }

    .theme-custom .theme-caption-header {
        font-size: 22px !important;
    }
}
/* Start changes by Sachin */
@media (max-width: 480px) {

    .theme-custom .theme-caption-header {
        font-size: 14px !important;
    }

    .slider_class .nivo-caption {
        width: 100%;
    }
}
/* End changes by Sachin */
@media (max-width: 359px) {

    .theme-custom .theme-caption-header {
        font-size: 12px !important;
    }
}



/* Fix for slider-bottom */
@media ( min-width: 1200px ) {
    .theme-custom .slider-bottom {
        top: 84% !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .theme-custom .slider-bottom {
        top: 80% !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .theme-custom .slider-bottom {
        top: 82% !important;
    }
}

@media (min-width : 640px) and (max-width: 767px) {
    .theme-custom .slider-bottom {
        top: 80% !important;
    }
}

@media (max-width: 639px) {
    .theme-custom .slider-bottom {
        top: 80% !important;
    }
}

@media (max-width: 480px) {
    .theme-custom .slider-bottom {
        top: 78% !important;
    }
}

@media (max-width: 370px) {
    .theme-custom .slider-bottom {
        top: 80% !important;
    }
}

/*Fix hide background next and prev a */

@media ( max-width: 991px) {
    .theme-custom a.nivo-nextNav {
        background: none !important;
    }

    .theme-custom a.nivo-prevNav {
        background: none !important;
    }
}


/* End fix */
