/*
 * 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: 90% "Trebuchet MS", verdana, Arial, sans-serif;
	color: __text__;
	background-color: __background__;
	margin: 0px;
	padding: 5px;
}

#header {
	background-image: url(images/prechod.gif); 
	background-repeat: repeat-y;
	background-position: 100% 0%;
	background-color: __sz_blue_dark__; 
	border-color: __border__;
	font-family: "Times New Roman","Times",serif;
}

#header_second {
	background-image: url(images/vikingove.gif); 
	background-repeat: no-repeat;
	background-position: 0% 100%; 
}

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

#header_image {
	position: absolute;
	bottom: 0px;
}

#header_bar {
	background-color: __sz_blue_light__;
	border-color: __border__;
}

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

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

.logo {
	font-size: 280%;
	margin: 0px;
	border: none;
	font-weight: normal;
}

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


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

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

#content {
	background-color: __sz_blue_dark__;
	border-color: __border__;
}

.page {
	background-color: __sz_blue_light__;
}


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

#alphaindex p {
	margin: 0px;
}

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

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

#bar_topleft a {
	color: __sz_gold__;
	font-size: 110%;
	font: 110% "Trebuchet MS", verdana, Arial, sans-serif;
	font-weight: bold;
}

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

form {
	border: none;
	margin: 0;
	display: inline;
}

label {
	font-weight: bold;
}

label.simple {
	text-align: left;
	font-weight: normal;
}

fieldset {
	width: 300px;
	text-align: right;
	border: 1px solid __sz_blue_middle__;
	padding: 0.5em;
}

textarea.edit {
	font-family:monospace;
	border: 1px solid __sz_blue_middle__;
	color: black;
	background-color: white;
	font-size:14px;
	padding: 3px;
}

input.edit[type="text"], select.edit {
	font-size: 100%;
	border: 1px solid __sz_blue_middle__;
	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: __sz_blue_white__;
}

input.missing {
	font-size: 100%;
	border: 1px solid __sz_blue_middle__;
	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;
}

button.toolbutton {
  background-color: __sz_blue_middle__;
  padding: 3px;
  margin: 0 1px 0 0;
  border: 1px solid __border__;
  cursor: pointer;
}

/* nice alphatransparency background except for IE <7 */
html>body button.toolbutton {
  background:  __sz_blue_middle__ url(images/buttonshadow.png) repeat-x bottom;
}

/* insitu-footnotes */

div.insitu-footnote {
  line-height: 1.2em;
  background-color: __background__; 
  border: 1px solid __sz_blue_dark__;
  text-align: left;
  padding: 4px;
  max-width: 40%;    /* IE's width is handled in javascript */
}

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

input.button {
	color: __sz_gold__;
	background-color: __sz_blue_dark__;
	border: solid 1px __border__;
	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 __sz_blue_middle__;
	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 ---------- */

.page table a {
	color: #999;
}

.page table a:hover {
	color: #aaa;
}

/* existing wikipage */
.page table a.wikilink1 {
	color: __existing__;
	border-bottom: 1px dotted __existing__;
}

.page table a.wikilink1:visited {
	color: __existing__;
}

.page table a.wikilink1:hover {
	color: __existing_hover__;
	border-bottom: 1px dotted __existing_hover__;
}


a {
	text-decoration: none;
	color: __link__;
}

a:visited {
	color: __link__;
}

a:hover {
	color: __link_hover__;
}


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

a.urlextern:visited {
	/* color: __link__; */
}

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

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

a.windows:visited {
	/* color: __link__; */
}

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

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

a.interwiki:visited {
    /* color: __link__; */
}

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

/* link to some embedded media */
a.media {
	border-bottom: 1px dotted __link__;
}

a.media:visited {
    /* color: __link__; */
}

a.media:hover {
	/* color: __link_hover__; */
}

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

a.mail:visited {
    /* color: __link__; */
}

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

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

a.wikilink1:visited {
	color: __existing__;
}

a.wikilink1:hover {
	color: __existing_hover__;
	border-bottom: 1px dotted __existing_hover__;
}

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

a.wikilink2:visited {
	color: __missing__;
}

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

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

.preview {
  background: __sz_blue_dark__;
  margin-left:2em;
  padding: 4px;
  border: 1px dashed __border__;
}

.breadcrumbs {
	font-size: 85%;
	font-weight: normal;
	color: __sz_gold__;
	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: __text__;
	font-size: 80%;
	text-align: center;
	margin-bottom: 0.3em;
}

.meta {
	color: __existing__;
}

/* 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, applet.mediacenter {
	border: 0;
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

acronym {
	cursor: help;
	border-bottom: 1px dotted __link__;
}

/* 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 __text__;
    clear: left;
}

/* special headlines */
h1 {font-size: 160%; margin-left: 0px; font-weight: bold;}
h2 {font-size: 150%; margin-left: 4px;}
h3 {font-size: 140%; margin-left: 8px; border-bottom: none; font-weight: bold;}
h4 {font-size: 120%; margin-left: 12px; border-bottom: none; font-weight: bold;}
h5 {font-size: 100%; margin-left: 16px; border-bottom: none; font-weight: bold;}

/* indent different sections */
div.level1 {margin-left: 4px;}
div.level2 {margin-left: 8px;}
div.level3 {margin-left: 12px;}
div.level4 {margin-left: 16px;}
div.level5 {margin-left: 20px;}

/* 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;
	display: inline;
}

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 __sz_blue_middle__;
	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 __text__;
	color: black;
	background-color: __sz_blue_white__;
	overflow: auto;
}

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

/* inline tables */
table.inline {
	border-spacing: 0px;
	border-collapse: collapse;
	color: __text_other__;
	background-color: __sz_blue_white__;
}

table.inline th {
	padding: 3px;
	border: 1px solid __text_other__;
	background-color: __link__;
}

table.inline td {
	padding: 5px;
	border: 1px solid __text_other__;
}

.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;
	border: 1px solid __sz_blue_middle__;
	text-align: left;
}

div.tocheader {
	text-align: right;
}

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

#tocinside {
	border: 1px solid __sz_blue_middle__;
	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 {
	padding-left: 0px;
}

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

a.toc {
	text-decoration: none;
}

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

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

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

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

div.fn {
	font-size: 90%;
}

a.fn_top {
	color: __existing__;
	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: __link__;
	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 __sz_blue_middle__;
	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 __border__;
	font-size: 80%;
	z-index: 2;
}

div#spell_result {
	display: none;
	font-family: monospace;
	border: 1px solid __sz_blue_middle__;
	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 __sz_blue_dark__;
}

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: __link__;
	font-weight: bold;
	text-align: center;
}

table.img_tags td.label {
	font-weight: bold;
	background-color: __sz_blue_white__;
	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: __link__;
}

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

.img_backto {
	margin-left: 1em;
}

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

div.mediaselect-right li {
	clear: both;
}

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: __sz_blue_dark__;
	font-weight: bold;
	border: thin solid __border__;
	padding: 0.2em;
	padding-left: 3em;
}

