
/*------------------------------------------------------------------------
# mod_mx_team Extension
# ------------------------------------------------------------------------
# author    mixwebtemplates
# copyright Copyright (C) 2020 mixwebtemplates.com. All Rights Reserved.
# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Websites: http://www.mixwebtemplates.com
-------------------------------------------------------------------------*/
.mos-img img {display: none !important;}
.team-slide,  .team-slide p, .team-slide h3{
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}
.team-slide{
    position: relative;
    overflow: hidden;
    display: table;
}
.team-slide .team-photo,
.team-slide .team-text{
    display: table-cell;
    vertical-align: middle;
    width: 50%;
    position: relative;
    z-index: 1;
}
.team-slide .team-photo{
    overflow: hidden;
    
}
.team-slide .team-photo > img{
    cursor: pointer;
}
.team-slide:hover .team-photo > img{;
    -webkit-transform: scale(1.3);;
    -ms-transform: scale(1.3);;
    -o-transform: scale(1.3);;
    transform: scale(1.3);
}
.team-slide .team-text{
    background: #fbfbfb;
    padding:1rem 2rem;
    overflow: hidden;
}
.team-slide .team-text::before {
    content: "";
    position: absolute;
    top: 0;
    width: 100%;
	height: 100%;
}
.team-slide .team-text::before{ 
    left: -100%;
    right: 0; bottom: 0;
    background: #ed3325;
    opacity: 0;
    visibility: hidden;
    z-index: -1;
}
.team-slide .team-text.right::before{
    left: auto;
    right: -100%;
}
.team-slide .team-text:hover::before,
.team-slide:hover .team-text::before{
    opacity: 1;
    visibility: visible;
    left: 0;
}
.team-slide .team-text.right:hover::before,
.team-slide:hover .team-text.right::before{
    right: 0;
    left: auto;
}
.team-slide .team-text h3{
    font-size: 1.375rem;
    color: #414141;
    font-weight: bold;
} 
.team-slide .team-text .mos-img{
    font-size: 14px;
    margin-bottom: 1rem;
}
.team-slide .team-text .span{
    display: block;
    font-size: 11px;
    color: #ed3325;
    text-transform: uppercase;
    font-weight: bold;
}
.team-slide:hover .team-text h3,
.team-slide:hover .team-text .mos-img,
.team-slide:hover .team-text .span,
.team-slide:hover .team-text ul.social li a{
    color: #fff;
}
.team-slide:hover ul.social li a{
    border: 1px solid #fff;
}
.team-slide .team-text ul.social li a:hover, 
.team-slide .team-text ul.social li a:focus{
    background: #fff;
    border: 1px solid #fff;
    color: #ed3325;
}
a, ::before, ::after, img, .owl-prev, .owl-next {
    -o-transition: all .3s ease;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}
::after, ::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

@media screen and (max-width: 480px){
    .team-slide .team-photo,
    .team-slide .team-text{
        display: block;
        width: 100%;
    } 
}
@media screen and (max-width: 767px){
   .team-slide .team-photo,
   .team-slide .team-text{
      height: auto;
   }
}
@media screen and (max-width: 980px){
    .team-slide .team-text h3{
        font-size: 1.125rem;
    }
}
.bottom20 {
    margin-bottom: 20px;
}
.top20 {
    margin-top: 20px;
}	
/* Social Icons */

.team-slide .team-text ul.social li{
    display: inline-block;
}

.team-slide .team-text ul.social li a{
    display: block; 
    text-align: center;
    color: #676767;
}
.team-slide .team-text ul.social_simple li a {
  height: 24px;
  line-height: 24px;
  width: 24px;
  font-size: 17px;
  margin: 0 2px;
}
.team-slide .team-text ul.social li a {
  height: 32px;
  line-height: 30px;
  width: 32px;
  margin: 2px;
  font-size: 14px;
  border: 1px solid #979797;
  -webkit-border-radius: 50%;
  border-radius: 50%;
}

.team-slide .team-text ul.social li a::before,
.team-slide .team-text ul.social li a::after{
    color: inherit !important;
    -webkit-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}
.team-slide .team-text ul.social li:last-child a{
    margin-right: 0;
}
.team-slide .team-text ul.social li:first-child a{
    margin-left: 0;
}

.team-slide .team-text ul.social li a:hover, 
.team-slide .team-text ul.social li a:focus{
    background: #ed3325;
    border: 1px solid #ed3325;
    color: #fff;
}
.team-slide .team-text ul {
  padding-left: 0px;  
  list-style: none;
}
.team-icon a:hover,
.team-details .team-icon a {	
    border: 1px solid #e3120b;
}
.more_info{
	margin-top: 13px;
}
.more_info a{
	color: #222;
	background: #fff;
	padding: 8px 12px;
}
.team-slide .team-text .more_info a:hover,.team-slide .team-text .more_info a:focus{   
    background: -webkit-gradient(linear, left bottom, left top, from(#333), to(#111));
    background: -webkit-linear-gradient(bottom, #333 0%, #111 100%);
    background:         linear-gradient(0deg, #333 0%, #111 100%);
    border: 1px solid #111;
    color: #fff;
}