/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/*----- VARIABLES-----*/
body.homepage .middle, body.second-page .middle{
	margin: 0 auto;
	position: relative;
}
/*----- COMMON-----*/
body{
	background-color:#2456a3;
	color:#fff;
    font-family: 'Didact Gothic', sans-serif;
    line-height: 15px;
}
header{
	margin: 10px 0 0 0;
	display: block;
}
header #logo{
	float: left;
	margin: 10px 0 0 20px;
}
header nav{
	float: right;
	margin: 10px 20px 0 0;
}
header nav li {
	float: left;
	margin: 0 0 0 20px;
	font-size: 18px;
	font-weight: 300;
}
header nav :first-child{
	margin: 0 0 0 0px;
}
header nav li a{
	color:#fff;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
	display: block;
	transition: all 0.2s ease-in;
}
header nav  a:hover{
	text-decoration: none;
	border-bottom: 2px solid #fff;
}
header nav  a.active{
	border-bottom: 2px solid #fff;
}
footer{
	clear: both;
	width: 100%;
	display: block;
	margin: 200px 0 0 0;
	bottom: 20;
}
.footer-link{
	clear: both;
	width: 150px;
	margin: 30px auto 0 auto;
}
.footer-link a{
	color:#fff;
	text-transform: uppercase;
	font-size: 20px;
	padding: 30px 0;
	display: block;
	border:2px solid #fff;
	width: 150px;
	float: left;
	text-align: center;
	text-decoration: none;
	transition: all 0.2s ease-in;
	margin: 0px auto 50px auto;
	background-color:#2456a3;
}
.footer-link a:hover{
	color:#2456a3;
	background-color:#fff
}
footer ul {
	clear: both;
	text-align: center;
	margin: 0 0 30px 0;
}
/*----- HOMEPAGE -----*/
body.homepage{
	position: relative;
}
body.homepage main.content{
	clear: both;
	text-align: center;
	min-height: 100%;
	position: relative;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-ms-flex-align: center;
	-webkit-align-items: center;
	-webkit-box-align: center;
	align-items: center;
}
body.homepage main.content .middle{
	height: 70px;
	width: 370px;
	margin-top:23%;
	margin-bottom: 15%;
}
body.homepage main.content h1{
	font-size: 55px;
	margin: 0 auto 35px auto;
	font-weight: 600;
	text-transform: uppercase;
}
body.homepage main.content h2{
	font-size: 24px;
}
body.homepage .footer-link{
	margin: 40px auto 0 auto;
}
body.homepage footer{
	width: 100%;
	display: block;
	margin: 0px 0 0 0;
	position:absolute;
	bottom:0;
	padding-top:10%;
	height: 10px;
}
/*----- SECOND-PAGE -----*/
body.second-page main.content h1{
	font-size: 24px;
}
body.second-page main.content{
	clear: both;
	padding: 5% 0 0 0;
	text-align: center;
}
body.second-page main.content section.detail{
	margin: 20px 20px 0 20px;
}
body.second-page main.content .detail-work{
	clear: both;
	margin: 0 20px;
}
body.second-page main.content .detail-work li{
	padding: 5px;
	background: #fff;
	float: left;
	margin: 0 2% 2% 0;
	width: 31%;
	cursor: pointer;
}
body.second-page main.content .detail-work li:nth-child(3n+0){
	margin: 0 0 2% 0;
}
body.second-page main.content .detail-work li img{
	max-width: 100%;
	height: auto;
}
body.second-page main.content .button-box {
  display: inline-block;
  margin: 0;
  padding: 10px 15px;
  background-color: #2456a3;
  border: none;
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  -webkit-transition: 0.3s all ease-in-out;
  transition: 0.3s all ease-in-out;
}
body.second-page main.content .button-box:hover { box-shadow: inset 0 -2.5px rgba(0, 0, 0, 0.4); }
.hero {
  position: absolute;
  top: 50%;
  left: 50%;
  color: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 0, 0, 0.4);
  -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
}
body.second-page main.content .state {
  position: absolute;
  top: 0;
  left: -100vw;
}
body.second-page main.content .state:checked ~ .acontent {
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
}
body.second-page main.content .state:checked ~ .backdrop {
  bottom: 0;
  opacity: 1;
  z-index: 1;
}
body.second-page main.content .lightbox {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 0;
  padding: 0 20px;
}
body.second-page main.content .lightbox .acontent {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  z-index: 2;
  max-width: 800px;
  max-height: 80vh;
  margin: 60px auto;
  padding: 20px;
  background: #fff;
  -webkit-transform: translateY(-200%);
  -ms-transform: translateY(-200%);
  transform: translateY(-200%);
  -webkit-transition: 0.3s -webkit-transform ease-in-out;
  transition: 0.3s transform ease-in-out;
  border: 1px solid rgba(0, 0, 0, 0.1);
	color:#202020;
}
body.second-page main.content .lightbox .header,
.lightbox .footer {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
body.second-page main.content .lightbox .header .button-box:not(:first-child),
body.second-page main.content .lightbox .footer .button-box:not(:first-child) { margin-left: auto; }
body.second-page main.content .lightbox .header { padding-bottom: 10px; }
body.second-page main.content .lightbox .footer { padding-top: 20px; }
body.second-page main.content .lightbox .main {
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  overflow: scroll;
}
body.second-page main.content .lightbox .backdrop {
  position: fixed;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 100%;
  left: 0;
  opacity: 0;
  background: rgba(0, 0, 0, 0.3);
  -webkit-transition: 0.3s opacity ease-in-out;
  transition: 0.3s opacity ease-in-out;
}
body.second-page main.content .details{
	float: left;
	width: 50%;
	margin: 0 2% 0 0;
}
body.second-page main.content .desc-details{
	float: left;
	width: 46%;
	text-align: left;
	margin: 0 2% 0 0;
    font-family: 'Didact Gothic', sans-serif;
   	font-weight: 300;
	font-size: 13px;
	line-height: 15px;
}
body.second-page main.content .desc-details a{
	color:#2456a3;
}
body.second-page main.content .desc-details .info li{
	list-style: square;
	margin: 0 0 10px 13px;
}
body.second-page main.content .desc-details .info span{
	font-weight: 400;
}
body.second-page main.content .details li{
	margin: 0 0 10px 0;
	font-weight: normal;
}
body.second-page main.content .details li img{
	max-width: 100%;
	height: auto;
}
body.second-page main.content h2{
	text-transform: uppercase;
	color:#2456a3;
	font-size: 24px;
	text-align: center;
	width: 100%;
}
body.second-page main.content section.parcours{
	margin: 20px 20px 0 20px;
	text-align: left;
}
body.second-page main.content .parcours-right{
	float: left;
	margin: 0 0 20px;
}

body.second-page main.content section.parcours h2{
	border-bottom: 2px solid #2456a3;
	padding: 0 0 15px 0;
	margin: 0 0 20px 0;
}
body.second-page main.content section.parcours .pro, body.second-page main.content .parcours-right{
	float: left;
	width: 49%;
}
body.second-page main.content section.parcours .parcours-right .formation .panel li{
	list-style: none;
	padding: 0;
	margin: 0px 0 8px 0px;
}
body.second-page main.content section.parcours .parcours-right .formation .panel li strong{
	font-weight: 600;
}
body.second-page main.content section.parcours .pro, body.second-page main.content section.parcours .formation, body.second-page main.content section.parcours .competences{
	background: #fff;
	padding: 20px 0;
	color:#202020;
}
body.second-page main.content section.parcours .pro{
	margin: 0 2% 20px 0;
}
body.second-page main.content section.parcours .competences{
	margin: 0 0% 20px 0;
}
body.second-page main.content section.parcours .panel{
	margin: 10px 20px 0 20px;
	padding: 0 0 8px 0;
	border-bottom: 1px solid rgba(32,32,32,.1);
    font-family: 'Didact Gothic', sans-serif;
	font-weight: 300;
	font-size: 13px;
}
body.second-page main.content section.parcours .panel:last-child{
	border-bottom: none;
}
body.second-page main.content section.parcours .panel .periode{
	padding: 0px 0 15px 0px;
	color: #2456a3;
	font-weight: 600;
	font-size: 14px;
}

body.second-page main.content section.parcours h4{
	font-weight: bold;
	margin: 10px 0 0 
}
body.second-page main.content section.parcours p{
	margin: 6px 0 14px 0px;
	line-height: 18px;
}
body.second-page main.content section.parcours a{
	color:#202020;
	text-decoration: none;
}
body.second-page main.content section.parcours p i{
	font-style: italic;
}
body.second-page main.content section.parcours {
	margin: 0px 20px 3px 20px;
	list-style: square;
	line-height: 18px;
}
body.second-page main.content section.parcours h3{
	font-size: 15px;
}
body.second-page main.content section.parcours h4{
	font-weight: bold;
	margin: 10px 0 5px 0;
}
body.second-page main.content section.parcours .competences .panel{
	border-bottom: none;
	line-height: 20px;
}
body.second-page main.content section.parcours .competences .panel ul{
	text-align: center;
}
body.second-page main.content section.parcours .competences .panel {
	list-style: none;
	padding: 0;
	margin: 0 20px 8px 20px;
}

.formulaire {
	clear:both;
	float:left;
	padding:0 0px 0px 0;
	width: 100%;
}
.formulaire fieldset {
	clear:both;
	float: left;
	width: 100%;
}
.formulaire label {
	display: block;
	clear: both;
	float:left;
	width: 100%;
	padding-bottom: 10px;
	text-shadow:1px 1px 2px white;
}
.formulaire input {
	float:left;
	padding: 0px 5px 0px 5px;
	margin-bottom: 18px;
	height: 20px;
	background: #FFFFFF;
	border: 1px solid #999;
	font-size: 12px;
	color: #282828;
	line-height: 20px;
	box-shadow: inset 0px 1px 0px rgba(255,255,255,0.25), 0px 1px 2px rgba(0,0,0,0.25);
}
.formulaire input#name, input#mail, input#sujet {
	width: 85%;
}
.formulaire textarea {
	width: 85%;
	height: 80px;
	padding: 5px;
	margin: 0px 0px 20px 0px;
	background: #FFFFFF;
	border: 1px solid #999;
	font-size: 12px;
	color: #282828;
	line-height: 20px;
	float: left;
	box-shadow: inset 0px 1px 0px rgba(255,255,255,0.25), 0px 1px 2px rgba(0,0,0,0.25);
}
#submit{
	margin-top: 3px;
	clear:both;
	float: left;
	width: 88%;
	background: #f9fcf7;
	background: linear-gradient(to bottom, #f9fcf7 0%, #eee 100%);
 	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9fcf7', endColorstr='#eee', GradientType=0 );
	color:#444444;
	font-weight:bold;
	padding:5px;
	height:30px;
}
.photo{
	margin: 0 auto 10px auto;
	width: 100px;
	padding: 4px 4px 0px 4px;
	background: #2456a3; 
}

