.blocker {
  z-index: 9999 !important;
}

.team-member-items {
  display:flex;
  flex-wrap: wrap;
}

.team-member-card {
  position: relative;
  width:25%;
  padding:10px;
  z-index: 1;
}

.team-member-card.hidden {
 display: none !important; 
}

.team-member-info {
  padding: 0 50px;
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  transform: translateY(-50%);
  color: #fff;
  text-align: center;
}

.bio-popup-text--head {
  align-items: flex-start;
  display: flex;
  padding-bottom: 1em;
}

.bio-popup-name-title, .bio-popup-logos {
  flex-basis: 50%;
}

.bio-popup-logos {
  align-items: center;
  display: flex;
  justify-content: flex-end;
}

.bio-popup-logos img {
  height:max-content;
  margin-left: 2%;
  max-width: 48%;
  width: 150px;
}

.team-member-info h3, .bio-popup-text h3 {
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 10px;
}

.team-member-info h3 {
  color: #fff;
}

.team-member-item__image {
  border-radius: 100%;
  bottom: 0;
  left: 0;
  max-height: 350px;
	overflow: hidden;
	position: relative;
  right: 0;
	top: 0;
  width: 100%;
	z-index: -1;
}

.bio-popup-image-wrapper {
  overflow:hidden;
  width: 100%;
}

.bio-popup-vf-top-rated {
  margin-top: -25px;
  overflow:hidden;
  width: 100%;
}

.bio-popup-vf-top-rated img {
  height: auto;
  width: 100%;
}

.bio-popup-vouchedfor {
  float:left;
  padding-top: 2em;
  width: 60%;
}

.bio-popup-chartered {
  float: left;
  padding-left: 10px;
  padding-top: 2em;
  text-align: center;
  width: 40%;
}

.team-member-item__image:before {

  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #006083;
  background-size: cover;
  opacity: .8;
  mix-blend-mode: multiply;
  z-index: 1;
}

.team-member-item__image img {
  width: 100%;
  vertical-align: top;
  transition: all 0.2s ease-in-out;
}

.team-member-info .job-title, .bio-popup-text .job-title {
  font-size: 1.2em;
  line-height: 1.2em;
}

.bio-popup-text .job-title {
  margin: 0;
}

.team-member-card:hover .team-member-item__image img {
  transform: scale(1.07);
}

.modal {
  max-width: 1000px;  
  padding: 2em;
}

.modal.narrow-popup {
  max-width: 620px;
}

.close-modal {
  background-image: none !important;
  background-color: #006083 !important; 
  line-height: 28px !important;
}

.close-modal:hover {
  background-color: #29235c !important; 
}

.bio-popup-image {
  height: 380px;
  background-size:cover !important;
}

.bio-popup-text {
  padding: 0 2em;
}

.contact-email i, .contact-phone i {
  padding-right: 5px;
}

.contact-email {
  padding-right: 20px;
  display: inline-block;
}

.contact-phone {
  display: inline-block;
}

.category-filter{
  max-width: 1600px;
  margin: 0 auto 0 auto;
  width: 100%;
  padding-bottom: 10px;
}

.category-filter ul{
 margin:0;
  list-style:none;
  padding-inline-start:0;
   display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding-bottom: 40px;

}

.category-filter ul li{
  float:left;
  padding-left:10px;
  padding-bottom: 0;
  margin-bottom: 10px;
}

.category-filter .button {
  z-index: 1;
}

.team-member-card-section .category-filter__dropdown{
  display: none;
}

@media ( max-width:1280px){

.category-filter-container{
    flex-direction:column;
  }

  .team-member-info h3 {
    font-size: 24px;
  }

  .team-member-info {
    padding: 0 30px;
  }

  .team-member-card-section .category-filter .button{
    padding: 0.5em 1em;
  }

}

@media(max-width:980px){

  .bio-popup-text--head {
    flex-direction: column;
  }

  .bio-popup-name-title, .bio-popup-logos {
    flex-basis: 100%;
    width: 100%;
  }

  .bio-popup-logos {
    justify-content: flex-start;
    padding-top: 2em;
  }

  .team-member-card.popup .team-member-info .open-modal {
    opacity: 1;
    margin-bottom: 0;
    margin-top:10px;
  }

  .team-member-card {
    width: 50%;
  }
}

@media(max-width:767px){
 .category-filter ul {
   padding:0;
   padding-top:40px;
  }
  
  .modal {
   margin-top: 100px; 
  }
  
  .bio-popup-image {
    background-size: contain !important;
  }
  
  .bio-popup-text {
    padding: 2em 0 0 0;
  }
  
  .team-member-card {
    width: 100%;
  }

  .team-member-card-section .category-filter{
    position: relative;
  }

  .team-member-card-section .category-filter ul{
    display: none;
  }

  .team-member-card-section .category-filter select{
    font-size: 1.2em;
    padding: 0.5em 1em;
    -webkit-appearance: none;
    border: 1px solid #00a19a;
    color: #00a19a;
    width: 100%;
    display: block;
  }
  .team-member-card-section .category-filter__dropdown{
    position: relative;
    display: block;
  }
  .team-member-card-section .category-filter__dropdown:before{
    content: '\f078';
    font-family: fontawesome;
    position: absolute;
    right: 10px;
    bottom: 8px;
  }
  
}

@media(max-width:480px){
  .bio-popup-image {
    height: 300px;
  }
}

@media(min-width:1600px){
.team-member-item__image {
  max-height: 420px;
}
