*, *:before, *:after{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	max-width:100%;
}

html {font-size:62.5%}
body,html {
	margin: 0;
	padding: 0;
	border: 0;
	height: 100%;
	width: 100%;
	position: relative;/*pour positionnement hors_global*/
}
body{
	font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
	font-size: 14px;
	font-size: 1.4rem;
	line-height: 19px;
	line-height: 1.9rem;
}

/* HTML5 tags*/
article, section, aside, hgroup, nav, header, footer, figure, figcaption, video, audio, address{
	display: block;
}

::-moz-selection{
	background: #5af;
	color: #fff;
	text-shadow: none;
}
::selection{
    background: #5af;
    color: #fff;
    text-shadow: none;
}

h1{
	font-weight: bold;
	font-size: 20px;
	font-size: 2rem;
	padding-top: 15px;
	padding-top: 1.5rem;
}

/*Pour les liens */
.navbar-toggle{
	display: none;
	border: 2px solid #FFF;
	box-shadow: 1px 1px 2px #333, 1px 1px 2px #333 inset;
	background: transparent;
	color: #FFF;
	text-shadow: 1px 1px 2px #333;
	font-size: 25px;
}
.navbar-toggle:hover{
	box-shadow: none;
	text-shadow: none;
	color: #CCC;
	border: 2px solid #CCC;
}
nav .place{
	font-weight: bold;
	position: relative;
}

nav a{
	display: block;
	padding: 5px 20px;
	padding: 0.5rem 2rem;
	/*width: 130px;
	width: 13rem;*/
}

nav ul{
	margin: 0;
	padding-left: 20px;
	padding-left: 2rem;
}

nav ul a{
	padding: 0;
}

nav li{
	padding: 1px 0;
	padding: 0.1rem 0;
}

nav a, nav a:visited, #newsHome a, #newsHome a:visited, #linksHome a, #linksHome a:visited{
	text-decoration: none; /* Les liens ne seront plus soulignés */
}

.pages{
	text-shadow: 1px 1px #FFF;
	text-shadow: 0.1rem 0.1rem #FFF;
}
.pages a, .pages a:visited{
	text-decoration: none;
}
.pages a:hover{
	color: #330066;
}
.pages .page-un{
	color: #CCC;
}
.pages .fa{
	vertical-align: middle;
	padding: 0 5px;
	padding: 0 0.5rem;
}

a:hover{
	text-decoration: underline;
}

a img {
	border: 0;
	padding: 0;
	margin: 0;
}

/*Cadre des sections de la page*/
header{
	height: 210px;
	height: 21rem;
	width: 100%;
}
#headerTitre {
    display: none;
}

#lang{
	z-index: 10;
	padding-left: 10px;
	padding-left: 1rem;
    display: inline-block;
}
#lang img{
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	border-radius: 0.5rem;
	filter: grayscale(1);
	-webkit-filter: grayscale(1);
	-moz-filter: grayscale(1);
	-o-filter: grayscale(1);
	-ms-filter: grayscale(1);
	-webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
#lang a, #lang a:visited{
	margin: 5px 5px 0 0;
	margin: 0.5rem 0.5rem 0 0;
	text-decoration: none;
	display: inline-block;
}
#lang a:hover img{
	box-shadow: -1px -1px 1px #888;
	box-shadow: -0.1rem -0.1rem 0.1rem #888;
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-o-transform: scale(1.1);
	transform: scale(1.1);
}
#lang a.active img{
	border: 1px solid #000;
	border: 0.1rem solid #000;
	filter: grayscale(0);
	-webkit-filter: grayscale(0);
	-moz-filter: grayscale(0);
	-o-filter: grayscale(0);
	-ms-filter: grayscale(0);
}

ul img, #retourMessage img, #dessins img, #noscript img, .pages img, .verticalCenter{
	vertical-align: middle;
}

ul img{
	margin-left: 10px;
	margin-left: 1rem;
}

#noscript{
	margin: 30px 10px;
	margin: 3rem 1rem;
}

nav{
	position: absolute;
	top: 170px;
	top: 17rem;
	width: 200px;
	width: 20rem;
	left: 30px;
	left: 3rem;
}

.sous_menu{
	margin-bottom: 20px;
	margin-bottom: 2rem;
}
.sous_menu li a, .sous_menu li a:visited {
	display: inline;
}
.sous_menu_titre{
	text-align: center;
	color: #002222;
	font-weight: bold;
	width: 180px;
	width: 18rem;
}

#page{
	margin: 0 30px 20px 260px;
	margin: 0 3rem 2rem 26rem;
	padding: 25px 30px;
	padding: 2.5rem 3rem;
}

footer{	
	margin: 0 15px;
	margin: 0 1.5rem;
}

#plan, .pages{
	padding: 10px;
	padding: 1rem;
}

