/**
 * Design elements for default Template
 *
 * @author Andreas Gohr <andi@splitbrain.org>
 * @author Anika Henke <henke@cosmocode.de>
 */

/* -------------- general elements --------------- */

body {
  font: 80% arial,helvetica,sans-serif;
  color: #303030;
  margin: 0;
  padding: 0;
  background-color:#e0e0e0; 
  background-attachment:fixed; 
  background-repeat:no-repeat; 
  background-image:url("images/bg_degNB.jpg"); 
}

/* the document */
div.page {
  margin-top: 4px;
  margin-left:  1em;
  margin-right: 2em;
  padding: 1%;
  border: 1px solid #303030;
  background-color: white;
  text-align: justify;
}

table {
  font-size: 100%;
  padding:0;
  margin:0;
}

tr,td,th {padding:0; margin:0;}

tr {
	vertical-align: top;
}

img {border:0}

p {padding:0; margin: 0 0 1.0em 0;}

hr {
  border: 0px;
  border-top: 1px solid #0070D0;
  text-align:center;
  height: 0px;
}

div.nothing {
  text-align:center;
	margin: 2em;
}

/* ---------------- forms ------------------------ */

form {
  border: none;
  margin: 0;
  display: inline;
}

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 #0070D0;
  padding: 0.5em;
}

textarea.edit {
  font-family:"Lucida Console", "Courier New", monospace;
  border: 1px solid #0070D0;  
  color: Black;
  background-color: white;
  font-size:90%;
  padding: 3px;
  width:100%;
}

input.edit,select.edit {
  font-size: 100%;
  border: 1px solid #a0a0a0;
  height: 20px !important;
  max-height: 20px !important;
  min-height: 20px !important;
  color: Black;
  background-color: white;
  vertical-align: middle;
  padding: 1px;
  padding-top: 0px;
  padding-bottom: 0px;
  display: inline;
}

input.missing {
  font-size: 100%;
  border: 1px solid #0070D0;
  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 #a0a0a0;  
  color: Black;
  background-color: #f0f0f0;
  vertical-align: middle;
  text-decoration:none;
  font-size: 80%;
  cursor: pointer;
  height: 22px !important;
  max-height: 22px !important;
  min-height: 22px !important;
  margin: 0px;
  display: inline;
}

