
/*------------------------------------------------------------------------
# mod_mx_team Extension
# ------------------------------------------------------------------------
# author    mixwebtemplates
# copyright Copyright (C) 2019 mixwebtemplates.com. All Rights Reserved.
# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Websites: http://www.mixwebtemplates.com
-------------------------------------------------------------------------*/

:root {
  --color50-base: #d82221;
    --main-bg-color: rgb(16 26 48);
    --second-bg-color: rgb(8 15 30);
    --main-border-color:rgb(57 63 75);
    --border-color: rgb(38, 52, 83);
    --white-color: rgb(255 255 255);
    --txt-color:rgb(173 174 193);
}

.team-50 .mos-img img {display: none !important;}

.team-50 {
    text-align: center;
}
.inner_slider_img {
    background:var(--txt-color);
    border-radius: 10px;
    position: relative;
    padding: 10px;
    min-height: 200px;
}
.inner_slider_img img {
    border-radius: 10px;
}
.inner_slider_img:after, .inner_slider_img:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border-radius: 10px;
    -webkit-transition:all 0.3s linear 0s;
    -moz-transition:all 0.3s linear 0s;
    -ms-transition:all 0.3s linear 0s;
    -o-transition:all 0.3s linear 0s;
    transition:all 0.3s linear 0s;
}
.inner_slider_img:after {
    height: 85%;
    background: var(--color50-base);
    z-index: -1;
}
.inner_slider_img:before {
    background:var(--main-bg-color);
    z-index: 0;
    opacity: 0;
    visibility: hidden;
}
.fit_trainer_inner .swiper-container {
    padding: 0 15px;
}
.inner_slider_img:hover:before {
    opacity: 0.8;
    visibility: visible;
}
.inner_slider_img:hover:after {
    left: -10px;
    right: -10px;
}
.trainer_data h2 {
    font-size: 20px;
    position: relative;
    margin-bottom: 10px;
    padding-bottom: 10px;
    color: #fff;
}
.box-mx-p {
   color: var(--txt-color);
   padding: 2px 25px;
}
.trainer_data .social {
    margin: 10px 0px;
}
.trainer_data {
    position: absolute;
    top: 50px;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s linear 0s;
    -moz-transition: all 0.3s linear 0s;
    -ms-transition: all 0.3s linear 0s;
    -o-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
}
.inner_slider_img:hover .trainer_data{
    opacity: 1;
    visibility: visible;
    top:0;
}
.fit_trainer_title {
    font-size: 26px;
    margin: 15px 0 5px;
}
.trainer_desig {
    font-size: 22px;
}

.team-50 .social {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    flex-wrap: wrap;
}
.team-50 .social li a {
    display: inline-block;
    min-width: 190px;
    text-align: center;
    height: 50px;
    line-height: 50px;
    background-color: rgba(245, 245, 245, 0);
    color:var(--white-color) !important;
    font-size: 15px;
    position: relative;
    border-radius: 50px;
    z-index: 0;
    border: 0;
    padding: 0 10px;
    -webkit-transition: all 0.3s linear 0s;
    -moz-transition: all 0.3s linear 0s;
    -ms-transition: all 0.3s linear 0s;
    -o-transition: all 0.3s linear 0s;
    transition: all 0.3s linear 0s;
    border: 2px solid var(--color50-base);
}

.team-50 .social li a:hover {    
    background-color: var(--color50-base);
}

.team-50 .social li a {
    min-width: inherit;
    width: 40px;
    height: 40px;
    line-height: 37px;
    margin: 0 5px 5px;
    padding: 0;
}

.team-50 .th-btn {
 position:relative;
 z-index:2;
 overflow:hidden;
 vertical-align:middle;
 display:inline-block;
 border:none;
 text-transform:capitalize;
 text-align:center;
 background-color:var(--color50-base);
 color:var(--white-color);
 font-size:15px;
 font-weight:400;
 line-height:1;
 padding:17px 28px;
 min-width:160px;
 border-radius:30px;
 -webkit-perspective:320px;
 perspective:320px
}
.team-50 .th-btn:before {
 content:"";
 position:absolute;
 height:0;
 top:50%;
 right:0;
 width:0;
 background-color:var(--txt-color);
 z-index:-1;
 -webkit-transition:all 0.4s ease-in-out;
 transition:all 0.4s ease-in-out;
 border-radius:inherit;
 -webkit-transform-origin:top center;
 -ms-transform-origin:top center;
 transform-origin:top center
}
.team-50 .th-btn i {
 font-size:1em
}
.team-50 .th-btn:hover,
.team-50 .th-btn.active {
 color:var(--white-color);
 box-shadow:none
}
.team-50 .th-btn:hover::before,
.team-50 .th-btn:hover:after,
.team-50 .th-btn.active::before,
.team-50 .th-btn.active:after {
 top:0;
 height:100%;
 width:100%;
 right:unset;
 left:0
}

.team-50 .field-label {
  display: none !important;
}

.team-50 ul {
  padding-left: 0rem;
  margin-bottom: 0rem;
}
.team-50 ul li {
  list-style: none;
  display: inline-block;
  }