#slider {
    box-shadow: 0 5px 5px rgba(0, 0, 0, .1);
    -moz-box-shadow: 0 5px 5px rgba(0, 0, 0, .1);
    -webkit-box-shadow: 0 5px 5px rgba(0, 0, 0, .1);
    background: #eee;
    /*height: 430px;*/
    background: #fff;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    #slider .text {
        width: 100%;
        bottom: 150px;
        left: 0;
        text-shadow: 1px 1px 1px #000;
    }

        #slider .text h2 {
            color: #fff;
            font: italic 500 42px 'fira';
            letter-spacing: -1px;
        }

        #slider .text p {
            color: #fff;
            font: 300 16px 'fira';
            width: 55%;
        }

    #slider .owl-controls {
        position: absolute;
        bottom: 30px;
        left: 0;
        width: 100%;
        text-align: center;
    }

        #slider .owl-controls .owl-page {
            width: 24px;
            height: 24px;
            background: url("../images/dots-li.png") -24px 0 no-repeat;
            display: inline-block;
            text-indent: -999em;
            margin-right: 5px;
        }

            #slider .owl-controls .owl-page.active,
            #slider .owl-controls .owl-page:hover {
                background-position: 0 0;
            }

@media (max-width: 767px) {
    #slider,
    #slider .wrapper,
    #slider .middle {
        width: 100% !important;
        height: 250px !important;
    }

        #slider .wrapper img {
            height: 250px !important;
            width: auto !important;
        }

        #slider h1 {
            font-size: 20px;
            text-align: center;
            background: none;
            padding: 0;
            height: auto !important;
            top: inherit;
            bottom: 80px;
            margin: 0;
            width: 100%;
        }

            #slider h1 a {
                height: auto !important;
            }

        #slider .wrapper {
            height: auto !important;
            min-height: 250px;
        }

        #slider ul.dots {
            text-align: center;
            bottom: 20px;
            padding: 0;
            margin: 0;
        }

        #slider .owl-controls {
            display: none !important;
        }
}

@media (max-width: 767px) {
    #slider .wrapper img,
    #slider, #slider .wrapper,
    #slider .middle {
        height: auto !important;
        min-height: inherit !important;
    }

        #slider .text {
            display: none;
        }
}

@media (min-width: 768px) and (max-width: 991px) {
    #slider .wrapper img,
    #slider, #slider .wrapper,
    #slider .middle {
        height: auto !important;
        min-height: inherit !important;
    }

        #slider .text {
            display: none;
        }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #slider .wrapper img,
    #slider, #slider .wrapper,
    #slider .middle {
        height: auto !important;
        min-height: inherit !important;
    }
}

@media (min-width: 1200px) {
}
