/*------------------------------------------------------------------
[TEAM.CSS - Team shortcode styles]
[Table of contents]

1. Shared styles, layout
2. Responsive styles
-------------------------------------------------------------------*/
/*------------------------------------------------------------------
	1. Shared styles, layout
-------------------------------------------------------------------*/
.team-members .item {
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 2px solid #eeeeee;
}
.team-members .item .inside {
  position: relative;
}
.team-members .item .inside.with-photo {
  padding-left: 200px;
  min-height: 170px;
}
.team-members .item .inside.with-photo .photo {
  position: absolute;
  left: 0;
  top: 0;
}
.team-members .item .photo img {
  float: left;
  border-radius: 50%;
}
.team-members .item .photo:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.team-members .item .social {
  margin-top: 18px;
}
.team-members .item .social a {
  display: inline-block;
  border-radius: 50%;
  background: #f3f4f6;
  width: 28px;
  height: 28px;
  text-align: center;
  color: #87878d;
  margin: 0 10px 0 0;
  font-size: 12px;
}
.team-members .item .social a:hover {
  color: #ffffff;
  background: #00bff3;
}
.team-members .item header {
  position: relative;
  padding-bottom: 7px;
}
.team-members .item header h5 {
  margin-bottom: 7px;
}
.team-members .item header .position {
  font-family: Roboto Slab;
  font-weight: bold;
}
.team-members .item:hover h5 {
  color: #1cbbb4;
}
.team-members .item:hover .photo:before {
  background: rgba(28, 187, 180, 0.5);
}
.team-members .item:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
}
.team-members .theme-collapse-text + [data-readmore-toggle],
.team-members .theme-collapse-text[data-readmore] {
  display: inline-block !important;
  width: auto !important;
}
/*------------------------------------------------------------------
	2. Responsive styles
-------------------------------------------------------------------*/
@media screen and (max-width: 767px) {
  .team-members.style-list .item .inside.with-photo {
    min-height: 1;
    padding-left: 0;
  }
  .team-members.style-list .item .inside.with-photo .photo {
    position: relative;
    float: left;
    margin-bottom: 24px;
  }
  .team-members.style-list .item .inside.with-photo .description {
    clear: both;
  }
}
