body {
	min-width: 896px;
	margin: 0;
	background: #def;
	font-family: Arial, sans-serif;
}
h1 {
	margin: 0;	padding: 3px 20px;
	display: inline;
	float: left;
	font-size: 250%;
	font-variant: small-caps;
	color: #ace;
	text-shadow: #fff 0 1px 1px;
}
h2 {
	margin: 4px 16px;
	font-size: 115%;
	text-transform: uppercase;
	color: #347;
	clear: both;
}
h3 {
	margin: 8px;	padding: 0 0 0 8px;
	border-left: solid 24px #347;
	float: left;
	font-size: 100%;
}
h3.corbeille {
	border-left: solid 24px #888;
}
h3, h3 a {
	text-shadow: #fff 0 1px 1px, #a0a3ae 0 0 8px;
	font-size: 100%;
}
h4 {
	margin: 8px 0;	padding: 0 0 0 8px;
}
a {
	color: #347;
	text-decoration: none;
	text-shadow: #fff 0 1px 0;
}
a:hover {
	color: #e70;
}
hr {
	padding: 4px 0;
	border: none;
	border-bottom: dotted 1px #888;
	clear: both;
}
ul {
	margin: 0;	padding: 0;
	list-style: none;
}
section {
	padding: 8px 4px;
	border-top: solid 1px #347;	border-bottom: solid 1px #347;
	background: #fff;
	clear: both;
	box-shadow: 0 0 16px 0 #b2c3dd;
}

/*	En-tête	*/
header {
	text-align: right;
	vertical-align: top;
}
header form {
	display: inline-block;
	text-align: left;
}
header form a {
	padding: 4px 2px 0;
	float: right;
	font-size: 80%;
}
header fieldset {
	margin: 8px;
	padding: 4px 16px 8px;
	border: dotted 1px #68d;
	box-shadow: 0 0 8px 0 #b2c3dd;
	color: #68d;
}

/*	Nav	*/
nav ul {
	margin: 0 4px;	padding: 0;
	position: relative;
	top: 1px;
	list-style: none;
}
nav li {
	display: inline-block;
	vertical-align: bottom;
}
nav span, nav a {
	margin: 2px 0 0;	padding: 2px 10px 1px;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	background: #fafdff;
	display: block;
}
nav li a {
	background: linear-gradient(#fafdff 66%, #ebf0f5 95%, #ced5df);
	border: solid 1px #68d;
	border-bottom: solid 1px #347;
	color: #68d;
}
nav span, nav a:hover {
	margin: 0;	padding: 2px 10px;
	border: solid 1px #347;
	color: #347;
}
nav span {
	border-bottom: solid 1px #fff;
}
.selection {
	color: #347;
}

/*	Panneau de contrôle	*/
.buttons, .buttons li {
	margin: 0 0 0 4px;	padding: 0;
	display: inline-block;
	vertical-align: bottom;
	overflow: auto;
}
.buttons a, .buttons span {
	width: 148px;
	padding: 48px 4px 4px;
	border: solid 1px #e0e2e5;
	border-radius: 4px;
	display: block;
	font-size: 75%;
	text-align: center;
}
.buttons a {
	background: url("default/icones.png") 150px 0 no-repeat, linear-gradient(#fff 33%, #e0e2e5);
}
.buttons span {
	background: url("default/icones.png") 150px no-repeat, linear-gradient(#e0e2e5, #fff 33%);
}
.buttons a:hover {
	border: solid 1px #e70;
	background: url("default/icones.png") 150px no-repeat, linear-gradient(#e0e2e5, #fff 33%);
	color: #c60;
}
.buttons .btn_editer,
.buttons .btn_editer:hover {
	background-position: 0 0;
}
.buttons .btn_voir,
.buttons .btn_voir:hover {
	background-position: -150px 0;
}
.buttons .btn_corbeille,
.buttons .btn_corbeille:hover {
	background-position: -300px 0;
}
.buttons .btn_restaurer,
.buttons .btn_restaurer:hover {
	background-position: -450px 0;
}
.buttons .btn_supprimer,
.buttons .btn_supprimer:hover {
	background-position: -600px 0;
}
.buttons .btn_memoriser,
.buttons .btn_memoriser:hover {
	background-position: -750px 0;
}
.buttons .btn_imprimer,
.buttons .btn_imprimer:hover {
	background-position: -900px 0;
}
.buttons .btn_agenda,
.buttons .btn_agenda:hover {
	background-position: -1050px 0;
}
@keyframes introButtons {
	0% {
	} 50% {
		border-color: #347;
	} 100% {
	}
}
.buttons li * {
	animation-name: introButtons;
	animation-duration: 1s;
}
.buttons li:nth-child(1) * {
	animation-delay: 300ms;
}
.buttons li:nth-child(2) * {
	animation-delay: 450ms;
}
.buttons li:nth-child(3) * {
	animation-delay: 600ms;
}
.buttons li:nth-child(4) * {
	animation-delay: 750ms;
}
.buttons li:nth-child(5) * {
	animation-delay: 900ms;
}
.buttons li:nth-child(6) * {
	animation-delay: 1050ms;
}
.buttons li:nth-child(7) * {
	animation-delay: 1200ms;
}
#controle form {
	margin: 0 0 0 4px;	padding: 0;
	display: inline-block;
	vertical-align: bottom;
	text-shadow: 0 2px 0 #fff, 0 0 4px #bdbabc;
}
#controle fieldset {
	margin: 0;
	display: inline-block;
}

/*	Calendrier	*/
#resume {
	width: 128px;
	margin: -8px 0 0 -999px;	padding: 0 32px 8px 8px;
	float: left;
	position: relative;
	left: 999px;
	z-index: 1;
	background: linear-gradient(to left, rgba(255,255,255,0),rgba(255,255,255,1) 24px);
}

#annees {
	width: 128px;
	margin: 8px 0 0;
	overflow: hidden;
	position: absolute;
	z-index: 2;
	color: #c60;
}
#annees:hover {
	width: 145px;
	height: 196px;
	overflow: auto;
}
#annees li {
	display: none;
	margin: 0;
}
#annees:hover li {
	display: block;
}
#annees #annee, #annees a {
	padding: 0;
	display: block;
	background: linear-gradient(#fff 33%, #e0e2e5);
	font-size: 40px;
	text-align: center;
	text-shadow: #fff 0 2px 1px;
	border: solid 2px #e0e2e5;
	cursor: move;
}