#login{
	text-align: right;
	font-size: 12px;
	font-size: 1.2rem;
	padding: 5px 5px 0 0;
	padding: 0.5rem 0.5rem 0 0;
	float: right;
	z-index: 2;
}
#login form, #login div{
	display:inline;
}
#login a, #login form{
	margin-right: 5px;
	margin-right: 0.5rem;
}
#login label{
	float: none;
	clear: none;
}
#login input{
	max-width:80px;
	max-width:8rem;
	font-size:10px;
	font-size:1rem;
	vertical-align: middle;
}
#login .logbutton, #login  a{
	padding: 3px;
	padding: 0.3rem;
}
.loginErreur{
	color: red;
	font-weight: bold;
	font-style: italic;
	float: left;
	padding: 5px;
	padding: 0.5rem;
}


/* pages spéciales */
.horizontalCenter{
	display:block;
	clear:both;
	margin: 10px auto;
	text-align: center;
}

.avatars{
	float: right;
	width: 300px;
	width: 30rem;
	text-align: center;
}
.avatars img{
	padding: 30px 0;
	padding: 3rem 0;
}

#dessins{
	margin: 30px;
	margin: 3rem;
	width: 600px;
	width: 60rem;
}
#dessins .center{
	text-align: center;
	width: 600px;
	width: 60rem;
	margin: 10px 0;
	margin: 1rem 0;
}
#dessins #image{
	text-align: center;
	display: table-cell;
	vertical-align: middle;
	width: 600px;
	width: 60rem;
	margin: 10px;
	margin: 1rem;
	height: 400px;
	height: 40rem;
}
#dessins #image img{
	max-width:600px; 
	max-width:60rem; 
	max-height:400px;
	max-height:40rem;
	cursor: pointer;
}
#dessins #titre{
	font-weight: bold;
	font-size: 20px;
	font-size: 2rem;
	text-align: center;
	width: 600px;
	width: 60rem;
	margin: 10px 0;
	margin: 1rem 0;
}
#dessins .bouton{
	margin: 0 8px;
	cursor: pointer;
	vertical-align: middle;
	text-shadow: 1px 1px #FFF;
}
#dessins .un{
	cursor: default !important;
	color: #CCC;
}
#dessins .hide, #formulaires .hide{
	display: none;
}

blockquote{
	border-color: #DDDDC0;
	border-style: solid;
	border-width: 1px;
	padding-left: 1em;
	padding-right: 1em;
	background-color: #FDFDE0;
}

label{
	width: 150px;
	float: left;
	font-weight: bold;
	clear:both;
}

#fobjet{
	width: 400px;
}

.cadreNews{
	padding: 15px;
}

.news{
	margin-top: 10px;
	margin-bottom: 10px;
	background-color: #FFFED9;
	padding: 15px 25px;
}
.dateNews{
	font-weight: bold;
	font-style: italic;
	margin-right: 30px;
	color: #888;
}
.titreNews{
	font-weight: bold;
}
.categorieNews{
	font-weight: bold;
	float: right;
	border-bottom: 1px outset white;
	border-right: 3px solid #000;
	padding: 2px 8px;
	background: white;
	position: relative;
	top: -2px;
	right: -27px;
}
.contenuNews{
	clear: both;
	overflow: auto;
}
.news hr{
	border: 0;
	background-color: #DDD;
	height: 1px;
	padding: 0;
	margin: 12px 0;
}
.news img.actu_image{
	float: left;
	margin: 0 10px 10px 10px;
	box-shadow: 1px 1px 3px 0px #444;
}

.cadreNews textarea, #formContact textarea, #formPerso textarea{
	width: 100%;
}
.cadreNews .listeBalises, #formContact .listeBalises, #formPerso .listeBalises{
	float: right;
	margin-top: -10px;
}

.commentaire{
	margin-top: 10px;
	margin-left: 40px;
	margin-bottom: 0px;
	background-color: #F0EFFF;
	padding: 20px 30px;
}
.commentaire p{
	clear: both;
	overflow: auto;
}

fieldset{
	padding: 15px;
	margin: 5px 0;
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
	-webkit-border-radius: 5px;
	-ms-border-radius: 5px;
	border-radius: 5px;
	border: 1px solid #BBB;
}
legend{
	color: #555;
}

#retourMessage{
	margin: 20px auto;
	padding: 10px;
	width: 450px;
	border: 0 solid #999999;
	border-radius: 5px;
	/*box-shadow: 0 0 15px #ccc;*/
}
#retourMessage .texte{
	margin-left: 45px;
	margin-top: 5px;
	margin-bottom: 5px;
	vertical-align: middle;
}
#retourMessage img{
	vertical-align: middle;
	float: left;
}
#retourMessage .fermer{
	vertical-align: top;
	float: right;
	margin-top: -5px;
    margin-right: -5px;
}

.captcha{
	cursor: pointer;
	vertical-align: middle;
}

