/* CARD: a container with a background, meta data, title, body and footer. Used throughout the site for teaser content. */

.card {
  background-color: #F2F4F7;
  padding-left: 32px;
  padding-right: 32px;
  padding-top: 32px;
  padding-bottom: 40px;
  border-radius: 8px;
  position: relative;
  word-break: break-word;
  word-wrap: break-word;
}

.card_thin {
  padding-top: 24px;
  padding-left: 24px;
  padding-right: 24px;
}
/* 
Client requested that a hover state be put on the card even though it isn't a focusable element.
Tabindex was added to accomplish this. */
.card:hover,
.card:focus {
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
}

.card-meta {
  margin-bottom: 20px;
}

/* Used if an event is considered 'Professional Development' */
.card-tag {
  background-color: transparent;
  background-image: url('../img/icons/icon-badge.svg');
  background-repeat: no-repeat;
  width: 38px;
  height: 48px;
  position: absolute;
  right: 16px;
  top: -3px;
  border: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.6px;
}

.card-tag ~ .card-tooltip { 
  display: none;
  background-color: #222222;
  color: #ffffff;
  font-size: 12px;
  font-weight: normal;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3);
  border-radius: 3px;
  padding: 4px 7px;
  position: absolute;
  right: 32px;
  top: 50px;
}

.card-tag:hover ~ .card-tooltip {
  display: block;
}

.card-hd {
  margin-bottom: 5px;
}

.card-bd {
  margin-bottom: 17px;
}

.card-ft {}

/* To pass contrast accessibility */
.card .hdg_subtext  {
  color: #6F6F6F;
}