/**
 * Design elements for default Template
 *
 * @author Andreas Gohr <andi@splitbrain.org>
 * @author Anika Henke <henke@cosmocode.de>
 */

/* -------------- general elements --------------- */

body {
  font: 80% "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
  background-color: White;
  color: Black;
  margin: 0;
  padding: 0;
}

/* the document */
div.page {
  text-align: justify;
  background-color:#fff8db;
  padding-right:20px;
}

table {
  font-size: 100%;
  padding:0;
  margin:0 0 0 25px;
}

tr,td,th {padding:0; margin:0;}

img {border:0}

p {margin:0;padding:0;}

hr {
  border: 0px;
  border-top: 1px solid #9ea0c9;
  text-align:center;
  height: 0px;
}

div.nothing {
  text-align:center;
	margin: 2em;
}

/* ---------------- forms ------------------------ */

form {
  border: none;
  margin: 0;
  padding:0;
  display: inline;
}

label {
  display: block;
  text-align: center;
  font-weight: bold;
}

label.simple {
  text-align: left;
  font-weight: normal;
}

label input.edit {
  width: 50%;
}

fieldset {
  width: 300px;
  text-align: center;
  border: 1px solid #9ea0c9;
  padding: 0.5em;
  margin:0 0 0 50%;
  left:-150px;
  position:relative;
}

textarea.edit {
  font-family:monospace;
  border: 1px solid #9ea0c9;  
  color: Black;
  background-color: white;
  font-size:14px;
  margin: 0 0 0 10px;
  padding: 3px;
  width:100%;
}

input.edit,select.edit {
  font-size: 100%;
  border: 1px solid #9ea0c9;
  height: 18px !important;
  max-height: 22px !important;
  min-height: 22px !important;
  color: Black;
  background-color: white;
  vertical-align: middle;
  padding: 1px;
  display: inline;
}

input.missing {
  font-size: 100%;
  border: 1px solid #9ea0c9;
  height: 18px !important;
  max-height: 22px !important;
  min-height: 22px !important;
  color: Black;
  background-color: #ffcccc;
  vertical-align: middle;
  padding: 1px;
  display: inline;
}

/* --------- buttons ------------------- */


input.button, button.button{
  border: 1px solid #9ea0c9;  
  color: Black;
  background-color: white;
  vertical-align: middle;
  text-decoration:none;
  font-size: 85%;
  cursor: pointer;
  height: 22px !important;
  max-height: 22px !important;
  min-height: 22px !important;
  display: inline;
  width:auto;
  padding:0px;
  margin:0 10px;
}

div.secedit input.button {
  border: 1px solid #9ea0c9;
  color: Black;
  background-color: white;
  vertical-align: middle;
  text-decoration:none;
  margin: 0px 10px 0 0;
  padding: 0px;
  font-size: 10px;
  cursor: pointer;
  height: 15px !important;
  max-height: 15px !important;
  min-height: 15px !important;
  float:right;
  display: inline;
}

input.button2, button.button2{
  border: 1px solid #9ea0c9;  
  color: Black;
  float:left;
  background-color: #ffdea6;
  text-decoration:none;
  font-size: 85%;
  cursor: pointer;
  height: 22px !important;
  max-height: 22px !important;
  min-height: 22px !important;
  display: inline;
  padding:0px;
  margin:5px 0 5px 10px;
}

/* ----------- page navigator ------------- */

div.pagenav {
	margin-top:1em;
}

div.pagenav-prev {
	text-align:right;	
	float:left;
	width:50%
}

div.pagenav-prev input.button {
	margin-right:5px;
}

div.pagenav-next {
	text-align:left;
	float:right;
	width:50%
}

div.pagenav-next input.button {
	margin-left:5px;
}

/* --------------- Links ------------------ */

a {
  color:#2115bb;
  text-decoration:none;
}
a:hover {
  color: black;
  text-decoration:none;
}

/* external link */
a.urlextern{
    background: transparent url(images/link_icon.gif) 0px 1px no-repeat;
    padding: 1px 0px 1px 16px;
    color:#2115bb;
    text-decoration:none;
}
a.urlextern:visited , a.urlextern:hover {
  text-decoration:none;
}

