﻿* { 
	margin: 0;
	padding: 0;
}
html { 
	font-size: 100%;
}
body {
	background-size: auto 50%;
	font-size: 87.5%;
	font-family: Verdana, "Trebuchet MS", sans-serif;
}
img { 
	border: none;
}
a {
	text-decoration: none;
	color: #005C7F;
}
a:hover {
	color: #0079A5;
}

.clearfix {
	margin-bottom: 0.5em;
}
.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0; height: 0;
}

header {
	width: 100%;
	background: url("images/header.png") repeat-x;
}
header .logo {
	float: left;
	max-width: 39%;
}
header .logo img {
	width: 150px;
	padding-left: 2.5%;
}
header .titres {
	float: left;
	padding-left: 2.5%;
	max-width: 58%;
}
header .titre {
	font-weight: bold;
}

#corps {
	float: left;
}
#main {
	padding: 1%;
}

nav  {
	float: left;
	margin-top: 1em;
}
nav ul {
	list-style-type: none;
}
nav ul li a {
	display: block;
	clear: both;
	height: 2.7em;
	
	padding-left: 0.2em;
	border-radius: 0.4em;
	
	transition: background 300ms ease-in-out;
}
nav ul li a:hover {
	background: #E0F0FF;
	color: #033A6D;
}
nav ul li a img {
	height: 2em;
}
nav ul li a .corps {
	display: inline-block;
}
nav ul li a .image {
	float: left;
	padding: 0.3em 0.3em 0.1em 0.3em;
}
nav ul li a .texte {
	float: left;
	padding: 0.75em 0.3em 0.5em 0.3em;
}

footer {
	clear: both;
	width: 100%;
	padding-top: 2em;
	padding-bottom: 1em;
	text-align: center;
}

@media screen and (max-height: 480px) {
	header, header .logo  {
		height: 8em;
	}
	header .logo img {
		padding-top: 0.3em;
		max-height: 7.4em;
	}
	header .titres {
		height: 6.9em;
		padding-top: 1.1em;
	}
	header .titre {
		height: 2.2em;
	}
	#corps {
		min-height: 150px;
	}
}

@media screen and (min-height: 481px) and (max-height: 680px) {
	header, header .logo {
		height: 10em;
	}
	header .logo img {
		padding-top: 0.4em;
		max-height: 9.2em;
	}
	header .titres {
		height: 6.1em;
		padding-top: 1.9em;
	}
	header .titre {
		height: 2.6em;
	}
	#corps {
		min-height: 250px;
	}
}

@media screen and (min-height: 681px) {
	header, header .logo {
		height: 12em;
	}
	header .logo img {
		padding-top: 0.5em;
		max-height: 11em;
	}
	header .titres {
		height: 9.7em;
		padding-top: 2.3em;
	}
	header .titre {
		height: 3.2em;
	}
	#corps {
		min-height: 350px;
	}
}

@media screen and (max-width: 420px) {
	header .titre .inner{
		font-size: 150%;
	}
	header .sous-titre .inner {
		font-size: 100%;
	}
	#corps {
		width: 100%; 
	}
	nav {
		width: 100%;
		text-align: center;
	}
}

@media screen and (min-width: 421px) and (max-width: 1024px) {
	header .titre .inner {
		font-size: 200%;
	}
	header .sous-titre .inner {
		font-size: 130%;
	}
	header .sous-titre {
		padding-top: 0.5em;
	}
	#corps {
		width: 100%; 
	}
	nav {
		width: 100%;
		-moz-column-count:2;
		-webkit-column-count:2;
		-o-column-count:2;
		column-count:2;
		text-align: center;
	}

}

@media screen and (min-width: 1025px) {	
	header .titre .inner {
		font-size: 240%;
	}
	header .sous-titre .inner {
		font-size: 150%;
	}
	header .sous-titre {
		padding-top: 0.8em;
	}
	#corps {
		width: 75%;
		margin-right: 0.5%;
	}
	nav {
		width: 24%;
		margin-left: 0.5%;
	}
}

