/*--------------------------
  // Team Area
--------------------------*/
.team-single-item-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;

  li {
    width: calc(100% / 4);
  }
}

.team-member-carousel-wrapper {
  margin-left: -15px;
  margin-right: -15px;
}

.tm-outer-wrap {
  padding: 0 15px;
}

.team-single-item {
  position: relative;
  margin-bottom: 30px;
  overflow: hidden;
  //padding:0 20px;
  &.bg-image {
    min-height: 300px;
    background-size: cover;
    background-repeat: no-repeat;
  }

  &:hover {
    .content-wrap {
      transform: translateX(0);
    }
  }

  .content-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #283a47;
    transition: 0.5s all;
    transform: translateX(-100%);
    padding: 30px;
    display: flex;
    align-items: center;

    .title {
      font-size: 22px;
      line-height: 30px;
      font-weight: 600;
      color: $white;
      margin-bottom: 5px;
    }

    span {
      color: var(--main-color-one);
      font-weight: 500;
      display: inline-block;
      margin-bottom: 20px;
    }

    p {
      color: #adbecc;
      line-height: 26px;
      margin-bottom: 15px;
    }
  }
}

/*team block*/
.team-single-item-02 {
  position: relative;
  margin-bottom: 30px;

  &:hover {
    box-shadow: 0px 1px 10px 0px #00000017;;
  }

  .thumb {
    img {
      width: 100%;
    }
  }

  .content {
    padding: 32px 40px 35px;

    .title {
      font-size: 32px;
      line-height: 42px;
      font-weight: 700;
      color: var(--heading-color);
      margin-bottom: 5px;
    }

    span {
      color: #2079ff;
      font-weight: 700;
      padding-top: 5px;
      display: inline-block;
    }
    p{
      color: #6b93aa;
      line-height: 28px;
      padding-top: 20px;
      margin-top: 22px;
      border-top: 1px solid #e1ebff;
    }
  }
}