/* windows share */
a.windows{
    background: transparent url(images/windows.gif) 0px 1px no-repeat;
    padding: 1px 0px 1px 16px;
    color:#2115bb;
    text-decoration:none;
} 
a.windows:visited , a.windows:hover { 
  text-decoration:none;
}

/* interwiki link */
a.interwiki{
    background: transparent url(images/interwiki.png) 0px 1px no-repeat;
		padding-left: 16px;
    color:#2115bb;
    text-decoration:none;
}
a.interwiki:visited, a.interwiki:hover {
  text-decoration:none;
}

/* link to some embedded media */
a.media {
  color:#2115bb;
  text-decoration:none;
}
a.media:hover {
  color:#2115bb;
  text-decoration:none;
}

/* email link */
a.mail {
  background: transparent url(images/mail_icon.gif) 0px 1px no-repeat;
  padding: 1px 0px 1px 16px;
  color:#2115bb;
  text-decoration:none;
}
a.mail:hover {
  text-decoration:none;
}

/* existing wikipage */
a.wikilink1:link    { color:#2115bb; text-decoration:none }
a.wikilink1:visited { color:#2115bb; text-decoration:none }
a.wikilink1:hover   { color:#2115bb; text-decoration:none }

/* not existing wikipage */
a.wikilink2:link    { color:red; text-decoration:none }
a.wikilink2:visited { color:red; text-decoration:none }
a.wikilink2:hover   { color:red; text-decoration:none }


/* ------------- Page elements ----------------- */

div.preview{
  background:#f7f9fa;
  margin-left:2em;
  padding: 4px;
  border: 1px dashed #000000;
}

div.breadcrumbs{
  background-color: #ffdea6;
  font-size:80%;
  color: #2115bb;
  padding-left: 20px;
  margin: 0;
  border-top:1px solid #9ea0c9;
  border-bottom:1px solid #9ea0c9;
}

span.user{
  color: #cccccc;
  font-size: 90%;
}

/* embedded images */
img.media {
  margin: 3px;
}

img.medialeft {
  border: 0;
  float: left;
  margin: 0 1.5em 0 0;
}

img.mediaright {
  border: 0;
  float: right;
  margin: 0 0 0 1.5em;
}

img.mediacenter {
  border: 0;
	display: block;
  margin-left: auto;
  margin-right: auto;
}

acronym {
  cursor: help;
  border-bottom: 1px dotted #000;
}

/* general headline setup */
h1, h2, h3, h4, h5 {
    color:#5d5d66;
    background-color: transparent;
    font-family: "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
    font-size: 100%;
    font-weight: normal;
    margin-left:    0;
    margin-right:   0;
    margin-top:     0;
    margin-bottom:  1em;
    padding-left:   0;
    padding-right:  0;
    padding-top:    0.5em;
    padding-bottom: 0;
    border-bottom: 1px solid #9ea0c9;
    /*clear: left;*/
}

/* special headlines */
h1 {font-size: 160%; margin-left: 20px; font-weight: bold;}
h2 {font-size: 150%; margin-left: 40px;}
h3 {font-size: 140%; margin-left: 60px; border-bottom: none; font-weight: bold;}
h4 {font-size: 120%; margin-left: 80px; border-bottom: none; font-weight: bold;}
h5 {font-size: 100%; margin-left: 80px; border-bottom: none; font-weight: bold;}

/* indent different sections */
div.level1 {margin-left: 3px;}
div.level2 {margin-left: 23px;}
div.level3 {margin-left: 43px;}
div.level4 {margin-left: 63px;}
div.level5 {margin-left: 83px;}

/* unordered lists */
.page ul, #toc ul { 
  line-height: 1.5em;
  list-style-type: square;
  margin: 0 0 0 50px;
  padding: 0;
  list-style-image: url(images/puce.png);
}

/* ordered lists */
ol {
  line-height: 1.5em;
  margin: 0 0 0 50px;
  padding: 0;
  color: /*#638c9c*/#2115bb;
  font-weight: bold;
  list-style-image: none;
}

/* the list items overriding the ol definition */
.li {
  color: #000000;
  font-weight: normal;
}


ol {list-style-type: decimal}
ol ol {list-style-type: upper-roman}
ol ol ol {list-style-type: lower-alpha}
ol ol ol ol {list-style-type: lower-greek}

li.open {
  list-style-image: url(images/open.gif);
}

li.closed {
  list-style-image: url(images/closed.gif);
}

blockquote {
  border-left: 2px solid #9ea0c9;
  padding-left: 3px;
  margin-left: 0;
}

/* code blocks by indention */
pre.pre {
  font-size: 120%;
  padding: 0.5em;
  border: 1px dashed #9ea0c9;
  color: Black;
  background-color: #f7f9fa;
  overflow: auto;
}

/* code blocks by code tag */
pre.code {
  font-size: 120%;
  padding: 0.5em;
  border: 1px dashed #9ea0c9;
  color: Black;
  background-color: #f7f9fa;
  overflow: auto;
  margin:0 0 0 20px;
}

/* inline code words */
code {
  font-size: 120%;
}

/* code blocks by file tag */
pre.file {
  font-size: 120%;
  padding: 0.5em;
  border: 1px dashed #9ea0c9;
  color: Black;
  background-color: #c6cdfb;
  overflow: auto;
}

/* inline tables */
table.inline {
  background-color: #ffffff;
  border-spacing: 0px;
  border-collapse: collapse;
}

table.inline th {
  padding: 3px;
  border: 1px solid #9ea0c9;
  background-color: #c6cdfb;
}

table.inline td {
  padding: 3px;
  border: 1px solid #9ea0c9;
}

.leftalign{
  text-align: left;
}

.centeralign{
  text-align: center;
}

.rightalign{
  text-align: right;
}

/* ---------- table of contents ------------------- */

div.toc {
  margin:1.2em 0 0 2em;
  float:right;
  width: 200px;
  font-size: 80%;
  border:1px dashed #2115bb;
  background-color:#e1d8fc;
  /*clear:both;*/
}

div.tocheader {
  padding:3px;
  background-color: #ab99eb;
  text-align: left;
  font-weight:bold;
  /*border-bottom:1px dashed #2115bb;*/
}

/*div.toctoggle {
  float:right;
  margin-top:0.3em;
  margin-right:3px;
}*/

div.toctoggle img {
  width:0.8em;
  height:0.8em;
}

#tocinside {
  background-color:#e1d8fc;
  text-align: left;
  padding: 0.1em 0 0.7em 0;
  border-top:1px dashed #2115bb;
}

ul.toc {
  list-style-type: none;
  list-style-image: none;
  line-height: 1.2em;
  margin: 0 0 0 10px;
  padding: 0 0 0 10px;
}

ul.toc li {
  background: transparent 0 0.6em no-repeat;
  padding:0;
  margin:0;
  list-style-image:url(images/puce5.png);
}

ul.toc li.clear {
  background-image: none;
  padding:0;
  margin:0;
}

a.toc {
  color: #2115bb;
  text-decoration:none;
}

a.toc:hover {
  color: #000000;
  text-decoration:none; 
}

/* ---------------------------- Diff rendering --------------------------*/
table.diff { background:white; }
td.diff-blockheader {font-weight:bold}
td.diff-header {
  border-bottom: 1px solid #9ea0c9;
  font-size:120%;
}
td.diff-addedline {
    background:#ddffdd;
    font-family: monospace;
    font-size: 100%;
}
td.diff-deletedline { 
    background:#ffffbb;
    font-family: monospace;    
    font-size: 100%;
}
td.diff-context {
    background:#f7f9fa;
    font-family: monospace;
    font-size: 100%;
}
span.diffchange { color: red; }

/* --------------------- footnotes -------------------------------- */

div.footnotes{
  /*clear:both;*/
  border-top: 1px solid #9ea0c9;
  padding-left: 1em;
  margin-top: 1em;
}

div.fn{
  font-size:90%;
}

a.fn_top{
  vertical-align:super;
  font-size:80%;
}

a.fn_bot{
  vertical-align:super;
  font-size:80%;
  font-weight:bold;
}

/* insitu-footnotes */
div.insitu-footnote {
  font-size: 80%;
  line-height: 1.2em;
  border: 1px solid #9ea0c9;
  background: #eef3f8;
  text-align: left;
  padding: 4px;
  max-width: 40%;    /* IE's width is handled in javascript */  
}

/* overcome IE issue with one line code or file boxes which require h. scrolling */
* html .insitu-footnote pre.code, * html .insitu-footnote pre.file {
  padding-bottom: 18px;
}

/* --------------- search result formating --------------- */
.search_result{
  margin-bottom: 6px;
  padding-left: 30px;
  padding-right: 10px;
}

.search_snippet{
  color: #999999;
  font-size: 12px;
  margin-left: 20px;
}

.search_sep{
  color: #000000;
}

.search_hit{
  color: #000000;
  background: #FFFF99;
}

div.search_quickresult{
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 1px dashed #9ea0c9;
  margin-left: 30px;
  padding-right: 10px;
}

div.search_quickhits {
  margin-left: 1em;
  float:left;
  background: transparent url(images/puce.png) 0px 1px no-repeat;
  padding: 1px 0px 1px 8px;
  width: 30%;
}

/* ------------------ Additional ---------------------- */
/*.footerinc a img {
    opacity: 0.5;
}

.footerinc a:hover img {
    opacity: 1;
}*/

/* ---- Admin --- */

div.acladmin label {
  text-align: left;
  font-weight: normal;
  display: inline;
}

div.acladmin table{
  margin-left: 10%;
  width: 80%;
}

/* ---------- AJAX quicksearch ----------- */

div.ajax_qsearch {
  position:absolute;
  right:237px;;
  width: 200px;
  /*opacity: 0.9;*/
  display:none;
  font-size: 80%;
  line-height: 1.2em;
  border: 1px solid #9ea0c9;
  background: #eef3f8;
  text-align: left;
  padding: 4px;
}

/* ---------- Spellchecking ------------- */

a.spell_error {
  color: #ff0000;
  text-decoration: none;
}

div#spell_suggest {
  position: absolute;
  left: 0;
  top: 0;
  display: none;
  background-color: #fff;
  padding: 2px;
  border: 1px solid #000;
  font-size:80%;
  z-index: 2;
}

