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

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

body {
	margin: 0;
	padding: 0 18px;
	font-family: "Lucida Grande", Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
	font-size: 76%;
	text-align: center;
	color: #000000;
	background-color: #990066;
}


/* the document */
div.page {
	text-align: left;
	margin-right: 167px;
	padding: 0 16px 0 16px;
	line-height: 1.5em;
}

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

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

img {border:0}

p {
   padding: 0;
	margin: 0 0 1.0em 0;
}

strong {
   background-color: inherit;
   color: #333333;
}

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

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

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

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

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

.button-img {
	display: inline;
	border: none;
	vertical-align: top;	
   padding-right: 7px;
	padding-left: 1px;
	padding-top: 13px;	
	padding-bottom: 0px;	
	margin: 0px;	
}

label {
  display: block;
  text-align: right;
  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 #AAC6FF;
  padding: 0.5em;
}

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

input.edit,select.edit {
	color: #006699;
   background-color: inherit;	
	text-decoration:none;
	font-size: 1em;
	cursor: pointer;
	margin: 0px;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	padding: 0px;
	background-image: url(images/bg-logo-bar.gif);
	background-repeat: repeat-x;
	background-position: left top;
	width: 142px;
	border: 1px solid #6699FF;
   vertical-align: middle;
	display: inline;
	height: 3.0ex;
}
input.missing {
  font-size: 100%;
  border: 1px solid #AAC6FF;
  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 {
	border: 1px solid #6699FF;
	color: #006699;
	text-decoration:none;
	font-size: 1.0em;
	cursor: pointer;
	margin: 0px 0px 0px 1px;
	display: inline;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	padding: 0px;
	background-image: url(images/bg-logo-bar.gif);
	background-repeat: repeat-x;
	background-position: left top;
	background-color: #AAC6FF;
	vertical-align: middle;
	height: 3.3ex;
}

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


/* ----------- 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 {
   text-decoration: none;
	color: #0099CC;
	background-color: inherit;
}
a:hover {
   color:#000000;
   text-decoration: none;
	background-color: inherit;
}

/* external link */
a.urlextern{
	background: url(images/link_icon.gif) no-repeat right;
	padding: 1px 20px 4px 0px;
	color: #CC0099;
	background-color: inherit;
	text-decoration: none;
}
a.urlextern:visited {
   text-decoration: none;
   color: #990066;
	background-color: inherit;
}
a.urlextern:hover {
   text-decoration: none;
   color: #990066;
	background-color: inherit;
   border-bottom: 1px solid #bbbbbb;
}

/* windows share */
a.windows{
   background: url(images/windows.gif) no-repeat right;
   padding: 1px 20px 4px 0px;
   color: #CC0099;
	background-color: inherit;
   text-decoration: none;
} 
a.windows:visited {
   text-decoration: none;
   color: #990066;
	background-color: inherit;
}
a.windows:hover { 
   text-decoration: none;
	color: #990066;
	background-color: inherit;
	border-bottom: 1px solid #bbbbbb;
}

/* interwiki link */
a.interwiki{
   background: url(images/interwiki.png) no-repeat right;
   padding: 1px 20px 4px 0px;
   color: #CC0099;
	background-color: inherit;
   text-decoration: none;	 
}
a.interwiki:visited {
   text-decoration: none;
   color: #990066;
	background-color: inherit;
}
a.interwiki:hover {
   text-decoration: none;
	color: #990066;
	background-color: inherit;
	border-bottom: 1px solid #bbbbbb;
}

/* link to some embedded media */
a.media {
   text-decoration: none;
	color: #0099CC;
	background-color: inherit;
}
a.media:hover {
   text-decoration: none;
	color: #006699;
	background-color: inherit;
}

/* email link */
a.mail {
   background: url(images/mail_icon.gif) no-repeat right;
   padding: 1px 20px 4px 0px;
   color: #0099CC;
	background-color: inherit;
   text-decoration: none;	  
}
a.mail:hover {
   text-decoration: none;
	color: #006699;
	background-color: inherit;
	border-bottom: 1px solid #bbbbbb;
}

/* existing wikipage */
a.wikilink1:link    {
	text-decoration: none;
	color: #0099CC;
	background-color: inherit;
}
a.wikilink1:visited {
	text-decoration:none;
	color: #0099CC;
	background-color: inherit;
}
a.wikilink1:hover   {
	text-decoration: none;
	color: #006699;
	background-color: inherit;
	border-bottom: 1px solid #bbbbbb;
}

/* not existing wikipage */
a.wikilink2:link    { color:#FF3300; background-color: inherit; text-decoration:none }
a.wikilink2:visited { color:#FF3300; background-color: inherit; text-decoration:none }
a.wikilink2:hover   { color:#FF3300; background-color: inherit; text-decoration:underline }

/* breadcrumbs links */
div.breadcrumbs a { color:#000000; background-color: inherit; text-decoration:none }
div.breadcrumbs a:visited { color:#000000; background-color: inherit; text-decoration:none }
div.breadcrumbs a:hover { color:#000000; background-color: inherit; text-decoration:underline }


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

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

div.breadcrumbs{
	background-color: #AAC6FF;
	font-size:0.9em;
	color: #006666;
	margin-right: 167px;	
	padding-top: 9px;
	padding-bottom: 11px;
	padding-left: 16px;
	padding-right: 0px;
}

span.user{
  color: #cccccc;
  background-color: inherit;
  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 */
h2, h3, h4, h5 {
	color: #006699;
   background-color: inherit; 
	font-family: "Trebuchet MS", "Lucida Grande", Lucida, Verdana, Helvetica, Arial, sans-serif;
	font-size: 100%;
	font-weight: bold;
	margin-left: 0;
	margin-right: 0;
	margin-top: 0;
	margin-bottom: 0;
	padding-left: 0;
	padding-right: 0;
   padding-top: 0.5em;
   padding-bottom: 0.5em;
	border-bottom: none;
	clear: left;
}

h1 {
	color: #006699;
	background-color: inherit;
	font-family: "Trebuchet MS", "Lucida Grande", Lucida, Verdana, Helvetica, Arial, sans-serif;
	font-size: 170%;
	font-weight: bold;
	margin-left: 0px;
	margin-right: 0;
	margin-top: 0;
	margin-bottom: 1em;
	padding-left: 0px;
	padding-right: 0px;
	padding-top: 0.6em;
	padding-bottom: 0.9em;
	border-bottom: none;
	clear: left;
	background-image: url(images/bg-h1-a.gif);
	background-position: bottom left;
	background-repeat: repeat-x;
}


/* special headlines */
h2 {font-size: 150%; margin-left: 0px; }
h3 {font-size: 140%; margin-left: 20px; }
h4 {font-size: 120%; margin-left: 40px; }
h5 {font-size: 110%; margin-left: 60px; }

/* indent different sections */
div.level1 {margin-left: 1px;}
div.level2 {margin-left: 1px;}
div.level3 {margin-left: 21px;}
div.level4 {margin-left: 41px;}
div.level5 {margin-left: 61px;}

/* unordered lists */
ul { 
  margin: 0em 0 1em 0em;
  padding: 0;
  list-style-type: none;
  list-style-image: none;
}
li ul{ 
  margin: 0em 0 0.25em 0em;
  padding: 0;
  list-style-type: none;
  list-style-image: none;
}

ul li{
	padding: 0 0 0 1em;
	margin: 0;
	background: url(images/bullet-4.gif) 0 0.5em no-repeat;
}	

div.li{
	padding-bottom: 0.5em;
}	

/* ordered lists */
ol {
  line-height: 1.5em;
  margin: 0 0 0.5em 1.5em;
  padding: 0;
  list-style-image: none;
}

/* the list items overriding the ol definition */
span.li {
  color: #000000;
  background-color: inherit;
  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 #AAC6FF;
  padding-left: 3px;
  margin-left: 0;
}

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

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

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

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

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

table.inline th {
	padding-left: 1px;
	padding-right: 8px;
	padding-top: 8px;
	padding-bottom: 8px;
	border: none;
}

table.inline th img {
	border: 8px solid #AAC6FF;
}

table.inline td {
  padding: 8px;
  border: none;
}

.leftalign{
  text-align: left;
}

.centeralign{
  text-align: center;
}

.rightalign{
  text-align: right;
}

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

div.toc {
  margin-left: 2em;
  margin-top: 1.2em;
  margin-bottom: 0;
  float:right;
  width: 200px;
  font-size: 80%;
  clear:both;
}

div.tocheader {
  padding: 3px;
  border: 1px solid #AAC6FF;
  background-color: #dee7ec;
  color: inherit;
  text-align: left;
  font-weight:bold;
  margin-bottom: 2px;
}

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

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

#tocinside {
  border: 1px solid #AAC6FF;
  background-color: #ffffff;
  color: inherit;
  text-align: left;
  padding-top: 0.5em;
  padding-bottom: 0.7em;
}

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

ul.toc li {
  background: transparent url(images/tocdot2.gif) 0 0.6em no-repeat;
  padding-left:0.4em;
}

ul.toc li.clear {
  background-image: none;
  padding-left:0.4em;
}

a.toc {
  background-color: inherit;
  color: #436976;
  text-decoration:none;
}

a.toc:hover {
  background-color: inherit;
  color: #000000;
  text-decoration:underline; 
}

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

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

div.footnotes{
  clear:both;
  border-top: 1px solid #AAC6FF;
  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;
}


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

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

.search_sep{
  color: #000000;
  background-color: inherit;
}

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

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

div.search_quickhits {
  margin-left: 1em;
  float:left;
  background: transparent url(images/bullet.gif) 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%;
}

/* ---- Sidebar ---- */

div#sidebar-y {
	background-color: #006699;
	color: #ccc;
	margin-top: 0em;
	margin-left: 0em;
	margin-right: 0em;
	padding-top: 0em;
	padding-bottom: 0em;
	padding-left: 0em;
	text-align: left;
	width: 166px;
	background-image: url(images/bg-toc-filet-y.gif);
	background-repeat: repeat-y;
	background-position: 16px 0px;
	float: right;
}

div#sidebar-x {
	margin-top: 0em;
	margin-left: 0em;
	padding-top: 0em;
	padding-bottom: 0.7em;
	padding-left: 0px;
	text-align: left;
	width: 166px;	
	float: left;
	background-repeat: repeat-x;
	background-position: 0px 16px;
	background-image: url(images/bg-toc-filet-x.gif);
}

div#sidebar {
	margin-top: 30px;
	margin-left: 0em;
	padding-top: 0em;
	padding-bottom: 0.7em;
	padding-left: 3px;
	text-align: left;
	float: left;
	font-size: 0.9em;
}

#sidebar ul {
	list-style-type: none;
	list-style-image: none;
	line-height: 1.2em;
	margin: 0;
	padding: 0 2px 0 3px;
}

#sidebar ul li {
   background: url(images/tocdot-off.gif) 0 0.4em no-repeat;
	padding-left: 0.9em;
	margin: 0.1em 0 0.1em 0em;	
	padding-bottom: 0.4em;
	padding-left: 1.5em;
}

#sidebar li ul {
	padding-left: 0em;
	margin: 0.4em 0 0.1em 0em;	
}

#sidebar ul li.clear {
  background-image: none;
  padding-left: 0.4em;
}

#sidebar li span.curid a {
	color: #FFFFFF;
	background-color: inherit;
	font-weight: normal;
}

#sidebar a {
   text-decoration: none;
	color: #99CCFF;
	background-color: inherit;
}

#sidebar a:visited {
   text-decoration: none;
}

#sidebar a:hover {
	color: #FFFFFF;
	background-color: inherit;
	text-decoration: none;
	border-bottom: none;
}

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

div.ajax_qsearch {
  position:absolute;
  right:225px;;
  text-align:left;
  width: 200px;
  background-color: #ff9;
  color: inherit;
  opacity: 0.9;
  display:none;
}

/* ---- Current ID highlighting ---- */
.curid {
	font-weight: bold;
}


