/* Mise en forme générale */

html {
	height: 100%;
}

@font-face {
    font-family: 'exo_2.0medium';
    src: url('Exo2.0-Medium-webfont.eot');
    src: url('Exo2.0-Medium-webfont.eot?#iefix') format('embedded-opentype'),
         url('Exo2.0-Medium-webfont.woff') format('woff'),
         url('Exo2.0-Medium-webfont.ttf') format('truetype'),
         url('Exo2.0-Medium-webfont.svg#exo_2.0medium') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
	font-family: 'exo_2.0medium',Verdana, sans-serif;
	font-family: Arial, Futura, sans-serif;
	letter-spacing: 1px;
	font-size: 16px;
	color: #333;
	line-height: 16px;
	text-align: justify;
	margin: 0;
	padding: 0;
    background-color: #FFF;
	height: 100%;
}

/* Old Android bugfix */
body {  -webkit-animation: bugfix infinite 1s; }
@-webkit-keyframes bugfix {  from {padding:0;}  to {padding:0;} }

h1, h2, h3, li, p, ul {
	font-size: 16px;
	line-height: 16px;
	margin: 0;
	padding: 0;
	font-weight: normal;
}

input, form {
	margin: 0;
	padding: 0;
}

a:link, a:visited {
	color: #77F;
	text-decoration: none;
	transition:color 0.2s;
	-moz-transition:color 0.2s; /* Firefox 4 */
	-webkit-transition:color 0.2s; /* Safari and Chrome */
	-o-transition:color 0.2s; /* Opera */
}

a:hover {
	color: #777;
}

a img {
	border: 0;
}
/* Fin mise en forme générale */

/* Menu navigation */
nav > input, nav > label {
	display: none; /* hidden on large screens */
}

nav a:link, nav a:visited {
	color: #FFF;
	transition:opacity 0.2s;
    -moz-transition:opacity 0.2s; /* Firefox 4 */
    -webkit-transition:opacity 0.2s; /* Safari and Chrome */
    -o-transition:opacity 0.2s; /* Opera */
}

nav li a:hover, 
nav li a:focus,
nav li a:active
{
	opacity: 0.7;
}

nav ul {
	right: 0;
    top: 0;
	/* translate with hardware acceleration */
	list-style-type: none;
	margin: 0;
	padding: 0;
    background: none;
    
	position: static;
	min-width: inherit;
	width: auto;
	/* translate with hardware acceleration */
	transform: translateZ(800);
	-webkit-transition: max-height .4s, overflow .4s;
    transition: max-height .4s, overflow .4s;
	will-change: max-height, overflow;
}

nav li a {
	text-align: center;
	font-size: 12px;
    
	width: auto;
	display: inline;
	line-height: 64px;
	padding: 0 70px;
	color: #FFF;
	background: #fff;
	text-decoration: none;
	margin:0;
}

nav > input:not(:checked) ~ ul {
	max-height: 0;
	overflow: hidden;
}
nav > input:checked ~ ul {
	//max-height: 600px;
	height: 100%;
	overflow: visible;
}
nav > label {
	display: block;
	position: absolute; 
	right: 10px;
	top: 10px;
	z-index: 1;
	height: 44px; width: 44px;
	background: #555;
	border: 0;
	border-radius: 50%;
	text-align: center;
	font-size: 14px;
	line-height: 44px;
	color: #fff;
	box-shadow:0 0 5px 5px #555;
}
	
nav li a:hover {
    opacity: inherit;
}	
nav li:nth-child(1) a {
	background-color: #3B5998;
}
nav li:nth-child(2) a {
	background-color: #55ACEE;
}
nav li:nth-child(3) a {
	background-color: #CCC;
}
nav li:nth-of-type(4) a {
	background-color: transparent;
	font-size: 12px;
	
}
nav li:nth-of-type(5) a {
	background-color: #DD4B39;
}

.administration {
	display: block;
	position: absolute; 
	right: 10px;
	top: 10px;
	z-index: 1;
	height: 44px; width: 44px;
	background: #CCC;
	border: 0;
	border-radius: 50%;
	text-align: center;
	font-size: 12px;
	line-height: 44px;
	color: #fff;
	box-shadow:0 0 5px 5px #CCC;
}

.administration a {
	color: #333;
}

/* Fin Menu navigation */

.texte_admin {
	text-align: center;
	margin: 20px 0;
	font-weight: bold;
	font-size: 16px;
	color: #FFF;
	background-color: #1AF;
	line-height: 32px;
	padding: 20px 5px;
}

