.team_module .flex {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-flow: row wrap;
  -moz-flex-flow: row wrap;
  -webkit-flex-flow: row wrap;
  -o-flex-flow: row wrap;    
  margin-right: -10px;
  margin-left: -10px;
}
.team_module .team_module-box {
  transition: all 0.2s ease;
  position: relative;
}
.team_module .flex-item {
  padding: 10px;
}
.team_module .flex-item.flex-item-4 {
  flex-basis: 25%;
  -moz-flex-basis: 25%;
  -webkit-flex-basis: 25%;
  -o-flex-basis: 25%;	
}
.team_module .flex-item.flex-item-3 {
  flex-basis: 33.33%;
  -moz-flex-basis: 33.33%;
  -webkit-flex-basis: 33.33%;
  -o-flex-basis: 33.33%;
}
.team_module .flex-item.flex-item-2 {
  flex-basis: 50%;
  -moz-flex-basis: 50%;
  -webkit-flex-basis: 50%;
  -o-flex-basis: 50%;
}
.team_module .flex-item.flex-item-1 {
  flex-basis: 100%;
  -moz-flex-basis: 100%;
  -webkit-flex-basis: 100%;
  -o-flex-basis: 100%;
}
.team_module .team_module-box img.team-member_image {
  object-fit: cover;
  object-position: top;
  width: 100%;
}
.team_module .team_module-box .team_module-content {
  text-align: center;
  display: block;
  margin: 0 auto;
  float: none;
  padding: 20px;
} 
.team_module .team-member_name {
  text-transform: capitalize;
}  
.team_module .team_module-box .team-member_desig {
  margin-bottom: 20px;
  font-size: 16px;
}
@media screen and (max-width: 1024px) {
  .team_module .flex-item.flex-item-4 { 
    flex-basis: 50%;
    -moz-flex-basis: 50%;
    -webkit-flex-basis: 50%;
    -o-flex-basis: 50%;
  }
}
@media screen and (max-width: 768px) {
  .team_module .flex-item.flex-item-4,
  .team_module .flex-item.flex-item-3 {
    flex-basis: 50%;
    -moz-flex-basis: 50%;
    -webkit-flex-basis: 50%;
    -o-flex-basis: 50%;				
  }
}
@media screen and (max-width: 600px){
  .team_module .flex {
    margin-right: 0;
    margin-left: 0;
  }
  .team_module .flex-item { 
    flex-basis: 100%!important;
    -moz-flex-basis: 100%!important;
    -webkit-flex-basis: 100%!important;
    -o-flex-basis: 100%!important;
    padding: 0;
    padding-bottom: 30px!important;
  }
  .team_module .flex-item:last-child {
    padding-bottom: 0!important;
  }
}
.team_module ul.team-icon {
  text-align: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.team_module ul.team-icon li {
  display: inline-block;	
  transition: all 0.4s ease;
  max-width: 100%;
  margin: 4px 4px;
}
.team_module ul.team-icon li a.social-icon {
  margin: auto;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
{# Tab Style Css #}
.team_module .team_tab .re-dropdown {
  display: none;
  position: relative;
  width: 100%;
}
.team_module .team_tab .team_select {
  width: 100%;
  appearance: none;
  border: 0px;
}
.team_module .team_tab .re-dropdown span.fa-angle-down {
  position: absolute;
  right: 13px;
  display: flex;
  top: 0;
  bottom: 0;
  align-content: center;
  flex-wrap: wrap;
  pointer-events: none;
}
.team_module .team_tab ul.nav li {
  display: inline-block;	
}
.team_module .team_tab ul.nav li a {
  text-decoration: none;
  font-size: 20px;
  margin: 0 10px;
  display: block;
}

@media (max-width: 768px) {
  .team_module .team_tab ul.nav-tabs {
    display: none;
  }
  .team_module .team_tab .re-dropdown {
    display: block;
  }
}
.team_tab .team_module-box {
  background-color: #F8F9F9;
}
.team_module .box-back {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  text-align: center;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-flow: column;
  -moz-flex-flow: column;
  -webkit-flex-flow: column;
  -o-flex-flow: column;  
  justify-content: space-around;
  transition: all 0.4s ease;
  padding: 20px;
}
.team_module .box-front {
  visibility: visible;
  opacity: 1;
  position: relative;
  z-index: 0;
  height: 100%;
}
.team_module .team_module-box:hover .box-front {
  visibility: hidden;
  opacity: 0;
}
.team_module .team_module-box:hover .box-back {
  visibility: visible;
  opacity: 1;	
}
.team_module .team_module-box .separator {
  display: block;
  border-bottom-width: 1px; 
  border-bottom-color: rgba(255,255,255,0.15) ;  
  border-bottom-style: solid;
  margin-bottom: 20px;
}
.team_module .team_module-box .btn_area a.team-btn {
  display: inline-block;
}
{# Popup Css #}
.team_module .teamdetail_popup.popupopen {
  width: 90%;
  position: fixed;
  top: 50%;
  left: 50%;
  margin: 0 auto;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 9999; 
}
.team_module .teamdetail_popup .content--body {
  position: relative;
  width: 100%;
  height: 100%;
}
.team_module .teamdetail_popup .flexcontent {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-flow: row wrap;
  -moz-flex-flow: row wrap;
  -webkit-flex-flow: row wrap;
  -o-flex-flow: row wrap;    
}
.team_module .teamdetail_popup .content--body .leftside.image {
  width: 35%;
}
.team_module .teamdetail_popup .content--body .rightside.allcontent {
  padding-left: 30px;
  width: 65%;
}
.team_module .teamdetail_popup .close_btn a {  
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0px;
  right: 0px;
  transform: translate(50%, -50%);
  cursor: pointer !important;
  text-decoration: none;
  z-index: 1;
}
.popupshow::before {
  content: "";
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background-color: rgba( 0, 0, 0, 0.8 );
  z-index: 999;
}
@media (max-width: 850px) {
  .team_module .teamdetail_popup .content--body .rightside.allcontent .team-member_desc {
    max-height: 100px;
    min-height: 100px;
    overflow: auto;
  }
}
@media (max-width: 767px) {
  .team_module .teamdetail_popup .flexcontent {
    display: block;
  }
  .team_module .teamdetail_popup .content--body .leftside.image {
    width: 100%;
    margin-bottom: 20px;
  }
  .team_module .teamdetail_popup .content--body .leftside.image img {
    width: 100%;
  }
  .team_module .teamdetail_popup .content--body .rightside.allcontent {
    padding-left: 0px;
    width: 100%;
  }
  .team_module .teamdetail_popup .content--body {
    height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .team_module .teamdetail_popup .content--body .rightside.allcontent .team-member_desc {
    max-height: 100%;
    min-height: 100%;
    overflow: hidden;
  }
}
.team_module a,.team_module a:hover,.team_module a:focus {
  text-decoration: none;
}
*, :after, :before {
  box-sizing: border-box;
}
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  height: 1px;
  overflow: hidden;
  position: absolute!important;
  width: 1px;
}