.background {
  width: 100%;
  height: 50vh;
  background-image: url("../images/team/pawel-czerwinski-_tGH9C9JCF8-unsplash.png");
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}
.content {
  padding-bottom: 20px;
}
.background div h1 {
  color: #ffffff;
  font-size: 50px;
  font-family: Futura-Medium;
  letter-spacing: 3px;
}

.background div {
  width: 35%;
  min-width: 400px;
  margin: 0;
}

.background div p {
  color: white;
  font-size: 18px;
  margin-left: 10px;
  margin-right: 10px;
}

.teamHeadMembers {
  flex-direction: row;
  height: 720px;
  border: none;
  padding: 0;
}

.member {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.memberPhoto {
  height: 60%;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
}

.photo1 {
  background-image: url("../images/team/member2.png");
  background-position-y: 70%;
}

.photo2 {
  background-image: url("../images/team/member1.png");
  background-position-y: 25%;
}

.memberTitle {
  height: 20%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 15px;
}
.memberTitle h5 {
  color: #3242ff;
  font-size: 24px;
  margin: 0;
  font-weight: 700;
}

.memberTitle span {
  color: #646464;
  font-size: 14px;
  font-family: Futura-Medium;
}

.memberContent {
  height: 30%;
  width: 80%;
}

.memberContent span {
  font-size: 14px;
  width: 100%;
  height: 100%;
  font-family: Futura-Medium;
  overflow: hidden !important;
  text-overflow: ellipsis;
}

.memberSocial {
  height: 10%;
  width: 100%;
  display: flex;
  justify-content: center;
}

.memberSocial div {
  width: 20%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.memberSocial div a img {
  height: 15px;
  opacity: 40%;
}

.advisoryBoard {
  background-color: white;
  margin: 0 auto;
  height: 900px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.advisoryMember {
  width: 25%;
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.advMemberPhoto {
  height: 50%;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
}

.advMemberPhoto img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 0 30%;
}

.functionColor {
  color: #3242ff !important;
}

.onHover {
  width: 100%;
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.collapsedArrow {
  width: 100%;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #3242ff;
  display: none;
}

.onHover:hover {
  background-color: #3242ff;
  color: #ffffff;
  transform: translateY(-30px);
  transition: 0.2s;
}
.onHover:hover .collapsedArrow {
  display: unset;
  color: white;
  background-color: #3242ff;
  transform: translateY(30px);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.onHover:hover .memberSocial div a img {
  filter: invert(1);
  opacity: 1;
}

.onHover:hover .memberTitle h5 {
  color: #ffffff;
}

.onHover:hover .memberTitle .functionColor {
  color: #ffffff !important;
}

.companyLogo {
  position: absolute;
  height: 50px;
  width: 100%;
  top: 15px;
  background-repeat: no-repeat;
  background-position-x: center;
  filter: invert(0.5);
}

.companyDescription {
  font-family: Helvetica;
  font-size: 14px;
  color: #646464;
  text-align: center;
}

.company_card_holder {
  background: white;
  transform: translate(0px, -50px);
}

.selector {
  margin: 0 auto;
  float: left;
  width: 33%;
  padding-left: 10px;
  padding-right: 10px;
}

@media (max-width: 500px) {
  .selector {
    float: left;
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 10px;
    max-width: unset;
  }
  .company_card {
    width: 100% !important;
  }
  .innerSiteHeader {
    display: block !important;
    padding-top: 25px !important;
    padding-bottom: 60px !important;
    min-height: 120px !important;
  }
  select {
    max-width: 80%;
  }
}

#companyLocationId {
  font-size: 14px;
}
#companyLogoId {
  height: auto;
  max-height: 50px;
}
