/* Our Team */
.team-container .team-team > .wrapper:not(:last-child) {
  margin-bottom: 130px;
}
.team-container h1 {
  font-size: 3rem !important;
  margin-bottom: 30px !important;
}
.team-container .wrapper > p:first-of-type {
  margin-bottom: 50px !important;
  margin-top: 10px !important;
}
.team-container .block {
  margin: 15px;
  height: 400px;
  position: relative;
}
.team-container .block .team-under {
  background-color: grey;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.team-container .team-under .team-name {
  background: rgba(255, 255, 255, 0.8);
  width: 90%;
  margin-bottom: 10%;
  padding: 10px;
  text-align: center !important;
}
.team-container .team-overlay {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  opacity: 0;
  overflow-y: scroll;
  padding: 20px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.team-container .block:hover .team-overlay,
.team-container .block:focus .team-overlay,
.team-container .block:active .team-overlay {
  opacity: 1;
}
.team-container .block .team-overlay p {
  font-size: 0.9rem !important;
  line-height: 1.2rem !important;
  margin-bottom: 10px !important;
}

@media (max-width: 1100px) {
  .team-team .column.fourth {
    width: 50%;
  }
  .team-container .block {
    height: 500px;
  }
}
@media (max-width: 640px) {
  .team-team .column.fourth {
    width: 100%;
  }
  .team-container .block {
    margin: 20px 0;
  }
}