/* #### PROFIL #### */
#profil {
	clear: both;
	background: #2B2F33;
	background: linear-gradient(#2D3135, #2B2F33);
}	
#profil .inner {
	display: inline-block;
}
#profil a {
	display: block;
	padding: 0.3em 0.5em;
	height: 2em;
	color: #DBEDFF;
}
#profil a:hover {
#	color: #2B2F33;
	background: #4C5259;
	background: linear-gradient(#596068, #4C5259);
}
#profil .image {
	display: inline-block;
}
#profil .image {
	float: left;
}
#profil .texte {
	float: left;
	padding: 0.35em 0 0 0.4em;
}
#profil .image img {
	height: 2em;
}

@media screen and (max-width: 960px) {	
	#profil {
		text-align: center;
		margin-bottom: 15px;
	}
	#profil a {
		padding: 0.6em 0.5em;
	}
}
@media screen and (min-width: 420px) {	
	#profil p {
		float: left;
	}
	#profil {
		height: 3.2em;
	}
}
@media screen and (min-width: 961px) {	
	#profil {
		position: absolute;
		top: 0; right: 3%;
		padding: 0 0.4em;
		border-radius: 0 0 0.4em 0.4em;
		height: 2.6em;
	}
}

#corps h1 {
	margin: 0.5em 0 1em 0;
	font-size: 180%;
	text-align: center;
}
#corps h2 {
	margin: 1.5em 0 0.8em 0;
	text-indent: 1.3em;
	font-size: 130%;
	color: #555;
	font-weight: bold;
}
#corps h3 {
	margin: 1.25em 0 0.7em 0;
	text-indent: 2em;
	font-size: 120%;
	color: #777;
	font-weight: bold;
}

#corps hr {
	 border: 0;
	 height: 0;
	 border-top: 1px solid rgba(0, 0, 0, 0.1);
	 border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}


#corps button.action {
	cursor: pointer;
	font-size: 100%;
	
	border-radius: 0.2em;
	
	margin: 0 0.3em;
	
	background: #E5E5E5;
	background: linear-gradient(#EDEDED, #E5E5E5);
	border: 1px solid #DDDDDD;
	
	height: 2.5em;
}
#corps button.action:hover {
	background: #CCCCCC;
	background: linear-gradient(#D3D3D3, #CCCCCC);
	border: 1px solid #C4C4C4;
}
/*#corps button a {
	display: block;
	height: 2.3em;
	
	color: #666666;
}*/
#corps button.action .corps {
	display: inline-block;
}
#corps button.action .image {
	float: left;
	padding: 0.2em 0.1em 0.2em 0.1em;
	width:2em;
}
#corps button.action .image img {
	height: 1.9em;
}
#corps button.action .texte {
	float: left;
	padding: 0.55em 0.2em 0 0.2em;
}
/* BOUTONS BLEUS */
#corps button.action.bleu {
	background: #E6F2F7;
	background: linear-gradient(#E6F2F7, #DEF0F7);
	border: 1px solid #D7EEF7;
}
#corps button.action.bleu:hover {
	background: #CDE7F2;
	background: linear-gradient(#CDE7F2, #C4E5F2);
	border: 1px solid #BCE4F2;
}
#corps button.action.bleu {
	color: #005384;
}
/* BOUTONS VERTS */
#corps button.action.vert {
	background: #EEF7E6;
	background: linear-gradient(#EEF7E6, #EAF7DE);
	border: 1px solid #E6F7D7;
}
#corps button.action.vert:hover {
	background: #DEF2CB;
	background: linear-gradient(#DEF2CB, #DBF2C4);
	border: 1px solid #D7F2BC;
}
#corps button.action.vert {
	color: #3E8203;
}
/* BOUTONS ORANGES */
#corps button.action.orange {
	background: #F7EFE6;
	background: linear-gradient(#F7EFE6, #F7EBDE);
	border: 1px solid #F7E7D7;
}
#corps button.action.orange:hover {
	background: #F2DECB;
	background: linear-gradient(#F2DECB, #F2DAC4);
	border: 1px solid #F2D5BC;
}
#corps button.action.orange {
	color: #D37400;
}
/* BOUTONS ROUGES */
#corps button.action.rouge {
	background: #F7E6E6;
	background: linear-gradient(#F7E6E6, #F7DEDE);
	border: 1px solid #F7D7D7;
}
#corps button.action.rouge:hover {
	background: #F2CBCB;
	background: linear-gradient(#F2CBCB, #F2C4C4);
	border: 1px solid #F2BCBC;
}
#corps button.action.rouge {
	color: #B20000;
}