div.secedit input.button {
  border: 1px solid #a0a0a0;
  color: Black;
  background-color: #f0f0f0;
  vertical-align: middle;
  text-decoration:none;
  margin: 0px;
  margin-top: -16px;
  padding: 0px;
  font-size: 10px;
  cursor: pointer;
  height: 15px !important;
  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 {
  color:#0070D0;
  text-decoration:none;
}
a:hover {
  color:#FFA000;
  text-decoration:underline;
}

/* external link */
a.urlextern{
    background: transparent url(images/link_icon.gif) 0px 1px no-repeat;
    padding: 1px 0px 1px 16px;
    color:#0070D0;
    text-decoration:none;
}
a.urlextern:visited {
  color:Purple;
}
a.urlextern:hover {
  color:#ffa000;	
  text-decoration:underline;
}

/* windows share */
a.windows{
    background: transparent url(images/windows.gif) 0px 1px no-repeat;
    padding: 1px 0px 1px 16px;
    color:#0070D0;
    text-decoration:none;
} 
a.windows:visited {
  color:Purple;
}
a.windows:hover {
  color:#ffa000;	 
  text-decoration:underline;
}

/* interwiki link */
a.interwiki{
    background: transparent url(images/interwiki.png) 0px 1px no-repeat;
		padding-left: 16px;
    color:#0070D0;
    text-decoration:none;
}
a.interwiki:visited {
  color:Purple;
}
a.interwiki:hover {
  color:#ffa000;	
  text-decoration:underline;
}

/* link to some embedded media */
a.media {
  color:#0070D0;
  text-decoration:none;
}
a.media:hover {
  color:#ffa000;
  text-decoration:none;
}

/* email link */
a.mail {
  background: transparent url(images/mail_icon.gif) 0px 1px no-repeat;
  padding: 1px 0px 1px 16px;
  color:#0070D0;
  text-decoration:none;
}
a.mail:hover {
  color:#ffa000;
  text-decoration:underline;
}

/* existing wikipage */
a.wikilink1:link    { color:#0070D0; text-decoration:none }
a.wikilink1:visited { color:#0070D0; text-decoration:none }
a.wikilink1:hover   { color:#ffa000; text-decoration:underline }

/* not existing wikipage */
a.wikilink2:link    { color:#d000d0; text-decoration:none }
a.wikilink2:visited { color:#d000d0; text-decoration:none }
a.wikilink2:hover   { color:#d000d0; text-decoration:underline }


/* ------------- Page elements ----------------- */

div.preview{
  background:#f7f9fa;
  margin-left:2em;
  padding: 4px;
  border: 1px dashed #000000;
}

div.breadcrumbs{
  /* background-color: #d7d7d7; */
  font-size:80%;
  color: #666666;
  padding-left: 4px;
  padding-right: 10px;  
  padding-top: 8px;
  text-align: right;
}

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: #303030;
    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:    2px;
    padding-bottom: 2px;
    border-bottom: 1px solid #0070D0;
    clear: left;
}

/* special headlines */
h1 {font-size: 150%; margin-left: 0px; margin-top:1em; margin-bottom:1.5em; font-weight: bold; color:#ffffff; text-align:center; background-color:#0081ea; background:#0081ea url("images/bg_degBlue512.jpg"); background-repeat:repeat-y; }
h2 {font-size: 130%; margin-left: 0px; margin-top:16px; border-bottom: none; font-weight: bold; color:#303030; background:transparent url("images/h2.gif") 0px 1px no-repeat; padding-left:12px; }
h3 {font-size: 120%; margin-left: 16px; border-bottom: none; font-weight: bold; color:#a01000; margin-bottom: 0.7em; }
h4 {font-size: 105%; margin-left: 32px; border-bottom: none; font-weight: bold; color:#400000; margin-bottom: 0.3em; }
h5 {font-size: 90%; margin-left: 48px; border-bottom: none; font-weight: bold; color:#200000; margin-bottom: 0.1em; }

/* indent different sections */
div.level1 {margin-left: 0px;}
div.level2 {margin-left: 0px;}
div.level3 {margin-left: 16px;}
div.level4 {margin-left: 32px;}
div.level5 {margin-left: 48px;}

/* unordered lists */
ul { 
  line-height: 1.5em;
  list-style-type: square;
  margin: 0 0 0.5em 1.5em;
  padding: 0;
  list-style-image: url(images/bullet.gif);
}

/* ordered lists */
ol {
  line-height: 1.5em;
  margin: 0 0 0.5em 1.5em;
  padding: 0;
  padding-left: 4px;
  color: #a01000;
  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: lower-alpha}
ol ol ol {list-style-type: lower-roman}
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 {
  background: transparent url(images/zig.gif) 0px 2px repeat-y;
  padding-left: 8px;
  margin-left: 0;
}

/* code blocks by indention */
pre.pre {
  font-family:"Lucida Console", "Courier New", monospace;
  font-size: 90%;
  padding: 0.5em;
  padding-bottom: 1.1em;
  border: 1px solid #a0a0ac;
  color: Black;
  background-color: #f7f9fa;
  overflow: auto;
  width: 600px;
}

/* code blocks by code tag */
pre.code {
  font-family:"Lucida Console", "Courier New", monospace;	
  font-size: 90%;
  padding: 0.5em;
  padding-bottom: 1.1em; 
  padding-top: 20px; 
  border: 1px solid #a0a0ac;
  color: Black;
  background: #f7f9fa url(images/code1.jpg) no-repeat;
  overflow: auto;
  width: 600px;  
}

/* inline code words */
code {
  font-family:"Lucida Console", "Courier New", monospace;	
  font-size: 9pt;
}

/* code blocks by file tag */
pre.file {
  font-family:"Lucida Console", "Courier New", monospace;	
  font-size: 90%;
  padding: 0.5em;
  padding-bottom: 1.1em; 
  padding-top: 20px;  
  border: 1px solid #a0a0ac;
  color: Black;
  background: #f7f9fa url(images/file1.jpg) no-repeat;
  overflow: auto;
  width: 600px;
}

/* inline tables */
table.inline {
  background-color: #ffffff;
  border-spacing: 0px;
  border-collapse: collapse;
  text-align: left;
}

table.inline th {
  padding: 4px;
  padding-left: 8px;
  padding-right: 8px;
  border: 1px solid #a0a0a0; /* #0070D0; */
  background-color: #fffae0; /* #dee7ec; */
}

table.inline td {
  padding: 3px;
  border: 1px solid #a0a0a0; /* #0070D0; */
}

.leftalign{
  text-align: left;
}

.centeralign{
  text-align: center;
}

.rightalign{
  text-align: right;
}

/* ---------- table of contents ------------------- */

div.toc {
  margin-left: 2em;
  margin-right: 2px; 
  margin-top: 0;
  margin-bottom: 0;
  float:right;
  width: 16em;
  font-size: 80%;
  clear:both;
}

div.tocheader {
  padding: 2px;
  border: 1px solid #404040;
  background-color: #707070;
  color:#ffffff;
  text-align: center;
  font-weight:bold;
  margin-bottom: 0px;
}

div.toctoggle {
  float:right;
  margin-top:0.3em;
  margin-right:3px;
}

div.toctoggle img {
  width:0.8em;
  height:0.8em;
}

#tocinside {
  border: 1px solid #404040;
  border-top: 0px; 
  background-color: #f0f0f0;
  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;
  padding-left: 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 {
  color: #0070D0;
  text-decoration:none;
}

a.toc:hover {
  color: #ffa000;
  text-decoration:none; 
}

/* ---------------------------- Diff rendering --------------------------*/
table.diff { background:white; }
td.diff-blockheader {font-weight:bold}
td.diff-header {
  border-bottom: 1px solid #0070D0;
  font-size:120%;
}
td.diff-addedline {
    background:#ddffdd;
    font-family: "Lucida Console", "Courier New", monospace;
    font-size: 100%;
}
td.diff-deletedline { 
    background:#ffffbb;
    font-family: "Lucida Console", "Courier New", monospace;    
    font-size: 100%;
}
td.diff-context {
    background:#f7f9fa;
    font-family: "Lucida Console", "Courier New", monospace;
    font-size: 100%;
}
span.diffchange { color: red; }

/* --------------------- footnotes -------------------------------- */

div.footnotes{
  clear:both;
  border-top: 1px solid #0070D0;
  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;
  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 #0070D0;
  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.7;
}

.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:225px;;
  text-align:left;
  width: 200px;
  background-color: #ff9;
  opacity: 0.9;
  display:none;
}

/* ---------- Spellchecking ------------- */

a.spell_error {
  color: #ff0000;
  text-decoration: underline;
}

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:"Lucida Console", "Courier New", monospace;
  border: 1px solid #0070D0; 
  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;
}

.highlighted {
    background-color: #ffff80;
}

ins {
    background: #c0ffc0;
    color: #104010;
    text-decoration: none;
    border-bottom: 1px dotted #393;
}

del {
    background: #ffc0c0;
    color: #401010;
}


div.rss { 
	font-size:80%; 
	margin-right: auto; 
	margin-left: auto;
	padding: 4px; 
	border-style: solid; 
	border-width: 8px 1px 1px 1px; 
	border-color: #e0c060; 
	background-color: white;
}

div.rss .title td{
	font-size: 140%;
	font-weight: bold;
	text-align:center;
	padding-bottom:4px;
	width: 100%;
	border-width: 0; 			
}

div.rss .head {
	background-color: #f0f0f0; 	
	border-width: 0;
}

div.rss .head td.news {
	font-weight: normal;
	font-size: 120%;	
	text-align:left;
	border-width: 0;	
}

div.rss .head td.date {
	text-align:right;
	border-width: 0;	
}

div.rss .desc {
	width:100%;
	padding-bottom:4px;
	border-width: 0;
}
