.thumbnail {
    text-align: center;
    height: 300px;
    min-height: 300px;
    max-height: 300px;
    /*border-color: #a6a6a6;*/
    border: 1px solid #eee;
    border-radius: 10px;
}

.thumbnail:hover {
    box-shadow:0 2px 5px rgba(0,0,0,.3);
}


.thumbnail .compare-icon {
    float: left;
    position: absolute;
    left: 25px;
    top: 10px;
}

.thumbnail .compare-icon img {
    height: 20px;
}

.thumbnail .compare-icon a .myimg {
    content: url("/images/compare_add.png");
    height: 20px;

}

.thumbnail .compare-icon a .myimg:hover,
.thumbnail .compare-icon a .myimg:focus {
    background: #00ea00;
    border-radius: 80%;
}

.tooltip-inner {
    width: 200px
}


.thumbnail .pricetag {
    float: right;
    position: absolute;
    left: 68%;
    top: 0%;
    z-index: 2;
    background-color: transparent;
    padding: 5px;
    color: #000000;
    font-weight: bold;
    height: 60px;
}


.thumbnail .pricetag .value {
    position: absolute;
    left: -3px;
    top: 5px;
    z-index: 100;
    background-color: transparent;
    padding: 5px;
    color: #000000;
    font-weight: bold;
    height: 60px;
    font-size: x-large;
    text-align: right;
}


.thumbnail .pricetag .percentoff {
    position: absolute;
    left: 30px;
    top: 10px;
    z-index: 100;
    background-color: transparent;
    padding: 5px;
    color: #000000;
    font-weight: bold;
    height: 60px;

    padding: 0px;
}

.percentoff .percent {
    position: absolute;
    padding: 0px;
    margin: 0px;
    font-size: large;
    left: 5px;
    /*text-align: center;*/
}

.percentoff .off {
    position: absolute;
    top: 18px;
    padding: 0px;
    margin: 0px;
}

.thumbnail .pricetag img {
    position: absolute;
    left: -15px;
    top: 0px;
    z-index: 1;
    background-color: transparent;
    padding: 5px;
    color: #000000;
    font-weight: bold;
    height: 70px;
}

.thumbnail .product-caption {
    width: 100%;
}

.product-caption a {
    text-decoration: none;
}

.product-caption .product-name {
    /*line-height: 1em;*/
    min-height: 2.2em;
    max-height: 2.2em;
    /*white-space: nowrap;*/
    overflow: hidden;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;

    font-size: 18px;
    /*margin-top: 10px;*/
    margin-bottom: 10px;

    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    /*color: inherit;*/
    color: #333;
}

.product-caption .product-name:hover {
    color: #ffeb00;
}

.thumbnail .rrp {
    text-decoration: line-through;
    display: inline;
    font-size: large;
}

.thumbnail .price {
    color: red;
    display: inline;
    font-size: large;
}

.thumbnail .star-rating {
    margin-bottom: 0px;
}


.thumbnail a {
    width: 160px;
    height: 160px;
}

.thumbnail-image-container {
    width: 160px;
    height: 160px;
    display: table-cell; /* make it behave like a table cell */
    vertical-align: middle; /* make it align contents vertically */
    text-align: center;
}

.thumbnail-image-container img {
    width: 100%;
}