@charset "utf-8";

/* --------------------------------------------------------------{ Général }-------------------------------------------------------------- */
body {
	margin: 0;
	padding: 10px;
	font-family: "Trebuchet MS", Verdana, "Lucida Grande", Tahoma, Helvetica, Sans-Serif;
	font-size: 90%;
	line-height: 1.3;
	background: #fff;
	color: #321f3f;
	padding: 0 10px;
}
.droite {
	float: right;
}

.description {
	font-size: 1.4em;
	color: #8652F4;
	margin: 0;
}

#structure {
	border-collapse: collapse;
	background: #fff;
	table-layout: fixed;
	margin: 0 auto;
	width: 100%;
	min-width: 960px;
}
#structure td {
	background: #fff;
	vertical-align: top;
	padding: 0;
}
td#gauche {
	width: 220px;
	text-align: center;
} 
td#gauche h1 {
	height: 230px;
} 
td#centre {
	padding: 60px 20px 0;
	text-align: center;
	position: relative;
}
td#droite { 
	width: 220px;
	padding-top: 20px;
	text-align: center;
} 
#connect td#centre {
	padding-top: 1px;
}
#connect td#droite {
	padding-top: 40px;
}

h1 {
	padding: 10px 0;
	margin: 0;
	color: #8652F4;
}
ul {
	margin: 0;
	padding: 0;
}
.logos {
	float: right;
	width: 270px;
	margin: 0;
	text-align: center;
}
.actions {
	margin-top: 30px;
}
.actions a, .bouton, .ajout {
	background: #51187f;
	background: -moz-linear-gradient(90deg, #51187f 25%, #7422b7 75%);
	background: -webkit-gradient(linear, left bottom, left top, color-stop(0.25, #51187f), color-stop(0.75, #7422b7));
	-moz-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	border: 1px solid #000;
	color: #ebebeb;
	text-shadow: 1px 1px 0 #000;
	text-decoration: none;
	font-weight: bold;
	padding: 10px 15px;
	margin: 10px 5px;
	display: inline-block;
	outline: none;
}

.actions a {
	display: block;
}

.actions a:hover, 
.actions a:focus, 
.bouton:hover, 
.bouton:focus {
	color: #fff;
	background: #39134c;
	background: -moz-linear-gradient(90deg, #39134c 25%, #5a1f7b 75%);
	background: -webkit-gradient(linear, left bottom, left top, color-stop(0.25, #39134c), color-stop(0.75, #5a1f7b));
}

.actions .active, 
.actions a:active, 
.bouton:active {
	background: #9232c7;
	background: -moz-linear-gradient(90deg, #9232c7 25%, #b43ffb 75%);
	background: -webkit-gradient(linear, left bottom, left top, color-stop(0.25, #9232c7), color-stop(0.75, #b43ffb));
	color: #eee;
	text-shadow: 1px 1px 0 #000;
}

.disconnect {
	background: #83051e;
	background: -moz-linear-gradient(90deg, #83051e 25%, #bf072c 75%);
	background: -webkit-gradient(linear, left bottom, left top, color-stop(0.25, #83051e), color-stop(0.75, #bf072c));
	-moz-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	border: 1px solid #000;
	color: #fff;
	text-shadow: 1px 1px 0 #000;
	text-decoration: none;
	font-weight: bold;
	padding: 5px 10px;
	margin: 0 10px 0 0;
	display: inline-block;
	outline: none;
}

.disconnect:hover, 
.disconnect:focus {
	background: #630317;
	background: -moz-linear-gradient(90deg, #630317 25%, #A70627 75%);
	background: -webkit-gradient(linear, left bottom, left top, color-stop(0.25, #630317), color-stop(0.75, #A70627));
}

.disconnect:active {
	/*background: #FF4C75;
	background: -moz-linear-gradient(90deg, #FF4C75 25%, #FF809D 75%);
	background: -webkit-gradient(linear, left bottom, left top, color-stop(0.25, #FF4C75), color-stop(0.75, #FF809D));*/
	color: #000;
	text-shadow: 1px 1px 0 #eee;
}

form#page input#return {
	width:auto;
}

form input#return, .annuler {
	background: #B254BF;
	background: -moz-linear-gradient(90deg, #B254BF 25%, #D867EB 75%);
	background: -webkit-gradient(linear, left bottom, left top, color-stop(0.25, #B254BF), color-stop(0.75, #D867EB));
	-moz-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	border: 1px solid #000;
	color: #fff;
	text-shadow: 1px 1px 0 #000;
	text-decoration: none;
	font-weight: bold;
	padding: 5px 10px;
	margin: 0 10px 0 0;
	display: inline-block;
	outline: none;
	width: auto;
}

form input#return:hover, 
form input#return:focus, 
.annuler:hover, 
.annuler:focus {
	background: #854193;
	background: -moz-linear-gradient(90deg, #854193 25%, #AA52BB 75%);
	background: -webkit-gradient(linear, left bottom, left top, color-stop(0.25, #854193), color-stop(0.75, #AA52BB));
}

form input#return:active, .annuler:active {
	background: #EE70FF;
	background: -moz-linear-gradient(90deg, #EE70FF 25%, #F1A0FF 75%);
	background: -webkit-gradient(linear, left bottom, left top, color-stop(0.25, #EE70FF), color-stop(0.75, #F1A0FF));
	color: #000;
	text-shadow: 1px 1px 0 #eee;
}

.crediteur {
	color: #291554;
}
.debiteur {
	color: red;
}

.liens {
	width: 400px;
	margin: 10px auto;
	text-align: center;
}
.liens a, 
.liens a:visited {
	margin: 0 5px;
	text-decoration: underline;
	color: #8152EC;
}
.liens a:hover, 
.liens a:focus, 
.liens a:active {
	color: #250C50;
}
.liens a.active {
	color: #9232c7;
	text-decoration: none;
}

a img {
	border: none;
}
.indication {
	font-weight:bold;
	color: green;
	border: 1px solid;
	background: honeydew;
	padding: 4px 6px;
}


/* --------------------------------------------------------------{ Historique }-------------------------------------------------------------- */
#historique form {
	width: 380px;
	/*margin: 10px auto;*/
	padding: 5px 10px;
	text-align: center;
}
#historique select {
	width: 50px;
}
#historique #submit {
	padding: 2px 5px;
}
#historique table {
	border-collapse: collapse;
	margin: 10px auto;
	table-layout: fixed;
}
#historique table td {
	background: #EFE0FF;
	padding: 4px 6px;
}
#structure #historique table {
	width: 400px;
	margin: 0 auto;
}
th, td {
	border: 1px solid #fff;
	padding: 4px 6px;
	overflow: hidden;
}
#structure #historique th, #structure #historique td {
	width: 33%;
}
th {
	background: #39134c;
	color: #fff;
}
.pagination a:link, 
.pagination a:visited {
	text-decoration: none;
	color: #B254BF;
}
.info {
	padding: 10px 40px;
}

/* --------------------------------------------------------------{ Formulaire }-------------------------------------------------------------- */
form {
	text-align: left;
	padding: 10px;
	margin: 30px auto 10px;
	-moz-box-shadow: 0 0 5px #b8b8b8;
	-webkit-box-shadow: 0 0 5px #b8b8b8;
	box-shadow: 0 0 5px #b8b8b8;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	border: 1px solid #0f0f0f;
	background: #d0cef6;
	background: -moz-linear-gradient(270deg, #afacef, #f5f4ff);
	background: -webkit-gradient(linear, left top, left bottom, from(#afacef), to(#f5f4ff));
}
fieldset {
	margin-bottom: 20px;
	padding: 5px 5px 10px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	border: 1px solid #0f0f0f;
}
legend {
	font-size: 130%;
	font-weight: bold;
	padding: 0 5px;
	color: #561f91;
	text-shadow: 0 1px 0 #e4cdfb;
}
input, textarea, select, span, label {
	vertical-align: middle;
	display: inline-block;
	margin-right: 5px;
}
textarea {
	overflow: auto;
	height: 100px;
}
label {
	margin-right: 5px;
	text-align: right;
	font-weight: bold;
}
label.textarea {
	vertical-align: top;
}
label:hover {
	color: #7937c7;
	cursor: pointer;
}
input[type=radio]:checked + label {
	color: inherit;
	cursor: default;
}
label.not_hover, label.not_hover:hover {	/* pour IE < 9 */
	color: #48404a;
	cursor: default;
}
input[type=text], 
input[type=password], 
select, 
textarea {
	width: 150px;
	padding: 2px;
	border: 1px solid #737373;
}
:root input[type=text], 
:root input[type=password], 
:root select, 
:root textarea {
	background: #f7f7f7;
	background: -moz-linear-gradient(90deg, #fff, #f7f7f7);
	background: -webkit-gradient(linear, left bottom, left top, from(#fff), to(#f7f7f7));
	-moz-box-shadow: 0 0 8px #aaa;
	-webkit-box-shadow: 0 0 8px #aaa;
	box-shadow: 0 0 8px #aaa;
	
}
input[type=text]:focus, 
input[type=password]:focus, 
select:focus, 
textarea:focus {
	background: #fff;
	border-color: #0f0f0f;
	-moz-box-shadow: 0 0 8px #7937c7;
	-webkit-box-shadow: 0 0 8px #7937c7;
	box-shadow: 0 0 5px #7937c7;
	outline: none;
}
input[readonly=readonly]:not(:checked), 
input[disabled=disabled]:not(:checked) {
	border: 1px solid #b4b4b4;
	background: #ebebeb;
}
input[readonly=readonly]:not(:checked):focus {
	border: 1px solid #b4b4b4;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}
#submit, 
.ajout,
.valider {
	background: #3c3c3c;
	background: -moz-linear-gradient(90deg, #282828 25%, #505050 75%);
	background: -webkit-gradient(linear, left bottom, left top, color-stop(0.25, #282828), color-stop(0.75, #505050));
	-moz-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	border: 1px solid #000;
	color: #fff;
	text-shadow: 1px 1px 0 #000;
	cursor: pointer;
	font-weight: bold;
	padding: 5px 15px;
	margin: 0;
	outline: none;
}

#submit:hover, 
#submit:focus, 
.ajout:hover, 
.ajout:focus, 
.valider:hover, 
.valider:focus {
	background: #141414;
	background: -moz-linear-gradient(90deg, #000 25%, #282828 75%);
	background: -webkit-gradient(linear, left bottom, left top, color-stop(0.25, #000), color-stop(0.75, #282828));
}

#submit:active, .ajout:active, .valider:active {
	background: #919191;
	background: -moz-linear-gradient(90deg, #7d7d7d 25%, #a5a5a5 75%);
	background: -webkit-gradient(linear, left bottom, left top, color-stop(0.25, #7d7d7d), color-stop(0.75, #a5a5a5));
	color: #000;
	text-shadow: 1px 1px 0 #eee;
}

/* --------------------------------------------------------------{ Formulaire / Spécifiques }-------------------------------------------------------------- */
.advice {
	color: #2d004f;
	font-style: italic;
}

.mefiage {
	padding: 5px 15px;
	text-align: center;
	font-size: 110%;
	color: #fff;
	text-shadow: 0 1px 0 #000;
	background: #ad0627;
	background: -moz-linear-gradient(90deg, #ad0627, #cc062e);
	background: -webkit-gradient(linear, left bottom, left top, from(#ad0627), to(#cc062e));
	-moz-box-shadow: 0 0 3px #b8b8b8;
	-webkit-box-shadow: 0 0 3px #b8b8b8;
	box-shadow: 0 0 3px #b8b8b8;
	border: 1px solid #000;
}

#maj_version .mefiage {
	text-align: center;
	display: block;
}
#index {
	width: 340px;
	margin: 30px auto;
}
#index form {
	padding: 10px 0;
}
#index label {
	width: 140px;
}
#index #submit {
	margin-left: 150px;
}
#index .erreur span {
	margin-left: 140px;
}
#version label {
	width: 50px;
}
#version em {
	background-color: #92efaa; /* #8652F4; */
}

#version #titre {
	width: 600px;
}
#version #url {
	width: 100px;
}
#login form {
	margin: 30px auto 60px;
	width: 380px;
	padding: 5px 10px;
	text-align: center;
}
#login label {
	width: 120px;
}
#login #code_personnel {
	width: 40px;
}
#login #submit {
	padding: 2px 5px;
}
#ca form {
	width: 400px;
	text-align: center;
}
#crediter, #remboursement {
	width: 240px;
	margin: 30px auto;
	text-align: center;
}
#crediter input, #remboursement input {
	width: 40px;
	text-align: right;
}
#crediter #submit, #remboursement #submit {
	width: auto;
	text-align: center;
}

#contact {
	width: 400px;
	margin: 30px auto;
}
#contact label {
	display: block;
	text-align: left;
	margin-bottom: 5px;
}
#contact input, #contact textarea {
	width: 390px;
}
#contact textarea {
	height: 150px;
}
#contact #submit {
	width: auto;
}

#activation {
	width: 400px;
	margin: 30px auto;
	padding-top: 10px;
}
#activation label {
	width: 140px;
}
#activation #submit {
	margin-left: 150px;
	width: auto;
}


/* --------------------------------------------------------------{ Erreurs }-------------------------------------------------------------- */
.erreur {
	color: #ad0627;
}
legend.erreur {
	text-shadow: none;
}
.erreur input[type=text], 
.erreur input[type=password], 
.erreur select, 
.erreur textarea {
	border-color: #af0627;
	background: #fff;
}
:root .erreur input[type=text], 
:root .erreur input[type=password], 
:root .erreur select, 
:root .erreur textarea {
	background: -moz-linear-gradient(90deg, #fff, #fff8f8);
	background: -webkit-gradient(linear, left bottom, left top, from(#fff), to(#fff8f8));
}

.erreur input[type=text]:focus, 
.erreur input[type=password]:focus, 
.erreur textarea:focus {
	border-color: #1f1817;
	background: #fff;
}
.erreur span, span.erreur {
	background: url(error.png) left 2px no-repeat;
	color: #B20628;
	font-weight: bold;
	padding-left: 18px;
}
.erreur span.aide {
	display: none;
}
