/*********************************/
/* BEGIN Pattern: contact-card   */
/*********************************/

 .contact-card {
  margin: 0 auto 3em;
  clear: both;
  background-color: #f0f0f0;
  -webkit-box-shadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.38);
  -moz-box-shadow:    4px 4px 8px 0px rgba(0, 0, 0, 0.38);
  box-shadow:         4px 4px 8px 0px rgba(0, 0, 0, 0.38);
  width: 350px;
  height: 260px;
  padding: 1em;
  position: relative;
  display: inline-block;
  margin: 8px;
  vertical-align: bottom;
 }
  .contact-card.student {
    height: 200px;
  } 
  .contact-card.student .contact-card-contact {
    top: 130px;
  }
  .names-index-list {
    margin-bottom: 30px;
  }
 .names-index-list a {
  display: inline-block;
  width: 218px;
  margin: 5px;
 }
 #myTabs {
 	margin-bottom: 20px;
 }
 #staff_filter {
  margin: 0 0 20px 0;
 }
 #staff_filter a, #staff_filter span {
  display: inline-block;
 }
 .tab-content {
  margin-bottom: 40px;
 }

 a#allStaff {
  display: none;
 }
 #allStaffSct {
  display: inline-block;
 }

 p.select_staff {
  display: none;
  margin-bottom: 0;
  font-weight: bold;
 }
 div.navbox div.navbox-title:empty {
  display: none;
 }

 .contact-card img {
  height: 127px;
  width: 111px;
  position: relative;
  z-index: 0;
  float: right;
  border: 1px #ccc solid;
 }

 .contact-card h3 {
  width: 100%;
  font-size: 1.3em;
  line-height: 1.3em;
  bottom: 0;
  z-index: 100;
  margin: 0;
  @include -dpl-transition();
 }

 .contact-card p {
  font-size: 1em;
  height: 5em;
  line-height: 1.2em;
  padding: 0 1em;
  margin: 1.5em 0;
 }

 .contact-card-links {
  font-size: 15px;
  font-weight: bold;
  color: $sta-grey;
  padding-left: 0;
  list-style-type: none;
 }

 .contact-card-contact {
  position: absolute;
  top: 170px;
 }

  .contact-card h4 {
  font-size: 18px;
  font-weight: bold;
  color: $sta-grey;
 }

@media (max-width: 767px) and (min-width: 450px) {
  .contact-card {
    margin-bottom: 2em;
  }
  .contact-card p {
    height: auto;
  }
  
}

@media (max-width: 449px) {
    .contact-card, .contact-card.student {
      width: 285px;
    }
    .contact-card img {
      height: 107px;
      width: 91px;
    }
}

/*********************************/
/* END Pattern: contact-card     */
/*********************************/