/*----- MEDIA-QUERIES -----*/
@media screen and (max-width: 1000px){
	body{
		margin: 0 15px;
	}
	.middle{
		width:100%!important;
	}
	body.second-page main.content .detail-work li{
		width: 30.8%;
	}
	body.second-page main.content .detail-work li:nth-child(3n+0){
		margin: 0 0 2% 0;
	}
	body.homepage main.content{
		padding: 25% 0 0 0;
	}
}
@media screen and (max-width: 900px){
body.second-page main.content .detail-work li{
	margin: 0 2% 2% 0;
	width: 47.5%;
}
body.second-page main.content .detail-work li:nth-child(even){
	margin: 0 0% 2% 0;
}
	body.second-page main.content .detail-work li:nth-child(3n+0){
		margin: 0 2% 2% 0;
	}
}
@media screen and (max-width: 864px){
	body.second-page main.content .detail-work li{
		width: 30.5%;
	}
	body.homepage main.content{
		padding: 27% 0 0 0;
	}
}
@media screen and (max-width: 780px){
body.second-page main.content .detail-work li{
	margin: 0 2% 2% 0;
	width: 47.5%;
}
body.second-page main.content .detail-work li:nth-child(even){
	margin: 0 0% 2% 0;
}
	body.homepage main.content{
		padding: 30% 0 0 0;
	}
}
@media screen and (max-width: 740px){
body.second-page main.content section.parcours .pro, body.second-page main.content .parcours-right{
	clear: both;
	width: 100%;
}
}
@media screen and (max-width: 700px){
body.second-page main.content .detail-work li{
	margin: 0 2% 2% 0;
	width: 47%;
}
	body.homepage main.content{
		padding: 33% 0 0 0;
	}
}
@media screen and (max-width: 630px){
body.second-page main.content .details{
	width: 100%;
}
body.second-page main.content .desc-details{
	width: 100%;
}
}
@media screen and (max-width: 530px){
body.second-page main.content .detail-work li{
	margin: 0 2% 2% 0;
	width: 46%;
}
	body.homepage main.content{
		padding: 35% 0 0 0;
	}
}
@media screen and (max-width: 500px){
	header #logo{
		margin: 0 0 12% 0%;
		width: 100%;
		display: block;
		text-align: center;
	}
	header #logo img{
		width: 150px;
		height: auto;
	}
	header nav{
		clear: both;
		float: none;
		text-align: center;
		margin: 0px 0 0 0;
	}
	header nav {
		float: left;
		margin: 0px 0 0 18px;
		font-size: 5.1vw;
	}
	body.homepage main.content h1{
		font-size: 35px;
	}
	body.homepage main.content h2{
		font-size: 24px;
	}
	body.homepage main.content{
		padding: 20% 0 0 0;
	}
	body.second-page h2{
		display: none;
	}
	footer .footer-link{
		clear: both;
		bottom: 20;
		width: 155px;
		margin: 100px auto 50px auto;
	}
	body.second-page main.content .desc-details{
		font-size: 14px;
		margin: 0 0 0 10px;
	}
}
@media screen and (max-width: 430px){
body.second-page main.content .detail-work li{
	margin: 0 0% 2% 0;
	width: 100%;
}
}
@media screen and (max-width: 346px){
	body.homepage main.content .middle{
		margin-bottom: 60%;
	}
	header nav {
		float: left;
		margin: 0px auto 0 auto;
		font-size: 5vw;
	}
	header nav li {
		font-size: 16px;
	}
	footer.footer-link{
		clear: both;
		bottom: 20;
		width: 290px;
	}
	footer.footer-link a{
		width: 130px;
	}
	body.second-page main.content section.parcours{
		margin: 20px 0px 0 0px;
		text-align: left;
	}
	body.second-page main.content section.parcours .panel{
		margin: 5px 10px 10px 10px;
		padding: 0 0 10px 0;
	}
	body.second-page main.content section.parcours .pro, body.second-page main.content section.parcours .formation, body.second-page main.content section.parcours .competences{
		padding: 5px 0;
	}
}


