.team-carousel2{
 list-style-type: none;
 display: flex;
 flex-wrap: wrap;
 margin-left: 15px;
 margin-right: 15px;
 -webkit-flex-direction: row; /* Safari 6.1+ */
    flex-direction: row;
}
.team-carousel2 li{
    float: left;
    position: relative;
    width: 23.5%;
    margin-right: 2%;
    background: #f4f4f4;
    margin-bottom: 20px;
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
border-radius: 20px;
padding-top: 20px;
padding-bottom: 20px;
padding-left: 10px;
padding-right: 10px;
box-shadow: 0 5px 0 0 rgba(2, 51, 154, 1);
    -moz-box-shadow: 0 5px 0 0 rgba(2, 51, 154, 1);
    -webkit-box-shadow: 0 5px 0 0 rgba(2, 51, 154, 1);
}

.team-carousel2 li:nth-child(4n) {
    margin-right: 0;
}

h2.team-member-name{
 float: left;
 margin-top: 19px;
 margin-bottom: 12px;
 color: #02339a;
 font-size: 17px;
 width: 100%;
 font-weight: bold;
}
h2.team-member-name a{
 color: #02339a;
 font-size: 17px;
 font-weight: bold;
 
}
.team-carousel2 a.team-member-job{
 color: #373737;
}
.team-carousel2 .proba{
 margin-top: auto;
align-self: flex-end;
}

.team-carousel2 a {
    color: #efac09;
    margin: 0 2px;
    font-size: 16px;
}
.team-carousel2 a:hover{
  color: #02339a;
}
.team-user2{
 float: left;
 width: 100%;
}

.team-user2 figure {
  float: left;
	margin-left: 15%;
	width: 70%;
	height: auto;
   border-radius: 100%;
	overflow: hidden;
}
.team-user2 figure img{

 border-radius: 100%;
 -webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.team-user2 figure:hover img{
 	-webkit-transform: scale(1.3);
	transform: scale(1.3);
}


@media only screen and (max-width: 1024px) {
.team-carousel2 li{
    float: left;
    position: relative;
    width: 49%;
    margin-right: 2%;
		}
		.team-carousel2 li:nth-child(2n) {
    margin-right: 0;
}
.team-user2 figure {
	margin-left: 25%;
	width: 50%;
}
}
@media only screen and (max-width: 767px) {
 .team-user2 figure {
	margin-left: 15%;
	width: 70%;

}
}
@media only screen and (max-width: 440px) {
.team-carousel2 li{
    float: left;
    position: relative;
    width: 100%;
    margin-right: 0;
}
.team-user2 figure {
	margin-left: 25%;
	width: 50%;
}
}
