/*
 * Design elements for Roundbox Template
 *
 * @author Andreas Gohr <andi@splitbrain.org>
 * @author Anika Henke <henke@cosmocode.de>
 * @author Christopher Arndt <chris@chrisarndt.de>
 */

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

body {
	font: 10pt "Tahoma", Arial, sans-serif;
	color: #000000;
	background-color: #dddddd;
	margin: 0;
	padding: 1%;
}

#header {
	background-color: #a9bec7;
	border-color: black;
	font-family: "Times New Roman","Times",serif;
}

#header_title {
	font-weight: normal;
	font-style: italic;
	color: #000000;
}

#header_bar {
	color: #000000;
	background-color: #eeeeee;
	border-color: black;
}

#header a, #header:visited, #header a:hover {
	border: 0px;
}

.logo a:link, .logo a:visited, .logo a:hover, .logo a:active {
	color: #000000;
	text-decoration:none;
}

.logo {
	font-size: 250%;
}

.pagename {
	color: #000000;
	font-size: 150%;
	font-weight: bold;
}

.tagline {
	letter-spacing: 0.2em;
	font-size: 120%;
	font-weight: bold;
}

.toplink {
	font-size: 10pt;
	margin-top: 0.5em;
	background: transparent url(images/up.gif) left center no-repeat;
	padding-left: 15px;
}

/* ---------- the document ---------- */

#content {
	color: #000000;
	background-color: #a9bec7;
	border-color: black;
}

.page {
	background-color: #eeeeee;
	text-align: left;
}

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;
}

hr {
	border: 0px;
	border-top: 1px solid #000000;
	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 #8cacbb;
	padding: 0.5em;
}

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

input.edit[type="text"], select.edit {
	font-size: 100%;
	border: 1px solid #8cacbb;
	height: 18px !important;
	max-height: 22px !important;
	min-height: 22px !important;
	color: black;
	vertical-align: middle;
	padding: 1px;
	display: inline;
}

/* file selector - does not currently work */
input.edit[type="file"] {
	-moz-appearance: none;
	white-space: nowrap;
	cursor: default;
	-moz-binding: none;
	padding: 0 !important;
	border-style: none !important;
}

input.edit[type="file"] > input[type="text"] {
	border-color: inherit;
	background-color: inherit;
	color: inherit;
	font-size: inherit;
	height: inherit;
}

/* button part of file selector */
input.edit[type="file"] > input[type="button"] {
	height: inherit;
	font-size: inherit;
}

input.edit[type="text"] {
	background-color: #dee7ec;
}

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

#qsearch_in {
	margin-right: 0.5em;
}

.toolbar a, .toolbar a:visited, .toolbar a:hover {
	border: 0px;
}

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

input.button {
	color: #000000;
	background-color: #a9bec7;
	border: solid 1px black;
	vertical-align: middle;
	text-decoration:none;
	font-size: 100%;
	cursor: pointer;
	height: 22px !important;
	max-height: 22px !important;
	min-height: 22px !important;
	margin: 1px;
	display: inline;
}

div.secedit input.button {
	border: 1px solid #8cacbb;
	color: black;
	background-color: white;
	vertical-align: middle;
	text-decoration:none;
	margin: 0px;
	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 {
	text-decoration: none;
	color: #000000;
}

a:visited {
	color: #777777;
}

a:hover {
	color: #000080;
}


/* external link */
a.urlextern {
    /* background: transparent url(images/link_icon.gif) 0px 1px no-repeat; */
    /* padding: 1px 0px 1px 16px; */
    /* color: #000000;
    text-decoration:none; */
	border-bottom: 1px dotted #000000;
}

a.urlextern:visited {
	/* color: #777777; */
}

a.urlextern:hover {
	/* color: #000000; */
	border-bottom: 1px dotted #000000;
}

/* windows share */
a.windows {
	background: transparent url(images/windows.gif) 0px 1px no-repeat;
	padding: 1px 0px 1px 16px;
	/* color: #777777;
	text-decoration:none; */
	border-bottom: 1px dotted #777777;
}

a.windows:visited {
	/* color: #777777; */
}

a.windows:hover {
	/* color: #000000; */
	border-bottom: 1px dotted #000000;
}

/* interwiki link */
a.interwiki {
	background: transparent url(images/interwiki.png) 0px 1px no-repeat;
	padding-left: 16px;
	/* color: #777777;
	text-decoration:none; */
	border-bottom: 1px dotted #777777;
}

a.interwiki:visited {
    /* color: #777777; */
}

a.interwiki:hover {
	/* color: #000000; */
	border-bottom: 1px dotted #000000;
}

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

a.media:visited {
    /* color: #777777; */
}

a.media:hover {
	/* color: #000000; */
}

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

a.mail:visited {
    /* color: #777777; */
}

a.mail:hover {
	/* color: #000000; */
	border-bottom: 1px dotted #000000;
}

/* existing wikipage */
a.wikilink1 {
	color: #779977;
	border-bottom: 1px dotted #779977;
}

a.wikilink1:visited {
	color: #779977;
}

a.wikilink1:hover {
	color: #99cc99;
	border-bottom: 1px dotted #99cc99;
}

/* not existing wikipage */
a.wikilink2 {
	color: #dd3333;
	border-bottom: 1px dotted #dd3333;
}

a.wikilink2:visited {
	color: #dd3333;
}

a.wikilink2:hover {
	color: #FF3300;
	border-bottom: 1px dotted #FF3300;
}

/* ---------- page elements ---------- */

.preview {
  background: #eeeeee;
  margin-left:2em;
  padding: 4px;
  border: 1px dashed black;
}

.breadcrumbs {
	font-size: 85%;
	font-weight: normal;
	color: #000000;
	margin-top: 0px;
	margin-bottom: 0.3em;
	margin-left: 0px;
	margin-left: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 0.1em;
	padding-right: 0.1em;
}

.breadcrumbs a, .breadcrumbs:visited, .breadcrumbs a:hover {
	border: 0px;
}

.user {
	color: #000000;
	font-size: 80%;
	text-align: center;
	margin-bottom: 0.3em;
}

.meta {
	color: #638c9c;
}

/* 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 #222222;
}

/* general headline setup */
h1, h2, h3, h4, h5 {
    /* color: black; */
    background-color: transparent;
    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 #000000;
    clear: left;
}

/* special headlines */
h1 {font-size: 160%; margin-left: 0px; font-weight: bold;}
h2 {font-size: 150%;}
h3 {font-size: 140%; border-bottom: none; font-weight: bold;}
h4 {font-size: 120%; border-bottom: none; font-weight: bold;}
h5 {font-size: 100%; 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 */
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;
	list-style-image: none;
	font-weight: bold;
}

/* the list items overriding the ol definition */
.li {
	/* color: black; */
	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 #8cacbb;
	padding-left: 3px;
	margin-left: 0;
}

/* code blocks by indention */
/* code blocks by file tag */
/* code blocks by code tag */
pre.pre, pre.file, pre.code {
	font-size: 100%;
	padding: 0.5em;
	border: 1px dotted #800000;
	color: black;
	background-color: #dee7ec;
	overflow: auto;
}

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

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

table.inline th {
	padding: 3px;
	border-top: 2px solid #000000;
	border-bottom: 2px solid #000000;
	border-left: none;
	border-right: none;
	color: #000000;
	background-color: #dee7ec;
}

table.inline td {
	padding: 3px;
	border-top: 1px solid #666666;
	border-bottom: 1px solid #666666;
	border-left: none;
	border-right: none;
}

.leftalign {
	text-align: left;
}

.centeralign {
	text-align: center;
}

.rightalign {
	text-align: right;
}

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

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

#toc__header {
	padding: 3px;
	width: 95%;
	border: 1px solid #8cacbb;
	background-color: #dee7ec;
	text-align: left;
	font-weight: bold;
	margin-top: 4px;
}

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

