 * Basic styles. These styles are needed for basic DokuWiki functions
 * regardless of the used template. Templates can override them of course
 */

div.clearer {clear: both; line-height: 0; height: 0; overflow:hidden;}

div.no {
  display: inline;
  margin: 0;
  padding: 0;
}

div.error{
  background: #fcc url(../images/error.png) 0.5em 0px no-repeat;
  color: #000;
  border-bottom: 1px solid #faa;
  font-size: 90%;
  margin: 0px;
  padding-left: 3em;
}

div.info{
  background: #ccf url(../images/info.png) 0.5em 0px no-repeat;
  color: #000;
  border-bottom: 1px solid #aaf;
  font-size: 90%;
  margin: 0;
  padding-left: 3em;
}

div.success{
  background: #cfc url(../images/success.png) 0.5em 0px no-repeat;
  color: #000;
  border-bottom: 1px solid #afa;
  font-size: 90%;
  margin: 0;
  padding-left: 3em;
}

/* image alignment */
.medialeft {
  float: left;
}
.mediaright {
  float: right;
}
.mediacenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.leftalign {text-align: left;}
.centeralign {text-align: center;}
.rightalign {text-align: right;}

em.u {
  font-style: normal;
  text-decoration: underline;
}


/* syntax highlighting code */
.code .br0  { color: #66cc66; }
.code .co1  { color: #808080; font-style: italic; }
.code .co2  { color: #808080; font-style: italic; }
.code .coMULTI  { color: #808080; font-style: italic; }
.code .es0  { color: #000099; font-weight: bold; }
.code .kw1  { color: #b1b100; }
.code .kw2  { color: #000000; font-weight: bold; }
.code .kw3  { color: #000066; }
.code .kw4  { color: #993333; }
.code .kw5  { color: #0000ff; }
.code .me0  { color: #006600; }
.code .nu0  { color: #cc66cc; }
.code .re0  { color: #0000ff; }
.code .re1  { color: #0000ff; }
.code .re2  { color: #0000ff; }
.code .re4  { color: #009999; }
.code .sc0  { color: #00bbdd; }
.code .sc1  { color: #ddbb00; }
.code .sc2  { color: #009900; }
.code .st0  { color: #ff0000; }
/**
 * Basic styles for the spellchecker. Only included when the spellchek option
 * is enabled. These styles are the absolute minimum to make the spellchecker
 * work. Templates should add addional styles for making it look nice.
 */

div.dokuwiki div#spell__suggest {
  position: absolute;
  left: 0;
  top: 0;
  display: none;
  z-index: 2;
}

div.dokuwiki div#spell__result {
  display:none;
  font-family:monospace;
  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+ */
}

/* ================================ GENERAL ================================= */
html, body {
	margin: 0;
	padding: 0;
	min-height: 100%;
}
.toc {
	display: none;
}

/* ================================ HEADER ================================== */
#flags {
	text-align: left;
}
#header {
	text-align: center;
	height: 200px;
}

/* ================================= MENU =================================== */
#menu {
	background-color: #000;
	color: #fff;
	text-align: center;
	padding: 2px 0 2px 0;
}
#menu ul {
	margin: 0;
	padding: 0;
	display: inline;
}
#menu ul li {
	display: inline;
}
#menu ul li a {
	padding: 0 1em 0 1em;
}

/* ================================== BODY ================================== */
#body_top, #body_bottom {
	height: 1px;
	background-color: #fff;
	color: #000;
}
#body {
	width: 640px;
	margin: 0 auto 0 auto;
	padding: 0 30px 0 30px;
}
#body h1, #body h2, #body h3, #body h4, #body h5 {
	clear: left;
	margin: .5em 0 0 0;
}
/* DOKUWIKI LEVELS */
#body h1 { margin-left: 0em; }
div.level1 { margin: 1em 0 0 0; }
#body h2 { margin-left: 1em; }
div.level2 { margin: 1em 0 0 2em; }
#body h3 { margin-left: 2em; }
div.level3 { margin: 1em 0 0 3em; }
#body h4 { margin-left: 3em; }
div.level4 { margin: 1em 0 0 4em; }
#body h5 { margin-left: 4em; }
div.level5 { margin: 1em 0 0 5em; }

.code {
	padding: 5px;
	overflow: auto;
}

/* ********* TABLES ********* */
#body table {
	margin: 5px 0 5px 0;
	border-collapse: collapse;
}
#body table th { padding: 2px 5px 2px 5px; }
#body table td { padding: 2px 5px 2px 5px; }
#body table td.rightalign { text-align: right; }
#body table td.centeralign { text-align: center; }
#body table td.leftalign { text-align: left; }

/* ================================= FOOTER ================================= */
#footer {
	clear: both;
	width: 680px;
	margin: 1em auto 0 auto;
	padding: 1em 10px 1em 10px;
}
#footer ul {
	margin: 0 0 .5em 0;
	padding: 0;
}
#footer ul li {
	display: inline;
}
#footer li a {
	padding: 2px 10px 2px 10px;
}
#footer form {
	float: right;
}
#footer input {
	margin-left: 2px;
}
#footer p {
	margin: 0;
}
/* ================================ GENERAL ================================= */
* { 
	font-family: Verdana, Helvetica, Arial, sans-serif; 
	font-size: small; 
}
body {
	background: #e0dfca;
	background-image: url(../images/body_background.png);
	background-position: center;
	background-repeat: repeat-y;
}

a {
	color: #436976;
	background-color: inherit;
}
a:hover {
	color: #000;
	background-color: inherit;
}
a img {
	border: none;
}

/* ================================ HEADER ================================== */
#header {
	background-image: url(../images/header_background.png);
	background-position: center;
	background-repeat: repeat-y;
}

