
/*------------------------------------------------------------------------
# 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 {
  --mx-gray: #878c8f;
  --mx-gray-rgb: 135, 140, 143;
  --mx-white: #ffffff;
  --mx-white-rgb: 255, 255, 255;
  --color49-base: #d82221;
  --color49-base-rgb: 216, 34, 33;
  --mx-black: #212226;
  --mx-black-rgb: 33, 34, 38;
  --mx-primary: #082060;
  --mx-primary-rgb: 8, 32, 96;
  --mx-extra: #f6f6f6;
  --mx-extra-rgb: 246, 246, 246;
}
.team-49__single .mos-img img {display: none !important;}


.team-49__single {
  position: relative;
  display: block;
}

.team-49__single::before {
  content: "";
  position: absolute;
  top: 75px;
  left: 20px;
  right: 0;
  bottom: 0;
  border: 1px solid rgba(var(--mx-black-rgb), .18);
  background-color: rgba(var(--mx-white-rgb), .9);
  border-top-right-radius: 95px;
  border-bottom-left-radius: 95px;
}

.team-49__img-box {
  position: relative;
  display: block;
  margin-right: 30px;
}

.team-49__img {
  position: relative;
  display: block;
  overflow: hidden;
  border-top-left-radius: 95px;
  border-bottom-right-radius: 95px;
  min-height: 200px;
}

.team-49__img img {
  width: 100%;
  border-top-left-radius: 95px;
  border-bottom-right-radius: 95px;
  transform: scale3d(1, 1, 1);
  transition: transform 1s ease-in-out;
}

.team-49__single:hover .team-49__img img {
  transform: scale(1.05) rotate(0deg);
}

.team-49__social-box {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 88px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.team-49__social-box a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: transparent;
  border-radius: 50%;
  overflow: hidden;
  color: var(--mx-gray);
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
  z-index: 1;
}

.team-49__social-box a:hover {
  color: var(--color49-base);
  background-color: rgba(var(--color49-base-rgb), .12);
}

.team-49__social-box a:after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-color: rgba(var(--color49-base-rgb), .12);
  -webkit-transition-delay: .1s;
  transition-delay: .1s;
  -webkit-transition-timing-function: ease-in-out;
  transition-timing-function: ease-in-out;
  -webkit-transition-duration: .4s;
  transition-duration: .4s;
  -webkit-transition-property: all;
  transition-property: all;
  opacity: 1;
  -webkit-transform-origin: top;
  transform-origin: top;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
  z-index: -1;
}

.team-49__social-box a:hover:after {
  opacity: 1;
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}

.team-49__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 40px;
  background-color: var(--color49-base);
  padding: 30px 30px 32px;
  border-top-right-radius: 100px;
  background-position: center bottom;
  transition-delay: .1s;
  transition-timing-function: ease-in-out;
  transition-duration: .5s;
  transition-property: all;
  transform-origin: bottom;
  transform-style: preserve-3d;
  transform: scaleY(0);
  z-index: 2;
}

.team-49__single:hover .team-49__content {
  transform: scaleY(1.0);
}

.team-49__content p.box-title {
  font-weight: 500;
  text-transform: uppercase;
  color: var(--mx-white);
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}

.team-49__content h3 {
  font-size: 24px;
  font-weight: 500;
  line-height: 30px;
  text-transform: capitalize;
  color: var(--mx-white);
}
.box-mx-desig{
  color: var(--mx-white);
}

.team-49__single .th-btn {
 position:absolute;
 top: 0px;
 right: 0px;
 z-index:2;
 overflow:hidden;
 vertical-align:middle;
 display:inline-block;
 border:none;
 text-transform:capitalize;
 text-align:center;
 background-color:var(--color49-base);
 color:var(--mx-white);
 font-size:15px;
 font-weight:400;
 line-height:1;
 padding:15px 30px;
 min-width:160px;  
 transition-delay: .1s;
  transition-timing-function: ease-in-out;
  transition-duration: .5s;
  transition-property: all;
  transform-origin: top;
  transform-style: preserve-3d;
 border-top-left-radius: 75px;
 border-bottom-right-radius: 75px;
  transform: scaleY(0);
}
.team-49__single:hover .th-btn {
  transform: scaleY(1.0);
}
.team-49__single .th-btn:hover,
.team-49__single .th-btn.active {
 color:var(--color49-base);
 background-color:var(--mx-white);
 box-shadow:none
}
.team-49__single .th-btn:hover::before,
.team-49__single .th-btn:hover:after,
.team-49__single .th-btn.active::before,
.team-49__single .th-btn.active:after {
 top:0;
 height:100%;
 width:100%;
 right:unset;
 left:0
}
.team-49__social-box .field-label {
  display: none !important;
}

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