#mois {
	margin: 58px 0 0;
	font-size: 80%;
	color: #c60;
	text-align: center;
}
#mois li {
	width: 28px;
	margin: 2px 0;
	border-radius: 2px;
	background: #f5f3f0;
	display: inline-block;
}
#mois a {
	display: block;
}
#mois a:hover {
	background: #e70;
	border-radius: 2px;
	color: #fff;
	text-shadow: #c60 0 -1px 0;
}

#calendriers {
	width: 100%;
	overflow: hidden;
}
#calendriers div {
	width: 9999px;
	margin: 0 0 0 -50px;
}
#calendriers table {
	margin: 0 2px;
	padding: 0 2px 2px;
	display: inline-block;
	border: solid 1px #888;
	vertical-align: top;
	box-shadow: 0 0 8px 0 #ccc;
	font-size: 70%;
	text-align: center;
}
#calendriers caption {
	margin: 0 4px;
}
#calendriers caption strong {
	display: block;
	border-bottom: dashed 1px #c60;
	color: #c60;
}
#calendriers caption a {
	display: block;
	border-bottom: dashed 1px #888;
}
#calendriers caption a:hover {
	border-bottom: dashed 1px #e70;
}
#calendriers th {
	padding: 0 4px;
}
#calendriers tr a {
	display: block;
	border-radius: 2px;
	background: #f5f3f0;
}
#calendriers tr:hover a {
	background: #e70;
	font-weight: bold;
	color: #fff;
	text-shadow: #c60 0 -1px 0;
}
#calendriers strong a {
	background: #6c4;
	color: #fff;
	text-shadow: #5a3 0 -1px 0;
}
#calendriers span a {
	color: #c60;
}