.general {
	margin: 0 auto;
	min-height: 100%;
	width: 100%;
	min-width: 1024px;
	background-color: #FFF;
	background-image:url('../imagessite/fondsite.jpg');
    background-size:cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hautdepage {
	width: 100%;
	height: 64px;
	background-color: #333;
	background-size: cover;
	background-position: center; 
	background-repeat: no-repeat;
	background-image:url('../images/fond.jpg');
    //background: linear-gradient(to bottom, #000 15%, #F93,#000 85%);
}

.titresite {
	padding: 0;
    margin: 0 auto;
    margin-left: 210px;
    line-height: 64px;
    font-family: 'exo_2.0medium',Verdana, sans-serif;
    letter-spacing: 8px;
    font-size: 20px;
    //font-weight: bold;
    text-align: left;
    font-family: Century Gothic, Futura, sans-serif;
}

.titresite a {
    color: #FFF;
}

.basdepage {
	width: 100%;
	position: relative;
	background-color: #333;
    margin: 0;
    padding: 7px 0 5px;
    font-weight: normal;
    font-family: Century Gothic, Futura, sans-serif;
    letter-spacing: 5px;
    font-size: 16px;
    text-align: center;
    color: #FFF;
    clear: both;
}

.basdepage p {
	margin: 5px 0;
}

.pubbaspage, .pubhautpage {
	clear: both;
	width: 100%;
	max-width: 1024px;
	margin: 10px auto;
	padding: 0;
}

.reseausocial a {
	float: left;
	font-size: 16px;
	width: 19%;
	margin: 0 0.5%;
	text-align: center;
	font-weight: normal;
	padding: 0;
	background-color: #DDD;
	color: #FFF;
	transition:opacity 0.2s;
    -moz-transition:opacity 0.2s; /* Firefox 4 */
    -webkit-transition:opacity 0.2s; /* Safari and Chrome */
    -o-transition:opacity 0.2s; /* Opera */
}

.reseausocial a:hover {
	opacity: 0.6;
}

.reseauxsociaux {
	display: block;
	width: 98%;
	margin: 0 1% 0;
	line-height: 64px;
}

.reseauxsociaux p {
	font-size: 20px;
/*	font-weight: bold;*/
	font-family: 'exo_2.0medium',Verdana, sans-serif;
	margin-bottom: 10px;
	text-align: center;
}

.reseausocial:nth-of-type(1) a {
	background-color: #3B5998;
}
.reseausocial:nth-of-type(2) a {
	background-color: #55ACEE;
}
.reseausocial:nth-of-type(3) a {
	background-color: #DD4B39;
}
.reseausocial:nth-of-type(4) a {
	background-color: #F26522;
}
.reseausocial:nth-of-type(5) a {
	background-color: #80808C;
}

.reseauxsociaux {
	font-family: Century Gothic, Futura, sans-serif;
	letter-spacing: 5px;
	width: 100%;
	margin: 0 auto 20px;
	text-align: center;
	background-color: #333;
	color: #FFF;
	font-weight: normal;
	font-size: 12px;
	border-radius: 3px;
	line-height: 48px;
	text-transform: uppercase;
}

.reseauxsociaux a {
	color: #FFF;
	padding: 0 24px;
}

.reseauxsociaux a:hover {
	color: #CCC;
}


@media only screen and (max-width : 1280px) {
	.titresite {
		//font-size: 36px;
	}

	nav li a {
        width: 18%;
	}
}

@media only screen and (max-width : 1024px) {
	nav ul {
		left: 512px;
		min-width: 512px;
	}
	.general {
		min-width: 680px;
	}
    
    .hautdepage {
	   height: 64px;
	}
    .titresite {
        line-height: 64px;
	}
	nav ul {
		position: static;
		min-width: inherit;
		width: auto;
		/* translate with hardware acceleration */
		transform: translateZ(800);
		-webkit-transition: max-height .4s, overflow .4s;
		        transition: max-height .4s, overflow .4s;
		will-change: max-height, overflow;
	}
	nav li a {
		float: none;
		width: auto;
		display: block;
		line-height: 64px;
		padding: 0 10px;
		color: #FFF;
		background: #fff;
		text-decoration: none;
		margin:0;
	}
	
	nav > input:not(:checked) ~ ul {
		max-height: 0;
		overflow: hidden;
	}
	nav > input:checked ~ ul {
		max-height: 600px;
		overflow: visible;
	}
	nav > label {
		display: block;
		position: absolute; 
		right: 10px;
		top: 10px;
		z-index: 1;
		height: 44px; width: 44px;
		background: #555;
		border: 0;
		border-radius: 50%;
		text-align: center;
		font-size: 14px;
		line-height: 44px;
		color: #fff;
		box-shadow:0 0 5px 5px #555;
	}
	
	nav li:nth-of-type(4) a {
		background-color: #333;
	}
}


@media only screen and (max-device-width: 768px) {
	.general {
		min-width: inherit;
		background-image:none;
		background-color: #FFF;
	}
	.titresite {
        line-height: 64px;
		font-size: 18px;
		letter-spacing: 1px;
		margin-left: 1%;
	}
	.basdepage h1 {
		line-height: 20px;
	}

	nav ul {
	position: static;
	min-width: inherit;
	width: auto;
	/* translate with hardware acceleration */
	transform: translateZ(800);
	-webkit-transition: max-height .4s, overflow .4s;
	        transition: max-height .4s, overflow .4s;
	will-change: max-height, overflow;
}
nav li a {
	float: none;
	width: auto;
	display: block;
	line-height: 64px;
	padding: 0 70px;
	color: #FFF;
	background: #fff;
	text-decoration: none;
	margin:0;
}

nav > input:not(:checked) ~ ul {
	max-height: 0;
	overflow: hidden;
}
nav > input:checked ~ ul {
	max-height: 600px;
	overflow: visible;
}
nav > label {
	display: block;
	position: absolute; 
	right: 10px;
	top: 10px;
	z-index: 1;
	height: 44px; width: 44px;
	background: #555;
	border: 0;
	border-radius: 50%;
	text-align: center;
	font-size: 14px;
	line-height: 44px;
	color: #fff;
	box-shadow:0 0 5px 5px #555;
}
	
	nav li a:hover {
		opacity: inherit;
	}
	
	nav li:nth-child(1) a {
	background-color: #3B5998;
}
nav li:nth-child(2) a {
	background-color: #55ACEE;
}
nav li:nth-child(3) a {
	background-color: #CCC;
}
nav li:nth-of-type(4) a {
	background-color: transparent;
	font-size: 12px;
	
}
nav li:nth-of-type(5) a {
	background-color: #DD4B39;
}
	
	.reseauxsociaux {
		width: 80%;
		line-height: normal;
		padding: 10px 0;
	}
	.reseauxsociaux a {
		display: block;
		width: 100%;
		padding: 0;
		margin: 0 auto;
		line-height: 24px;
		border-radius: 3px;
	}
}