.homepage_products {
    background-color: #fff;
}

.homepage_products h2 {
    text-align: left;
    margin-bottom: 15px;
}

.hpwrapper {
    height: 260px;
    margin-bottom: 20px;
    max-width: 33%;
    display: inline-table;
    text-align: center;
}

.hpbordered {
    position: relative;
    height: 180px;
    border: none;
    margin: 5px;
}

.hpbordered img {
    max-height: 150px;
    margin-top: 5px !important;
}

.hpfooter {
    position: relative;
    background-color: #F8F8F8;
    margin: -5px 5px 5px 5px;
    border: 1px solid silver;
    padding-top: 5px;
}

.hptitle {
    display: block;
    height: 1.4em;
    text-align: left;
    overflow: hidden;
    margin: 3px 10px;
    font-size: 90%;
    text-decoration: none;
}

.hptitle:hover {
    text-decoration: underline;
}

.percent_price,
.hpsave_price {
    position: absolute;
    z-index: 100;
    top: 0px;
    right: 4px;
    background-color: #c24900 !important;
    color: white;
    font-size: 22px;
    padding: 20px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7);
    width: 40px;
    height: 40px;
    border-radius: 40px;
    line-height: 40px;
    white-space: nowrap;
}

.hpprices {
    padding: 0 10px;
    text-align: right;
    /*min-height: 30px;*/
}

.hplist_price {
    color: #404040;
    font-size: .9em;
    text-decoration: line-through;
}

.hpprice {
    font-weight: bold;
    font-size: 90%;
}

.quick_view, .add_to_cart {
    display: none;
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 5px 12px;
    background-color: #2c6584;
    color: white;
    font-size: 80%;
    text-decoration: none;
}

.quick_view:hover, .add_to_cart:hover {
    background-color: #14425b;
    color: white;
    text-decoration: none;
}

.hpdisplay_rating {
    float: left;
    margin-left: 10px;
}

@media only screen and (max-width: 767px) {
    .hptitle {
        font-size: 100%;
    }

    .homepage_products .group {
        text-align: center;
    }

    .hpwrapper {
        max-width: 45%;
        float: none;
    }
}

@media only screen and (max-width: 600px) {
    .hpwrapper {
        max-width: 100%;
    }
}

