.card {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  position: relative;
  margin-bottom: 0.75rem;
  background-color: #fff;
  border-radius: 2px;
  transition: box-shadow .25s;
  background-clip: padding-box;
  box-shadow: 0 -1px 0 #e0e0e0, 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.24);
}

.card:before, .card:after {
  content: " ";
  display: table;
}

.card:after {
  clear: both;
}

body:not(.path-frontpage) .card img {
    object-fit: cover;
}

body:not(.path-frontpage) .card .card-image img.middle-template {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-head {
  position: relative;
  vertical-align: middle;
  border-radius: 2px 2px 0 0;
  padding: 15px 20px 0;
  color: #777777;
  line-height: 1;
}

.card-underline .card-head {
  border-bottom: 1px solid #e6e6e6;
  padding-bottom: 15px;
}

.card-body {
  position: relative;
  padding: 20px;
}

.card-body:first-child {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.card-body:last-child {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.card-with-actionbar .card-body {
  padding-bottom: 48px;
  overflow: hidden;
}

.card-head header {
  vertical-align: middle;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.875rem;
}

.teaser--small .card-head,
.teaser--small .card-actionbar {
  text-align: center;
}

a.card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

.card__label {
  text-transform: uppercase;
  font-size: 14px;
  color: #333333;
}

.card-nested-section {
  margin: 10px -20px -20px;
  padding: 20px;
  background: #f7f7f7;
  border-top: 1px solid #e6e6e6;
}

.card-nested-section.indented {
  margin: -20px;
  background: transparent;
  border-top: 0;
}

.card-nested-section:last-child {
  margin-bottom: -20px;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  border-bottom: 0;
}

.card p:first-child {
  margin-top: 0;
}

.card p:last-child {
  margin-bottom: 0;
}

.card-actionbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  background-color: inherit;
  padding: 6px 20px 6px 16px;
}

.card-actionbar:before, .card-actionbar:after {
  content: " ";
  display: table;
}

.card-actionbar:after {
  clear: both;
}

.card-actionbar .actionbar {
  position: absolute;
  z-index: 1;
}

.card-actionbar--with-border {
  border-top: 1px solid #e6e6e6;
}

.card-buttonbar {
  padding: 6px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  border-top: 1px solid #e6e6e6;
}

.card-buttonbar .btn-link {
  padding: 6px;
}

.card-buttonbar .justify-end {
  margin-left: auto;
  text-align: right;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.card-box-title {
  color: #998E54;
  font-size: 1.3rem;
  text-transform: uppercase;
}

@media screen and (min-width: 768px) {

  .card-body.extra-padding {
    padding: 48px;
  }

  .extra-padding .card-nested-section {
    margin-left: -48px;
    margin-right: -48px;
    padding: 20px 48px;
  }

  .extra-padding .card-nested-section:last-child {
    margin-bottom: -48px;
  }

  .card-buttonbar {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }
}

/*# sourceMappingURL=cards.css.map */
