/* Clearfix */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}

/* Box-sizing */
*, *:before, *:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}


/* Basic Styles */
body {
	background-color: black;/*#ece8e5*/
}


  /**************/
 /* Navigation */
/**************/
nav {
	height: 40px;
	width: 100%;
	background: black; /*#455868*/
	font-size: 1em;
	font-family: Verdana, sans-serif;
	position: fixed;
	top: 0;
	left: 0;
	/*border-bottom: 2px solid #283744;*/
}
nav ul {
	padding: 0;
	margin: 0 auto;
	width: 90%;
	height: 40px;
	float: left;
}
nav li {
	display: inline;
	float: left;
}
nav a {
	color: #fff;
	display: inline-block;
	width: 100%;
	height: 40px;
	padding: 0 15px;
	text-align: center;
	text-decoration: none;
	line-height: 40px;
	text-shadow: 1px 1px 0px #283744;
}
nav li a {
	border-right: 1px solid #8B3567; /*#576979*/
}
nav li:last-child a {
	border-right: 0;
}
#lang {
	width: 10%;
	height: 40px;
	float: right;
}
#mobile {
	display: none;
}
.active {
	background-color: #8B3567; /*#8c99a4*/
}
img.lang {
	margin: 8px 0;
}


  /*****************/
 /* Corps du site */
/*****************/
/* Define section's background */
#home {
	background: url(../images/bg/slide1.jpg) center 0 no-repeat fixed;
	-webkit-background-size: cover; /* pour Chrome et Safari */
	-moz-background-size: cover; /* pour Firefox */
	-o-background-size: cover; /* pour Opera */
	background-size: cover; /* version standardisée */
}

#concept {
	background: url(../images/bg/slide2-2.jpg) center 0 no-repeat fixed ;
	-webkit-background-size: cover; /* pour Chrome et Safari */
	-moz-background-size: cover; /* pour Firefox */
	-o-background-size: cover; /* pour Opera */
	background-size: cover; /* version standardisée */
}
#engagement {
	background: white url(../images/bg/slide3-2.jpg) center 0 no-repeat fixed;
	-webkit-background-size: cover; /* pour Chrome et Safari */
	-moz-background-size: cover; /* pour Firefox */
	-o-background-size: cover; /* pour Opera */
	background-size: cover; /* version standardisée */
}
#association {
	background: white url(../images/bg/slide4-2.jpg) center 0 no-repeat fixed;
	-webkit-background-size: cover; /* pour Chrome et Safari */
	-moz-background-size: cover; /* pour Firefox */
	-o-background-size: cover; /* pour Opera */
	background-size: cover; /* version standardisée */
}
#contact {
	background: white url(../images/bg/slide5-2.jpg) center 0 no-repeat fixed;
	-webkit-background-size: cover; /* pour Chrome et Safari */
	-moz-background-size: cover; /* pour Firefox */
	-o-background-size: cover; /* pour Opera */
	background-size: cover; /* version standardisée */
}
#separateur {
	background: white;
}

/* Define section's size  */
#home, #concept, #engagement, #association, #contact {
	min-height: 1024px;
	padding-top: 100px;
}
#wrapper-home, #wrapper-concept, #wrapper-engagement,
#wrapper-association, #wrapper-separateur {
	display: inline-block;
	width: 100%;
}
.slide-inside {
	width: 80%;
	height: 100%;
	margin: 0 auto;
}
.content {
	background-color: rgba(255,255,255,0.75);
	max-width: 960px;
	margin: 20px auto 100px;
	padding: 60px;
}
.redWord {
	color: #d7007f;
}


  /*******************/
 /* Slide #1 - Home */
/*******************/
#wrapper-home figure {
	display: block;
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
}
#wrapper-home .association {
	display: inline-block;
	width: 100%;
}
#wrapper-home .column-asso {
	float: left;
	width: 25%;	
	font-size: 0.7em;
	text-align: center;
}
#wrapper-home p.home {
	font-size: 1.4em;
}
#wrapper-home a {
	text-decoration: none;
	color: #d7007f;
}
#wrapper-home a:hover {
	text-decoration: underline;
}


  /**********************/
 /* Slide #2 - Concept */
