
.flex {
  display: block;
}

@supports (display: grid) {
  .flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
  }
}

.staff-bio-small {
  display: inline-block;
  width: 100%;
  background-color: #FFFFFF;
  border: 1px solid #E2E9ED;
  margin: 0 0 1rem 0;
  padding: 2rem;
  text-align: center;
  -webkit-transition: all .15s ease;
  -moz-transition: all .15s ease;
  -o-transition: all .15s ease;
  -ms-transition: all .15s ease;
  transition: all .15s ease;
  -webkit-transform: scale(1.0);
  -moz-transform: scale(1.0);
  -o-transform: scale(1.0);
  -ms-transform: scale(1.0);
  transform: scale(1.0);
}

@supports (display: grid) {
  .staff-bio-small {
    display: flex;
    width: auto;
    flex-basis: 100%;
    flex-direction: column;
    justify-content: space-evenly;
  }
}

.staff-bio-small:hover {
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -o-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
  box-shadow: 0 4px 8px 0 rgba(0,0,0,.12), 0 2px 4px 0 rgba(0,0,0,.08);
}

.staff-bio-big {
  display: block;
  margin: 0 0 1rem 0;
  padding: 2rem 0 0 0;
  position: relative;
  text-align: center;
}

.staff-bio-big p {
  text-align: left;
}

.staff-bio-small img, .staff-bio-big img {
  display: block;
  margin: 0 auto 1rem;
  width: 150px;
  height: 150px;
  border-radius: 100%;
  vertical-align: middle;
  -ms-interpolation-mode: bicubic;
}

.staff-bio-big img {
  width: 250px;
  height: 250px;
}

.staff-bio-small h2 {
  font-weight: 700;
}

.staff-bio-small h3, .staff-bio-big h2 {
  font-weight: 300;
  color: #828181;
  font-size: 0.9rem;
}

.staff-bio-small ul {
  list-style: none;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0;
}

.staff-bio-small li {
  display: inline-block;
}

.staff-bio-small li a[href^='https://www.linkedin.com']:before {
  background-image: url('../img/icon-linkedin.svg');
  background-size: 2rem 2rem;
  display: inline-block;
  width: 2rem;
  height: 2rem;
  content: '';
  vertical-align: middle;
  background-color: #FFFFFF;
}

.staff-bio-small li a:hover[href^='https://www.linkedin.com']:before {
  background-color: yellow;
}

.staff-bio-small li a span {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

@media only screen and (min-width: 40em) {
  .staff-bio-title {
    margin-left: 180px;
  }

  .staff-bio-small {
    width: 46%;
    margin: 0 1rem 1rem 0;
  }

  @supports (display: grid) {
    .staff-bio-small {
      width: auto;
      flex-basis: 46%;
    }
  }

  .staff-bio-big {
    margin-left: 150px;
    text-align: left;
    padding: 0 0 0 30px;
  }

  .staff-bio-small img {
    width: 100px;
    height: 100px;
  }

  .staff-bio-big img {
    position: absolute;
    top: 30px;
    left: -150px;
    width: 150px;
    height: 150px;
  }
}

@media only screen and (min-width: 64em) {
  .staff-bio-small {
    width: 30%;
  }

  @supports (display: grid) {
    .staff-bio-small {
      width: auto;
      flex-basis: 30%;
    }
  }
}

@media all and (-ms-high-contrast:none) and (min-width: 40em) {
  .staff-bio-small { flex-basis: 40%; } /* IE10 */
  *::-ms-backdrop, .staff-bio-small { flex-basis: 40%; } /* IE11 */
}

@media all and (-ms-high-contrast:none) and (min-width: 64em) {
  .staff-bio-small { flex-basis: 23%; } /* IE10 */
  *::-ms-backdrop, .staff-bio-small { flex-basis: 23%; } /* IE11 */
}
