/*
 * BMVA style sheet.
 * Merges layout, design and sidebar of roundbox template
 * to simplify management.  It may appear sensible to separate design
 * and layout, but not when it means that multiple properties of the same
 * object are spread across three files.  And layout and design are not
 * clearly distinct: is margin layout or design?  What if the background
 * image needs to match a margin?
 *
 * @author awf@fitzgibbon.ie 
 *
 * @author Andreas Gohr <andi@splitbrain.org>
 * @author Anika Henke <henke@cosmocode.de>
 * @author Christopher Arndt <chris@chrisarndt.de>
 */

/* OVERALL PAGE LAYOUT */

body {
	font: 90% "Trebuchet MS", Helvetica, Arial, sans-serif;
	color: red;
	background-color: white;
	margin: 0;
	padding: 1%;
}

/* -------------- top row --------------- */
#header {
	top: 0.8em;
	border: solid 0px black;
	padding: 0.8em;
	background-color: #c0c0c0;
	color: #0000c0;
	border-color: black;
	font-family: "Times New Roman","Times",serif;
	text-align: right;
}

/* ---------- sidebar | content ---------- */
#sidebar_and_content { 
        /*border: solid 12px blue;*/
	left: 4.8em;
        right: 0.8em;
	margin: 0;
	padding: 0;
/*	background-color: red;*/
	background: transparent url(images/bluebg.jpg) left repeat-y;
}


/* ---------- sidebar ---------- */
#sidebar {
	float: left;
	width: 185px;
	margin: 0px;
	background-color: #555577; 
}

/* ---------- document ---------- */
#content {
	border: solid 0px black;
	padding: 0 0 0 0;
	color: black;
	background-color: white;
	margin: 0 0 0 187px;
}

/* end of sidebar_and_content */

/* begin footer1 */
#footer1 {
	background-color: black;
}

/* ---------- footer: user name/login ---------- */
#user {
	width: 187px;
	height: 1.4em;
	float: left;
	margin: 0px;
	background-color: black;
}

#user_smallfont {
	font-size: 80%;
}

/* ---------- footerinc ---------- */

#footerinc {
	color: black;
	background-color: #c0c0c0;
	height: 1.4em;
	margin: 0 0 0 187px;
}

/* end of footer1 */

/* ---------- footbar ---------- */
#footbar {
	margin: 0;
	height: 2em;
	padding-top: 0.3em;
	padding-left: 0.4em;
	padding-right: 0.4em;
}

.bar_left {
	padding-top: 0.3em;
	float: left;
	text-align: left;
}

.bar_right {
	float: right;
	text-align: right;
}

.tagline {
	margin-left: 2em;
}

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

#page {
	border: solid 0px black;
	background-color: white;
	margin: 0px;
	padding-top: 0.2em;
	padding-bottom: 0.4em;
	padding-left: 0.4em;
	padding-right: 0.4em;
}

/* ---------------  Media Selection  ----------------- */

div.uploadform {
	margin-top: 0.5em;
}

.mediaselect-left {
	/* float: left; */
	padding: 0.5em;
}

.mediaselect-right {
	/* float: right; */
	padding: 0.5em;
}

.mediaselect-right table {
	width: 100%;
}

.mediaselect-right table td {
	text-align: center;
}

div.mediaref_head {
	margin-left: 0.5em;
}

div.mediaref .search_result {
	padding-left: 1em;
}

.mediaref_ref {
	color: #009900;
}

div.mediaref_hidden {
	margin-top: 1em;
	text-align: center;
	font-size: 1.2em;
	color: #BB0000;
}

div.mediaref_footer {
	margin-top: 1em;
	text-align: center;
}
/*
 ------------------ Sidebar elements --------------------
 */

/* sitecmd holds the edit commands, 
 * sitenav holds the contents of the "sidebar" topic */

#sitenav { 
	border: solid 0px black;
	padding-top: 0.2em;
	padding-bottom: 0.2em;
	padding-left: 0.2em;
	padding-right: 0.2em;
	margin-top: 0px;
	margin-left:  0px;
	margin-right: 0px;
	margin-bottom: 1.0em;
}

#sitecmd {
	background-color: #c0c0f0;
	margin-top: 0px;
	margin-left:  0px;
	margin-right: 0px;
	margin-bottom: 0.0em;
	border: solid 0px;
	padding-top: 0.2em;
	padding-bottom: 0.2em;
	padding-left: 0em;
	padding-right: 0.2em;
}

#sitecmd_title, 
#sitenav_title {
	font-family: "Times New Roman","Times",serif;
	color: black;
	font-weight: bold;
	font-size: 110%;
	padding-left: 0.2em;
	padding-top: 0em;
	padding-bottom: 0em;
}

