/************/
/*** BODY ***/
/************/
body {
	background: #dfdfdf;
	font-family: "Century Gothic";
	/*color: #5b5b5b;	 gris foncé */
	color: #808080;
}
  
ul {
	list-style: none;
}
  
nav ul {
	margin: 0;
	padding: 5px;
	list-style: none;
}

a {
	text-decoration: none;
	color: #656565;
	/*font-size: 0.8em;*/
}

a:hover, nav a:focus {
	/*** Quand la souris passe sur le lien ***/
	text-decoration: underline;
}

img {
	/* Aligner une image avec le texte */
	vertical-align: middle;
	/* Supprimer la bordure autour de l'image */
	border: 0px;
}

header img {
	width: 60%;
}

header {
	font-family: "Century Gothic";
	color: #808080;		/* Gris */
	/*font-size: 3em;*/
	font-size: 280%;
	font-weight: bold;
}

header #bloc_logout {
	float: right;
	margin-right: 5px;
	margin-bottom: 5px;
	padding: 0px;
	color: #808080;
	background: yellow;
	font-size: 0.3em;
}
/*
header #bloc_logout a {
	color: #ffffff;
	font-size: 12px;
}
*/
header #bloc_logout img {
	width: 7%;
}
   
footer {
	font-size: 100%;
}

/* ************** */
/* Menu : Accueil */
/* ************** */

#menu_accueil {
	position: relative;
	/* Centrer le bloc */
	margin-right: auto;
	margin-left: auto;
	margin-top: 50px;
	margin-bottom: 50px;
	width: 600px;
}

#menu_accueil ul ul {
	display: none;
	position: absolute;
	left: 170px;
	top: -1px;
	margin:0px;
	padding: 0px;
}

#menu_accueil ul.niveau1 {
	padding: 10px;
}

#menu_accueil li {
	text-align: left;
	list-style-type: none;
	position: relative;
	padding: 0px;
	margin: 0px;
	/*width: 200px;*/
	width: auto;
}

#menu_accueil li:hover ul.niveau2 {
	display: block;
}

/* menu_dsn */
/************/
 #menu_dsn {
  display:none;
}
/* hamburger_dsn */
/*****************/
#hamburger_dsn {
  display:block;
}

.fieldset_white {
	margin:0px 100px 0px 100px;
	padding: 20px;
	background-color:white;
	border:2px solid #cdcdcd;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;	
    border-radius:10px;	
	Line-Height: 1.2;
}

.input_bold {
	font-weight: bold;
	text-align: center;
	color: #808080;
}

/* lignes du tableau alternées */
table tr.altern:nth-child(2n+2) {
    background-color: #e7d8c3;
}

/* collapse : les bordures du tableau sont fusionnées */
table {
  border-collapse: collapse;
}

/* Afficher image au survol de la souris sur du texte */
a.imag{
	position: relative;
	z-index: 1;
	font-size: 0.8em;
}
a.imag:hover{
	cursor: help;
	z-index: 2;
}
a.imag span{
	display: none;
}
a.imag:hover span{
	display:block;
	position:absolute;
	z-index: 3;
	/*top: -80px;
	left: -50px;*/
	top: -250px;
	/*left: -100px;*/
	border: 4px solid grey;
}

/* ***************** */
/* CHAMPS FORMULAIRE */
/* ***************** */
input[type=text], input[type=password], textarea, select {
	padding:3px;
	border:1px solid #a9aef0;
	border-radius:5px;
	/*width:200px;*/
	box-shadow:1px 1px 2px #C0C0C0 inset;
	margin-top:5px;
}

input[type=image] {
	margin-top:5px;
}

input[type='radio']:after {
        width: 15px;
        height: 15px;
        border-radius: 15px;
        top: -2px;
        left: -1px;
        position: relative;
        background-color: #d1d3d1;
        content: '';
        display: inline-block;
        visibility: visible;
        border: 2px solid white;
    }

