.team-members {
  position: relative;
  background-color: #f9f9f9;
  font-family: "Open Sans";
}

.tf-members-heading {
  padding: 40px 0 20px;
  text-align: center;
}

.tf-members-wrapper {
  display: flex;
  justify-content: center;
  align-items: stretch;
  /* flex-wrap: wrap; */
  padding: 3em 2em;
}

.tf-members-2 .tf-member {
  width: 50%;
}

.tf-members-3 .tf-member {
  width: 33.3333%;
}

.tf-members-4 .tf-member {
  width: 25%;
}

.tf-member {
  max-width: 380px;
  position: relative;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 1em 2em 2em;
  margin: 10px;
  background-color: #fff;
}

.tf-member-photo {
  margin: 0 -2em;
}

.tf-circled .tf-member-photo {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 10px solid #eee;
  margin: 0 auto;
  overflow: hidden;
}

.tf-circled .tf-member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tf-member-photo img {
  display: block;
  margin: 0 auto;
  height: 240px;
  width: auto;
}

.tf-filter .tf-member-photo img,
.tf-social-filter .tf-member-social-links img {
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  transition: all 0.5s;
}

.tf-black-white .tf-member-photo img,
.tf-social-black-white .tf-member-social-links img {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}

.tf-black-white .tf-member:hover img,
.tf-social-black-white .tf-member-social-links:hover img {
  -webkit-filter: grayscale(0);
  filter: grayscale(0);
}

.tf-hue .tf-member-photo img,
.tf-social-hue .tf-member-social-links img {
  -webkit-filter: hue-rotate(180deg);
  filter: hue-rotate(180deg);
}

.tf-hue .tf-member:hover img,
.tf-social-hue .tf-member-social-links:hover img {
  -webkit-filter: hue-rotate(0);
  filter: hue-rotate(0);
}

.tf-sepia .tf-member-photo img,
.tf-social-sepia .tf-member-social-links img {
  -webkit-filter: sepia(.8);
  filter: sepia(.8);
}

.tf-sepia .tf-member:hover img,
.tf-social-sepia .tf-member-social-links:hover img {
  -webkit-filter: sepia(0);
  filter: sepia(0);
}

.tf-contrast .tf-member-photo img,
.tf-social-contrast .tf-member-social-links img {
  -webkit-filter: contrast(5);
  filter: contrast(5);
}

.tf-contrast .tf-member:hover img,
.tf-social-contrast .tf-member-social-links:hover img {
  -webkit-filter: contrast(1);
  filter: contrast(1);
}

.tf-member-name,
.tf-member-position {
  margin: 0;
  text-align: center;
}

.tf-member .tf-member-name {
  margin: 15px 0 5px;
  font-size: 17px;
  letter-spacing: normal;
}

.tf-member .tf-member-position {
  margin: 0;
  font-size: 14px;
  color: #666;
  font-weight: 400;
  text-transform: capitalize;
  letter-spacing: normal;
}

.tf-member-bio {
  font-size: 0.9em;
  line-height: 1.5;
  margin: 1.5em 0;
  color: #999;
}

.tf-member-skill .progress {
  width: 100%;
  height: 10px;
}
.tf-member-skill .progress-wrap {
  width: 100%;
  flex: 2 100%;
  background: #e58920;
  margin: 0 10px;
  overflow: hidden;
  position: relative;
}
.tf-member-skill .progress-bar {
  background: #e2e2e2;
  left: 0;
  position: absolute;
  top: 0;
}

.tf-member-skill {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
}

.tf-member-skill .tf-member-skill-title {
  margin: 0;
  width: 100%;
  flex: 1 50%;
  font-size: 14px;
  color: #666;
}

.with-perc-number.tf-member-skill {
  margin: 5px 0;
}

.with-perc-number .tf-member-skill-title {
  flex: 1 100%;
  max-width: 30%;
}

.tf-member-skill-n {
  width: 100%;
  flex-grow: 1 50%;
}

.with-perc-number .tf-member-skill-n {
  width: auto;
  flex: 1;
}

.tf-member-social-links {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tf-member-social-links a {
  width: 32px;
  height: 32px;
  display: block;
  text-decoration: none !important;
  box-shadow: none !important;
  margin: 0 5px;
}

.tf-member-social-links a[title="dribbble"],
.tf-member-social-links a[title="linkedin"] {
  width: 37px;
  height: 37px;
}

.tf-member-social-links a:hover {
  text-decoration: none;
  background-color: transparent;
}

.tf-member-social-links img {
  width: 100%;
  height: 100%;
}

@media only screen and (max-width: 980px) {
  .tf-members-wrapper {
    flex-wrap: wrap;
  }

  .tf-members-wrapper .tf-member {
    width: auto;
  }
}