.vue_agenda {
	margin: 4px 8px;
	position: absolute;
	right: 0;
}
.vue_agenda a {
	padding: 2px 8px;
	border: solid 1px #e0e2e5;
	border-radius: 4px;
	background: url("default/icones.png") 150px 0 no-repeat, linear-gradient(#fff 33%, #e0e2e5);
	font-size: 75%;
}
.vue_agenda a:hover {
	border: solid 1px #e70;
	background: url("default/icones.png") 150px no-repeat, linear-gradient(#e0e2e5, #fff 33%);
	color: #c60;
}
/*	Agenda	*/
#agenda {
	text-align: center;
}
#agenda table {
	border: solid 1px #888;
	display: inline-block;
}
#agenda thead th {
	padding: 0 8px;
	background: #f5f3f0;
}
#agenda thead strong {
	position: relative;
}
#agenda thead div, #agenda thead ul {
	margin: 0 0 0 -9px;
	border: solid 1px #888;
	border-top: none;
	border-radius: 0 0 4px;
	display: none;
	position: absolute;
	background: #f5f3f0;
	font-size: 75%;
}
#agenda thead div {
	padding: 16px 0 0;
	color: #d9d8d7;
}
#agenda th:hover div, #agenda thead th:hover ul {
	display: block;
}
#agenda thead li:nth-child(even) {
	 background: #fff;
}
#agenda thead li a {
	padding: 2px;
	display: block;
}
#agenda thead li a:hover {
	background: #e70;
	color: #fff;
	text-shadow: #c60 0 -1px 0;
}

#agenda tbody th {
	padding: 0 2px;
	font-size: 75%;
}
#agenda td {
	min-width: 40px;
	border-left: dotted 1px #888;
}
#agenda .lundi td:nth-child(4), #agenda .matin td:nth-child(4), #agenda .apres-midi td:nth-child(1), #agenda .soir td:nth-child(1) {
	border-left: none;
}
#agenda .vacances, #agenda .zoneA, #agenda .zoneB, #agenda .zoneC {
	min-width: inherit;
	padding: 0;
	min-width: 4px;
	font-size: 0;
	text-indent: -9999px;
}
#agenda tbody .vacances {
	border: solid 1px #888;
}
#agenda .zoneA {
	background: #6d2;
}
#agenda .zoneB {
	background: #48f;
}
#agenda .zoneC {
	background: #f42;
}
#agenda tbody .vacation {
	background: #fff;
	border: none;
}
#aujourd-hui {
	background: #6c4;
	color: #fff;
	text-shadow: #5a3 0 -1px 0, #362 0 0 8px;
}
.lundi {
	border-top: double 4px #888;
}
.matin {
	border-top: solid 1px #888;
}
.matin td, .lundi td {
	background: #f6faff;
}
.matin a, .lundi a {
	border-color: #1d6ebf;
	background: #d9ecff;
	color: #1d6ebf;
	transition: 400ms;
}
#agenda .matin a:hover, #agenda .lundi a:hover {
	background: #b2d9ff;
	color: #1d6ebf;
}
.apres-midi td {
	background: #fffdfa;
}
.apres-midi a {
	border-color: #bf6e1d;
	background: #ffecd9;
	color: #bf6e1d;
	transition: 400ms;
}
#agenda .apres-midi a:hover {
	background: #ffd9b2;
	color: #bf6e1d;
}
.soir td {
	background: #fff6ff;
}
.soir a {
	border-color: #bf1dbf;
	background: #ffd9ff;
	color: #bf1dbf;
	transition: 400ms;
}
#agenda .soir a:hover {
	background: #ffb2ff;
	color: #bf1dbf;
}
#agenda .futur {
	background: none;
}
#agenda td {
	vertical-align: top;
}
#agenda td a {
	margin: 1px;	padding: 0 2px;
	display: block;
	border-radius: 2px;
	font-size: 75%;
}
#agenda .demarche_option {
	border: dashed 1px;
	background: #fff;
}
#agenda .demarche_option_devis {
	border: solid 1px;
	background: #fff;
}
#agenda .demarche_ok {
	border: dashed 1px;
}
#agenda .demarche_ok_devis {
	border: solid 1px;
}
#agenda .demarche_contrat {
	border: solid 1px;
}
#agenda .demarche_valide {
	margin: 0;
	border: solid 2px;
}
@keyframes clignottement {
	from {
	} to {
		border-color: #fff;
	}
}
#agenda .demarche_option_devis_r {
	border: solid 1px;
	background: #fff;
	animation-duration: 400ms;
	animation-name: clignottement;
	animation-iteration-count: infinite;
	animation-direction: alternate;
}
#agenda .demarche_ok_devis_r {
	border: solid 2px #f04;
	animation-duration: 400ms;
	animation-name: clignottement;
	animation-iteration-count: infinite;
	animation-direction: alternate;
}
#agenda .demarche_contrat_r {
	margin: 0;
	border: solid 2px #f04;
	animation-duration: 400ms;
	animation-name: clignottement;
	animation-iteration-count: infinite;
	animation-direction: alternate;
}
#agenda .e_reunion, #agenda .e_indisponible {
	padding: 2px 4px;
	background: #fff;
	border: solid 1px #ddd;
	font-size: 60%;
}
td .e_indisponible {
	color: #888;
}
#agenda .cible {
	background: #bf8;
}
a .details {
	margin: 6px -4px;	padding: 2px 4px;
	display: block;
	visibility: hidden;
	opacity: 0;
	border: solid 1px #347;
	border-radius: 0 2px 2px;
	position: absolute;
	background: #fff;
	color: #347;
	transition: 400ms;
}
a:hover .details {
	visibility: visible;
	opacity: 1;
}
/*	Tableaux	*/
 table {
	border-radius: 4px;
	border-collapse: collapse;
	background: #fff;
}
td {
	padding: 0;
	border-radius: 4px;
}
.tableaux {
	padding: 0;
	text-align: center;
}
.tableaux table {
	display: inline-block;
	margin: 0 0 8px;
	border: solid 1px #888;
	box-shadow: 0 0 8px 0 #ccc;
	font-size: 12px;
	text-align: left;
}
.tableaux tbody tr:nth-child(odd) {
	background: #f5f3f0;
}
.tableaux tbody tr:hover, .tableaux tbody tr:hover a {
	background: #e70;
	color: #fff;
}
.tableaux tbody tr:hover a {
	text-shadow: #c60 0 -1px 0;
}
.tableaux th {
	padding: 4px 8px;
	color: #888;
	text-align: center;
}
.tableaux th:nth-child(n+2) {
	border-left: solid 1px #f5f3f0;
}
.tableaux .corbeille td {
	padding: 0 8px;
}
.tableaux td a, .tableaux td a:hover {
	padding: 0 8px;
	display: block;
}
.tableaux td a em {
	color: #888;
}

