/*
Theme Name: National Service Dogs
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme by <a href="http://www.kriesi.at">Kriesi</a>.
Version: 1.0
Author: Chris Ryan
Author URI: pkchris@gmail.com
Template: enfold
*/

.wishlist .card {
  position: relative;
  width: calc(33% - 40px);
  height: 375px;
  float: left;
  color: #000;
  background-color: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  box-shadow: 0px 2px 2px 0px #e5e5e5;
  margin: 40px 40px 0 0;
  padding: 30px;
}

.wishlist .card:nth-child(3n) {
  margin-right: 0;
}

.wishlist .card .title {
  width: calc(100% - 180px);
  position: absolute;
  top: 20px;
  left: 30px;
  line-height: 30px;
  font-size: 16px;
  font-weight: 700;
  text-transform: capitalize;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  color: #553d80;
}

.wishlist .card .title.no-price {
  width: calc(100% - 60px);
}

.wishlist .card .description {
  max-height: 52px;
  font-size: 12px;
  font-weight: 400;
  margin-top: 30px;
  overflow: hidden;
}

.wishlist .card .image {
  position: relative;
  overflow: hidden;
  display: block;
  text-align: center;
  margin: 30px auto 0;
}

.wishlist .card .image.no-description {
  margin: 80px auto 0;
}

.wishlist .card .image img {
  height: 134px;
}

.wishlist .card .status {
  position: absolute;
  left: 30px;
  bottom: 95px;
  height: 25px;
  line-height: 25px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  background-color: #C45500;
  border-radius: 3px;
  padding: 0 10px 0 25px;
  z-index: 301;
}

.wishlist .card .status.normal {
  display: none;
}

.wishlist .card .status svg {
  position: absolute;
  top: 5px;
  left: 10px;
  height: 15px;
  fill: #fff;
}

.wishlist .card .price {
  position: absolute;
  top: 20px;
  right: 30px;
  line-height: 30px;
  font-size: 14px;
  font-weight: 700;
}

.wishlist .card .quantity {
  position: absolute;
  bottom: 20px;
  left: 30px;
  line-height: 30px;
  font-size: 12px;
  font-weight: 400;
}

.wishlist .card .donate {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 145px;
  text-transform: uppercase;
  margin: 0;
}

.wishlist .card.donate .description {
  max-height: none;
}

.wishlist .card.donate .image {
  margin: 0 auto;
}

@media only screen and (max-width: 1200px) {
  .wishlist .card {
    width: calc(50% - 40px);
    height: 190px;
    padding: 20px;
  }

  .wishlist .card:nth-child(3n) {
    margin-right: 40px;
  }

  .wishlist .card:nth-child(2n) {
    margin-right: 0;
  }

  .wishlist .card .title {
    width: calc(100% - 280px);
  }

  .wishlist .card .title, .wishlist .card .description, .wishlist .card .quantity {
    position: absolute;
    left: 135px;
  }

  .wishlist .card .image, .wishlist .card .image.no-description {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
    margin: 0;
  }

  .wishlist .card .image img {
    height: auto;
    width: 95px;
  }

  .wishlist .card .status {
    display: none;
  }

  .wishlist .card .title.no-price, .wishlist .card .description {
    width: calc(100% - 155px);
  }
}

@media only screen and (max-width: 992px) {
  .wishlist .card {
    float: none;
    max-width: 100%;
    width: 360px;
    height: 240px;
    margin: 30px auto 0;
  }

  .wishlist .card:nth-child(3n), .wishlist .card:nth-child(2n) {
    margin-right: auto;
  }

  .wishlist .card .title {
    width: calc(100% - 155px);
  }

  .wishlist .card .image, .wishlist .card .image.no-description {
    top: 30px;
    transform: none;
  }

  .wishlist .card .price {
    top: auto;
    bottom: 100px;
    left: 135px;
  }

  .wishlist .card .quantity {
    bottom: 70px;
  }

  .wishlist .card .donate {
    position: absolute;
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
  }
}
