.gallery {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  margin: 0 -5px;
  width: auto; }
  .gallery > div {
    margin: 0 5px;
    -ms-flex-preferred-size: 255px;
    flex-basis: 255px;
    margin-bottom: 10px;
    border-radius: 2px;
    border: 1px solid #E6E6E6;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    position: relative; }
    .gallery > div .status .circle {
      position: absolute;
      margin: 10px;
      border-radius: 50%;
      width: 15px;
      height: 15px;
      display: block;
      border: 1px solid #E6E6E6; }
    .gallery > div .status:hover .circle {
      border: 1px solid #6d6d6d; }
    .gallery > div .quantity {
      position: absolute;
      margin: 9px 0 0 223px;
      opacity: 0.5;
      font-size: 24px;
      color: #c7c9c2; }
    .gallery > div .alert {
      margin-left: auto;
      line-height: normal;
      padding: 20px 40px 20px 20px;
      text-align: center;
      position: absolute;
      width: 100%;
      font-weight: bold;
      height: auto; }
    .gallery > div .img {
      background-size: cover;
      min-height: 180px;
      background: center #FFFFFF;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      justify-content: center;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
      -ms-flex-align: center;
      align-items: center;
      border-bottom: 1px dashed #E6E6E6; }
    .gallery > div img {
      width: 150px;
      padding: 10px; }
    .gallery > div .content {
      padding: 10px;
      margin-top: auto; }
      .gallery > div .content .title, .gallery > div .content h4 {
        margin-top: 0;
        font-size: 16px;
        line-height: 13px; }
      .gallery > div .content > div {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        margin-bottom: 10px; }
        .gallery > div .content > div .right {
          margin-left: auto; }
    .gallery > div:hover {
      background: #f2f2f2; }

.offersGallery {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin: 0;
  width: auto; }
  .offersGallery .offerPanel {
    margin: 0 0 10px 0;
    -ms-flex-preferred-size: 49.5%;
    flex-basis: 49.5%;
    border-radius: 2px;
    border: 1px solid #E6E6E6;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    position: relative; }
  .offersGallery .imagePreview {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex; }
    .offersGallery .imagePreview .img {
      background-size: cover;
      min-height: 180px;
      background: center #FFFFFF;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      justify-content: center;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
      -ms-flex-align: center;
      align-items: center;
      border-bottom: 1px dashed #E6E6E6; }
    .offersGallery .imagePreview img {
      width: 150px;
      padding: 10px; }
  .offersGallery .offerDetails {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column; }
    .offersGallery .offerDetails .status .circle {
      position: absolute;
      margin: 10px;
      border-radius: 50%;
      width: 15px;
      height: 15px;
      display: block;
      border: 1px solid #E6E6E6; }
    .offersGallery .offerDetails .status:hover .circle {
      border: 1px solid #6d6d6d; }
    .offersGallery .offerDetails .quantity {
      position: absolute;
      opacity: 0.5;
      font-size: 24px;
      color: #c7c9c2; }
    .offersGallery .offerDetails .alert {
      margin-left: auto;
      line-height: normal;
      padding: 20px 40px 20px 20px;
      text-align: center;
      position: absolute;
      width: 100%;
      font-weight: bold;
      height: auto; }
    .offersGallery .offerDetails .content {
      padding: 10px;
      width: 100%; }
      .offersGallery .offerDetails .content .title, .offersGallery .offerDetails .content h4 {
        margin-top: 0;
        margin-left: 25px;
        font-size: 16px;
        line-height: 13px; }
      .offersGallery .offerDetails .content > div {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        margin-bottom: 10px; }
        .offersGallery .offerDetails .content > div .right {
          margin-left: auto; }
    .offersGallery .offerDetails .buttons {
      padding: 5px;
      width: 100%;
      margin-top: auto; }
      .offersGallery .offerDetails .buttons .btn-group {
        display: inline-block; }
    .offersGallery .offerDetails:hover {
      background: #f2f2f2; }
  .offersGallery .offersProducts {
    max-height: 150px;
    overflow-y: auto;
    border-bottom: 1px solid #E6E6E6;
    border-top: 1px solid #E6E6E6;
    margin-right: -10px; }
    .offersGallery .offersProducts table {
      width: 100%; }
