/** TEAM BOXED **/

.teamcontent {
    margin-bottom: 275px;
  }
  
  .team {
    color: #313437;
    margin: 0 5px;
    padding-top: 100px;
    padding-bottom: 70px;
    position: relative;
    transition: all ease 0.2s;
  }
  
  .team-wrap {
    position: relative;
    z-index: 2;
  }
  
  .team .item {
    text-align: center;
    transition: all ease 0.2s;
  }
  
  .team .item .box {
    text-align: left;
    padding: 0px;
    height: 208px;
    background-color: #ffffff;
    margin-bottom: 16px;
    overflow: hidden;
    position: relative;
    /*cursor: pointer;*/
  }
  
  .team .item .box img {
    height: inherit !important;
  }

  .team .item .box img {
    /*-webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: url(#greyscale);
    filter: gray;
    transition: 1s;
    z-index: 1;*/
  }
  
  .team .item .box .shutter {
    width: 100%;
    background-color: #ffffff;
    color: #FFFFFF;
    height: 208px;
    position: absolute;
    left: 155px;
    padding: 30px 100px 30px 15px;
    z-index: 2;
    transition: left 0.4s ease-out;
    -o-transition: left 0.4s ease-out;
    -ms-transition: left 0.4s ease-out;
    -moz-transition: left 0.4s ease-out;
    -webkit-transition: left 0.4s ease-out;
  }
  
  .team .item .box .shutter .name {
    color: #292929;
    font-size: 20px;
    text-transform: uppercase;
  }
  
  .team .item .box .shutter .position {
    color: #8E8E90;
    font-family: "PT Sans";
    font-size: 16px;
    font-style: italic;
  }
  
  .team .item .box .shutter .text {
    color: #86bc24;
    font-family: "PT Sans";
    font-size: 16px;
  }

  .team .item .box .shutter .text a {
    color: #86bc24;
    font-family: "PT Sans";
    font-size: 16px;
  }
  
  .team .item .box .shutter.hovered {
    left: 155px;
  }
  
  .team .item .box img.degrayit {
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
    filter: none;
    transition: 1s;
  }
  
  .team-text {
    background-color: #FFFFFF;
    position: absolute;
    z-index: 1;
    bottom: -195px;
    left: -60px;
    height: 350px;
    width: 750px;
    padding: 130px 60px 60px 60px;
  }
  
  .team-inner-text {
    font-family: "PT Sans";
    font-size: 1rem;
    line-height: 1.2rem;
    padding-right: 0px;
    transition: all ease 0.2s;
  }
  
  .team-inner-text span {
    font-size: 1.4rem;
    line-height: 1.4rem;
    font-weight: 500;
    font-family: "Barlow Condensed";
    display: block;
    margin-bottom: 10px;
  }
  
  .team-tel-number {
    font-size: 3.4rem;
    font-weight: 400;
    line-height: 4rem;
    word-break: break-all;
    padding-left: 2.3rem;
    transition: all ease 0.2s;
    text-align: right;
  }
  
  @media (max-width:991px) {
    .teamcontent {
        margin-bottom: 0px;
    }
    .team {
        overflow: hidden;
        margin: 0 0px;
    }
    .team-text {
        background-color: transparent;
        position: unset;
        height: auto;
        width: 100%;
        padding: 30px 60px 0px 60px;
        text-align: center;
    }
    .team-inner-text {
        margin: 0;
        padding: 0;
    }
    .team-inner-text span {
        width: 100%;
        margin-bottom: 20px;
        line-height: 1.8rem;
    }
    .team-tel-number {
        font-size: 3rem;
        font-weight: 400;
        line-height: 4rem;
        word-break: break-all;
        padding: 0;
        text-align: center;
    }
  }
  
  @media (max-width:767px) {
    .team {
        padding-top: 30px;
        margin: 0 -1px;
    }
    .team .item .box img {
        height: 140px;
    }
    .team .item .box {
        height: 140px;
    }
    .team .item .box .shutter {
        height: 140px;
        left: 60px;
    }
    .team .item .box .shutter.hovered {
        left: 100px;
    }
    .teamcontent {
        margin-bottom: 0px;
    }
    .team-text {
      padding: 0;
      margin: 0;
    }
  }

  @media (max-width:321px) {
    .team-tel-number {
      font-size: 2.2rem;
    }
  }