/**
 * Solwin Infotech
 * Solwin Our Team Extension
 *
 * @category   Solwin
 * @package    Solwin_Ourteam
 * @copyright  Copyright © 2006-2020 Solwin (https://www.solwininfotech.com)
 * @license    https://www.solwininfotech.com/magento-extension-license/
 */

 .team-wrapper{
    display: inline-block;
    padding-left: 0;
    width: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
.team-wrapper li {
    padding: 10px 15px;
    list-style: none;
    width: calc(33.33% - 60px);
    float: left;
    margin: 0px 15px 30px;
}
.team-wrapper li.ourteam-list-item .team-mem-img {
    position: relative;
    overflow: hidden;
    border: 2px solid #999999;
    border-radius: 10%;
}
.team-wrapper li.ourteam-list-item  a img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}
.team-wrapper li.ourteam-list-item:hover  .team-mem-img {
    border-color: #006bb4;
}
.team-wrapper li.ourteam-list-item:hover  .team-mem-img img {
    transform: scale(1.1);
}
.team-wrapper li:hover a{
    text-decoration: none;
}
.team-wrapper li .member_avatar {
    max-width: 100%;
    text-align: center;
    display: inherit;
}
.team-wrapper h2.full-name {
    font-size: 16px;
    margin: 10px 0px 5px;
    max-height: 20px;
    overflow: hidden;
    color: #2f2f2f;
    white-space: nowrap;
    max-width: 100%;
    width: 100%;
    text-overflow: ellipsis;
}
h2.full-name a{
    color: #000;
    text-decoration: none;
}
.team-wrapper li #greg_description {
    max-height: 45px;
    overflow: hidden;
    color: #0a263c;
    line-height: 1.5;
}
.ourteam-detail .ourteam-short_desc{
    float: left;
    margin-left: 0;
    margin-top: 5px;
    width: 100%;
}
.read-more {
  border-radius: 2px;
  color: #fff;
  display: inline-block;
  font-weight: bold;
  margin: 15px auto;
  padding: 5px 10px;
  text-decoration: none;
  display: block;
  float: none;
}
.read-more:hover{
    color: #fff;
    background: #006bb4;
}
.ourteam-view {
    padding: 20px 20px 20px 0;
    display: inline-block;
    width: 95%;
    margin-bottom: 5px;
}
.team-img{
    float: left;
    width: auto;
    margin-right: 20px;
    text-align: -webkit-center;
    border: 1px solid rgba(204, 204, 204, 0.41);
}
.team-img img{
    max-width: 100%;
}
.team-block-left{
    float: left;
    width: 35%;
}
.team-block-right{
    float: left;
    width: 65%;
    box-sizing: border-box;
    padding-left: 15px;
}
.back-btn{
    float: left;
    width: 100%;
}
.social-icon {
    padding-top: 5px;
}
.social-icon-desc {
    padding-top: 10px;
    float: left;
}
.ourteam-list-container .pages {
  float: left;
  text-align: left;
  width: 50%;
  padding-left: 10px;
}
.ourteam-name{
  margin-top: 0px;
}
/* Our Team Page css start (our team css)
---------------------------  */
.team-mem-img {
    height: 190px;
    width: 190px;
    margin: 0px auto;
}
.ourteam-detail .team-mem-img {
    margin: 0;
    position: relative;
    border-radius: 10%;
    border: 2px solid #999999;
    overflow: hidden;
}