.floatDroite{
	float: right;
	padding-left: 20px;
}
.floatGauche{
	float: left;
	padding-right: 20px;
}

#linksHome{
	float: right;
	width: 47%;
	padding-left: 10px;
}
#newsHome{
	width: 50%;
}

/*sert pour la page profile_user*/
#titre {
	font-weight: bold;
	font-size: 24px;
	text-align: center;
	padding: 5px;
}

#userAvatar{
	float:left; 
	margin-left:20px;
	margin-right:20px;
	width:150px;
	height:150px;
	text-align:center;
	vertical-align: middle;
}

a.showUserTooltip{
	position: relative;
    text-decoration: none;
	border-bottom: 1px dotted;
}
a.showUserTooltip span{
	display: none; /* on masque l'infobulle */
	
   	font-weight: normal;
	font-style: normal;
	text-decoration: none;
	
	background: #FFFFFF;
	width: 300px;
	min-width: 300px;
	color: #000000;
	border: 1px solid #EFEFEF;
	padding: 10px;
}
a.showUserTooltip img{
	float: left;
	padding-right: 10px;
}
a.showUserTooltip:hover {
	background: none; /* correction d'un bug IE */
	z-index: 500; /* on définit une valeur pour l'ordre d'affichage */
}
a.showUserTooltip:hover span {
	display: inline-block; /* on affiche l'infobulle */
	position: absolute;
	top: 20px; /* on positionne notre infobulle */
	left: 20px;
}

/*danse*/
.description_danse{
	margin: 2px;
	display: none;
}

/* debaras et cherche*/
table#debarras{
	width: 100%;
}
table#debarras th{
	border-bottom: 1px solid #CCC;
	font-size: 15px;
}
table#debarras .col_date{
	width: 100px;
}
table#debarras .col_photo{
	width: 170px;
}
table#debarras .col_desc{
	border-bottom: 1px solid #CCC; 
	padding: 20px;
}

/* administration */
#tableAdmin{
	margin: 10px;
	margin-bottom: 30px;
	width: 100%;
}
#tableAdmin th, #tableAdmin td {
	border:1px solid black;
	margin: 0px;
	padding: 5px;
}
#tableAdmin a{
	text-decoration : none;
}

#formAdminNews textarea{
	width: 100%;
}

/* Pour écrire sur le background */
footer #copyright {
	float:left;
	margin-left:250px;
}

footer #validation{
	float: right;
}

/* popup galerie */

#filter{
	display: none;
	position: absolute;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	background-color: #555;
	z-index:10;
	opacity:0.5;
	filter: alpha(opacity=50);
}

#box{
	display: none;
	position: absolute;
	border: 1px solid #999999;
	background-color: white;
	z-index:11;
	padding:0;
	margin:0;
	transition: width 1s, height 1s, top 1s, left 1s;
	-moz-transition: width 1s, height 1s, top 1s, left 1s; /* Firefox 4 */
	-webkit-transition: width 1s, height 1s, top 1s, left 1s; /* Safari and Chrome */
	-o-transition: width 1s, height 1s, top 1s, left 1s; /* Opera */
	-ms-transition: width 1s, height 1s, top 1s, left 1s; /* IE */
}
#box img{
	padding: 0;
	margin: 0;
	border: 0;
	width: 100%;
	height: 100%
}

/* popup color picker*/

.cPicker{ /*le div de la popup*/
	position: absolute;
	background-color: #FFFFFF;
	box-shadow:4px 4px 4px rgba(0, 0, 0, 0.5);
	-moz-box-shadow:4px 4px 4px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow:4px 4px 4px rgba(0, 0, 0, 0.5);
}
.cPicker table{
	border: 0px;
	border-collapse: collapse;
}
.cPicker td{
	width: 2px;
	padding:0px;
}
.cPicker tr{
	height: 2px;
	padding:0px;
}

.choixCP{
	float:left;
	width:20px;
	height:20px;
	margin:2px;
	border:1px solid black;
	border-radius:3px;
}

.infosCP{
	float: right;
	margin:5px;
}
.infosCP img{
	float: right;
}
.infosCP .temoinCP{
	width:50px;
	height:30px;
	border:1px solid black;
	border-radius:8px;
}



/* Pour mobile */
@media (max-width: 830px) {
	header{
		background-size: contain !important;
	}
	header #headerTitre{
		font-size: 45px;
	}
	nav{
		position: initial;
		top: 0;
		left: 0;
		width: inherit;
	}
	nav .sous_menu_block{
		display: inline-block;
		width: 200px;
		width: 20rem;
		vertical-align: top;
	}
	#page{
		margin: 0 10px 10px 10px;
		margin: 0 1rem 1rem 1rem;
		padding: 10px 10px;
		padding: 1rem 1rem;
	}
	footer #copyright{
		margin-left:10px;
		margin-left:1rem;
	}
}
@media (max-width: 568px) {
	header #headerTitre{
		font-size: 30px;
	}
}