/**********************/
#wrapper-concept h2 {
	margin-bottom: 50px;
}
#wrapper-concept h4 {
	margin: 0;
}
#wrapper-concept h4:before {
	content: url('../images/objectif.png');
	float: left;
	height: 75px;
	margin-right: 7px;
}
#wrapper-concept p {
	margin: 0;
	padding: 0 0 25px 40px;
}


  /*************************/
 /* Slide #3 - Engagement */
/*************************/
#wrapper-engagement h4 {
	margin: 0;
}
#wrapper-engagement h4:before {
	content: url('../images/objectif.png');
	float: left;
	height: 75px;
	margin-right: 7px;
}
#wrapper-engagement .tasdeboyeux {
	display: inline-block;
	margin-bottom: 35px;
}
#wrapper-engagement .tasdeboyeux h2 {
	float: left;
	width: 80%;
}
#wrapper-engagement .tasdeboyeux figure {
	float: right;
	width: 20%;
	margin-top: 25px;
	font-size: 0.8em;
	text-align: center;
}
#wrapper-engagement p {
	margin: 0;
	padding: 0 0 25px 40px;
}
#wrapper-engagement aside figure {
	text-align: center;
}
#wrapper-engagement a {
	text-decoration: none;
	color: #d7007f;
}
#wrapper-engagement a:hover {
	text-decoration: underline;
}


  /**************************/
 /* Slide #4 - Association */
/**************************/
#wrapper-association header.entete-assos {
	width: 100%;
	min-height: 75px;
}
#wrapper-association header.entete-assos .titre-assos {
	float: left;
	padding-top: 25px;
}
#wrapper-association header.entete-assos .titre-assos h4, header.entete-assos .titre-assos p {
	margin: 0;
}
#wrapper-association header.entete-assos .images-assos {
	float: right;
}
#wrapper-association header.entete-assos img {
	min-width: 100px;
	height: auto;
}
#wrapper-association div.assos:before {
	content: url('../images/objectif.png');
	float: left;
	height: 75px;
	margin-top: 28px;
	margin-right: 7px;
}
#wrapper-association article.p-assos p {
	margin: 0 0 20px 0;
	padding: 0 0 25px 40px; 
}
#wrapper-association a {
	text-decoration: none;
	color: #d7007f;
}
#wrapper-association a:hover {
	text-decoration: underline;
}

  /**********************/
 /* Slide #5 - Contact */
/**********************/
#wrapper-contact {
	background: rgba(0, 0, 0, 0.5);
	border-radius: 20px;
	padding: 25px;
	text-align: center;
}
#wrapper-contact h2, #wrapper-contact p {
	color: white;
}
#wrapper-contact img {
	margin: 10px;
}
#wrapper-contact a {
	text-decoration: none;
	background: rgba(165,65,130,0.6);
	border-radius: 15px;
	color: white;
	padding: 0 8px;
}
#wrapper-contact a:hover {
	text-decoration: underline;
}
	/* Formulaire de contact */
	form {
		width: 100%;
		margin: 30px auto;
	}
	.wrap-champ {
		margin-bottom: 15px; 
	}
	label{
		display: inline-block;
		border: 1px solid #813F65;
		background: #8B3567;
		vertical-align: top;
		color: white;
		/*height: 16px;*/
		width: 92px;
		padding: 5px;
		margin-right: 15px;
		text-align: left;
	}
	input:not(.button-form) {
		height: 30px;
		width: 225px;
		border: 1px solid white;
		padding-left: 5px;
		padding-right: 25px;
		outline: none;
	}
	textarea{
		border: 1px solid white;
		height: 30px;
		width: 225px;
		padding: 5px 25px 0 5px;
		outline: none;
		resize: none;
		overflow: hidden;
		-webkit-transition: height 500ms ease 0s;
		-moz-transition: height 500ms ease 0s;
		-ms-transition: height 500ms ease 0s;
		-o-transition: height 500ms ease 0s;
	}
	textarea:focus {
		height: 100px;
		border-left: 1px solid white;
	}
	input:required:not(.button-form), textarea:required {
		background: white url('../images/required.png') 98% 50% no-repeat;
	}
	input:focus:valid:not(.button-form), textarea:focus:valid {
		background: white url('../images/valid.png') 98% 50% no-repeat;
	}
	input:focus:invalid:not(.button-form), textarea:focus:invalid {
		background: white url('../images/invalid.png') 98% 50% no-repeat;
	}
	input:required:valid:not(.button-form), textarea:required:valid {
		background: white url('../images/valid.png') 98% 50% no-repeat;
	}
	.button-form {
		width: 135px;
		height: 30px;
		background: #8B3567;
		border: 1px solid #813F65;
		cursor: pointer;
		color: white;
	}
	.button-form:active {
		position: relative;
		top: 1px;
		left: 1px;
	}
	::-ms-clear {
		display: none; /* IE 10 */
	}

	@-moz-document url-prefix() {
		textarea {
			overflow: auto; /* only FIREFOX */
		}
	}
	.localisation {
		display: none;
	}

  /************************/
 /* Section - Séparateur */
