
.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;
}
.tp-team-2-thumb img {
  max-width: 100%;
}
.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-block;
  color: #ffffff;
  -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: #ffffff;
}
.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: #ffffff;
}
.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: #ffffff;
  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-block;
  height: 46px;
  width: 46px;
  line-height: 45px;
  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: #ffffff;
}
.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;
}
.tp-trainer-5-thumb img {
  border-radius: 20px;
  width: 100%;
}
.tp-trainer-5-content {
  padding: 26px 25px 22px 25px;
  background: #ffffff;
  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 !important;
  background-color: #F8F8FA !important;
}
.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: #5956E9;
} */
.tp-team-6-nav .tp-team-2-arrow span:hover {
  background-color: #5956E9;
}


.tp-event-details-item {
  border-radius: 16px;
  padding: 30px;
  background: #ffffff;
  border: 1px solid rgba(3, 31, 66, 0.08);
  -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-event-details-item-thumb {
  margin-bottom: 20px;
}
.tp-event-details-item-thumb img {
  object-position: top;
  border-radius: 50%;
  width: 200px;
  height: 200px !important;
  object-fit: cover;
}
img:not([draggable]), embed, object, video {
  max-width: 100%;
  height: auto;
}


.tp-event-details-item-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 3px;
  color: #031F42;
}
.tp-event-details-item-content p {
    font-size: 15px;
    color: #ff4200;
    font-weight: 600;
}
.tp-event-details-item-content p {
    font-size: 15px;
    color: #ff4200;
    font-weight: 600;
}
.grayscale-image {
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.tp-team-6-wrapper .tp-event-details-item:hover .grayscale-image {
  filter: grayscale(0%);
}
.tp-event-details-item-social i{
  font-size: 25px;
}

.email-link i {
  transition: transform 0.3s, color 0.3s;
}

/* Change icon on hover */
.email-link:hover i {
  
  transform: scale(2); 
  color: #ff6600; 
}
@media(max-width: 991px) {
  .tp-event-details-item-thumb img{
    object-position: top;
      height: 100px !important;
  }
  .tp-event-details-item-title{
    font-size: 14px;
  }
  .tp-event-details-item-content p{
    font-size: 9px;
  }
  .tp-event-details-item{
    padding: 25px;
    
  }
}