.ourteam-detail .team-mem-img img {
    transition: all 0.5s;
    display: inline-block;
    width: 100%;
    height: 100%;
    text-align: center;
    border: 0;
    /* overflow: hidden; */
}
.team-wrapper li.ourteam-list-item a img {
    transition: all 0.5s;
}
.team-wrapper li.ourteam-list-item:hover .team-mem-img {
    border-color: #006bb4;
}
h2.full-name {
    margin: 16px 0px 8px;
    font-size: 18px;
    font-weight: bold;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    color: #2f2f2f;
    line-height: 20px;
}
.team-wrapper li #greg_description {
    font-size: 14px;
    margin-bottom: 4px;
    font-weight: normal;
}
.team-wrapper {
    margin: 0 -15px;
    width: auto;
}
.ourteam-member-index .team-wrapper li {
    width: calc(33.33% - 30px);
    float: left;
}
.team-wrapper li {
  margin: 7.5px 7.5px;
  padding: 7.5px;
  text-align: center;
  box-shadow: 0px 0px 4px #ccc;
  list-style-type: none;
}
.team-wrapper li .read-more {
    margin: 8px 0px 12px 0px;
}
/* our team single page css start */
.ourteam-view .ourteam-detail .team-block-right .ourteam-name {
    margin-top: 0px;
    margin-bottom: 15px;
    word-wrap: break-word;
}
.ourteam-detail .ourteam-short_desc, .ourteam-detail .ourteam-description {
    margin-top: 0px;
    margin-bottom: 15px;
    font-weight: normal;
    word-wrap: break-word;
}
.ourteam-detail .social-icon-desc {
    padding-top: 0px;
}
.ourteam-detail .ourteam-description p:last-child {
    margin-bottom: 0px;
}
.ourteam-view {
    padding-bottom: 0px;
    margin-bottom: 0px;
}
.ourteam-member-index .team-wrapper li:nth-child(3n + 1) {
  clear: both;
}
.team-mem-img a {
    display: block;
    width: 100%;
}
.team-wrapper li.ourteam-list-item .team-mem-img a img {
  width: 100%;
  height: 100%;
}
/* our team single page css end */
@media screen and (max-width: 479px){
    .team-wrapper li{
        width: calc(100% - 0px) !important;
    }
    .team-wrapper {
        margin: 0;
    }
    .team-mem-img {
        height: 120px;
        width: 120px;
    }
    .team-block-left {
        width: 100%;
        float: none;
        text-align: center;
        margin-bottom: 15px;
    }
    .team-block-right {
        width: 100%;
        padding-left: 0px;
        float: none;
    }
    .ourteam-view {
        padding: 0px;
        width: 100%;
    }
}
@media screen and (max-width: 767px) and (min-width: 480px){
    body.ourteam-member-index .team-wrapper li {
        width: calc(50% - 15px);
    }
    .team-mem-img {
        height: 120px;
        width: 120px;
    }
    .team-wrapper li:nth-child(2n + 1) {
        clear: both;
    }
}
@media screen and (max-width: 991px) and (min-width: 768px){
    .team-wrapper li {
        width: calc(50% - 60px);
    }
    .team-wrapper li:nth-child(2n + 1) {
        clear: both;
    }
}
@media screen and (max-width: 1199px) and (min-width: 992px){
    .team-wrapper li {
        width: calc(33.33% - 60px);
    }
}
.ourteam-member-index .limiter {
    float: right;
}
.ourteam_slider .ourteam-list-item {
    width: 90%;
}
.ourteam-list-container .owl-stage-outer .owl-item .ourteam-list-item {
  width: calc(100% - 15px);
  margin: 10px;
  box-sizing: border-box;
}

.team-wrapper .owl-stage-outer .owl-item {
  text-align: center;
}
/* Team Grid page */

.team-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
    align-items: flex-start;
    padding: 0;
}
.ourteam-member-index .team-wrapper li {
    float: none;
    margin: 0 0 30px 0;
    padding: 10px 15px;
    box-sizing: border-box;
    padding-top: 30px;
}
.ourteam-list-container .ourteam-list-div .ourteam-list-item {
  float: none;
  margin: 0 30px 30px 0;
  padding: 10px 15px;
  width: calc(33.3333% - 20px);
  box-sizing: border-box;
}
.team-wrapper li #greg_description {
    margin-bottom: 8px;
    display: inline-block;
    width: 100%;
}
.team-wrapper .ourteam-list-item .social-icon {
    margin: 0 0 5px 0;
    padding: 0;
}
.team-wrapper .ourteam-list-item .social-icon a {
    display: inline-block;
    width: auto;
}
.team-wrapper .ourteam-list-item a.read-more {
    margin: 10px 0;
}

/* Team Grid page End*/

/* Media query */

@media screen and (max-width: 991px) {
    .ourteam-member-index .team-wrapper li {
        width: calc(50% - 10px);
    }
    .ourteam-list-container .ourteam-list-div .ourteam-list-item {
      margin: 0 30px 20px 0;
    }
}

@media screen and (min-width: 768px) {
	.team-wrapper div.item:nth-child(3n) {
		margin-right: 0px;
	}
}