/************************/
#wrapper-separateur .citation {
	max-width: 960px;
	margin: 0 auto;
}
#wrapper-separateur .citation h2 {
	font-size: 1.8em;
	font-weight: bold;
	color: black;
	text-align: center;
}



  /**************************/
 /* MEDIA QUERIES - MOBILE */
/**************************/
/*Styles for screen 950 and lower*/
@media screen and (max-width: 950px) {
	.not-mobile {
		display: none;
	}
	#wrapper-association div.assos:before {
		margin-top: 0px;
	}
}

/*Styles for screen 860 and lower*/
@media screen and (max-width: 860px) {
	#concept .slide-inside {
  		display: block;
  	}
  	#wrapper-home .column-asso {
	    float: left;
	    margin-bottom: 40px;
	    margin-left: 0;
	    width: 50%;
	}
  	.column {
		float: none;
		width: 100%;	
		margin-left: 0;
		margin-bottom: 40px;
	}
	#wrapper-engagement .tasdeboyeux h2 {
		float: none;
		width: 100%;
	}
	#wrapper-engagement .tasdeboyeux figure {
		float: none;
		width: 100%;
	}
}

/*Styles for screen 600 and lower*/
@media screen and (max-width : 600px) {
	nav {
		height: auto;
		border-bottom: 0;
	}
	nav ul {
		display: none;
		width: 100%;
		height: auto;
		float: none;
	}
	nav li {
		display: block;
		float: none;
		width: 100%;
	}
	nav li a {
		text-align: center;
		border-right: 0px solid #576979;
		border-bottom: 0px solid #576979;
	}
	nav a {
	  	text-align: left;
	  	width: 100%;
	  	text-indent: 25px;
  	}
	#mobile {
		display: block;
		background-color: black; /*#283744*/
		width: 100%;
		position: relative;
		border-top: 2px solid #d7007f;
	}
	#mobile a.lang {
		width: 20%;
		height: 40px;
		float: left;
	}
	#mobile a#pull {
		width: 80%;
		height: 40px;
	}
	#mobile a#pull:after {
		content:"";
		background: url('../images/nav-icon.png') no-repeat;
		width: 30px;
		height: 30px;
		display: inline-block;
		position: absolute;
		right: 15px;
		top: 10px;
	}
	input:not(.button-form){
		width: 80%;
	}
	textarea {
		width: 80%;
	}
	.not-nav {
		display: none;
	}

}

/*Styles for screen 550 and lower*/
@media screen and (max-width : 550px) {
	#wrapper-home .column-asso {
		float: none;
		width: 100%;	
		margin-left: 0;
		margin-bottom: 40px;
	}
}

/*Styles for screen 500 and lower*/
@media screen and (max-width : 500px) {
	#wrapper-home .content, #wrapper-concept .content, 
	#wrapper-engagement .content, #wrapper-association .content {
		padding: 2px 15px;
	}
}

/* APPLE */
/* IPAD */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
	#home {
		background: url(../images/bg/slide1.jpg) center 0 no-repeat ;
	}
	#concept {
		background: url(../images/bg/slide2-2.jpg) center 0 no-repeat  ;
	}
	#engagement {
		background: white url(../images/bg/slide3-2.jpg) center 0 no-repeat ;
	}
	#association {
		background: white url(../images/bg/slide4-2.jpg) center 0 no-repeat ;
	}
	#contact {
		background: white url(../images/bg/slide5-2.jpg) center 0 no-repeat ;
	}

}