@import url("https://fonts.googleapis.com/css?family=Lato:400,400i,700");

html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: "Lato", sans-serif;
  color: #4c4c4c;
  margin: 0;
}

emAboutMe {
	background: #638BAB;
	color: white;
	font-size: 1.3em;
	padding: 4px 6px;
	line-height: 1.6;
	border-radius: 3px;
}

.titre { 
  width: 100%;
  border-bottom: 1px solid #244c96;
}

.photo {  
  border: 1px solid #244c96;
}

.icon {
	color: #4682AD;
}

.iconCv {
	width: 150px;
}

@media (max-width: 768px) { 
	.iconCv {
		width: 120px;
	}	
}

@media (max-width: 500px) { 
	.iconCv {
		width: 90px;
	}	
}

.left {
  float: left; 
}

.center {
  margin: 25px auto;
}

.right {
  float: right; 
  margin-right: 0;
}

.verticalCenter {
	vertical-align: middle;
}

.carousel-inner img{
  width: 100%;
}

.carousel-control .fa-chevron-left, 
.carousel-control .fa-chevron-right {
   position: absolute;
   top: 50%;
   z-index: 5;
   display: inline-block;
   margin-right: -15px;
   margin-left: -15px;
}

.carousel-border {
	padding: 3px;
	border: 1px solid #ABABAB;
}

.portfolio-grid {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	text-align: center;
	width: 90%;
}

.portfolio-grid li {
	display: inline-block;
	margin: 5px 5px 5px 5px;
	vertical-align: top;
    width:212px;
}

.portfolio-grid li > a,
.portfolio-grid li > a img {
    width: 100%;
	border: none;
	outline: none;
	display: block;
	position: relative;
    transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.portfolio-grid li > a img:hover {
    border-radius: 50%;
    z-index: 9999;
}

/******************************************
 Animate.CSS By Dan Eden
******************************************/

.animated{-webkit-animation-duration:1s;-moz-animation-duration:1s;-o-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;-moz-animation-fill-mode:both;-o-animation-fill-mode:both;animation-fill-mode:both;}
@-webkit-keyframes flipInX {
    0% {
        -webkit-transform: perspective(400px) rotateX(90deg);
        opacity: 0;
    }
    
    40% {
        -webkit-transform: perspective(400px) rotateX(-10deg);
    }
    
    70% {
        -webkit-transform: perspective(400px) rotateX(10deg);
    }
    
    100% {
        -webkit-transform: perspective(400px) rotateX(0deg);
        opacity: 1;
    }
}
@-moz-keyframes flipInX {
    0% {
        -moz-transform: perspective(400px) rotateX(90deg);
        opacity: 0;
    }
    
    40% {
        -moz-transform: perspective(400px) rotateX(-10deg);
    }
    
    70% {
        -moz-transform: perspective(400px) rotateX(10deg);
    }
    
    100% {
        -moz-transform: perspective(400px) rotateX(0deg);
        opacity: 1;
    }
}
@-o-keyframes flipInX {
    0% {
        -o-transform: perspective(400px) rotateX(90deg);
        opacity: 0;
    }
    
    40% {
        -o-transform: perspective(400px) rotateX(-10deg);
    }
    
    70% {
        -o-transform: perspective(400px) rotateX(10deg);
    }
    
    100% {
        -o-transform: perspective(400px) rotateX(0deg);
        opacity: 1;
    }
}
@keyframes flipInX {
    0% {
        transform: perspective(400px) rotateX(90deg);
        opacity: 0;
    }
    
    40% {
        transform: perspective(400px) rotateX(-10deg);
    }
    
    70% {
        transform: perspective(400px) rotateX(10deg);
    }
    
    100% {
        transform: perspective(400px) rotateX(0deg);
        opacity: 1;
    }
}

.flipInX {
	-webkit-backface-visibility: visible !important;
	-webkit-animation-name: flipInX;
	-moz-backface-visibility: visible !important;
	-moz-animation-name: flipInX;
	-o-backface-visibility: visible !important;
	-o-animation-name: flipInX;
	backface-visibility: visible !important;
	animation-name: flipInX;
}

/* Setting up blocks */

.hero-grid-container {
	width: 100%;  
	margin: 40px auto;
  	overflow: hidden;
}

.hero-grid {
	position: relative;
	float: left;
	overflow: hidden;
	background: #3085a3;
  	cursor: pointer;
   
  	margin: 20px;
	width: 240px;
}

.hero-grid-dessin {
	position: relative;
	float: left;
	overflow: hidden;
	background: #3085a3;
  	cursor: pointer;
   
	top : 60px;
  	margin: 20px;
	width: 520px;
}

.hero-grid-image {
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	opacity: 0.2;
}

.hero-grid-content {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1em;
	text-align: left;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
  	position: absolute;
 	bottom: 0;
  	width: 100%;
}

.hero-grid-content::before,
.hero-grid-content::after {
	pointer-events: none;
}

.hero-grid-content::after {
	background-color: white;
	opacity: 0.5;
	color: #638BAB;
}

.hero-grid-link {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.hero-grid-title {
	letter-spacing: -1px;
	font-weight: 200;
	text-align: left;
  	margin: 0;
  	padding: 0.25em 0;
  	line-height: 1;
}

.hero-grid-title span {
	font-weight: 600;	
}

.hero-tag {
	display: inline-block;	
	font-size: .8em;
	padding: .5em;
	background: #fff;
	color: #000;
}

.hero-grid h2{	
	font-size: 1.5em;
}

.hero-grid p {
	letter-spacing: 1px;
	font-size: 50%;
	height: 2.25em;
	margin: 0;
	overflow:hidden;
}

/* effect start */

.effect-image {
	max-width: none;
	width: -webkit-calc(100% + 50px);
	width: calc(100% + 50px);
	opacity: 0.2;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(-40px,0, 0);
	transform: translate3d(-40px,0,0);
}

.effect-bg {
	background-color: #3085a3;
	color: white;
	opacity: 0.3;
	-webkit-transition: opacity 0.2s, -webkit-transform 0.35s;
	transition: opacity 0.2s, transform 0.35s;
}

.effect-target {
	opacity: 1;
	-webkit-transform: translate3d(0,40px,0);
	transform: translate3d(0,40px,0);
}

.effect-target {
	opacity: 1;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
}

.effect-text {
	opacity: 1;
	color: rgba(255,255,255,0.8);	
	opacity: 0;
	-webkit-transition: opacity 0.2s, -webkit-transform 0.35s;
	transition: opacity 0.2s, transform 0.35s;
}

.effect-move:hover .effect-bg {
	color: white;
	opacity: 0.7;
}

.effect-move:hover .effect-image,
.effect-move:hover .effect-text {
	opacity: 1;
}

.effect-move:hover .effect-target,
.effect-move:hover .effect-image {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

.effect-move:hover .effect-text {
	-webkit-transition-delay: 0.05s;
	transition-delay: 0.05s;
	-webkit-transition-duration: 0.35s;
	transition-duration: 0.35s;
}