input[type='radio']:checked:after {
	width: 15px;
	height: 15px;
	border-radius: 15px;
	top: -2px;
	left: -1px;
	position: relative;
	background-color: #4f78ff;
	content: '';
	display: inline-block;
	visibility: visible;
	border: 2px solid white;
}

/* **************** */
/* Flex : container */
/* **************** */
#main {
/*min-height: 800px;*/
min-height: auto;
margin: 0px;
padding: 0px;
display: -webkit-flex;
display:         flex;
-webkit-flex-flow: row;
	   flex-flow: row;
}

	/* *************** */
	/* Flex : child	 */
	/* *************** */
	#main > section {
		margin: 5px;
		padding: 5px;
		/*border: 1px solid #cccc33;
		border-radius: 7pt;*/
		background: white;
		-webkit-flex: 3 1 60%;
			   flex: 3 1 60%;
		-webkit-order: 2;
			   order: 2;
		text-align: center;
		line-height:14px;
		overflow: auto;
	}
	
	#main > article {
		margin: 4px;
		padding: 5px;
		border: 1px solid #cccc33;
		border-radius: 7pt;
		background: #dddd88;
		-webkit-flex: 3 1 60%;
			   flex: 3 1 60%;
		-webkit-order: 2;
			   order: 2;
	}
	  
	#main > nav {
		margin: 4px;
		padding: 5px;
		border: 1px solid #8888bb;
		border-radius: 7pt;
		background: #ccccff;
		   -webkit-flex: 1 6 20%;
				   flex: 1 6 20%;
		   -webkit-order: 1;
				   order: 1;
	}
	  
	#main > aside {
		margin: 4px;
		padding: 5px;
		border: 1px solid #8888bb;
		border-radius: 7pt;
		background: #ccccff;
		-webkit-flex: 1 6 20%;
			   flex: 1 6 20%;
		-webkit-order: 3;
			   order: 3;
	}
	   
	.login {
		/*text-align: center;*/
		margin: auto;
		/*padding: 20px 20px;*/
		width: 300px;
		/*border: 1px solid #5b5b5b;
		background: #fff;
		-moz-border-radius:10px;
		-webkit-border-radius:10px;	
		border-radius:10px;	*/
	}

	.login > h1 {
		text-align: center;
	}

	.login > img {
		width: 10%;
	}

	.login-submit {
		background: #fc4a4a;
		color: white;
		width: 50%;
		height: 95%;
		margin: auto;
		border: 0px;
		line-height:20px;
	}

	.login-submit a:hover, nav a:focus {
		/*** Quand la souris passe sur le lien ***/
		text-decoration: underline;
	}
	
	.login-account {
		text-align: center;
	}
	
	#fil_ariane {
		float: left;
		width: 70%;
		text-align: left;
	}

	#fil_ariane li {
		/* alignement des listes à puces en largueur */
		display: inline;
		margin-right: 3px;
		font-size: 12px;
	}
		
	#fil_ariane a {
		color: #333333;
		font-size: 12px;
		font-weight: bold;
	}
	
	#logout {
		float: right;
		width: 26%;
		text-align: right;
		margin-right: 30px;
		/*background: yellow;*/
	}

	#logout li {
		/* alignement des listes à puces en largueur */
		display: inline;
		font-size: 12px;
	}
		
	#logout a {
		color: #ff3b48;
		font-size: 12px;
		font-weight: bold;
	}

	.titre {
		margin-top: 45px;
		font-size: 1.8em;
		font-weight: bold;
	}

	.titre_search {
		margin-top: 45px;
		font-size: 1.4em;
		font-weight: bold;
	}

	.titre1 {
		/*margin-top: 45px;*/
		margin-left: 30%;
		font-size: 3em;
		text-align: left;
		font-weight: bold;
		color: #424242;
		line-height: 1;
	}

	.titre2 {
		margin-left: 30%;
		font-size: 1.5em;
		text-align: left;
		line-height: 1.5;
	}

	.titre3 {
		margin-left: 30%;
		font-size: 1.2em;
		text-align: left;
		line-height: 2;
	}

	.titre3_1 {
		margin-left: 30%;
		font-size: 1.2em;
		text-align: left;
		line-height: 2;
		font-weight: bold;
	}

	/* Marges intérieures d'un bloc (gauche / droite) */
	.marge{
	  padding-right:15px;
	  padding-left:15px;
	  font-family: "Century Gothic";
	  font-size: 14px;
	  color: #5b5b5b;
	  font-weight: bold;
	}
	
	a.btn img, td.btn input  {
		border-radius: 10px;
		-moz-border-radius: 10px;
		-webkit-border-radius: 10px;
	}

