.st-container {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	font-family: 'Josefin Slab', 'Myriad Pro', Arial, sans-serif;
}

.st-container > input,
.st-container > a {
	position: fixed;
	bottom: 0px;
	width: 20%;
	cursor: pointer;
	font-size: 18px;
	height: 44px;
	line-height: 44px;
	//-webkit-box-shadow: 0px -5px 30px rgba(0, 0, 0, .7);
}

.st-container > input {
	opacity: 0;
	z-index: 1000;
}

/* bouton menu état normal */
.st-container > a {
	z-index: 10;
	font-weight: 700;
	background: #2CB0C5;
	color: #fff;
	text-align: center;
	text-shadow: 1px 1px 1px rgba(151,24,64,0.2);
}

/* "Fix" for percentage rounding: add a background bar pseudo element with the same color like the labels */
.st-container:before {
	content: '';
	position: fixed;
	width: 100%;
	height: 34px;
	background: #2CB0C5;
	z-index: 9;
	bottom: 0;
}

#st-control-1, #st-control-1 + a {
	left: 0;
}

#st-control-2, #st-control-2 + a {
	left: 20%;
}

#st-control-3, #st-control-3 + a {
	left: 40%;
}

#st-control-4, #st-control-4 + a {
	left: 60%;
}

#st-control-5, #st-control-5 + a {
	left: 80%;
}

.st-container > input:checked + a,
.st-container > input:checked:hover + a{
	background: #067293;
}

.st-container > input:checked + a:after,
.st-container > input:checked:hover + a:after{
	bottom: 100%;
	border: solid transparent;
	content: '';
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-bottom-color: #067293;
	border-width: 30px;
	left: 50%;
	margin-left: -30px;
}

/* bouton menu hover */
.st-container > input:hover + a{
	background: #F7A80B;
}

.st-container > input:hover + a:after {
	border-bottom-color: #F7A80B;
}

.st-scroll,
.st-panel {
	position: relative;
	width: 100%;
	height: 100%;
}

.st-scroll {
	top: 0;
	left: 0;
	-webkit-transition: all 0.6s ease-in-out;
	-moz-transition: all 0.6s ease-in-out;
	-o-transition: all 0.6s ease-in-out;
	-ms-transition: all 0.6s ease-in-out;
	transition: all 0.6s ease-in-out;
	
	/* Let's enforce some hardware acceleration */
	-webkit-transform: translate3d(0, 0, 0);
	-webkit-backface-visibility: hidden;
}

/* fond clair */
.st-panel{
	background: url(images/bruit-b6dfee.jpg) repeat;
	overflow: auto;
}

#st-panel-3 {
	overflow : hidden !important;
}

#st-control-1:checked ~ .st-scroll {
	-webkit-transform: translateY(0%);
	-moz-transform: translateY(0%);
	-o-transform: translateY(0%);
	-ms-transform: translateY(0%);
	transform: translateY(0%);
}
#st-control-2:checked ~ .st-scroll {
	-webkit-transform: translateY(-100%);
	-moz-transform: translateY(-100%);
	-o-transform: translateY(-100%);
	-ms-transform: translateY(-100%);
	transform: translateY(-100%);
}
#st-control-3:checked ~ .st-scroll {
	-webkit-transform: translateY(-200%);
	-moz-transform: translateY(-200%);
	-o-transform: translateY(-200%);
	-ms-transform: translateY(-200%);
	transform: translateY(-200%);
}
#st-control-4:checked ~ .st-scroll {
	-webkit-transform: translateY(-300%);
	-moz-transform: translateY(-300%);
	-o-transform: translateY(-300%);
	-ms-transform: translateY(-300%);
	transform: translateY(-300%);
}
#st-control-5:checked ~ .st-scroll {
	-webkit-transform: translateY(-400%);
	-moz-transform: translateY(-400%);
	-o-transform: translateY(-400%);
	-ms-transform: translateY(-400%);
	transform: translateY(-400%);
}


/* Content elements */