#toc__inside {
	border: 1px solid #8cacbb;
	padding: 3px;
	width: 95%;
	text-align: left;
	margin-top: 5px;
	background: #eeeeee;
}

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;
	margin-left: -0.5em;
	padding-left: 0.4em;
}

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

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

a.toc:hover {
	color: black;
	text-decoration: underline;
}

/* ---------- diff rendering ---------- */
table.diff {
	background: white;
	color: black;
}

td.diff-blockheader {
	font-weight: bold
}

td.diff-header {
	border-bottom: 1px solid #8cacbb;
	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 #8cacbb;
	padding-top: 0.2em;
	padding-left: 1em;
	margin-top: 1.2em;
}

div.fn {
	font-size: 10pt;
}

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: black;
}

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

div.search_quickresult{
	margin-bottom: 15px;
	padding-bottom: 5px;
	border-bottom: 1px dashed #8cacbb;
	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 {
	border: 0px;
}

.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: 225px;
	text-align: left;
	width: 200px;
	background-color: #ff9;
	opacity: 0.9;
	display: none;
}

/* ---------- spellchecking ---------- */

a.spell_error {
	color: red;
	text-decoration: underline;
}

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

div#spell_result {
	display: none;
	font-family: monospace;
	border: 1px solid #8cacbb;
	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; */
	padding: 1em;
	text-align: center;
}

div.img_big img {
	border: thick ridge #a9bec7;
}

table.img_tags {
	padding: 0px;
	border-collapse: collapse;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}

table.img_tags caption {
	color: #000000;
	font-size: large;
	font-weight: bold;
	text-align: left;
	border-bottom: thin solid #000000;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0.5em;
	padding-left: 0px;
	padding-right: 0.2em;
	padding-top: 0.2em;
	padding-bottom: 0.2em;
}

table.img_tags td, table.img_tags th {
	padding-left: 0.5em;
	padding-right: 0.5em;
	padding-top: 0.2em;
	padding-bottom: 0.2em;
	color: #666666;
	border: thin solid #666666;
}

table.img_tags th {
	background-color: #999999;
	font-weight: bold;
	text-align: center;
}

table.img_tags td.label {
	font-weight: bold;
	background-color: #dee7ec;
	width: 30%;
}

table.img_tags td.value {
	background-color: #f5f5f5;
}

.imagemeta {
	color: #666666;
	font-size: 70%;
	border: thin solid #666666;
}

.imagemeta .contents {
	background-color: #f5f5f5;
	padding: 0.3em;
}

.imagemeta .caption {
	padding: 0.3em;
	font-weight: bold;
	background-color: #999999;
}

.img_title {
/* 	border: 0px;
	margin-bottom: 0.5em;
 */}

.img_backto {
	margin-left: 1em;
}

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

div.mediaselect-right li {
	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;
}

div.uploadform {
	padding: 0.5em;
	border-bottom: 1px solid #000000;
}

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

div.success, div.error {
	/* disabled, until I get around to attaching JavaScript to this area
	 * to hide it when clicked. */
	/* background-image: url(images/close.png);
	background-position: left center;
	background-repeat: no-repeat;
	padding-left: 25px; */
	color: #a9bec7;
	font-weight: bold;
	border: thin solid black;
	padding: 0.2em;
	padding-left: 3em;
}

