/*  8.8 Team css
/*----------------------------------------*/
.tp-team-2-item {
  position: relative;
  z-index: 1;
}
.tp-team-2-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 320px;
  width: 100%;
  background-color: #D9D0E6;
  z-index: -1;
  border-radius: 20px;
}
.tp-team-2-bg.leaf {
  background-color: #C5D1B7;
}
.tp-team-2-bg.strom {
  background-color: #E3CFC8;
}
.tp-team-2-bg.geyser {
  background-color: #CBE0EF;
}
.tp-team-2-thumb {
  pointer-events: none;
  text-align: center;
  height: 372px;
}
.tp-team-2-thumb img {
  max-width: 100%;
  object-fit: cover;
}
.tp-team-2-content {
  position: absolute;
  left: 20px;
  right: 20px;
  text-align: center;
  bottom: 20px;
  border-radius: 10px;
  background: #FFF;
  box-shadow: 0px 0px 40px 0px rgba(5, 27, 48, 0.06);
  padding: 20px 0;
}
.tp-team-2-content span {
  color: #777781;
  font-size: 15px;
}
.tp-team-2-title {
  color: #1E1E2F;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 0;
}
.tp-team-2-title a:hover {
  color: var(--tp-theme-secondary);
}
.tp-team-2-social {
  position: absolute;
  bottom: 270px;
  right: 10px;
  z-index: 2;
  cursor: pointer;
  transition: all 0.5s ease;
  border-radius: 30px 30px 2px 30px;
  background: #0071DC;
  box-shadow: 0px 1px 3px 0px rgba(43, 22, 5, 0.14);
}
.tp-team-2-social:hover a {
  opacity: 1;
}
.tp-team-2-social:hover .tp-team-2-social-wrap {
  border-radius: 30px 30px 0px 0px;
}
.tp-team-2-social:hover .tp-team-2-social-wrap i, .tp-team-2-social:hover .tp-team-2-social-wrap svg {
  transform: rotate(135deg);
}
.tp-team-2-social:hover .tp-team-2-social-icon {
  transform: scaleY(1);
}
.tp-team-2-social-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50px;
  line-height: 40px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tp-common-white);
  -webkit-transition: all 0.3s 0s ease-out;
  -moz-transition: all 0.3s 0s ease-out;
  -ms-transition: all 0.3s 0s ease-out;
  -o-transition: all 0.3s 0s ease-out;
  transition: all 0.3s 0s ease-out;
  font-size: 13px;
  position: relative;
  z-index: 3;
  background: #0071DC;
  border-radius: 30px 30px 2px 30px;
}
.tp-team-2-social-wrap i, .tp-team-2-social-wrap svg {
  -webkit-transition: all 0.3s 0s ease-out;
  -moz-transition: all 0.3s 0s ease-out;
  -ms-transition: all 0.3s 0s ease-out;
  -o-transition: all 0.3s 0s ease-out;
  transition: all 0.3s 0s ease-out;
  color: var(--tp-common-white);
}
.tp-team-2-social-wrap svg {
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  -o-transform: translateY(-2px);
  transform: translateY(-2px);
  color: var(--tp-common-white);
}
.tp-team-2-social-icon {
  position: absolute;
  top: 25px;
  height: auto;
  background: #0071DC;
  padding: 10px 0 15px 0;
  border-radius: 0 0 30px 30px;
  transform: scaleY(0);
  transform-origin: top;
  transition: 0.3s;
  z-index: -1;
}
.tp-team-2-social-icon a {
  width: 40px;
  height: 26px;
  line-height: 30px;
  text-align: center;
  font-size: 13px;
  display: block;
}
.tp-team-2-social-icon a i, .tp-team-2-social-icon a span {
  color: var(--tp-common-white);
  opacity: 0.7;
  -webkit-transition: all 0.3s 0s ease-out;
  -moz-transition: all 0.3s 0s ease-out;
  -ms-transition: all 0.3s 0s ease-out;
  -o-transition: all 0.3s 0s ease-out;
  transition: all 0.3s 0s ease-out;
}
.tp-team-2-social-icon a:hover i, .tp-team-2-social-icon a:hover span {
  opacity: 1;
}
@media only screen and (max-width: 767px) {
  .tp-team-2-arrow {
    margin-bottom: 30px;
  }
}
.tp-team-2-arrow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  width: 46px;
  line-height: 46px;
  text-align: center;
  border-radius: 50px;
  border: 1px solid rgba(30, 30, 47, 0.1);
  color: var(--tp-text-body);
  -webkit-transition: all 0.3s 0s ease-out;
  -moz-transition: all 0.3s 0s ease-out;
  -ms-transition: all 0.3s 0s ease-out;
  -o-transition: all 0.3s 0s ease-out;
  transition: all 0.3s 0s ease-out;
}
.tp-team-2-arrow span:hover {
  background-color: var(--tp-theme-secondary);
  color: var(--tp-common-white);
}
.tp-team-2-arrow span svg {
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  -o-transform: translateY(-2px);
  transform: translateY(-2px);
}
.tp-team-2-next, .tp-team-2-prev {
  margin-right: 10px;
  border-radius: 50px;
}

