/* ================================ GENERAL  ================================ */
/* 
 * bleu #5d5d9a
 * orange #d68c03
 * bleu h2 #70548c
 * bleu h3 #614979
 */
* { font-family: Verdana, Helvetica, Arial, sans-serif; font-size: small; }
body { background-color: #f8f6f6; }
acronym { cursor: help; }
form { margin: 0; padding: 0; }
textarea { border: solid 1px #70548c; width: 99%; }
input[type='text'], input[type='password'] { border: solid 1px #70548c; }
dl, li { margin: 0; padding: 0; }
ul, ol { margin: .5em 0 0 2em; padding: 0; }
ul { list-style-image: url(images/ulpuce.gif); }
ol { list-style-type: decimal; list-style-image: none; }
em { color: #666; }
a { text-decoration: none; color: #5d5d9a; }
a:hover { color: #d68c03; }
textarea { font-family: "Courier New",Courier,monospace; font-size: 1em; }
div.error { font-size: 1em; color: #fff; font-weight: bold; padding: 3px 3px 3px 20px; background: #f00 url(images/error.png) 3px 4px no-repeat; border-bottom: solid 1px #000; border-top: solid 1px #000; }
div.success { font-size: 1em; color: #fff; font-weight: bold; padding: 3px 3px 3px 20px; background: #3f3 url(images/thumbup.gif) 1px 1px no-repeat; border-bottom: solid 1px #000; border-top: solid 1px #000; }
sup, sub { font-size: .7em; }
.user { display: none; }
hr.clear{ clear: both; visibility: hidden; }

/* ================================= HEADER ================================= */
#header { margin: 0 0 0 286px; background: url(images/header_bg.png); }
#header #logo { position: absolute; left: 0; top: 0; height: 100px; width: 286px; background: transparent url(images/header.png) no-repeat; }

/* ================================== MENU ================================== */
#header #menu { position: absolute; top: 55px; margin-left: -20px; }
#header #menu ul { list-style: none; margin: 0px; }
#header #menu ul li { float: left; margin-right: 20px; }
#header #menu ul li a { color: #5d5d9a; text-decoration: none; font-size: 1.2em; font-weight: bold; font-family: "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif; }
#header #menu ul li a:hover { color: #d68c03; }
#header #menu ul li:hover ul{ display: block; }
#header #menu ul li ul { display: none; position: absolute; padding: 3px; border: solid 2px #5d5d9a; background-color: #fff; }
#header #menu ul li ul li { float: none; display: block; }

/* ============================== SEARCH FORM =============================== */
#searchform { float: right; margin: 50px 5px 0 0; }
#searchform input { border: solid 1px #5d5d9a; margin-left: 1em; }
#searchform input.edit { width: 10em; }

/* ============================== SEARCH ============================= */
.search_result { background-color: #e9e9e9; border: solid 1px #999; padding: 5px 0 0 5px; margin-top: 10px;}
.search_snippet { background-color: #fff; border-top: solid 1px #999; border-left: solid 1px #999; padding: 5px; margin: 2px 0 0 -6px; }
.search_hit { background-color: #75f31d; color: #fff; }
#qsearch_out { display: none; background: #fff; border: solid 1px #70548c; padding: 5px; position: absolute; right: 20em; top: 84px; }

/* =============================== NAVIGATION =============================== */
#navigation ul { list-style: none; margin: 0; padding: 0; }
#navigation ul li { display: inline; padding: 0 .5em 0 .5em;  }
#navigation ul li a { color: #70548c; font-weight: bold; }
#navigation ul li a:hover { color: #c4891b; font-weight: bold; }

/* ================================= INDEX ================================== */
.idx li { list-style-image: url(images/page.gif); }
.idx li.closed { list-style-image: url(images/folder.gif); }
.idx li.open { list-style-image: url(images/folderopen.gif); }

/* ================================ HEADERS ================================= */
h1 {
	font-family: "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
	font-size: 1.5em;
	font-variant: small-caps;
	color: #d68c03;
	border-bottom: solid 2px #d68c03;
	margin: 0;
}
h2 {
	font-size: 1em;
	font-variant: small-caps;
	color: #70548c;
	border-bottom: solid 1px #70548c;
	margin: 1em 0 0 2em;
	background: url(images/puce.png) no-repeat 0 .5em;
	padding: 0 0 0 1em;
}
h3 {
	font-size: 1em;
	color: #614979;
	border-bottom: solid 1px #bbb;
	margin: 1em 0 0 3em;
	background: url(images/puce2.png) no-repeat 0 .5em;
	padding: 0 0 0 1em;
}
h4 {
	font-size: 1em;
	color: #614979;
	border-bottom: solid 1px #ddd;
	margin: 1em 0 0 4em;
}
h5 {
	font-size: 1em;
	color: #614979;
	border-bottom: dotted 1px #ddd;
	margin: 1em 0 0 5em;
}

/* ================================= LEVELS ================================= */
div.level1 { margin: 1em 0 0 0; }
h1+div.level1 { margin: -2px 0 0 0; padding-top: 2px; background: url(images/h1.png) no-repeat; min-height: .5em; }
div.level2 { margin: 1em 0 0 3em; }
h2+div.level2 { margin: -1px 0 0 2em; padding-top: 2px; background: url(images/h2.png) no-repeat; min-height: .5em; }
div.level3 { margin: 1em 0 0 4em; }
h3+div.level3 { margin: -1px 0 0 3em; padding-top: 2px; background: url(images/h3.png) no-repeat; min-height: .5em; }
div.level4 { margin: 1em 0 0 5em; }
h4+div.level4 { margin: -1px 0 0 4em; padding-top: 2px; }
div.level5 { margin: 1em 0 0 6em; }
h5+div.level5 { margin: -1px 0 0 5em; padding-top: 2px; }

/* =================================== TOC ================================== */
#content div.toc { margin-left: 10px; margin-bottom: 10px; }
#content div.toc .tocheader { background-color: #d68c03; color: #fff; font-weight: bold;	padding: 2px 5px 2px 5px; }
#content div.toc .tocheader a { color: #fff; font-weight: bold; text-decoration: none; }
#content div.toc #tocinside { margin: 0 0 0 20px; padding: 3px; }
#content div.toc #tocinside ul.toc { margin: 0; padding: 0; list-style-image: url(images/tocpuce.gif);}
#content div.toc #tocinside ul.toc li.level1 { margin: 0; list-style-type: none; }
#content div.toc #tocinside ul.toc li.level1 li { margin: 0 0 0 15px; }
#content div.toc #tocinside ul.toc li.level1 a { color: #d68c03; font-weight: bold; }
#content div.toc #tocinside ul.toc li.level1 a:hover { text-decoration: underline; }
#content div.toc #tocinside ul.toc li.level2 a { color: #70548c; font-weight: normal; }
#content div.toc #tocinside ul.toc li.level2 a:hover { color: #d68c03; text-decoration: none; }
#content div.toc #tocinside ul.toc li.level3 a { color: #614979; }

/* =================================== EDIT ================================= */
.secedit { text-align: right; }
.secedit .button .button { border: solid 1px #000000; }

/* ================================== FORMS ================================= */
form fieldset {
	width: 300px;
}
form fieldset label {
	text-align: right;
	display: block;
}

/* ================================= TABLES ================================= */
#content table { margin: 5px 0 5px 0; border: solid 1px #999; border-collapse: collapse; }
#content table th { border: solid 1px #999; background-color: #eee; padding: 2px 5px 2px 5px; }
#content table td { border: solid 1px #ccc; padding: 2px 5px 2px 5px; }
#content table td.rightalign { text-align: right; }
#content table td.centeralign { text-align: center; }
#content table td.leftalign { text-align: left; }
#content table tr:hover { background-color: #ffffe5; }

/* =============================== PARAGRAPH ================================ */
p { margin: .5em 0 0 0; }

/* ================================== PRE =================================== */
pre {
	padding: 2px;
	border: 1px dotted #8cacbb;
	color: #000000;

	overflow: auto;
}

/* ================================= CODE =================================== */
.code { 
	background: #fffff5 url(images/code.png) no-repeat;
	padding: 21px 2px 2px 4px; 
	font-family: "Courier New",Courier,monospace;
	white-space: pre;
	border-left: solid 2px #a5a3af;
}
pre.php { background-image: url(images/codephp.png); }
pre.actionscript { background-image: url(images/codeactionscript.png); }
pre.css { background-image: url(images/codecss.png); }
pre.html4strict { background-image: url(images/codehtml.png); }
pre.javascript { background-image: url(images/codejavascript.png); }
pre.bash { background-image: url(images/codebash.png); }

pre * { background-color: #fffff5; font-size: 1em; font-family: "Courier New",Courier,monospace; }
pre.code .br0	{ color: #66cc66; }
pre.code .co1	{ color: #808080; font-style: normal; background-color: #f0f0f0; }
pre.code .co2	{ color: #808080; font-style: normal; background-color: #f0f0f0; }
pre.code .coMULTI	{ color: #808080; font-style: normal; background-color: #f0f0f0; }
pre.code .es0	{ color: #000099; font-weight: normal; }
pre.code .kw1	{ color: #b1b100; }
pre.code .kw2	{ color: #000000; font-weight: normal; }
pre.code .kw3	{ color: #000066; }
pre.code .kw4	{ color: #993333; }
pre.code .kw5	{ color: #7777ff; }
pre.code .me0	{ color: #006600; }
pre.code .nu0	{ color: #cc66cc; }
pre.code .re0	{ color: #7777ff; }
pre.code .re1	{ color: #7777ff; }
pre.code .re2	{ color: #7777ff; }
pre.code .re4	{ color: #009999; }
pre.code .sc0	{ color: #00bbdd; }
pre.code .sc1	{ color: #ddbb00; }
pre.code .sc2	{ color: #009900; }
pre.code .st0	{ color: #0000ff; }
code { background-color: #fffff5; border: 1px dotted #8cacbb; font-size: 1em; font-family: "Courier New",Courier,monospace; }

/* ================================ PREVIEW ================================= */
.preview { border: dotted 1px #999; margin: 1em; padding: 1em; }

/* ============================== BLOCKQUOTE ================================ */
blockquote { border-left: solid 2px #a58fbb; margin: 0; padding: 0 0 0 .5em; }

/* ================================= IMAGES ================================= */
img { border: none; }
img.media { margin: 3px; }
img.medialeft { float: left;  margin: 0 3px 0 0; }
img.mediaright { float: right; margin: 0 0 0 3px; }
img.mediacenter { display: block;  margin-left: auto;  margin-right: auto; }

/* ================================== LINKS ================================= */
.interwiki { background-image: url(../../images/interwiki/doku.gif); background-repeat: no-repeat; padding-left: 18px; }
.urlextern { background-image: url(images/link_icon.gif); background-position: 0px -1px; background-repeat: no-repeat; padding-left: 18px; }
.mail { background-image: url(images/mail_icon.gif); background-repeat: no-repeat; padding-left: 18px; }
/* Lien interne qui existe */
.wikilink1 { }
/* Lien interne qui n'existe pas */
.wikilink2 { color: #5d5d9a}

/* ================================ FOOTNOTE ================================ */
.fn { border-top: dashed 1px #999; background-color: #ffe; margin-top: 20px; }
.fn+.fn { border-top: none; margin-top: 0; }
.fn_top { font-size: .7em; vertical-align: super; }
.fn_bot { font-size: .7em; vertical-align: super; }

/* ================================== DIFF ================================== */
.diff-deletedline { background-color: #ff9999; }
.diff-addedline { background-color: #9999ff; }
.diffchange { background-color: #ffff66;}

/* ================================= MEDIA ================================== */
#media ul { margin: 0px 0px 0px 10px; padding: 0px; }
#media li { margin-left: 15px; list-style-image: url(images/folder.gif); }
#media .mediaselect-right li { list-style-image: url(images/page.gif); }
#media .uploadform { margin-top: 20px; }
