
/*------------------------------------------------------------------------
# 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 {
	--theme38-color: #d70006;
	--main-color-rgb: 215, 0, 6;
	--white38-color: rgb(0, 0, 0);
	--white38-color-rgb: 0, 0, 0;

}

.mx-team38 .mos-img img {display: none !important;}
.mx-team38 .mos-img {font-size: 18px;}
.mx-team38{
	position: relative;
}

.mx-team38 .team-block_two:last-child .team-block_two-inner{
	border-bottom: 1px solid rgba(var(--white38-color-rgb), 0.20);
}

.team-block_two{
	position: relative;
	z-index: 1;
}

.team-block_two-inner{
	position: relative;
	padding: 40px 0px;
	-webkit-transition:all 500ms ease;
	-moz-transition:all 500ms ease;
	-ms-transition:all 500ms ease;
	-o-transition:all 500ms ease;
	transition:all 500ms ease;
	border-top: 1px solid rgba(var(--white38-color-rgb), 0.20);
}

.team-block_two-inner:hover{
	padding-left: 120px;
}

.team-block_two-heading{
	position: relative;
	text-transform: uppercase;
	color: #222;
	min-width: 20%;
}

.team-block_two-heading a{
	position: relative;
	color: #222;
}

.team-block_two-heading a:hover{
	color: var(--theme38-color);
}

.team-block_two-designation{
	position: relative;
	opacity: 0.70;
	font-size: 22px;
	text-transform: capitalize;
	color: #222;
	width: 50%;
	display: inline;
}

.team-block_two-arrow{
	position: relative;
	z-index: 1;
	padding: 9px 0px;
	color: var(--theme38-color);
	font-size: 17px;
}

.team-block_two-arrow i::before{
	position: relative;
	right: 12px;
	z-index: 1;
	-webkit-transition:all 500ms ease;
	-moz-transition:all 500ms ease;
	-ms-transition:all 500ms ease;
	-o-transition:all 500ms ease;
	transition:all 500ms ease;
	top: -2px;
}

.team-block_two-arrow:after{
	position: absolute;
	content: '';
	right: 0px;
	top: 0px;
	width: 40px;
	height: 40px;
	border-radius: 50px;
	border: 2px solid var(--theme38-color);
	-webkit-transition:all 500ms ease;
	-moz-transition:all 500ms ease;
	-ms-transition:all 500ms ease;
	-o-transition:all 500ms ease;
	transition:all 500ms ease;
	background: #fff;
}

.team-block_two-arrow:hover i::before{
	color: #222;
}

.team-block_two-arrow:hover::after{
	background-color: var(--theme38-color);
}

.team-block_two-number{
	position: absolute;
	left: 0px;
	top: 60px;
	opacity: 0;
	font-weight: 700;
	line-height: 1em;
	font-size: var(--font-24);
	color: var(--theme38-color);
	-webkit-transition:all 500ms ease;
	-moz-transition:all 500ms ease;
	-ms-transition:all 500ms ease;
	-o-transition:all 500ms ease;
	transition:all 500ms ease;
}

.team-block_two-number::before{
	position: absolute;
	content: '';
	left: 35px;
	top: 12px;
	width: 60px;
	height: 2px;
	background-color: var(--theme38-color);
}

.team-block_two-inner:hover .team-block_two-number{
	opacity: 1;
}

.team-block_two_socials{
	position: absolute;
	right: 50px;
	top: 10px;
	opacity: 0;
	-webkit-transition:all 500ms ease;
	-moz-transition:all 500ms ease;
	-ms-transition:all 500ms ease;
	-o-transition:all 500ms ease;
	transition:all 500ms ease;
}

.team-block_two-inner:hover .team-block_two_socials{
	opacity: 1;
}

.team-block_two_socials a{
	position: relative;
	width: 40px;
	height: 40px;
	line-height: 38px;
	text-align: center;
	border-radius: 50px;
	display: inline-block;
	font-size: 16px;
	color: var(--theme38-color);
	margin-left: 5px;
	background-color: #fff;
	border: 1px solid var(--theme38-color);
}

.team-block_two_socials a:hover{
	border-color: #222;
	background-color: #222;
}

.team-block_one-hover{
	width: 300px;
	height: 400px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	background-size: cover;
	background-repeat: no-repeat;
	background-position-x: 75%;
	opacity: 0;
	border-radius: 8px;
	overflow: hidden;
	-webkit-transition: opacity 0.3s, -webkit-transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
	transition: opacity 0.3s, -webkit-transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
	transition: opacity 0.3s, transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
	transition: opacity 0.3s, transform 0.7s cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
	margin: -200px 0 0 -150px;
	overflow: hidden;
	pointer-events: none;
}

.team-block_two-inner:hover .team-block_one-hover{
	opacity:1;
}

.mx-team38_button{
	position: relative;
	margin-top: 30px;
}

.mx-team38_button .theme-btn{
	border-radius: 5px;
}
.mx-team38 .team-social li {
	display: inline-block;
	margin: 0 8px;
	width: 20px;
	font-size: 17px;
    font-weight: 500;
    text-transform: uppercase;
}

.team-block_two_socials.team-social .field-label {
  display: none;
}