
/*------------------------------------------------------------------------
# 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 {
 --color35-primary: #E81C2E;
}
.mos-img img {display: none !important;}

.mx-team35 {
  position: relative;
  display: block;
}
.mx-team35 ul ul {
  padding-left: 0px;
}
.team-one__img-box {
  position: relative;
  display: block;
}

.team-one__img {
  position: relative;
  display: block;
  overflow: hidden;
  z-index: 1;
}

.team-one__img:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(15, 33, 60, .40);
  visibility: hidden;
  -webkit-transform-origin: top center;
  transform-origin: top center;
  -webkit-transform: scaleY(0) translateZ(100px);
  transform: scaleY(0) translateZ(100px);
  -webkit-transition: opacity 500ms ease, visibility 500ms ease, -webkit-transform 700ms ease;
  transition: opacity 500ms ease, visibility 500ms ease, -webkit-transform 700ms ease;
  transition: opacity 500ms ease, visibility 500ms ease, transform 700ms ease;
  transition: opacity 500ms ease, visibility 500ms ease, transform 700ms ease, -webkit-transform 700ms ease;
  z-index: 1;
}

.mx-team35:hover .team-one__img:before {
  visibility: visible;
  -webkit-transform: scaleY(1) translateZ(0px);
  transform: scaleY(1) translateZ(0px);
}

.team-one__img img {
  width: 100%;
  transition: all 500ms ease;
  transform: scale(1);
}

.mx-team35:hover .team-one__img img {
  transform: scale(1.05);
}

.team-one__content {
  position: relative;
  display: block;
  margin-top: -69px;
  margin-right: 40px;
  padding: 25px 40px 30px;
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 10px 60px 0px rgba(0, 0, 0, 0.07);
  background-position: center top;
  transition-delay: .1s;
  transition-timing-function: ease-in-out;
  transition-duration: .5s;
  transition-property: all;
  transform-origin: bottom;
  transform-style: preserve-3d;
  transform: scaleY(1);
  z-index: 2;
}

.mx-team35:hover .team-one__content {
  transform: scaleY(0.0);
}

.team-one__title {
  font-size: 22px;
  font-weight: 600;
  line-height: 30px;
}

.team-one__title a {
  color: #0f213c;
}

.team-one__sub-title {
  font-size: 12px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.1em;
  color: var(--color35-primary);
  text-transform: uppercase;
  margin-top: 1px;
  padding-bottom: 12px;
  border-bottom: 2px solid #eef3f8;
}

.team-one__arrow-box {
  position: absolute;
  bottom: 32px;
  right: 40px;
}

.team-one__arrow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 34px;
  font-size: 13px;
  color: #0f213c;
  background-color: #eef3f8;
}

.team-one__hover-content {
  position: absolute;
  left: 0;
  right: 40px;
  bottom: -75px;
  padding: 25px 40px 30px;
  background-color: rgb(15, 33, 60);
  box-shadow: 0px 10px 60px 0px rgba(0, 0, 0, 0.07);
  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;
}

.mx-team35:hover .team-one__hover-content {
  transform: scaleY(1.0);
}

.team-one__hover-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 30px;
}

.team-one__hover-title a, .team-one__hover-title {
  color: #fff;
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}

.team-one__hover-title a:hover {
  color: var(--color35-primary);
}

.team-one__hover-sub-title {
  font-size: 12px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.1em;
  color: var(--color35-primary);
  text-transform: uppercase;
  margin-top: 1px;
}

.team-one__hover-arrow-box {
  position: absolute;
  bottom: 32px;
  right: 40px;
}

.team-one__hover-arrow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 34px;
  font-size: 13px;
  color: #fff;
  background-color: var(--color35-primary);
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}

.team-one__hover-arrow:hover {
  color: #0f213c;
}

.team-one__hover-text {
  font-size: 15px;
  font-weight: 300;
  color: #7e8a9b;
  margin-top: 13px;
  padding-bottom: 30px;
  border-bottom: 2px solid var(--color35-primary);
  padding-right: 40px;
}

.team-one__social {
  position: absolute;
  right: 0;
  bottom: 30px;
  background-color: #fff;
  padding: 11px 12px 10px;
  transform: scaleY(0.0);
  transform-origin: center;
  transform-style: preserve-3d;
  -webkit-transition: all 0.4s linear;
  -o-transition: all 0.4s linear;
  transition: all 0.4s linear;
  transform-origin: right center;
}

.team-one__social::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  border-top: 6px solid #fff;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  transform: translateX(-50%);
}


.mx-team35:hover .team-one__social {
  transform: scaleY(1.0);
  transform-origin: bottom center;
  transition-delay: 500ms;
}

.team-one__social li {
  position: relative;
  display: block;
  line-height: 29px;
}

.team-one__social li a {
  position: relative;
  display: block;
  font-size: 13px;
  color: #0f213c;
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}

.team-one__social li a:hover {
  color: var(--color35-primary);
}

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