body
{
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
}
.header-container {
    padding-top: 20px;
    background-color: #c10f00;
    background-image: url('https://s3-us-west-2.amazonaws.com/pictures-autoparts/Template/header-background.png');
    background-position: bottom;
    background-repeat: repeat-x;
}
.header-container img{
    margin: 0 auto;
}
.autoparts {
    padding-top: 25px;
}
.menu_row {
    margin-top: 58px;
}
.header_menu {
    list-style-type: none;
    padding-left: 0;
    margin-top: 58px;
}
.header_menu li {
    display: inline-block;
    padding: 0 10px;
    border-right: 1px solid #727272;
}
.header_menu li:last-child {
    border-right: none;
}
.header_menu li a, .header_menu li a:link, .header_menu li a:visited {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: white;
    text-decoration: none;
}
.main_wrapper {
    margin-top: 20px;
}
.categories {
    list-style-type: none;
    display: block;
    padding-left: 0;
}
.categories li {
    background-color: #f7f7f7;
    border-bottom: 1px solid #727272;
}
.categories li:hover a:hover {
    background-color: #727272;
    color: white;
}
.categories li a,.categories li a:visited, .categories li a:link {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: black;
    display: block;
    text-decoration: none;
    padding: 5px 15px;
}
.banner > img{
    width: 100%;
    height: auto;
}
.paypal > p {
    padding-left: 10px;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px solid black;
}
.small_banners > div > div {
    background-color: #f7f7f7;
}
.small_banner_wrapper {
    padding: 20px;
    display: block;
    margin-top: 25px;
}
.small_banner_wrapper p {
    margin-bottom:0;
    font-family: 'Open Sans';
    font-size: 20px;
    font-weight: bolder;
}
.small_banner_wrapper p.red {
    color: #c10f00;
}
.timing_belts {
    background-image: url('https://s3-us-west-2.amazonaws.com/pictures-autoparts/Template/timing.png');
    background-position: right 20px center;
    background-repeat: no-repeat;
}
.ignition {
    background-image: url('https://s3-us-west-2.amazonaws.com/pictures-autoparts/Template/ignition.png');
    background-position: right 20px center;
    background-repeat: no-repeat;
}
.tires {
    background-image: url('https://s3-us-west-2.amazonaws.com/pictures-autoparts/Template/tires.png');
    background-position: right 20px center;
    background-repeat: no-repeat;
}
.brakes {
    background-image: url('https://s3-us-west-2.amazonaws.com/pictures-autoparts/Template/brakes.png');
    background-position: right 20px center;
    background-repeat: no-repeat;
}
.button {
    margin-top: 10px;
}
.button > a {
    background-color: black;
    padding: 5px 10px;
    color: white;
    border-radius: 7px;
    text-decoration: none;
}
.button > a i {
    color: #c10f00;
    padding-left: 5px;
}
.brands {
    margin-top: 20px;
    background-color: #f7f7f7;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    padding: 10px 0;
}
.brands img {
    max-height: 60px;
    width: auto;
    margin: 0 3.5% 0 3.5%;
}
.footer {
    margin-top: 10px;
    background-color: black;
    text-align: right;
}
.footer a {
    display: block;
}
.footer a img {
    padding: 10px 0;
    display: inline;
    text-align: right;
}
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
    .brands img {
        margin: 0 2.5% 0 2.5%;
    }
    .header_menu {
        margin-top: 65px;
    }
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
    .header_menu {
        margin-top: 85px;
    }
    .timing_belts, .ignition,.brakes, .tires {
        background-position: right -50px center;
        overflow: hidden;
    }
    .brands img {
        margin: 0 1.2% 0 1.2%;
    }
}

@media (max-width: 768px) {
}

@media only screen and (min-device-width : 320px) and (max-device-width : 732px) and (orientation : landscape) {
    .logo {
        border-bottom: 1px solid black;
    }
    .paypal img {
        margin: 0 auto;
    }
    .brands img {
        margin: 0 0.7% 0 0.5%;
    }
    .timing_belts, .ignition,.brakes, .tires {
        background-position: right -50px center;
        overflow: hidden;
    }
    .header_menu {
        margin-top: 15px;
    }
            .header_menu li {
                padding: 0 9px;
            }
}

@media (max-width: 450px) {
    .timing_belts, .ignition, .brakes, .tires {
        background-image: none;
    }
    .logo {
        border-bottom: 1px solid black;
    }
    .header-container {
        background-image: none;
    }
    .paypal img {
        margin: 0 auto;
    }
    .header_menu {
        margin-top: 5px;
    }
        .header_menu li {
            display: block;
            text-align: center;
            border: none;
        }
    .brands img {
        margin: 0 auto;
        display: block;
        margin-top: 10px;
    }
}

@media (max-width: 360px) {
}

@media (max-width: 340px) {
    .small_banner_wrapper p {
        font-size: 14px;
    }
    .small_banner_wrapper {
        padding: 7px;
    }
    .button > a {
        font-size: 12px;
    }
}