/* ================================= MENU =================================== */
#menu {
	background-image: url(../images/menu_background.png);
	background-repeat: repeat-x;
}
#menu ul {
	border-left: solid 1px #000;
	border-right: solid 1px #666;
}
#menu ul li {
	border-left: solid 1px #666;
	border-right: solid 1px #000;
}
#menu ul li a {
	color: #fff;
	background-color: inherit;
	text-decoration: none;
}
#menu ul li a:hover {
	color: #fff;
	background-color: #333;
}

/* ================================== BODY ================================== */
#body {
	background-color: #fff;
	color: #000;
}
#body h1 a, #body h2 a, #body h3 a, #body h4 a, #body h5 a {
	font-size: 1em;
	font-family: inherit;
	color: #8c2121;
	background-color: inherit;
}
#body h1 {
	font-family: Georgia, "Times New Roman", serif;
	font-weight: bold;
	font-size: 2em;
	color: #8c2121;
	background-color: inherit;
	border-bottom: solid 1px #dbdbc5;
}
#body h2 {
	font-family: Georgia, "Times New Roman", serif;
	font-weight: normal;
	font-size: 1.3em;
	color: #8c2121;
	background-color: inherit;
	border-bottom: solid 1px #dbdbc5;
}
#body h3 {
	font-family: Georgia, "Times New Roman", serif;
	font-weight: bold;
	font-size: 1em;
	color: #8c2121;
	background-color: inherit;
	border-bottom: solid 1px #dbdbc5;
}
#body h4, #body h5 {
	font-family: Georgia, "Times New Roman", serif;
	font-weight: bold;
	font-size: 1em;
	color: #8c2121;
	background-color: inherit;
}


ol {
	line-height: 1.5em;
	margin: 0 0 .5em 1.5em;
	padding: 0;
}
ul {
	line-height: 1.5em;
	list-style-type: square;
	margin: 0 0 .5em 1.5em;
	padding: 0;
	list-style-image: url(../images/bullet.gif);
}

.code {
	border-top: solid 1px #acacbb;
	border-right: solid 1px #acacbb;
	border-bottom: solid 1px #acacbb;
	border-left: solid 3px #acacbb;
	background-color: #f7f9fa;
	color: inherit;
}
.code, .code * {
	font-size: 1em;
	font-family: "Courier New",Courier,monospace;
}

#body input {
	border: solid 1px #8cacbb;
}
#body input:hover {
	border: solid 1px #000;
}

/* ********* TABLES ********* */
#body table { border: solid 1px #999; }
#body table th { border: solid 1px #999; background-color: #eee; }
#body table td { border: solid 1px #ccc; background-color: #fff; }
#body table tr:hover { background-color: #ffffe5; }