.tp-trainer-5-wrap {
  margin-left: 60px;
}
@media only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 768px) and (max-width: 991px), only screen and (max-width: 767px) {
  .tp-trainer-5-wrap {
    margin-left: 0;
  }
}
.tp-trainer-5-item {
  position: relative;
}
.tp-trainer-5-item:hover .tp-trainer-5-content {
  margin-bottom: 0;
}
.tp-trainer-5-box {
  overflow: hidden;
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  border-radius: 10px;
}
div.tp-trainer-5-thumb img {
  border-radius: 20px;
  width: 100%;
}

.tp-trainer-5-content {
  padding: 26px 25px 22px 25px;
  background: var(--tp-common-white);
  margin-bottom: -65px;
  -webkit-transition: all 0.3s 0s ease-out;
  -moz-transition: all 0.3s 0s ease-out;
  -ms-transition: all 0.3s 0s ease-out;
  -o-transition: all 0.3s 0s ease-out;
  transition: all 0.3s 0s ease-out;
}
.tp-trainer-5-title {
  color: var(--tp-heading-4);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 0;
  line-height: 1;
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .tp-trainer-5-title {
    font-size: 18px;
  }
}
.tp-trainer-5-info {
  border-bottom: 1px solid #F2EEEB;
  margin-bottom: 15px;
  padding-bottom: 16px;
}
.tp-trainer-5-info span {
  color: #777781;
  font-size: 15px;
  font-weight: 400;
}
.tp-trainer-5-social a {
  font-size: 14px;
  color: #777781;
}
.tp-trainer-5-social a:not(:last-of-type) {
  margin-right: 18px;
}
.tp-trainer-5-social a:hover {
  color: var(--tp-heading-4);
}

@media only screen and (max-width: 767px) {
  .tp-team-6-heading {
    margin-bottom: 30px;
  }
}
.tp-team-6-heading .tp-section-3-title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -2px;
  font-family: var(--tp-ff-manrope);
}
@media only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 768px) and (max-width: 991px) {
  .tp-team-6-heading .tp-section-3-title {
    font-size: 40px;
  }
}
.tp-team-6-heading .tp-section-3-title .tp-underline-shape-9 {
  left: 0;
}
.tp-team-6-wrapper .tp-event-details-item {
  border-color: transparent;
  background-color: #F8F8FA;
}
.tp-team-6-wrapper .tp-event-details-item:hover {
  box-shadow: none;
  transform: translateY(0px);
  border: 1px solid rgb(89, 86, 233);
}
.tp-team-6-wrapper .tp-event-details-item-social a:hover {
  background-color: var(--tp-theme-9);
}
.tp-team-6-nav .tp-team-2-arrow span:hover {
  background-color: var(--tp-theme-9);
}

/*----------------------------------------*/

.tp-team-yoga-pos {
  font-weight: 400;
  font-size: 15px;
  color: #525356;
}
.tp-team-yoga-title {
  font-family: var(--tp-ff-rufina);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: #141820;
}
.tp-team-yoga-title:hover {
  color: var(--tp-red-4);
}
.tp-team-yoga-thumb::before {
  position: absolute;
  content: "";
  background: linear-gradient(180deg, rgba(147, 49, 21, 0) 38.02%, #933115 100%);
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.tp-team-yoga-wrap:hover .tp-team-yoga-social a {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.tp-team-yoga-wrap:hover .tp-team-yoga-link a {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.tp-team-yoga-wrap:hover .tp-team-yoga-thumb::before {
  visibility: visible;
  opacity: 1;
}
.tp-team-yoga-social {
  position: absolute;
  bottom: 20px;
  left: 20px;
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .tp-team-yoga-social {
    bottom: 10px;
    left: 10px;
  }
}
.tp-team-yoga-social a {
  width: 40px;
  height: 40px;
  border-radius: 50px;
  text-align: center;
  line-height: 37px;
  display: inline-block;
  background: var(--tp-common-white);
  opacity: 0;
  -webkit-transition: 0.45s cubic-bezier(0.19, 1, 0.22, 1);
  transition: 0.45s cubic-bezier(0.19, 1, 0.22, 1);
  -webkit-transform: translateY(25px);
  transform: translateY(25px);
  margin-right: 3px;
  color: var(--tp-common-black);
}
.tp-team-yoga-social a:hover {
  color: var(--tp-red-4);
}
.tp-team-yoga-social a:nth-child(1) {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.tp-team-yoga-social a:nth-child(2) {
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
.tp-team-yoga-link {
  position: absolute;
  bottom: 20px;
  right: 20px;
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .tp-team-yoga-link {
    bottom: 10px;
    right: 10px;
  }
}
.tp-team-yoga-link a {
  font-family: var(--tp-ff-manrope);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--tp-common-white);
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  opacity: 0;
  display: inline-block;
  -webkit-transform: translateY(25px);
  transform: translateY(25px);
}
.tp-team-yoga-link a span {
  border: 2px solid rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 36px;
  display: inline-block;
  border-radius: 50%;
  margin-left: 4px;
  color: var(--tp-common-white);
  transition: all 0.4s ease;
}
.tp-team-yoga-link a span:hover {
  background: var(--tp-common-white);
  color: var(--tp-common-black);
}
.tp-team-quran-wrap .tp-team-yoga-thumb::before {
  background: linear-gradient(180deg, rgba(29, 146, 103, 0) 38.02%, #1d9267 100%);
}
.tp-team-quran-wrap .tp-team-yoga-title {
  font-family: var(--tp-ff-body);
  font-weight: 500;
  font-size: 22px;
  color: #161613;
}
.tp-team-quran-wrap .tp-team-yoga-title a:hover {
  color: var(--tp-theme-11);
}