/* Tags par défaut */

body{
	font-family:"frutiger linotype","lucida grande",helvetica,arial,sans-serif;
	color:#333;
	font-size: 0.8em;
	margin: 0;
	padding: 0;
}

a {
	color:#2D5B77;
	text-decoration:underline;
}

a:hover{
	text-decoration:none;
}

img {
	border: none;
}

h1{
	color: #333;
	margin:0.3em 0;
	font-size: 180%;
}

h2{
	color:#333;
	padding-top: 1em;
	margin:0.3em 0;
	font-size: 130%;
}

#header {
	width: 100%;
	text-align: right;
	height: 122px;
	background: url(../img/htop.gif) repeat-x;
}

#menu {
	height: 25px;
	background: url(../img/hmenu.gif) repeat-x;
	margin:0;
	padding: 0 10px 0 0;
	line-height: 23px;
	text-align: right;
	color: #ddd;
}

#menu a {
	text-decoration: none;
	color: #ddd;
	font-weight: bold;
}

#menu a:hover {
	color: #fff;
}

content {
	clear: both;
}

/* Colonne de gauche */

#leftcol {
	float: left;
	width: 200px;
}

#leftcol ul {
	list-style-type: none;
	list-style-position: outside;
	margin: 0;
	background: #eee;
	padding: 15px;
}

#leftcol ul li {
	border-bottom: 1px dashed #ddd;
	line-height: 26px;
	background-color: #fefefe;
	width: 100%;
}

#leftcol ul li a {
	display: block;
	height: 26px;
	padding: 3px 0 0 2px;
	text-decoration: none;
}

#leftcol ul li a:hover {
	background-color: #eee;
}

#rightcol {
	width: 90%;
	margin-left: 10px;
}

#footer {
	clear: both;
	margin: 15px 0;
	padding: 15px 0;
	text-align: center;
	border-top: 1px solid #ccc;
}

#content {

}

/* Tableaux */

table.data {
	width: 100%;
	border: 1px solid #ccc;
	color:#333;
	background-color: #fff;
	padding: 0;
	margin: 8px 0;
	white-space: normal;
	border-collapse: collapse;
	border-spacing: 0;
}
table.data th {
	background-color: #eee;
	text-align: center;
	padding:4px 4px;
}
table.data tr td {
	border-right: 1px solid #ccc;
	padding:4px 4px;
	vertical-align:top;
	text-align: center;
}
table.data tr:hover>td{
	background-color:#eee;
}

/* Cartes */

table.data_carte {
	width: 400px;
	border: 1px solid #ccc;
	color:#333;
	background-color: #fff;
	padding: 0;
	margin: 8px 0;
	white-space: normal;
	border-collapse: collapse;
	border-spacing: 0;
}

table.data_carte th {
	background-color: #eee;
	text-align: center;
	padding:4px 4px;
}

table.data_carte tr td {
	border-right: 1px solid #ccc;
	padding:4px 4px;
	vertical-align:top;
}

/* Sous-Cartes */

table.data_scarte {
	width: 400px;
	border: 1px solid #ccc;
	color:#333;
	background-color: #fff;
	padding: 0;
	margin: 8px 0;
	white-space: normal;
	border-collapse: collapse;
	border-spacing: 0;
}

table.data_scarte th {
	background-color: #eee;
	text-align: center;
	padding:4px 4px;
}

table.data_scarte tr td {
	border-right: 1px solid #ccc;
	padding:4px 4px;
	vertical-align:top;
}

table.data_scarte tr:hover>td{
	background-color:#eee;
}

/* Formulaires */

form {
	margin: 5px 0;
	text-align:left;
}

fieldset {
	border: 1px solid #ccc;
	color: #333;
	margin-bottom: 10px;
}

legend {
	color: #333;
	background: #fff;
	border: 1px solid #ccc;
	padding: 2px 6px;
	font-weight:bold;
	margin-bottom:10px;
}

label {
	width: 185px;
	float: left;
	text-align: right;
	margin-right: 0.5em;
	display: block;
	margin: 3px;
	clear:both;
}

input, select, textarea {
    margin: 3px;
}

fieldset span {
	margin: 3px;
}

#rightcol fieldset img {
	margin: 3px;
}

fieldset hr {
	display: block;
	color: #8c8685;
	background-color: #ccc;
	height: 1px;
	border: 0;
	clear: both;
}

input[type='text']:hover, input[type='password']:hover,
textarea:hover, select:hover {
	border: 1px solid #666;
}

input[type='text']:focus, input[type='password']:focus,
textarea:focus, select:focus {
	border: 1px solid #000;
}

input[type='text'], input[type='password'],
textarea, select {
	border: 1px solid #999;
}

textarea, input, select {
	font-family:"frutiger linotype","lucida grande",helvetica,arial,sans-serif;
	color:#333;
}

/* Autocomplete */

div.auto_complete {
    position:absolute;
    white-space:nowrap;
    background-color:#5699A7;
    color: #fff;
    border:1px solid #888;
    margin:0px;
    padding:0px;
}

div.auto_complete ul {
    list-style-type:none;
    margin:0px;
    padding:0px;
}

div.auto_complete ul li.selected {
    background-color: #fff;
    color: #5699A7;
}

div.auto_complete ul li {
    list-style-type:none;
    display:block;
    margin:0;
    padding:4px;
    cursor:pointer;
}

/* Style personalisés */

.nouvelle {
	font-weight: bold;
}

.outil {
	display: block;
	height: 26px;
	padding: 3px 0 0 2px;
	text-decoration: none;
	font-size: 1.2em;
	color: #2D5B77;
	font-weight: bold;
	text-align: left;
	background-color: #eee !important;
}

.pair {
	background-color: #f3f3f3;
}

.impair {
	background-color: #fff;
}

.nouveau {
	background-color: #fffccc !important;
}

.gauche {
	text-align: left !important;
}

.droite {
	text-align: right !important;
}

.large {
	width: 200px;
}

.error_message {
	background-color: #fdf2f2;
	border-top: 1px solid #fbe6e6;
	border-bottom: 1px solid #fbe6e6;
	padding: 4px 4px 4px 26px;
	color: #000;
	font-weight: bold;
	background: url(../img/cancel.gif) no-repeat 0% 50%;
	margin: 10px 0 5px 0;
}

.success_message {
	background-color: #efe;
	border-top: 1px solid #ded;
	border-bottom: 1px solid #ded;
	padding: 4px 4px 4px 26px;
	color: #000;
	font-weight: bold;
	background: url(../img/checkmark.gif) no-repeat 0% 50%;
	margin: 10px 0 5px 0;
}

div.photo_m {
	float: left;
	width: 164px;
	padding: 10px;
	text-align: center;
	border: 1px solid #ccc;
	margin: 5px;
}

div.photo_m:hover {
	background-color: #ddd;
}

div.notice {
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	padding: 0px 4px 4px 42px;
	color: #000;
	background: #f3f3f3 url(..img/info.gif) no-repeat 4px 50%;
	margin: 10px 0;
}

.code {
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	background-color: #eee;
	font-size: 110%;
	padding: 5px 10px;
}