﻿figure {
  max-width: 100%;
}

/* Team Member */
.team {
  padding-bottom: 100px;
  -webkit-perspective: 1200;
  perspective: 1200;
}

.team:before, .team:after {
  content: '';
  display: table;
}

.team:after {
  clear: both;
}

.team [class^=col-] {
  padding: 0;
  overflow: visible;
}

.team-member {
  position: relative;
  -webkit-transition: box-shadow 0.5s ease;
  -moz-transition: box-shadow 0.5s ease;
  transition: box-shadow 0.5s ease;
}

.team-member figure {
  width: 100%;
  overflow: hidden;
}

.team-member .info {
  display: block;
  width: 100.6%;
  height: 100.6%;
  position: absolute;
  top: -0.3%;
  left: -0.3%;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  background-color: rgba(255, 255, 255, 0.9);
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.team-member .info h3 {
  margin-bottom: 0;
  
  font-size: 24px;
  font-weight: 400;
  text-transform: none;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  transition: all 0.5s ease;
  -webkit-transform: translateY(15px);
  -moz-transform: translateY(15px);
  -ms-transform: translateY(15px);
  transform: translateY(15px);
}

.team-member .info a {
  color: #111111;
}

.team-member .info .socials li {
  display: inline-block;
  margin: 0 6px 6px;
  font-size: 24px;
  opacity: 0;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  transition: all 0.5s ease;
  -webkit-transform: translateY(8px) scale(1.1);
  -moz-transform: translateY(8px) scale(1.1);
  -ms-transform: translateY(8px) scale(1.1);
  transform: translateY(8px) scale(1.1);
}

.team-member .info .socials li a {
  color: #444444;
}

.team-member .info .socials li a:hover {
  color: #111111;
}

.team-member .info .socials li:nth-child(1) {
  transition-delay: 0.08333s;
}

.team-member .info .socials li:nth-child(2) {
  transition-delay: 0.16667s;
}

.team-member .info .socials li:nth-child(3) {
  transition-delay: 0.25s;
}

.team-member .info .socials li:nth-child(4) {
  transition-delay: 0.33333s;
}

.team-member .info .socials li:nth-child(5) {
  transition-delay: 0.41667s;
}

.team-member .info .socials li:nth-child(6) {
  transition-delay: 0.5s;
}

.team-member .info .socials li:nth-child(7) {
  transition-delay: 0.58333s;
}

.team-member .info .socials li:nth-child(8) {
  transition-delay: 0.66667s;
}

.team-member .info .socials li:nth-child(9) {
  transition-delay: 0.75s;
}

.team-member .info .socials li:nth-child(10) {
  transition-delay: 0.83333s;
}

.team-member .info .info-inner {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.team-member:hover {
  z-index: 2;
  box-shadow: 10px 20px 40px rgba(0, 0, 0, 0.15);
}

.team-member:hover .info {
  opacity: 1;
  visibility: visible;
}

.team-member:hover .info h3 {
  -webkit-transform: translateY(0) translateZ(50000px);
  -moz-transform: translateY(0) translateZ(50000px);
  -ms-transform: translateY(0) translateZ(50000px);
  transform: translateY(0) translateZ(50000px);
}

.team-member:hover .socials li {
  opacity: 1;
  -webkit-transform: translateY(0) scale(1) translateZ(50000px);
  -moz-transform: translateY(0) scale(1) translateZ(50000px);
  -ms-transform: translateY(0) scale(1) translateZ(50000px);
  transform: translateY(0) scale(1) translateZ(50000px);
}

@media screen and (max-width: 991px) {
  figure {
    width: 100%;
  }
  figure img {
    width: 100%;
  }
}