/*	Formulaires	*/
form {
	position: relative;
}
fieldset {
	margin: 0 0 8px;
	padding: 0 8px 8px;
	border: solid 1px rgba(0,0,0,0.2);
	border-radius: 6px;
	background: #fff;
	font-size: 12px;
	color: #888;
	vertical-align: bottom;
}
legend {
	margin: 0 16px;
	padding: 0 4px;
	border-radius: 4px;
	background: #ffffff;
	font-weight: bold;
	text-transform: uppercase;
}
label {
	width: 88px;
	margin: 0 0 8px;
	display:inline-block;
}
fieldset fieldset {
	margin: 0 0 4px;
	padding: 4px 8px;
	border: dotted 1px #68d;
	overflow: hidden;
	box-shadow: none;
	color: #68d;
	transition: 300ms;
	
}
fieldset fieldset legend {
	text-transform: none;
}
input,
textarea,
select {
	padding: 4px 8px;
	border: solid 1px rgba(0,0,0,0.2);
	border-radius: 3px;
	font-size: 14px;
}
textarea {
	box-sizing: border-box;
	width: 100%;
	max-height: 480px;
	margin: 0 0 4px;
	resize: vertical;
}
select {
	background: linear-gradient(#fff, #f0f0f0);
	color: rgba(0,0,0,0.75);
}
#main_form p {
	position: sticky;
	bottom: 0;
	padding: 4px;
	clear: both;
	background: #ffffff;
	box-shadow: 0 0 16px rgba(0,0,0,0.1), 0 0 4px rgba(0,0,0,0.1);
}
.form_g {
	margin: 0 8px 8px 0;
	float: left;
}
.stepControl {
	margin: -18px 0 0 2px;
	position: absolute;
}
#validate {
	min-height: 48px;
	width: 100%;
	border: solid 1px #e0e2e5;
	border-radius: 4px;
	background: linear-gradient(#fff 33%, #e0e2e5);
	text-shadow: 0 2px 0 #fff, 0 0 4px #bdbabc;
	font-size: 150%;
	color: #347;
}
#validate:hover {
	border: solid 1px #e70;
	background: linear-gradient(#e0e2e5, #fff 33%);
	color: #c60;
}


