﻿.offers-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  list-style-type: none;
  margin: 0;
  margin-top: 10px;
  padding: 0;
}

.offers-list li {
  display: flex;
  width: calc(25% - 10px);
  margin: 5px;
  padding: 0;
  float: left;
}
.offers-list li a {
  width: 100%;
}
/* SMALL & MEDIUM SCREEN FOUNDATION SUPPORT */
@media only screen and (max-width: 40em) {
  .offers-list li {
    width: calc(50% - 5px);
    margin: 0;
    margin-bottom: 10px;
    padding: 0;
    float: left;
  }
  .offers-list li:nth-child(odd) {
    margin-right: 10px;
  }
}
.offer {
  display: flex;
  flex-direction: column;
  width: auto;
  min-height: 17em;
  margin: 0;
  padding: 0;
  position: relative;
  border-width: 1px;
  border-style: solid;
  border-color: #cbcbcb;
  overflow: hidden;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
.offer *,
.offers-list a {
  text-decoration: none;
  color: #333;
}
.offer * {
  font-size: 0.9em;
}
.offer > .image {
  display: flex;
  flex: 1;
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 140px;
  max-height: 140px;
}
.offer > .content {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.offer .description {
  display: flex;
  text-align: center;
  font-size: 1em;
  font-weight: 500;
  padding: 0.4em 0.7em;
  border-top: solid 1px #cbcbcb;
}
.offer .company-name:before {
  content: "Από: ";
}
.offer .company-name {
  color: #999;
  display: block;
  text-align: center;
}
.offer .footer {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  /* height: 2em; */
  line-height: 1.2em;
  padding: 0.4em 0.6em;
  border-top: solid 1px #cbcbcb;
}
.offer .footer > * {
  display: flex;
}
.offer .initial-price {
  text-decoration: line-through;
  margin-right: 0.6em;
}
.offer .price {
  color: #62ab1b;
  font-size: 1.1em;
  font-weight: 600;
  padding: 0 0.25em;
}
.offer .expiration {
  float: right;
  margin: 0 0 0 0.25em;
  padding: 0 0.2em 0 1.5em;
  background: transparent url(../img/clock2.png) no-repeat left center;
  /* padding-left: 20px; */
}