#corps p.bouton {
	text-align: center;
	margin: 17px 0 5px 0;
}


#corps .message {
	text-align: center;
	border: 1px dashed transparent;
	border-radius: 0.5em;
	margin-bottom: 1.1em;
	padding-top: 0.1em;
	
	background: #F7F9E0;
	border-color: #F0F2C9;
}
#corps .message p {
	text-indent: 0;
}
#corps .message.normal {
	background: #EAF7DE;
	border-color: #E6F7D7;
	color: #3E8203;
}
#corps .message.avert {
	background: #F7EBDE;
	border-color: #F2D5BC;
	color: #D37400;
}
#corps .message.info {
	background: #DEF0F7;
	border-color: #B6DEED;
	color: #005384;
}
#corps .message.erreur {
	background: #F7DEDE;
	border-color: #F2BCBC;
	color: #B20000;
}

#corps p {
	margin: 0.4em 0 0.6em 0;
}
#corps p.lineaire {
	float: left;
	margin: 0.2em 0.5em;
}
#corps ul {
	margin-left: 1.5em;
}

#corps table.admin {
	margin: 1em auto;
	min-width: 66%;
	font-size: 90%;
	border-collapse: collapse;
}
#corps table.admin tr {
	border-radius: 0.3em;
}
#corps table.admin th {
	background: #2275B5;
	font-weight: bold;
	color: #FFF;
	padding: 0.6em;
	border-right: 1px solid #FFF;
}
#corps table.admin td {
	padding: 0.4em 0.5em;
	border-right: 1px solid #C3E0F4;
}
#corps table.admin th, #corps table.admin td {
	text-align: center;
}
#corps table.admin tr th:first-child, #corps table.admin tr td:first-child {
	border-radius: 0.3em 0 0 0.3em;
}
#corps table.admin tr th:last-child, #corps table.admin tr td:last-child {
	border: none;
	border-radius: 0 0.3em 0.3em 0;
}
#corps table.admin tr:nth-child(even) {
	background: #D8EDFF;
}
#corps table.admin .admin-action {
	display: block; float: left;
	margin: 0 0.15em -0.2em 0.15em;
}
#corps table.admin img {
	height: 1.8em;
}

#corps .informations {
	margin-left: 1em;
}
#corps .informations .groupe{
	margin: 0.8em 2em 0.8em 0;
}
#corps .informations .groupe.float {
	min-width: 45%;
	max-width: 40em;
	float: left;
}
#corps .informations p {
	margin: 0.6em 0;
}
#corps .informations .titre{
	background: #D6E7F9;
	background: linear-gradient(#D6E7F9, #DBEAF9);
	border: 1px solid #CFE3F7;
	border-radius: 0.25em;
	
	display: inline-block;
	padding: 0.3em 0.5em;
	margin-left: 3em;
	margin-top: 1em;
	
	font-weight: bold;
	font-size: 110%;
}