#horairePlus {
	margin: 0 0 0 90px;
}

#etablissements>div {
	margin: 0 0 8px;
	border-bottom: dotted 1px #888;
}
/*	Footer	*/
footer {
	padding: 2px;
	clear: both;
	font-size: 70%;
	color: #347;
	text-align: center;
}

.oRed {
	color: #f04;
}
.oBrown {
	color: #654;
}
.oBlack {
	color: #000;
}
/*	Fiche	*/
dl {
	margin: 0;
	clear: both;
}

dt {
	width: 128px;
	margin: 0 0 0 -136px;	padding: 0 8px;
	float: left;
	clear: both;
	position: relative;
	left: 136px;
}
dd {
	max-width: calc(100% - 160px);
	margin: 2px 0;	padding: 0 8px 0 144px;
	display: inline;
	float: left;
}
#fiche {
	border: solid 1px #aaa;
	border-radius: 4px;
	overflow: auto;
}
#fiche dl a, #fiche h3 a {
	border-bottom: dashed 1px #347;
}
#fiche dl a:hover, #fiche h3 a:hover {
	border-bottom: dashed 1px #e70;
}
.fiche_gauche, .fiche_droite {
	padding: 0 8px 8px;
	border-top: solid 1px #aaa;
	overflow: auto;
	position: relative;
	bottom: 1px;
}
.fiche_gauche {
	min-width: 320px;	max-width: 50%;
	float: left;
	border-right: solid 1px #aaa;
}
.fiche_droite {
	right: 1px;
	margin: 0 0 -1px 0;
	border-left: solid 1px #aaa;
}
.fiche_cache {
	visibility: hidden;
	max-height: 0px;
	display: block;
	overflow: hidden;
	display: block;
	clear: both;
	transition: 600ms;
}
.fiche_info {
	padding: 6px 0 0;
	display: inline-block;
	float: right;
	font-size: 55%;
	text-align: right;
	color: #888;
}
.fiche_info p {
	margin: 0;
}
.fiche_gauche:hover .fiche_cache {
	visibility: visible;
	max-height: 200px;
}

.bad_log, .good_log  {
	margin: 4px 8px;	padding: 2px 8px;
	border-radius: 4px;
	display: block;
	font-size: 80%;
	font-weight: bold;
	color: #fff;
}
.bad_log em, .good_log em  {
	font-weight: normal;
}
.bad_log {
	background: #f04;
}
.good_log {
	background: #5a3;
}
.warning_log {
	background: #f74;
}
.compteur_pages {
	width: 100%;
	margin: -42px 0 0;
	position: absolute;
	text-align: center;
}
.compteur_pages p {
	display: inline-block;
}

.bouton_mini {
	padding: 4px 8px;
	display: inline-block;
	border: solid 1px #e0e2e5;
	border-radius: 3px;
	background: linear-gradient(#ffffff, #f0f0f0);
	font-size: 14px;
	color: #347;
	cursor: pointer;
}
.bouton_mini:hover {
	border: solid 1px #e70;
	background: linear-gradient(#f0f0f0, #ffffff);
	color: #e70;
}
legend .bouton_mini {
	position: absolute;
	margin: -2px 0 0 -22px;	padding: 0 6px;
}
input.bouton_mini {
	color: #e70;
}


#statistiques {
	display: flex;
	flex-wrap: wrap;
}
#statistiques>h2 {
	width: 100%;
}
#statistiques>form {
	box-sizing: border-box;
	width: 320px;
	margin: 8px;
	padding: 2px;
	border: solid 1px rgba(0,0,0,0.2);
	border-radius: 3px;
}
#statistiques>form>h3 {
	float: none;
}
#statistiques>form>div {
	border: solid 1px rgba(0,0,0,0.2);
	border-radius: 3px;
}
#statistiques>form>div>input {
	margin: 2px;
	display: inline-block;
}
#statistiques>form>ul {
	display: flex;
	flex-wrap: wrap;
}
#statistiques>form>ul>li {
	margin: 2px;
	padding: 4px;
	border: solid 1px rgba(0,0,0,0.2);
	border-radius: 3px;
}