#sitecmd_content, 
#sitenav_content {
	overflow: hidden;
	font-size: 100%;
	border: solid 0px black;
	padding-left: 0.1em;
	padding-right: 0em;
	padding-top: 0em;
	padding-bottom: 0em;
}

/* ---------- unordered lists in sidebar ---------- */
#sidebar ul {
  list-style-type: none;
  list-style-image: none;
  line-height: 1.2em;
  margin: 0;
  padding: 0;
  padding-left: 0.8em;
}

#sitenav ul li {
  background: transparent url(images/closed.gif) left top no-repeat;
  padding-left: 0.6em;
}

#sitenav ul.idx li.open {
	list-style-image: none;
	background: transparent url(images/open.gif) left top no-repeat;
}

#sitenav ul.idx li.closed {
	list-style-image: none;
	background: transparent url(images/closed.gif) left top no-repeat;
}

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

#sitecmd ul {
  padding-top: 0.4em;
}

#sitecmd ul li {
  background: transparent url(images/bullet.gif) left top no-repeat;
  padding-left: 0.6em;
}

/* ---------- links ---------- */
#sitenav a, 
#sitecmd a  {
	border: 0px;
	color: white; /* needed for IE6 in windows */
	text-decoration: none;
}

#sitenav a[href]  { color: #ededff; }
#sitecmd a[href]  { color: #0000ff; }

/* #sitenav a[href].urlextern  { text-decoration: underline; } */

#sitenav a[href]:hover,
#sitecmd a[href]:hover  {
	text-decoration: underline;
}

.buttonbox {
	text-align: center;
}

.buttonbox input.button {
	width: 90%;
}

/* ---------- special headlines ---------- */
#sidebar h1 {
	color: white;
	font-size: 100%;
	margin-left: 0.1em;
	margin-bottom: 0.5em;
	border-bottom: none;
}
/*
 * 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 ---------- */



/* ---------- header elements ---------- */

#header_large {
	font-size: 300%;
	font-weight: bold;
}

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

/* ---------- footbar elements ---------- */

#footbar {
	color: #08b49c;
	background-color: #945178;
	border: solid 1px black;
}

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

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


.page {
	background-color: white;
	border-color: green;
}

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

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 #b8b49c;
	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: #e0ffe0;
	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: #b8b49c;
	background-color: #123456;
	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 ---------- */

/* This applies to anchors without hrefs, so makes headings light up...
a:hover {
	color: #ccccff;
}
*/


/* external link */
a.urlextern {
        color: #000099;
	text-decoration: none;
}

a.urlextern:visited {
        color: #000099;
}

a.urlextern:hover {
	text-decoration: underline;
}

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

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

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

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

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

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

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

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

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

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

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

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

/* existing wikipage */
a.wikilink1 {
	color: #006699;
	text-decoration: none;
}

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

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

/* not existing wikipage */
a.wikilink2 {
	color: #006699;
	text-decoration: none;
	border-bottom: 1px dotted #dd0000;
}

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

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

.preview {
  background: white;
  margin-left:0em;
  padding: 4px;
  border: 1px dashed black;
}

.breadcrumbs {
	font-size: 85%;
	font-weight: normal;
	color: #b8b49c;
	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" div holds "Logged in as: ..." */
#user {
	background-color: #0000b0;
	color: white;
	text-align: center;
}

#user a {
	font-size: 80%;
	color: #909090;
	text-decoration: underline;
}

#user a:hover {
	font-size: 80%;
	color: #101010;
	text-decoration: underline;
}

#pageinfo {
	text-align: left;
	color: #c0c0c0;
	font-size: 70%;
}

/* 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; */
    color: #000090;
    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;
}

/* special headlines */
h1 {font-size: 160%; margin-left: 0px; font-weight: bold; 
    font-family: Helvetica; 
    border-bottom: 1px solid #b8b49c; }
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: 3px;}
div.level3 {margin-left: 3px;}
div.level4 {margin-left: 3px;}
div.level5 {margin-left: 3px;}

/* 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 #666666;
	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: #666666;
	background-color: #dee7ec;
}

table.inline th {
	padding: 3px;
	border: 1px solid #666666;
	background-color: #999999;
}

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

.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 #8cacbb;
	background-color: #dee7ec;
	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 #8cacbb;
	background-color: white;
	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: #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: 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: 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 {
	color: black;
	background-color: #c0c0c0;
	border: 0px;
}

.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: #f0f090;
	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 #123456;
}

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

table.img_tags caption {
	color: #b8b49c;
	font-size: large;
	font-weight: bold;
	text-align: left;
	border-bottom: thin solid #b8b49c;
	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 #b8b49c;
}

/* ---------- 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: #123456;
	font-weight: bold;
	border: thin solid black;
	padding: 0.2em;
	padding-left: 3em;
}

.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
    clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}
