#slider {
    margin: 0 auto;
    list-style: none;
    position: relative;
    width: 572px;
    height: 285px;
    padding: 0px;
}
#slider div {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
}
#dots {
    list-style: none;
    padding: 0px;
    margin-bottom: 8px;
    position: relative;
    top: -40px;
}
#dots li {
    display: inline-block;
    border-radius: 10px;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: rgba(204, 204, 204, 0.8);
    cursor: pointer;
}
#dots li.active {
    background-color: rgba(255, 255, 255, 1.0);
}
#next {
    width: 35px;
    height: 35px;
    display: inline-block;
    position: relative;
    float: right;
    top: 116px;
    right: 15px;
    background: url(//www.powerequipmentdirect.com/images/banner_arrow_right.png) no-repeat 0px 0px;
    z-index: 1;
    cursor: pointer;
}
#next:hover {
    background: url(//www.powerequipmentdirect.com/images/banner_arrow_right.png) no-repeat 0px -38px;
}
#prev {
    width: 35px;
    height: 35px;
    display: inline-block;
    position: relative;
    top: 116px;
    float:left;
    left: 15px;
    background: url(//www.powerequipmentdirect.com/images/banner_arrow_left.png) no-repeat 0px 0px;
    z-index: 1;
    cursor: pointer;
}
#prev:hover {
    background: url(//www.powerequipmentdirect.com/images/banner_arrow_left.png) no-repeat 0px -38px;
}
#ped_carousel {
    border: 0px solid #ccc;
    margin: 10px auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
    height: 285px;
    vertical-align: top;
    position: relative;
}
.container {
    margin: 0px auto;
    text-align: center;
    display: block;
    width: 100%;
    height: auto;
    position: relative;
}
#slider img {
    width: 100%;
}
#slider #prev, #slider #next {
    width: 35px;
    height: 35px;
    position: absolute;
    top: 44%;
}
#slider #prev {
    left: 3%;
}
#slider #next {
    left: 91.4%;
}
.hero_2 {
    padding-top: 25px;
}
#ped_carousel {
    display: block;
}
.hero_2 {
    display: none;
}
@media only screen and (max-width: 1012px) {
    #ped_carousel {
        padding-bottom: 5px;
    }
    #slider {
        width: 100%;
    }
    #slider #prev, #slider #next {
        top: 51%;
    }
    #dots {
        top: -5px;
    }
}
@media only screen and (max-width: 860px) {
    #dots {
        padding-top: 45%;
        position: absolute;
        left: 43%;
    }
    #ped_carousel {
        margin-bottom: -10px;
    }
    #slider #prev, #slider #next {
        top: 44%;
    }
}
@media only screen and (max-width: 736px) {
    #ped_carousel {
        display: none;
    }
    .hero_2 {
        display: block;
    }
}