#corps form.mini {
	max-width: 640px;
	margin: auto;
}
#corps form p {
	padding-bottom: 0.5em;
}
#corps fieldset {
	margin: 0.4em 0;
	
	border: 1px dashed #0C7CCC;
	border-radius: 0.25em;
	padding: 0.3em;
}
#corps legend {
	color: #0C7CCC;
}
#corps input[type=text], #corps input[type=password], #corps .select-wrap, #corps textarea {
	background-color: #CCE9FF;
	border: 1px solid #ADDDFF;
	border-radius: 0.3em;
	font-weight: bold;
}
#corps input[type=text], #corps input[type=password], #corps textarea {
	background: linear-gradient(#CCE9FF, #C6E7FF);
	color: black;
	padding: 0.3em 0.4em;
}
#corps textarea {
	background: #E5F4FF;
}
#corps input[type=text].erreur, #corps input[type=password].erreur, #corps .select-wrap.erreur, #corps textarea.erreur {
	background-color: #FFCFCC;
	border-color: #FFA7A3;
}
#corps input[type=text].erreur, #corps input[type=password].erreur, #corps textarea.erreur {
	background: linear-gradient(#FFCFCC, #FFC9C6);
}

#corps select {
	color: black;
	padding: 0 0.4em 0.25em 0.4em;
	font-weight: bold;
}
#corps p.lineaire input[type=text], #corps p.lineaire input[type=password] {
	display: inline;
}
#corps .select-wrap {
	display: inline-block;
	width: auto;
	overflow: hidden;
	
	background-image: url("images/select.png");
	background-repeat: no-repeat;
	background-position: right 57%;
	background-size: 1.2em;
	
	padding-top: 0.2em;
	margin-bottom: -0.6em;
	
	min-width: 7em;
}
#corps .select-wrap select{
	border: none;
}
#corps select {
	width: 125%;
	cursor: pointer;
	
	background: none;
	border: none;
}
#corps optgroup {
	display: block;
	margin: 0.2em 0 0.8em 0;
}

#corps label.aligner {
	display: block; clear: both;
	margin: 0.2em 0;
}
#corps label.normal {
	display: block;
	padding-top: 0.15em;
}
#corps label.float {
	display: block;
	padding-top: 0.2em; padding-right: 0.3em;
	float: left;
}
#corps .label-aide {
	display: block;
	color: #666;
	font-size: 85%;
}
#corps p.form {
	clear: both;
	margin-bottom: 1.3em;
}
#corps fieldset p {
	margin-top: 0.9em;
}
/*
#corps span.checkbox-after {
	display: block;
	min-width: 1em; min-height: 1em;
}
*/
#corps textarea {
	margin: 0.5em 0;
	padding: 0.3em;
	max-width: 100%;
	font-weight: normal;
}
#corps fieldset textarea {
	display: block; clear: both;
	margin: 0.8em auto;
}

#corps p.pages {
	float: left;
}

@media screen and (max-width: 720px) {
	#corps fieldset {
		text-align: center;
	}

}
@media screen and (min-width: 721px) {	
	#corps label.aligner {
		float: left;
		width: 49.5%;
		padding-right: 0.5%;
		text-align: right;
	}
	#corps input[type=text], #corps input[type=password] {
		#display: block;
	}
}

   /* --- Checkbox --- */
   /*
input[type="checkbox"]:not(:checked), input[type="checkbox"]:checked {
   	display: none;
}
input[type="checkbox"]:not(:checked) + label, input[type="checkbox"]:checked + label {
	position: relative;
	margin-bottom: 0.7em !important;
}
input[type="checkbox"]:not(:checked) + label.normal, input[type="checkbox"]:checked + label.normal {
	padding-left: 1.7em;
}
input[type="checkbox"]:not(:checked) + label:after,
input[type="checkbox"]:checked + label:after {
	content: '';
	position: absolute; z-index: 1;
	top: 0.2em;
	left:0;
	width: 1em; height: 1em;
	border: 1px solid transparent;
	border-radius: 15%;
	cursor: pointer;
}
input[type="checkbox"]:not(:checked) + label.aligner:after,
input[type="checkbox"]:checked + label.aligner:after {
	right: -1.2em; 
	left: auto;
}
input[type="checkbox"]:not(:checked) + label.normal:after,
input[type="checkbox"]:checked + label.normal:after {
	left: 1em; 
}
input[type="checkbox"]:not(:checked) + label:after {
	background: #F8F8F8;
	border-color: #AAAAAA;
	transition: all 200ms ease-in-out;
}
input[type="checkbox"]:checked + label:after {
	background: #5C5D5E;
	border-color: #454647;
	transition: all 200ms ease-in-out;
}

label.checkbox {
	padding-left:1.5em;
	padding-top:0.15em;
}
*/
/* ##### Barres d'outils ##### */

