/* News Cards */
.card {
  border-radius: 10px;
  overflow: hidden;
}
.view .card .card__rich-media {
  margin: 1rem 1rem 0rem 1rem;
}
.view-card-display .views-row {
  flex-basis: 50%;
  margin: 16px auto;
}
.view .card .card__body-button {
  text-transform: uppercase;
}
.view .card:before {
  height: 6px;
}
.view .card .card__title > a, .view .card .card__date {
  text-decoration: none;
}

@media (min-width: 640px) {
  .view-card-display .view-content {
    display: flex;
    justify-content: center;
    margin: auto;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .view-card-display .views-row {
    flex: 1;
    margin: 16px auto;
  }
  .view-card-display .card {
    height: 100%;
  }
}

@media (max-width: 1024px) {
  .view-card-display .views-row {
    flex-basis: 50%;
  }
}

.view--card-display .view__content {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  box-sizing: border-box;
}
.view--card-display .view__content .view__row {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.view .card {
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.22) !important;
  display: block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;
  position: relative;
  overflow: hidden;
  min-width: 300px;
  width: calc(100% - 32px);
  margin: auto;
}
.view .card:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 51%;
  right: 51%;
  bottom: 0;
  background: #008457;
  height: 4px;
  -webkit-transition-property: left, right;
  transition-property: left, right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out; }
.view .card:hover:before, .card:focus:before, .card:active:before {
  left: 0;
  right: 0; }
.view .card .card__effectbox {
  padding-bottom: 4em;
}
.view .card .card__effectbox .card__header {
  display: block;
  padding: 0.58824rem 0 0 0; }
.view .card .media-box-button_card__effectbox {
  padding: 2rem;
  text-align: left;
  border-top: 5px solid #005A9C; }
.view .card .media-box-button_card__effectbox .card__title {
  font-size: 1.1764705882rem; }
.view .card .media-box-button_card__effectbox .card__body-button {
  text-align: center; }
.view .card .card__date {
  color: #666;
  font-size: 0.85em;
  margin-bottom: 0.5rem;
  padding: 0 1rem;
}
.view .card .card__rich-media {
  margin-bottom: 0.3529411765rem;
  max-height: 215px;
  min-height: 215px;
  background-size: cover;
  display: block;
  background-position: 50%;
}
.view .card .card__title {
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 0.588235294em;
  padding: 0 1.05rem; }
.view .card .card__title > a {
  text-decoration: none; }
.view .card .card__body-content {
  padding: 0 1.05rem 0;
  font-size: 85%;
}
.view .card .card__body-button {
  padding: 0em 1em 1em 1em;
  position: absolute;
  display: block;
  bottom: 0; }
.view .card .card__body-button a {
  margin: 1em 0em 0em 0em; }
.view .card .col-sm-4 {
  padding: 0; }
.view .card.col-sm-4 {
  padding: 0; }
