div.staffDirectoryBlock div.staffEntries {
  margin: 1em -1.75em 0 !important;
  flex-direction: row;
  flex-grow: 1;
  text-align: center;
}
div.staffDirectoryBlock div.staff {
  width: calc(20% - 3.8em);
  transition: width 0.5s, max-height 0.5s, margin 0.5s;
  margin: 0 1.75em !important;
  display: inline-block;
  cursor: pointer;
  flex-grow: 0;
  vertical-align: top;
}
div.staffDirectoryBlock div.staff.highlighted {
  overflow: hidden;
  width: 0;
  max-height: 0;
  margin: 0 !important;
  padding: 0 !important;
}
div.staffDirectoryBlock div.staff:hover {
  background-color: #A31F34;
  color: white;
}
div.staffDirectoryBlock div.staff:hover div.desc span a {
  color: white;
}
div.staffDirectoryBlock div.staff div.img {
  height: 15em;
  background-color: #ccc;
  overflow: hidden;
}
div.staffDirectoryBlock div.staff div.desc {
  text-align: center;
  font-size: 1.3em;
  line-height: 1.3em;
  padding: 2em 0.75em 2em !important;
}
div.staffDirectoryBlock div.staff div.desc span {
  display: inline-block;
  padding-bottom: 0.1em;
}
div.staffDirectoryBlock div.staff div.desc span.staffname {
  font-weight: 700;
}
div.staffDirectoryBlock div.staff div.desc span.stafftitle {
  font-style: italic;
}
div.staffDirectoryBlock div.staff div.desc span.staffemail a {
  text-decoration: underline;
  font-size: 0.9em;
}
div.staffDirectoryBlock div.staff div.desc span.staffemail a span.small {
  display: none;
}
div.staffDirectoryBlock div.staffDirectorySearchBar {
  text-align: center;
  background-color: #eae9ea;
  padding: 1.5em !important;
  margin-bottom: 3.5em;
  box-shadow: 0 0 1em inset rgba(0, 0, 0, 0.3) !important;
}
div.staffDirectoryBlock div.staffDirectorySearchBar p {
  margin: 0;
}
div.staffDirectoryBlock #staffDirectorySearchResults {
  flex-flow: row;
  justify-content: center;
}
div.staffDirectoryBlock #staffDirectorySearchResults div.staff {
  width: 0;
  max-height: 0;
  margin: 0 !important;
  overflow: hidden;
}
div.staffDirectoryBlock #staffDirectorySearchResults div.staff.hero {
  width: calc(24.3% - 3.5em);
  max-height: 30em;
  margin: 0 1.75em !important;
  overflow: visible;
}
div.staffDirectoryBlock #staffDirectorySearchResults div.staff.hero div.img {
  box-shadow: 0 0.5em 1.5em rgba(0, 0, 0, 0.3) !important;
  height: 18em;
}
div.staffDirectoryBlock div.sdpopwindow {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  box-shadow: 0 0 2em rgba(0, 0, 0, 0.4) !important;
  padding: 3.5em 3.5em 2em !important;
  max-width: 35em;
  max-height: 90vh;
  display: none;
  overflow-y: auto;
  z-index: 100;
}
div.staffDirectoryBlock div.sdpopwindow div.staffimg {
  width: 27em;
  height: 27em;
  overflow: hidden;
  background-color: #ccc;
  margin: 0 auto;
}
div.staffDirectoryBlock div.sdpopwindow div.staffdesc {
  margin-top: 3.5em;
}
div.staffDirectoryBlock div.sdpopwindow div.staffdesc p,
div.staffDirectoryBlock div.sdpopwindow div.staffdesc li {
  font-size: 1.4em;
  line-height: 1.4em;
}
div.staffDirectoryBlock div.sdpopwindow div.staffdesc span.name {
  font-size: 1.6em;
  font-weight: 800;
  line-height: 1.2em;
}
div.staffDirectoryBlock div.sdpopwindow div.staffdesc span.title,
div.staffDirectoryBlock div.sdpopwindow div.staffdesc span.aoe {
  font-style: italic;
}
div.staffDirectoryBlock div.sdpopwindow div.staffdesc span.email a {
  text-decoration: underline;
}
div.staffDirectoryBlock div.sdpopwindow div.staffdesc span.email a span.small {
  display: none;
}
div.narrowwidth div.staffDirectoryBlock div.staff {
  width: calc("50% - 3.5em");
}
@media only screen and (max-width: 850px) {
  div.staffDirectoryBlock div.staff div.img {
    height: 12em;
    position: relative;
  }
  div.staffDirectoryBlock div.staff div.img img {
    position: absolute;
    height: 12em;
    width: auto;
    margin: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  div.staffDirectoryBlock div.staff div.desc span.staffemail a span.full {
    display: none;
  }
  div.staffDirectoryBlock div.staff div.desc span.staffemail a span.small {
    display: inline;
  }
  div.staffDirectoryBlock #staffDirectorySearchResults div.staff.hero div.img {
    height: 14em;
  }
  div.staffDirectoryBlock #staffDirectorySearchResults div.staff.hero div.img img {
    height: 14em;
  }
}
@media only screen and (max-width: 850px) {
  div.staffDirectoryBlock div.staff {
    margin: 0 1em !important;
    width: calc(18%);
  }
  div.staffDirectoryBlock div.staff div.img {
    height: 10em;
    background-color: white;
  }
  div.staffDirectoryBlock div.staff div.img img {
    height: 10em;
  }
  div.staffDirectoryBlock div.staffDirectorySearchBar {
    margin: 0 -2em 3.5em;
  }
  div.staffDirectoryBlock #staffDirectorySearchResults div.staff.hero {
    width: 30%;
    margin: 0 1em !important;
  }
}
@media only screen and (max-width: 650px) {
  div.staffDirectoryBlock div.staff {
    width: calc(26%);
  }
  div.staffDirectoryBlock div.staff div.desc {
    padding: 1em 0.2em 1em !important;
  }
  div.staffDirectoryBlock #staffDirectorySearchResults div.staff.hero {
    width: 40%;
    margin: 0 1em !important;
  }
}
@media only screen and (max-width: 450px) {
  div.staffDirectoryBlock div.staff {
    width: calc(33%);
  }
  div.staffDirectoryBlock div.sdpopwindow {
    max-width: 90vw;
    max-height: 90vh;
  }
  div.staffDirectoryBlock div.sdpopwindow div.staffimg {
    width: 70vw;
    height: auto;
  }
}