.st-deco{
	width: 200px;
	height: 200px;
	position: absolute;
	top: 0px;
	left: 50%;
	margin-left: -100px;
	background: #156785;
	-webkit-transform: translateY(-50%) rotate(45deg);
	-moz-transform: translateY(-50%) rotate(45deg);
	-o-transform: translateY(-50%) rotate(45deg);
	-ms-transform: translateY(-50%) rotate(45deg);
	transform: translateY(-50%) rotate(45deg);
}

[data-icon]:after {
    content: attr(data-icon);
    font-family:'RaphaelIcons';
    color: #fff;
	text-shadow: 1px 1px 1px rgba(151,24,64,0.2);
	position: absolute;
	width: 200px;
	height: 200px;
	line-height: 200px;
	text-align: center;
	font-size: 90px;
	top: 50%;
	left: 50%;
	margin: -100px 0 0 -100px;
	-webkit-transform: rotate(-45deg) translateY(25%);
	-moz-transform: rotate(-45deg) translateY(25%);
	-o-transform: rotate(-45deg) translateY(25%);
	-ms-transform: rotate(-45deg) translateY(25%);
	transform: rotate(-45deg) translateY(25%);
}

/*.st-panel h2 {
	color: #2CB0C5;
	text-shadow: 1px 1px 1px rgba(151,24,64,0.2);
	position: absolute;
	font-size: 54px;
	font-weight: 900;
	width: 80%;
	left: 10%;
	text-align: center;
	line-height: 50px;
	margin: -70px 0 0 0;
	padding: 0;
	top: 50%;
	-webkit-backface-visibility: hidden;
}*/

#st-control-1:checked ~ .st-scroll #st-panel-1 h2,
#st-control-2:checked ~ .st-scroll #st-panel-2 h2,
#st-control-3:checked ~ .st-scroll #st-panel-3 h2,
#st-control-4:checked ~ .st-scroll #st-panel-4 h2,
#st-control-5:checked ~ .st-scroll #st-panel-5 h2{
	-webkit-animation: moveDown 0.6s ease-in-out 0.2s backwards;
	-moz-animation: moveDown 0.6s ease-in-out 0.2s backwards;
	-o-animation: moveDown 0.6s ease-in-out 0.2s backwards;
	-ms-animation: moveDown 0.6s ease-in-out 0.2s backwards;
	animation: moveDown 0.6s ease-in-out 0.2s backwards;
}
@-webkit-keyframes moveDown{
	0% { 
		-webkit-transform: translateY(-40px); 
		opacity: 0;
	}
	100% { 
		-webkit-transform: translateY(0px);  
		opacity: 1;
	}
}

@-moz-keyframes moveDown{
	0% { 
		-moz-transform: translateY(-40px); 
		opacity: 0;
	}
	100% { 
		-moz-transform: translateY(0px);  
		opacity: 1;
	}
}

@-o-keyframes moveDown{
	0% { 
		-o-transform: translateY(-40px); 
		opacity: 0;
	}
	100% { 
		-o-transform: translateY(0px);  
		opacity: 1;
	}
}

@-ms-keyframes moveDown{
	0% { 
		-ms-transform: translateY(-40px); 
		opacity: 0;
	}
	100% { 
		-ms-transform: translateY(0px);  
		opacity: 1;
	}
}

@keyframes moveDown{
	0% { 
		transform: translateY(-40px); 
		opacity: 0;
	}
	100% { 
		transform: translateY(0px);  
		opacity: 1;
	}
}

.st-panel>span {
	position: absolute;
	text-align: center;
	z-index: 2;
	padding: 0;
	width: 100%;
	//left: 15%;
	top : 20%;
	margin: 10px auto 0 auto;
	-webkit-backface-visibility: hidden;
	//text-shadow: 1px 1px 1px rgba(151,24,64,0.2);
	
}

.st-panel>span.generique {
	position: absolute;
	text-align: center;
	font-family : 'Roboto', 'Trebuchet MS';
	font-size: 16px;
	line-height: 25px;
	/*color: #f9f9f9;*/
	font-weight : 500;
	z-index: 2;
	padding: 0;
	width: 100%;
	//left: 15%;
	top : 20%;
	margin: 10px auto 0 auto;
	-webkit-backface-visibility: hidden;
	//text-shadow: 1px 1px 1px rgba(151,24,64,0.2);
}