div#spell_result {
  display:none;
  font-family:monospace;
  border: 1px solid #9ea0c9; 
  color: Black;
  font-size:14px;
  padding: 3px;
  background-color: #f7f9fa;
  overflow: auto;
  z-index: 1;

  /*white-space: pre-wrap;       /* css-3 */
  /*white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
  /*white-space: -pre-wrap;      /* Opera 4-6 */
  /*white-space: -o-pre-wrap;    /* Opera 7 */
  /*word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

span.spell_noerr {
  color: #009933;
}

span.spell_wait {
  color: #0066cc;
}

/* ---------------  Image Details  ----------------- */

div.img_big {
  float: left;
  margin-right: 0.5em;
}

dl.img_tags dt {
  font-weight: bold;
  background-color: #c6cdfb;
}
dl.img_tags dd {
  background-color: #f5f5f5;
}

div.imagemeta {
  color: #666;
  font-size: 70%;
  line-height: 95%;
}

div.imagemeta img.thumb{
  float:left;
  margin-right: 0.1em;
}

/* -------------- Media Popup ---------------------- */

div.mediaselect-right li, div.uploadform { 
  clear: both;
}

div.mediaedit div.data label{
	display: block;
  text-align: right; 
  width: 20%;
  float: left;
  margin-right: 0.5em;
}

div.mediaedit div.data input, div.mediaedit div.data textarea{
  width: 75%;
  padding: 0.1em;
  margin: 0.1em;
}

div.mediaedit div.data input.button {
  width: 10em;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Ajout de Maj */

/* edit form */
div.dokuwiki div.toolbar, div.dokuwiki div#wiki__editbar {
   margin:2px 0 5px 10px;
   text-align: center;
}
div.dokuwiki div#size__ctl {
   float:right;
   width:40px;
   height:2.7em;
}
div.dokuwiki #size__ctl img {
   cursor: pointer;
}
div.dokuwiki div#wiki__editbar div.editButtons {
   float: left;
   padding: 0 1.0em 0.7em 0;
}
div.dokuwiki div#wiki__editbar div.summary {
   float:left;
   text-align:left;
   margin:0 0 10px 0;
   padding:0 0 10px 0;

}
div.dokuwiki .nowrap {
   float:left;
   white-space:nowrap;
   margin: 0 20px 0 0;
}

div#wiki__editbar {
height:60px;
}


