@charset "utf-8";
/* CSS Document */

/*FONTS*/

@import url('https://fonts.googleapis.com/css?family=Josefin+Slab:300,400');
@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700');

/* apply a natural box layout model to all elements, but allowing components to change */

/*****************************************
* Général 
******************************************/
html, 
body {
	height: 100%;
	min-width: 320px;
}

body{
	background: #f4f4f4;
	line-height: 1.25;
	margin: 0;
	overflow-x: hidden;
}

[role=article]{
	padding: 40px 15px 10px;
}
section{
	max-width: 780px;
	width: 100%;
	margin: 0 auto;
}

[role=main]{
	border-top: 1px solid #d2d2d2;
	background: url('../../img/structure/bg_pattern_triangle.svg');
	background-size: 400px 110px;
}

.no-svg [role=main]{
	background: url('../../img/structure/png/bg_pattern_triangle.png');
}

main p, 
main ol, 
main li, 
main span{
	font-size: 16px;
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	margin-bottom: 15px;
	line-height: 22px;
	color: #414142;
}
main p{
	line-height: 25px;
}

main ul{
	list-style: none;
}
main ul li{
	position: relative;
	display: block;
}

main figure img{
	width: 100%;
	margin: 20px 0 5px;
}

main figcaption, 
main p.source{
	font-size: 13px;
	line-height: 18px;
	color: black;
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
}

/*Titre*/
[role=article] h1,
[role=article] h2,
[role=article] h4{
	font-family: 'Josefin Slab', serif;
	line-height: 20px;
}

[role=article] h1{
	text-align: center;
	font-size: 28px;
	font-weight: 300;
	line-height: 44px;
	position: relative;
	z-index: 20;
	margin: 20px 0 68px 0;
}
[role=article] h1:after{
	content: "";
	display: block;
	position: absolute;
	top: -3px;
	z-index: -1;
	background: url('../../img/icones/banderole.svg') no-repeat center center;
	width: 100%;
	height: 72px;
}
[role=article] h2{
	margin-bottom: 15px;
	font-size: 20px;
	font-weight: 700;
	padding-top: 20px
}
[role=article] h3{
	margin-bottom: 15px;
	font-size: 16px;
	font-weight: normal;
	line-height: 20px;
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
	padding-top: 20px;
}

article sup{
	position: relative;
	top: -9px;
}

a:link,
a:visited{
	color: #157472;
}

a:active,
a:hover,
a:focus{
	text-decoration: none;
}

/*****************************************
* Section du site :
* Header 
* partie-1 Introduction
* partie-2 Trousse
* partie-3 Équipe
* partie-4 Bas de page
* Footer
******************************************/

/*Header*/
[role=banner] h1, #zoneIdentitaire{
	padding: 10px 15px;
	font-family: 'Roboto', sans-serif;
	font-weight: 100 !important;
}

#wrapper{
	background: #fff;
	min-height: 100%;
	height: auto !important; /* This line and the next line are not necessary unless you need IE6 support */
	height: 100%;
	margin: 0 auto -50px; /* the bottom margin is the negative value of the footer's height */
	margin: 0 auto -3.125rem;	
	position: relative;
}

#zoneIdentitaire{
	background: #000;
}

.contentWrap{
    margin: 0 auto;
	padding: 10px;
	max-width: 1140px;
	position: relative;
}

[role=banner]{
	background: #f4f4f4;
	position: relative;
	max-width: 1183px;
	margin: 0 auto;
	height: 110px;
}

.admin-bar [role=banner] {
	height: 100px;
}

[role=banner]:before,
[role=banner]:after{
	background: #f4f4f4;
	content: '';
	position: absolute;
	height: 100%;
	left: -100%;
	top: 0;
	width: 100%;
}

[role=banner]:after{
	left: auto;
	right: -100%;
}

[role=banner] h1{
	color: #283d3e;
	display: inline-block;
	font-size: 20px;
	font-weight: normal;
	font-size: 1.25rem;
    line-height: 22px;
	margin: 10px 0 0;
	max-width: 295px;
	padding-top: 40px;
}
[role=banner] h1:before{
	content: "";
	background: url("../../img/structure/trousse_bandeau.svg") top left no-repeat;
	display: block;
	width: 50%;
	height: 50%;
	position: absolute;
	top: -4px;
	left: 0px;
	background-size: contain;
	padding-top: 30px;
}
.admin-bar [role=banner] h1{
	height: 60px;
}

nav[role=navigation]{
	display: block;
	position: absolute;
	width: 100%;
	z-index: 9999;
}

nav[role=navigation] button{
	background: #f6f7f8;
	border: none;
    height: 41px;
    height: 2.5625rem;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 20px;
    top: -45px;
    width: 41px;
    width: 2.5625rem;
    -webkit-transition: top 0.5s; /* For Safari 3.1 to 6.0 */
    transition: top 0.5s;
}

nav[role=navigation] button span:before {
	content: url("../../img/icones/ico_menu_mobile.svg");
}
.no-svg nav[role=navigation] button span:before {
	content: url("../../img/icones/png/ico_menu_mobile.png");
}

nav[role=navigation] button.ouvert span:before {
	content: url("../../img/icones/ico_menu_fermer.svg");
}
.no-svg nav[role=navigation] button.ouvert span:before {
	content: url("../../img/icones/png/ico_menu_fermer.png");
}

nav.fixed[role=navigation]{
	position: fixed;
	width: 100%;
	top: 0px;
	left: 0;
	z-index: 9999;
}
nav.fixed[role=navigation] ul{
	background-color: #F4F4F4;
	padding-top: 72px;
}
nav.fixed[role=navigation] button{
	top: 15px;
	-webkit-transition: top 0.5s; /* For Safari 3.1 to 6.0 */
    transition: top 0.5s;
}