#st-panel-2 .generique {
	text-align : left;
}

.st-panel>span ul {
	/*list-style-type : none;*/
	line-height: 25px !important;
	//font-size: 17px;
	margin-top : 10px;
}

.st-panel>span h1 {
	font-size : 30px;
	line-height : 35px;
	color : #fff;
	font-family: 'Josefin Slab', 'Myriad Pro', Arial, sans-serif;
	font-weight : 700;
	text-shadow: 1px 1px 1px rgba(151,24,64,0.2);
	background: #067293;
	//background-color : #F7A80B;
	border-radius : 10px;
	-webkit-border-radius : 10px;
	-moz-border-radius : 10px;
	padding-bottom : 10px;
	margin : 0px auto 40px auto;
	width : 800px;
	//-webkit-box-shadow: 0px 0px 6px rgba(0, 0, 0, .4);
}

.st-panel>span h1>strong {
	font-size : 60px;
	font-family : 'Roboto', 'Trebuchet MS';
	font-weight : normal;
	line-height : 80px;
	text-shadow: 1px 1px 5px rgba(151,24,64,0.4);
}

.st-panel>span .groupe {
	border-radius : 10px;
	-webkit-border-radius : 10px;
	-moz-border-radius : 10px;
	padding : 20px;
	background: url(images/bruit-1194af.jpg) repeat;
	color : #fff;
	text-shadow: 1px 1px 1px rgba(151,24,64,0.2);
	margin : 20px auto;
	width : 800px;
}

.st-color>span .groupe {
	border-radius : 10px;
	-webkit-border-radius : 10px;
	-moz-border-radius : 10px;
	padding : 20px;
	background: url(images/bruit-b6dfee.jpg) repeat;
	color : #1194AF;
	text-shadow: 1px 1px 1px rgba(255,255,255,0.5);
	margin : 20px auto;
	width : 800px;
}

.st-panel>span p {
	margin-bottom : 10px;
}

.st-panel>span p.small {
	font-size: 75%;
	line-height: 18px;
}

span.spip_document_left {
	margin : 20px;
}

.st-panel>span .spip_document_left img {
	border-radius : 10px;
	-webkit-border-radius : 10px;
	-moz-border-radius : 10px;
	-webkit-box-shadow: 0 0 0 3px #1194AF;
	-moz-box-shadow: 0 0 0 3px #1194AF;
	box-shadow: 0 0 0 3px #1194AF;
	float: left;
    margin-right: 20px;
}

/** form contact **/

#st-panel-4 .formulaire_spip fieldset legend {
	font-size : 20px;
	padding-bottom : 20px;
}

#st-panel-4 .formulaire_spip fieldset ul li {
	padding-bottom : 10px;
}

#st-panel-4 .formulaire_spip p.boutons input {
	font-size : 15px;
	padding : 10px;
}

#st-panel-4 .formulaire_spip span.erreur_message {
	color : red;
}

#st-panel-4 .formulaire_spip .previsu {
	padding-bottom : 10px;
	border-bottom : 1px dashed #067293;
}

#st-panel-4 .formulaire_spip .reponse_formulaire {
	font-size : 25px;
}

/** fin **/

#st-control-1:checked ~ .st-scroll #st-panel-1>span,
#st-control-2:checked ~ .st-scroll #st-panel-2>span,
#st-control-3:checked ~ .st-scroll #st-panel-3>span,
#st-control-4:checked ~ .st-scroll #st-panel-4>span,
#st-control-5:checked ~ .st-scroll #st-panel-5>span{
	-webkit-animation: moveUp 0.6s ease-in-out 0.2s backwards;
	-moz-animation: moveUp 0.6s ease-in-out 0.2s backwards;
	-o-animation: moveUp 0.6s ease-in-out 0.2s backwards;
	-ms-animation: moveUp 0.6s ease-in-out 0.2s backwards;
	animation: moveUp 0.6s ease-in-out 0.2s backwards;
}

