.btn:hover,
.btn:focus,
.btn:active{
    outline: 0 !important;
}
/* entire container, keeps perspective */
.card-container {
      -webkit-perspective: 800px;
   -moz-perspective: 800px;
     -o-perspective: 800px;
        perspective: 800px;
        margin-bottom: 30px;
}
/* flip the pane when hovered */
.card-container:not(.manual-flip):hover .card,
.card-container.hover.manual-flip .card{
    -webkit-transform: rotateY( 180deg );
-moz-transform: rotateY( 180deg );
 -o-transform: rotateY( 180deg );
    transform: rotateY( 180deg );
}


.card-container.static:hover .card,
.card-container.static.hover .card {
    -webkit-transform: none;
-moz-transform: none;
 -o-transform: none;
    transform: none;
}
/* flip speed goes here */
.card {
     -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, .front-1, .front-2, .front-3, .front-4, .front-5 {
    -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, .front-1, .front-2, .front-3, .front-4, .front-5 {
    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{
    background: none repeat scroll 0 0 #FFFFFF;
    border-radius: 4px;
    color: #444444;
}
.card-container, .front, .front-1, .front-2, .front-3, .front-4, .front-5, .back, .front-1, .front-2, .front-3, .front-4, .front-5 {
    width: 100%;
    height: 420px;
    border-radius: 10px;
}


.card .front {
    background-image:url(../img/jean-louis-barthez-direction-eurogestion.jpg);
    background-size:cover;
}

.card .front-1 {
    background-image:url(../img/caroline-catteaud-transaction-richelieu.jpg);
    background-size:cover;
}

.card .front-2 {
    background-image:url(../img/marianne-hemus-locations-richelieu.jpg);
    background-size:cover;
}

.card .front-3 {
    background-image:url(../img/ludivine-gaulon-location-capvacances.jpg);
    background-size:cover;
}

.card .front-4 {
    background-image:url(../img/carte-team-vide-front.jpg);
    background-size:cover;
}

.front-5 {
    background-image:url(../img/emma-favard-locations-marseillan-plage.jpg);
    background-size:cover;
}

.card .user{
    border-radius: 50%;
    display: block;
    overflow: hidden;
    width:55px;
    height:55px;
    float:left;
    margin-right:5px;
}

.card .user img {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 4px solid #FFFFFF;
    width: 100%;
}

.front .main, .front-1 .main, .front-2 .main, .front-3 .main, .front-4 .main, .front-5 .main {
    position:absolute;
    bottom:17px;
    left:20px;
    right:20px;
}

.card .name {
    font-size: 28px;
    line-height: 18px;
    color:white;
    font-weight:800;
    font-family:'Source Sans Pro', sans-serif;
}

.card .main p {
    margin-bottom:2px!important;
    font-family:'Source Sans Pro', sans-serif;
}

.card p.loc {
    color:#efc02e;
    font-size:16px;
    letter-spacing: 1px;
    font-weight:800;
    font-family:'Source Sans Pro', sans-serif;
}

.card p.loc span {
    color:white;
    font-weight:300!important;
    font-size:14px;
    font-family:'Source Sans Pro', sans-serif;
}

p.nom-user {
    line-height:15px;
     font-weight:700;
    line-height: 15px;
    padding-top:14px;
    font-family:'Source Sans Pro', sans-serif;
}

p.nom-user span {
    font-size:12px;
    font-weight:300;
    letter-spacing: 1px;
    font-family:'Source Sans Pro', sans-serif;
}

.nom-photo {
    padding:44px 0 10px 10px;
}

.nom-photo2 {
    padding:4px 0 10px 10px;
}



.card h5{
    margin: 5px 0;
    font-weight: 400;
    line-height: 20px;
}
.card .profession{
    color: white;
    font-family:'Source Sans Pro', sans-serif;

}
.card .footer {
    border-top: 1px solid #EEEEEE;
    color: #999999;
    margin: 30px 0 0;
    padding: 10px 0 0;
    text-align: center;
    font-family:'Source Sans Pro', sans-serif;
}
.card .footer .social-links{
    font-size: 18px;
    font-family:'Source Sans Pro', sans-serif;
}
.card .footer .social-links a{
    margin: 0 7px;
    font-family:'Source Sans Pro', sans-serif;
}
.card .footer .btn-simple{
    margin-top: -6px;
}
.card .header {
    padding: 70px 20px;
    height: 90px;
}
.card .header2 {
    padding: 27px 20px 130px;
    height: 57px;
}
.card .header p.motto{
    border-bottom: 1px solid #EEEEEE;
    color: #333333;
    font-size: 25px!important;
    font-weight: 800;
    text-align: center;
    line-height:19px;
    padding-bottom:12px;
    font-family:'Source Sans Pro', sans-serif;
}

.card .header p.motto span {
    color: #efc02e;
    font-size: 14px!important;
    font-weight: 300;
    letter-spacing:1px;
    font-family:'Source Sans Pro', sans-serif;
}


.card .header2 p.motto {
    color: #333333;
    font-size: 25px!important;
    font-weight: 800;
    text-align: center;
    line-height:19px;
    padding-bottom:12px;
    font-family:'Source Sans Pro', sans-serif;
}

.card .header2 p.trait {
    border-bottom: 1px solid #EEEEEE;
    font-family:'Source Sans Pro', sans-serif;
}

.card .main p.loc {
    margin-bottom:-5px!important;
    font-family:'Source Sans Pro', sans-serif;
}

.card .header2 p.motto span {
    color: #efc02e;
    font-size: 14px!important;
    font-weight: 300;
    letter-spacing:1px;
    font-family:'Source Sans Pro', sans-serif;
}

.card .back p i {
    color:#efc02e;
    font-family:'Source Sans Pro', sans-serif;
}

.card .back p {
    font-size:18px;
    color:#333333;
    font-family:'Source Sans Pro', sans-serif;
}

.card .back .main p {
    padding-top:10px;
    font-family:'Source Sans Pro', sans-serif;
}







/*       Fix bug for IE      */

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .front, .back, .front-1, .front-2, .front-3, .front-4, .front-5 {
        -ms-backface-visibility: visible;
        backface-visibility: visible;
    }

    .back {
        visibility: hidden;
        -ms-transition: all 0.2s cubic-bezier(.92,.01,.83,.67);
    }
    .front, .front-1, .front-2, .front-3, .front-4, .front-5 {
        z-index: 4;
    }
    .card-container:not(.manual-flip):hover .back,
    .card-container.manual-flip.hover .back{
        z-index: 5;
        visibility: visible;
    }
}