/* ================================= FOOTER ================================= */
#footer {
	background-color: #dfdec9;
	color: #000;
}
#footer li a {
	border: solid 1px #8cacbb;
	background-color: #efebe7;
	color: #000;
	text-decoration: none;
	white-space: nowrap;
}
#footer li a:hover {
	border: solid 1px #000;
	background-color: #efebe7;
	color: #000;
}
#footer input {
	border: solid 1px #8cacbb;
}
#footer input:hover {
	border: solid 1px #000;
}
/* User Manager specific styles */
#user__manager tr.disabled {
  color: #6f6f6f;
  background: #e4e4e4;
}
#user__manager tr.user_info {
  vertical-align: top;
}
#user__manager div.edit_user {
  width: 46%;
  float: left;
  margin-top: 2em;
}
#user__manager input.button[disabled] {
  color: #ccc!important;
  border-color: #ccc!important;
}
/* IE won't understand but doesn't require it */
/*
 * admin plugin extension - style additions
 *
 * @author  Christopher Smith  chris@jalakai.co.uk
 * @link    http://wiki.jalakai.co.uk/dokuwiki/doku.php/tutorials/adminplugin
 */

/* overall containing div */
#plugin__manager {}

#plugin__manager h2 { margin-left: 0;}
#plugin__manager form { display: block; margin: 0; padding: 0;}
#plugin__manager legend { display: none;}
#plugin__manager fieldset { width: auto;}
#plugin__manager .button { margin: 0;}
#plugin__manager p, #plugin__manager label { text-align: left;}
#plugin__manager .hidden { display: none;}
#plugin__manager .new { background: #dee7ec;}
#plugin__manager input[disabled] { color: #ccc; border-color: #ccc;}  /* IE won't understand but doesn't require it */

#plugin__manager .pm_menu, #plugin__manager .pm_info { margin-left: 0; text-align: left; }
#plugin__manager .pm_menu { float: left; width: 48%; }
#plugin__manager .pm_info { float: right; width: 50%; }

#plugin__manager .common { }
#plugin__manager .common form { }
#plugin__manager .common fieldset { margin: 0; padding: 0 0 1.0em 0; text-align: left; border: none;}
#plugin__manager .common label { padding: 0 0 0.5em 0;}
#plugin__manager .common input {  }
#plugin__manager .common input.edit { width: 24em; margin: 0.5em;}
#plugin__manager .common .button { }

#plugin__manager .plugins { }
#plugin__manager .plugins form { }
#plugin__manager .plugins fieldset { text-align: right; border-top:0; border-right:0; border-left:0;}
#plugin__manager .plugins .legend { color: black; display: block; margin: 0; padding: 0; font-size: 1em; line-height: 1.4em; font-weight: normal; text-align: left; float: left; padding: 0;}
#plugin__manager .plugins .button { width: 5em; font-size: 95%;}

#plugin__manager .pm_info h3 { margin-left: 0; }
#plugin__manager .pm_info dl { margin: 1em 0; padding: 0;}
#plugin__manager .pm_info dt { width: 6em; float: left; clear: left; margin:0; padding: 0;}
#plugin__manager .pm_info dd { margin:0 0 0 7em; padding: 0;}


/* end admin plugin styles */
/* plugin:configmanager */
#config__manager {margin: 1em;}
#config__manager div.success,
#config__manager div.error,
#config__manager div.info {
  background-position: 0.5em;
  padding: 0.5em;
  text-align:center
}

#config__manager form { }
#config__manager table {margin: 1em 0;}
#config__manager td input.edit {width: 30em;}
#config__manager td select.edit { }
#config__manager td textarea.edit {width: 27.5em; height: 4em;}

#config__manager tr.default .input,
#config__manager tr.default input,
#config__manager tr.default textarea,
#config__manager tr.default select {
  background-color: #ccddff;
}

#config__manager tr.protected .input,
#config__manager tr.protected input,
#config__manager tr.default textarea,
#config__manager tr.protected select {
  background-color: #ffcccc;
}

#config__manager td.error  {background-color: red;}

/* end plugin:configmanager */
#acl__manager label {
  text-align: left;
  font-weight: normal;
  display: inline;
}
#acl__manager table {
  margin-left: 10%;
  width: 80%;
}
