.btn:hover,
.btn:focus,
.btn:active {
  outline: 0 !important; }

.back .footer {
  background: transparent; }

.social-links.text-center a {
  color: #23527c; }

/* entire container, keeps perspective */
.card-custom-container {
  -webkit-perspective: 800px;
  -moz-perspective: 800px;
  -o-perspective: 800px;
  perspective: 800px;
  margin-bottom: 30px; }

/* flip the pane when hovered */
.card-custom-container:not(.manual-flip):hover .card-custom,
.card-custom-container.hover.manual-flip .card-custom {
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg); }

.card-custom-container.static:hover .card-custom,
.card-custom-container.static.hover .card-custom {
  -webkit-transform: none;
  -moz-transform: none;
  -o-transform: none;
  transform: none; }

/* flip speed goes here */
.card-custom {
  -webkit-transition: -webkit-transform .5s;
  -moz-transition: -moz-transform .5s;
  -o-transition: -o-transform .5s;
  transition: transform .5s;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
  position: relative; }

/* hide back of pane during swap */
.front, .back {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -o-backface-visibility: hidden;
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #FFF;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.14); }

/* front pane, placed above back */
.front {
  z-index: 2; }

/* back, initially hidden pane */
.back {
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
  z-index: 3; }

.back .btn-simple {
  position: absolute;
  left: 0;
  bottom: 4px; }

/*        Style       */
.card-custom {
  background: none repeat scroll 0 0 #FFFFFF;
  border-radius: 4px;
  color: #444444; }

.card-custom-container, .front, .back {
  width: 100%;
  height: 420px;
  border-radius: 4px; }

.card-custom .cover {
  overflow: hidden;
  border-radius: 4px 4px 0 0; }

.card-custom .cover img {
  width: 100%; }

.card-custom .user {
  border-radius: 50%;
  display: block;
  height: 120px;
  margin: -55px auto 0;
  overflow: hidden;
  width: 120px; }

.card-custom .user img {
  background: none repeat scroll 0 0 #FFFFFF;
  border: 4px solid #FFFFFF;
  width: 100%; }

.card-custom .content {
  background-color: transparent;
  box-shadow: none;
  padding: 10px 20px 20px; }

.card-custom .name {
  font-size: 22px;
  line-height: 28px;
  margin: 10px 0 0;
  text-align: center;
  text-transform: capitalize; }

.card-custom h5 {
  margin: 5px 0;
  font-weight: 400;
  line-height: 20px; }

.card-custom .profession {
  color: #999999;
  text-align: center;
  margin-bottom: 20px; }

.card-custom .footer {
  border-top: 1px solid #EEEEEE;
  color: #999999;
  margin: 30px 0 0;
  padding: 10px 0 0;
  text-align: center; }

.card-custom .footer .social-links {
  font-size: 18px; }

.card-custom .footer .social-links a {
  margin: 0 7px; }

.card-custom .footer .btn-simple {
  margin-top: -6px; }

.card-custom .header {
  padding: 15px 20px;
  height: 90px; }

.card-custom .motto {
  border-bottom: 1px solid #EEEEEE;
  color: #999999;
  font-size: 14px;
  font-weight: 400;
  padding-bottom: 10px;
  text-align: center; }

.cover img.img-fluid {
  margin: 0; }

.front .footer {
  background: transparent;
  border-top: none; }

/*       Fix bug for IE      */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .front, .back {
    -ms-backface-visibility: visible;
    backface-visibility: visible; }

  .back {
    visibility: hidden;
    -ms-transition: all 0.2s cubic-bezier(0.92, 0.01, 0.83, 0.67); }

  .front {
    z-index: 4; }

  .card-custom-container:not(.manual-flip):hover .back,
  .card-custom-container.manual-flip.hover .back {
    z-index: 5;
    visibility: visible; } }
