
/*------------------------------------------------------------------------
# mod_tc_team8 Extension
# ------------------------------------------------------------------------
# author    themescreative
# copyright Copyright (C) 2014 themescreative.com. All Rights Reserved.
# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Websites: http://www.themescreative.com
-------------------------------------------------------------------------*/
/*-------------------------------*/
    /* Team Slider */
/*-------------------------------*/

.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;
    color: #222;
    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 p{
    font-size: 14px;
}
.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 p,
.team-slide:hover .team-text span,
.team-slide:hover ul.social li a{
    color: #fff;
}
.team-slide:hover ul.social li a{
    border: 1px solid #fff;
}
.team-slide ul.social li a:hover, 
.team-slide 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 */

ul.social {
    padding: 0;
    margin: 2px !important;
}

ul.social li{
    display: inline-block;
}

ul.social li a{
    display: block; 
    text-align: center;
    color: #676767;
}
ul.social_simple li a {
  height: 24px;
  line-height: 24px;
  width: 24px;
  font-size: 17px;
  margin: 0 2px;
}
ul.social li a {
  height: 24px;
  line-height: 30px;
  width: 32px;
  margin-top: 3px;
  padding-top: 9px !important;
  font-size: 14px;
  border: 1px solid #979797;
  -webkit-border-radius: 50%;
  border-radius: 50%;
}

ul.social li a::before,
ul.social li a::after{
    color: inherit !important;
    -webkit-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}
ul.social li:last-child a{
    margin-right: 0;
}
ul.social li:first-child a{
    margin-left: 0;
}

ul.social li a:hover, 
ul.social li a:focus{
    background: #ed3325;
    border: 1px solid #ed3325;
    color: #fff;
}
.prev-next {
    position: absolute;
    height: 18px;
    width: 22px;
    font-size: 14px;
    border: 1px solid #ccc;
    background-color: #fff;
    top: 1px;
    padding-top: 4px;
    right: 0;
    text-align: center;
    cursor: pointer;
    display: block;
    z-index: 1000;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}
.prev-next:hover{
    border:1px solid #ff4647;
    background-color: #ff4647;
    color: #fff;
}

#members {
    position: relative;
}
.members {
    margin-top: 10px;
}

#members .prev {
    right: 30px;
}
.team-icon a:hover {
	background-color: #e3120b;
}

.team-icon a:hover,
.team-details .team-icon a {	
    border: 1px solid #e3120b;
}

#owl-team8 .list-inline{padding-left:0;margin-left:-5px;list-style:none}#owl-team8 .list-inline>li{display:inline-block;padding-right:2px;padding-left:2px}