#barre-outils {
	margin: 0.3em 0;
	height: 2.7em;
	
	background: #FFF;
}
#barre-outils .element {
	float: left;
	margin: 0;
	background: transparent;
	
	transition: all 200ms ease-in-out;
	border: 1px solid transparent;
	border-radius: 0.2em;
}
#barre-outils .separateur {
	float: left; width: 0;
	margin: 0.4em 0.4em 0 0.3em;
	height: 2em;
	border: 1px solid #646464
}
#barre-outils .element a {
	padding: 0.3em 0.4em 0.1em 0.4em;
	display: block;
}
#barre-outils .element img {
	height: 2.2em;
}
#barre-outils .element .texte {
	display: block; float: right;
	max-width: 0; height: 1.5em;
	overflow: hidden;
	
	margin: 0.4em 0 0 0.4em;
	
	color: #646464;
	
	transition: max-width 400ms ease-in-out;
}

#barre-outils .element:hover {
	background: #E8E8E8;
	border-color: #DBDBDB;
}
#barre-outils .element:hover .texte{
	max-width: 15em;
}

#corps .tuiles-wrap {
	
}
#corps .tuiles-wrap:after {
	clear: both;
}
#corps .tuile {
	float: left;
	width: 17em;
	margin: 0.5em 0.5%;
	background: #7ECAEA;
	background-image: linear-gradient(#8BCFED, #7ECAEA);
	border-radius: 0.4em;
}
#corps .tuile:hover {
	background: #6BC3E5;
	background-image: linear-gradient(#78C8E8, #6BC3E5);
}
#corps .tuile a {
	display: block;
}
#corps .tuile span {
	display: block;
	padding: 0.5em;
	text-align: center;
	color: #333;
}
#corps .tuile .titre {
	padding: 0.7em 0.3em;
	background: #00526B;
	background-image: linear-gradient(#005672, #00526B);
	border-radius: 0.4em 0.4em 0 0;
	color: #FFF;
}
#corps .tuile .image {
	
}
#corps .tuile .image img{
	max-height: 8em;
}
#corps .tuile .sous-titre {
	font-size: 0.9em;
	padding-top: 0;
	min-height: 2.6em;
}


#corps .options-groupe {
	
}
#corps .option {
	display: block;
	margin: 1em auto;
	max-width: 30em;
	padding: 0.4em;
	color: #222;
	
	background: #EDF7FF;
	background-image: linear-gradient(#EDF7FF, #E8F5FF);
	border: 1px solid #0A74B2;
	border-radius: 0.3em;
}
#corps .option:hover {
	background: #E5F3FF;
	background-image: linear-gradient(#E5F3FF, #E0F1FF);
}
#corps .option span {
	display: block;
}
#corps .option .image {
	float: left;
	width: 3.4em;
}
#corps .option .image img {
	height: 3em;
}
#corps .option .texte {
	font-size: 105%;
}
#corps .option .aide {
	margin-top: 0.4em;
	font-size: 90%;
	font-style: italic;
	color: #555;
}

.mce-tinymce {
	clear: both;
}