@media screen and (max-width: 767px) {
  .ourteam-list-container .ourteam-list-div .ourteam-list-item {
    width: calc(50% - 10px);
    margin: 0 20px 20px 0;
  }
  .ourteam-list-container .ourteam-list-div .ourteam-list-item:nth-child(even) {
    margin-right: 0px;
  }
   .columns {
   	display: block;
   }
  .ourteam-list-container .owl-stage-outer .owl-item .ourteam-list-item {
    width: calc(100% - 15px);
    margin: 10px;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 480px) {
    .ourteam-member-index .team-wrapper li {
        width: 100%;
    }
    .ourteam-list-container .ourteam-list-div .ourteam-list-item {
      width: 100%;
      margin: 0 0 20px 0;
    }
}

/* Media query end */



@media screen and (max-width: 991px) and (min-width: 480px){
  .ourteam-member-index .team-wrapper li:nth-child(even) {
      margin-right: 0;
      margin-left: 15px;
  }
  .ourteam-member-index .team-wrapper li {
      width: calc(50% - 15px);
      margin: 0 15px 30px 0;
  }
}

@media screen and (min-width: 991px) {
  .ourteam-member-index .team-wrapper li {
      margin: 0 30px 30px 0;
  }
}

/*additional css for slider*/
.team-wrapper div.item {
    padding: 10px 15px;
    list-style: none;
    width: calc(33.33% - 60px);
    float: left;
    margin: 0px 15px 30px;
}
.team-wrapper div.item.ourteam-list-item  .team-mem-img {
    position: relative;
    overflow: hidden;
    border: 2px solid #999999;
    border-radius: 50%;
}
.team-wrapper div.item.ourteam-list-item  a img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}
.team-wrapper div.item.ourteam-list-item:hover  .team-mem-img {
    border-color: #006bb4;
}
.team-wrapper div.item.ourteam-list-item:hover  .team-mem-img img {
    transform: scale(1.1);
}
.team-wrapper div.item:hover a{
    text-decoration: none;
}
.team-wrapper div.item .member_avatar {
    max-width: 100%;
    text-align: center;
    display: inherit;
}
.team-wrapper div.item #greg_description {
    max-height: 45px;
    overflow: hidden;
    color: #0a263c;
    line-height: 1.5;
}
.team-wrapper div.item.ourteam-list-item a img {
    transition: all 0.5s;
}
.team-wrapper div.item.ourteam-list-item:hover .team-mem-img {
    border-color: #006bb4;
}
.team-wrapper div.item #greg_description {
    font-size: 14px;
    margin-bottom: 4px;
    font-weight: normal;
}
.ourteam-member-index .team-wrapper div.item {
    width: calc(36.33% - 60px);
    float: left;
}
.team-wrapper div.item {
  margin: 7.5px 7.5px;
  padding: 7.5px;
  text-align: center;
  box-shadow: 0px 0px 4px #ccc;
  list-style-type: none;
}
.team-wrapper div.item .read-more {
    margin: 8px 0px 12px 0px;
}
.ourteam-member-index .team-wrapper div.item:nth-child(3n + 1) {
  clear: both;
}
.team-wrapper div.item.ourteam-list-item .team-mem-img a img {
  width: 100%;
  height: 100%;
}


/* our team single page css end */
@media screen and (max-width: 479px){
    .team-wrapper div.item{
        width: calc(100% - 0px) !important;
    }
    .team-wrapper .owl-item div.item {
        width: calc(100% - 20px)!important;
    }
}
@media screen and (max-width: 767px) and (min-width: 480px){
    body.ourteam-member-index .team-wrapper div.item {
        width: calc(50% - 60px);
    }
    .team-wrapper div.item:nth-child(2n + 1) {
        clear: both;
    }
}
@media screen and (max-width: 991px) and (min-width: 768px){
    .team-wrapper div.item {
        width: calc(50% - 60px);
    }
    .team-wrapper div.item:nth-child(2n + 1) {
        clear: both;
    }
}
@media screen and (max-width: 1199px) and (min-width: 992px){
    .team-wrapper div.item {
        width: calc(33.33% - 60px);
    }
}
.ourteam-member-index .team-wrapper div.item {
    width: 100%;
    float: none;
    margin: 0 0 30px 0;
    padding: 10px 15px;
    flex: 0 0 calc(33.3333% - 20px);
    box-sizing: border-box;
}
.team-wrapper div.item #greg_description {
    margin-bottom: 8px;
    display: inline-block;
    width: 100%;
}
@media screen and (max-width: 991px) {
    .ourteam-member-index .team-wrapper div.item {
        flex: 0 0 calc(50% - 10px);
        margin: 0 0 20px 0;
    }
}
@media screen and (max-width: 480px) {
    .ourteam-member-index .team-wrapper div.item {
        flex: 0 0 100%;
    }
}
@media screen and (max-width: 991px) and (min-width: 480px){
  .ourteam-member-index .team-wrapper div.item:nth-child(even) {
      margin-right: 0;
      margin-left: 15px;
  }
  .ourteam-member-index .team-wrapper div.item {
      flex: 0 0 calc(50% - 15px);
      margin: 0 15px 30px 0;
  }
}
@media screen and (min-width: 992px) {
  .ourteam-member-index .team-wrapper div.item {
      flex: 0 0 calc(33.33% - 30px);
      margin: 0 30px 30px 0;
  }
}
/* start 755/3_59 */
.team-wrapper .ourteam-list-item a {
	cursor: default;
}
/* end 755/3_59 */
