/**
 * 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: 100px;
	-webkit-border-radius: 100px;
	z-index: 1;
}
.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);
	-webkit-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-name{
  margin-top: 0px;
}
/* Our Team Page css start (our team css)
---------------------------  */
.team-mem-img {
    height: 178px;
    width: 178px;
    margin: 0px auto;
}
.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,
.ourteam-member-search .team-wrapper li {
    width: calc(33.33% - 30px);
    float: left;
}
.team-wrapper li {
  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),
.ourteam-member-search .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%;
}
.team-wrapper .ourteam-list-item .team-mem-img {
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
/* 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,
    body.ourteam-member-search .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_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,
.ourteam-member-search .team-wrapper li {
    float: none;
    margin: 0 0 30px 0;
    padding: 10px 15px;
    box-sizing: border-box;
}
.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;
}
.ourteam-list-container .toolbar-amount, .ourteam-list-container .toolbar-products .pages {
    display: block;
}
.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,
    .ourteam-member-search .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: 639px) {
  .ourteam-member-index .toolbar.toolbar-products .pager p.toolbar-amount,
  .ourteam-member-search .toolbar.toolbar-products .pager p.toolbar-amount,
  .ourteam-member-index .toolbar.toolbar-products div.pages,
  .ourteam-member-search .toolbar.toolbar-products div.pages,
  .ourteam-member-index .toolbar.toolbar-products div.limiter,
  .ourteam-member-search .toolbar.toolbar-products div.limiter {
    display: block;
    float: left;
    width: 100%;
    text-align: center;
    margin: 10px 0;
  }
}
@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,
    .ourteam-member-search .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),
  .ourteam-member-search .team-wrapper li:nth-child(even) {
      margin-right: 0;
      margin-left: 15px;
  }
  .ourteam-member-index .team-wrapper li,
  .ourteam-member-search .team-wrapper li {
      width: calc(50% - 15px);
      margin: 0 15px 30px 0;
  }
}

@media screen and (min-width: 991px) {
  .ourteam-member-index .team-wrapper li,
  .ourteam-member-search .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,
.ourteam-member-search .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),
.ourteam-member-search .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%;
}


.ourteam-member-index .member-search-main form,
.ourteam-member-search .member-search-main form {
  display: flex;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  width: 100%;
}

.ourteam-member-index .member-search-main form .field.search ,
.ourteam-member-search .member-search-main form .field.search{
  width: 100%;
  padding-right: 15px;
}

.ourteam-member-index .member-search-main form .field.search .member-label,
.ourteam-member-search .member-search-main form .field.search .member-label{
  display: none;
}

.ourteam-member-index .member-search-main .search .control-search,
.ourteam-member-search .member-search-main .search .control-search {
  width: 100%;
  padding: 0;
  float: none;
}

.ourteam-member-index .member-search-main .search .control-search input ,
.ourteam-member-search .member-search-main .search .control-search input {
  height: auto;
  padding: 12px 12px;
  font-size: 14px;
  width: 100%;
}

.ourteam-member-index .member-search-main form .actions .action.search ,
.ourteam-member-search .member-search-main form .actions .action.search {
  padding: 14px 30px;
  background-color: #006bb4;
  border-color: #006bb4;
  font-size: 15px;
  color: #fff;
  transition: all 0.3s;
  box-shadow: none;
  border-radius: 0px;
}

.ourteam-member-index .member-search-main form .actions .action.search:hover ,
.ourteam-member-search .member-search-main form .actions .action.search:hover {
  opacity: 0.8;
}
.ourteam-member-index .control-search,
.ourteam-member-search .control-search {
  float: left;
  padding: 0 10px;
  width: 50%;
}

.member-search-main{
  margin-bottom: 20px;
}

.member-tags,
.member-category {
    float: left;
    padding: 10px 0;
    width: 100%;
}
.member-tags > a,
.member-category > a {
    border: 1px solid #dddddd;
    color: #333333;
    display: inline-block;
    margin-bottom: 5px;
    margin-right: 5px;
    padding: 5px 10px;
    overflow-wrap: break-word;
    word-break: break-word;
}
.member-tags > a:hover,
.member-category > a:hover {
    color: #006bb4;
}

.ourteam-member-index .toolbar.toolbar-products .pager,
.ourteam-member-search .toolbar.toolbar-products .pager {
  display: block;
  float: left;
  width: 100%;
}

.ourteam-member-index .toolbar.toolbar-products .pager .toolbar-amount,
.ourteam-member-search .toolbar.toolbar-products .pager .toolbar-amount,
.ourteam-member-index .toolbar.toolbar-products .pages,
.ourteam-member-search .toolbar.toolbar-products .pages,
.ourteam-member-index .toolbar.toolbar-products .limiter,
.ourteam-member-search .toolbar.toolbar-products .limiter {
  display: block;
  float: left;
  width: 33%;
}

/* our team single page css end */
@media screen and (max-width: 330px) {
  .ourteam-member-index .member-search-main .search .control-search input ,
  .ourteam-member-search .member-search-main .search .control-search input {
    font-size: 13px;
  }
}

@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,
    body.ourteam-member-search .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,
.ourteam-member-search .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,
    .ourteam-member-search .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,
    .ourteam-member-search .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),
  .ourteam-member-search .team-wrapper div.item:nth-child(even) {
      margin-right: 0;
      margin-left: 15px;
  }
  .ourteam-member-index .team-wrapper div.item,
  .ourteam-member-search .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,
  .ourteam-member-search .team-wrapper div.item {
      flex: 0 0 calc(33.33% - 30px);
      margin: 0 30px 30px 0;
  }
}


@media screen and (device-aspect-ratio: 2/3) {
  .ourteam-member-index .member-search-main .search .control-search input ,
  .ourteam-member-search .member-search-main .search .control-search input {
    font-size: 16px;
  }
}
@media screen and (device-aspect-ratio: 40/71) {
  .ourteam-member-index .member-search-main .search .control-search input ,
  .ourteam-member-search .member-search-main .search .control-search input {
    font-size: 16px;
  }
}
@media screen and (device-aspect-ratio: 375/667) {
 .ourteam-member-index .member-search-main .search .control-search input ,
 .ourteam-member-search .member-search-main .search .control-search input {
    font-size: 16px;
  }
}

@media screen and (device-aspect-ratio: 9/16) {
  .ourteam-member-index .member-search-main .search .control-search input ,
  .ourteam-member-search .member-search-main .search .control-search input {
    font-size: 16px;
  }
}
.tagdesc {
  margin-bottom: 20px;
}