nav[role=navigation] ul{
	display: none;
	list-style-type: none;
	margin: 0;	
	padding: 0;	
}

nav[role=navigation] li{
	display: block;
}

nav[role=navigation] li:first-child{
	border-top: 1px solid #d1e6e6;
	border-bottom: 1px solid #d1e6e6;
}

/*Fun fact : dans IE et Firefox, les animations ne fonctionnent pas dans un media query*/
@keyframes moveDown {
  0%   { top: -20px; }
  100% { top: 0; }
}
nav.fixed[role=navigation]{
	-webkit-animation: moveDown 0.2s; /* Safari 4+ */
	-moz-animation:    moveDown 0.2s; /* Fx 5+ */
	-o-animation:      moveDown 0.2s; /* Opera 12+ */
	-ms-animation:      moveDown 0.2s; /* IE 9- */
	animation:         moveDown 0.2s; /* IE 10+, Fx 29+ */
}


nav[role=navigation] li + li{
	border-bottom: 1px solid #d1e6e6;
}

nav[role=navigation] a:link,
nav[role=navigation] a:visited{
	background: #fff;
	color: #000;
	display: block;
	font-weight: 600;
    line-height: 56px;
    line-height: 3.5rem;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;	
}

nav[role=navigation] a:active,
nav[role=navigation] a:hover,
nav[role=navigation] a:focus{
	background: #e8f2f2;
	text-decoration: underline;
}

.no-svg #partie-1 h1:after{
	background: url('../../img/icones/png/banderole.png') no-repeat center center;
}

/*partie-2 et partie-3 Objet et Contenu*/
.post-it, .liste-pdf{
	width: 100%;
	max-width: 520px;
	margin: 0 auto;
}
figure{
	width: 100%;
	max-width: 520px;
}
.liste-pdf ul{
	margin-left: 0;
	padding-left: 0;
	list-style: none;
}
.post-it{
	position: relative;
	border: 1px solid #46C1C1;
	background-color: white;
	margin: 0 auto;
	padding: 50px 30px 50px;
	margin: 40px auto 50px;
	-webkit-box-shadow: 0px 4px 4px 0px rgba(49, 50, 50, 0.2);
	-moz-box-shadow:    0px 4px 4px 0px rgba(49, 50, 50, 0.2);
	box-shadow:         0px 4px 4px 0px rgba(49, 50, 50, 0.2);   
}
.post-it *:last-child{
	margin-bottom: 0;
}

.post-it.sticker1:after{
	content: "";
	display: block;
	background: url('../../img/icones/sticker1.svg') no-repeat center center;
	width: 100%;
	height: 40px;
	position: absolute;
	left: 0px;
	top: -22px;
	opacity: 0.8;
}

.no-svg .post-it.sticker1:after{
	background: url('../../img/icones/png/sticker1.png') no-repeat center center;
}

.post-it.sticker2:after{
	content: "";
	display: block;
	background: url('../../img/icones/sticker2.svg') no-repeat center center;
	width: 100%;
	height: 40px;
	position: absolute;
	left: 0px;
	top: -22px;
	opacity: 0.8;
}
.no-svg .post-it.sticker2:after{
	background: url('../../img/icones/png/sticker2.png') no-repeat center center;
}

.post-it.sticker3:before{
	content: "";
	display: block;
	background: url('../../img/icones/sticker3_punaise.svg') no-repeat center center;
	width: 100%;
	height: 38px;
	position: absolute;
	left: 0px;
	top: -20px;
}
.no-svg .post-it.sticker3:before{
	background: url('../../img/icones/png/sticker3_punaise.png') no-repeat center center;
}

.post-it p{
	line-height: 20px;
}
.post-it p:first-of-type{
	font-weight: 700;
	text-align: center;
	padding-left: 15px;
	padding-right: 15px;
}


/*partie-4 Équipe*/
.bloc-demi{
	width: 100%;
}
.bloc-demi:nth-of-type(2) .bloc-personne:last-of-type{
	margin-bottom: 0;
} 
.bloc-personne{
	margin-bottom: 20px;
	overflow: auto;
}
.bloc-personne img{
	display: inline-block;
	float: left;
	margin-right: 15px;
	border: 1px solid #F1F1F1;
}
.bloc-personne span{
	display: block;
	margin-bottom: 0;
}
.bloc-personne span:first-of-type, .nom{
	font-weight: normal;
}

.role, .nom{
	line-height: 22px;
}

.nom{
	margin-bottom: 0;
}

/*partie-4 Bas de page*/
#partie-5 h1{
	display: none;
}
#partie-5 p{
	position: relative;
	padding-left: 15px;
	font-size: 13px;
	line-height: 18px;
}
#partie-5 p a{
	font-size: 13px;
}
#partie-5 p:first-of-type:before{
	content: "";
	display: block;
	width: 100px;
	height: 1px;
	background-color: #414142;
	position: absolute;
	top: -5px;
	left: 0;
}
#partie-5 p .chiffre{
	position: absolute;
	left: 0;
	top: -3px;
}

/*Footer*/
footer{
	background: #464646;
    position: relative;
    z-index: 1000;
    height: 50px;
    margin-top: 50px;
}

footer p{
	color: white;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    line-height: 46px;
}

@media only screen and (max-width: 400px){
	[role=article] h1{
		font-size: 26px;
		line-height: 36px;
		width: 280px;
		margin-left: auto;
		margin-right: auto;
	}
	[role=article] h1:after{
		top: -9px;
	}

}