@-webkit-keyframes moveUp{
	0% { 
		-webkit-transform: translateY(40px); 
		opacity: 0;
	}
	100% { 
		-webkit-transform: translateY(0px);  
		opacity: 1;
	}
}

@-moz-keyframes moveUp{
	0% { 
		-moz-transform: translateY(40px); 
		opacity: 0;
	}
	100% { 
		-moz-transform: translateY(0px);  
		opacity: 1;
	}
}

@-o-keyframes moveUp{
	0% { 
		-o-transform: translateY(40px); 
		opacity: 0;
	}
	100% { 
		-o-transform: translateY(0px);  
		opacity: 1;
	}
}

@-ms-keyframes moveUp{
	0% { 
		-ms-transform: translateY(40px); 
		opacity: 0;
	}
	100% { 
		-ms-transform: translateY(0px);  
		opacity: 1;
	}
}

@keyframes moveUp{
	0% { 
		transform: translateY(40px); 
		opacity: 0;
	}
	100% { 
		transform: translateY(0px);  
		opacity: 1;
	}
}

/* Colored sections */

.st-color,
.st-deco{
	background: url(images/bruit-1194af.jpg) repeat;
}
.st-color [data-icon]:after {
	color: #1194AF;
}
.st-color .st-deco {
	background: url(images/bruit-b6dfee.jpg) repeat;
}
.st-color h2 {
	color: #fff;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
} 
.st-color p {
	//color: #fff;
	//color: rgba(255,255,255,0.8);
}

@media screen and (max-width: 520px) {
	.st-panel h2 {
		font-size: 42px;
	}
	
	.st-panel p {
		width: 90%;
		left: 5%;
		margin-top: 0;
	}
	
	.st-container > a {
		font-size: 13px;
	}
}
@media screen and (max-width: 360px) {
	.st-container > a {
		font-size: 10px;
	}
	
	.st-deco{
		width: 120px;
		height: 120px;
		margin-left: -60px;
	}
	
	[data-icon]:after {
		font-size: 60px;
		-webkit-transform: rotate(-45deg) translateY(15%);
		-moz-transform: rotate(-45deg) translateY(15%);
		-o-transform: rotate(-45deg) translateY(15%);
		-ms-transform: rotate(-45deg) translateY(15%);
		transform: rotate(-45deg) translateY(15%);
	}
}

/** ipad **/

@media handheld, only screen and (max-width: 768px), only screen and (max-device-width: 768px) {

	.st-container > input, .st-container > a {
		display : none;
	}
	
	.st-container:before {
		display : none;
	}
	
	#st-panel-1 .st-deco{
		display : none;
	}
	
	#st-panel-1 span{
		top : 1%;
	}
	
	.st-panel>span .groupe {
		width : 90%;
	}
	
	.st-color>span .groupe {
		width : 90%;
	}
	
	.st-panel>span h1 {
		width : 90%;
	}
	
}

/** mobile **/

@media handheld, only screen and (max-width: 320px), only screen and (max-device-width: 320px) {

	.st-panel>span.generique {
		font-size: 15px;
		line-height: 20px;
	}
	
	.st-panel>span h1 {
		font-size : 18px;
		line-height : 25px;
		margin : 0px auto 20px auto;
	}
	
	.st-panel>span h1>strong {
		font-size : 40px;
		line-height : 50px;
	}
	
	#st-panel-1 {
		height: 320%;
	}
	
	#st-panel-2 {
		height: 250%;
	}
	
	#st-panel-3 {
		height: 220%;
	}
	
	#st-panel-4 {
		height: 150%;
	}
	
	#st-panel-5 {
		height: 210%;
	}
	
	.st-panel .st-deco {
		display : none;
	}
	
	.st-panel>span {
		top : 3%;
	}

	.st-panel>span.generique {
		top : 3%;
	}
	
	.st-panel .spip_documents {
		display : none;
	}
	
	#st-panel-4 .formulaire_spip fieldset {
		width : 250px !important;
	}
	
	#st-panel-4 .formulaire_spip fieldset textarea {
		width : 250px !important;
	}
	
}