/* *************** */
/* HEADER / FOOTER */
/* *************** */
header, footer {
display: block;
margin: 5px;
padding: 5px;
/*min-height: 100px;*/
height: auto;
text-align: center;
/*border: 1px solid #eebb55;
border-radius: 7pt;*/
background: white;
}

/* ************************************* */
/* Trop étroit pour supporter 3 colonnes */
/* ************************************* */
@media all and (max-width: 850px) {
  
	header {
		font-size: 200%;
		font-weight: bold;
	}

	.titre {
		font-size: 1.5em;
		font-weight: bold;
	}
   
	footer {
		font-size: 80%;
	}
}
/* ************************************* */
/* Trop étroit pour supporter 3 colonnes */
/* ************************************* */
@media all and (max-width: 640px) {
   #main, #page {
	-webkit-flex-flow: column;
			flex-direction: column;
   }

   #main > section, #main > article, #main > nav, #main > aside {
	/* Return them to document order */
	-webkit-order: 0;
			order: 0;
   }
  
   #main > section, #main > article, #main > nav, #main > aside, header, footer {
	/*min-height: 50px;
	max-height: 50px;*/
	min-height: auto;
   }
   
	header {
		font-size: 90%;
		font-weight: bold;
	}

	.titre {
		font-size: 1em;
		font-weight: bold;
	}
  
	footer {
		font-size: 60%;
	}

}

/****************************/
/*** GESTION DES MESSAGES ***/
/****************************/
.barre_msg 
{
	border: solid 2px;
	padding: 9px;
	padding-left: 40px;
	margin-top: 10px;
	margin-bottom: 0px;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
    /*** float:right; ***/
    width:80%;
}

/*--------------------*/
/*---[ MESSAGE KO ]---*/
/*--------------------*/
.barre_msg.barre_ko {
	background:#ffe7e7; /* url("../images/no.png") no-repeat 5px center;*/
	/*** Couleur : rouge claire ***/
	border-color:#b22222;
	/*** Couleur : rouge foncée ***/
	color:#be0b0b;
}

#arrow_border_ko {
    width:0;
    height:0;
    line-height:0;
    border-top:12px solid transparent;
    border-left:20px solid #b22222;
    border-right:10px solid transparent;
    position:absolute;
    top:20px;
    right:-30px;
}

#arrow_inner_ko {
    width:0;
    height:0;
    line-height:0;
    border-top:12px solid transparent;
    border-left:20px solid #ffe7e7;
    border-right:10px solid transparent;
    position:absolute;
    top:18px;
    right:-22px;
}

/*--------------------*/
/*---[ MESSAGE OK ]---*/
/*--------------------*/
.barre_msg.barre_ok {
	background:#C7FCDA; /*url("../images/yes.png") no-repeat 5px center;*/
	/*** Couleur : vert claire ***/
	border-color:#05AB42;
	/*** Couleur : vert foncée ***/
	color:#066A2B;
}

#arrow_border_ok {
    width:0;
    height:0;
    line-height:0;
    border-top:12px solid transparent;
    border-left:20px solid #05AB42;
    border-right:10px solid transparent;
    position:absolute;
    top:20px;
    right:-30px;
}

#arrow_inner_ok {
    width:0;
    height:0;
    line-height:0;
    border-top:12px solid transparent;
    border-left:20px solid #C7FCDA;
    border-right:10px solid transparent;
    position:absolute;
    top:18px;
    right:-22px;
}