.itemtile-fullpic {
width: 165px;
height: 190px;
display: block;
background-color: #fff;
box-shadow: 0 1px 2px 0 rgba(0,0,0,0.25);
cursor: pointer;
border-radius: 2px;
}
.tilelist {
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-justify-content: space-between;
-moz-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
margin-bottom: -12px;
list-style-type: none;
margin: 0;
padding: 0;
}
.tilelist>li {
margin-bottom: 12px;
position: relative;
}
.itemtile-fullpic .itemtile-header {
padding: 0;
height: 140px;
}
.itemtile-header {
padding: 10px 10px 0;
height: 109px;
line-height: 109px;
text-align: center;
}
.itemtile, .itemtile-condensed, .itemtile-fullpic {
width: 165px;
height: 190px;
display: block;
background-color: #fff;
box-shadow: 0 1px 2px 0 rgba(0,0,0,0.25);
cursor: pointer;
border-radius: 2px;
}
.itemtile-fullpic .itemtile-header img {
object-fit: cover;
height: 100%;
width: 100%;
}
.itemtile-header img { 
max-width: 100%;
max-height: 100%;
vertical-align: middle;
line-height: 1em;
}
.itemtile-body {
position: relative;
padding: 10px;
color: #535353;
}
.itemtile-title {
margin-bottom: 6px !important; 
margin-top: 0px;
line-height: 1;
font-size: 12px !important;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.itemtile-ribbon {
background-color: #87B919;
color: #fff;
font-weight: bold;
display: inline-block;
padding: 2px 6px;
position: absolute;
right: -6px;
top: -34px;
text-align: right;
max-width: 100px;
font-size: 12px;
cursor: pointer;
}
.itemtile-ribbon:after, .itemtile-ribbon:before {
right: 100%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
}
.itemtile-ribbon:after { 
border-color: transparent;
border-right-color: #678D20;
border-width: 4px;
bottom: -4px;
right: 2px;
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
}
.itemtile-price {
display: block;
max-width: 9em;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.itemtile-location, .itemtile-category {
margin: 6px 0;
line-height: 1.1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-size: 12px;
}