/* ##### Common Styles ##### */

body {
  color: black;
  margin-top: 0px;
  margin-right: 0px;
  margin-left: 0px
}

a {text-decoration: none; }
a:link { text-decoration: none; }
a:link:hover, a:link:active { text-decoration: underline; color: green; }
a:visited { text-decoration: none; color: blue; }
a:visited:hover { text-decoration: none; color: red; }

acronym, .titleTip {
  border-bottom: 1px dotted rgb(153,153,153);
  cursor: help;
  margin: 0;
  padding: 0 0 0.4px 0;
}

.doNotDisplay {
  display: none;
}

.smallCaps {
  font-size: 1.0em;
  font-variant: small-caps;
}


/* ##### Header ##### */
.superHeader {
/*  color: white; */
/*  background-color: rgb(100,135,220); */
  background-color: #cccccc;
  font-size: 1.0em;
  height: 2.4em;
}

.superHeader a {
/*  color: white; */
  background-color: transparent;
  text-decoration: none;
  margin: 0;
  padding: 0 0.5ex 0 0.25ex;
}

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

.superHeader .left {
  position: absolute;
  left: 1.5mm;
  top: 0.6ex;
}

.superHeader .right {
  position: absolute;
  right: 1.5mm;
  top: 0.6ex;
}

.midHeader {
/*  color:white; */
/*  background-color: #1C2D95;*/
  background-color: #eeeeee;
/* height: 70px; */
/*  border:1px solid #1C2D95;/*important for top*/
  border: none; /* 1px solid blue;*/
  margin-left: 10px;
  margin-right: 8px;
  margin-top: 5px;
  padding-right: 5px;
  /*border-bottom: 3px solid #b00;*/
}
.midHeader p {
    text-align: right;
    font-family: fantasy;
    font-variant: small-caps;
    font-size: large;
}

#logo {
	float: left;
	clear: both;
	padding: 3 3px;
}

#logo img {
	/* logo image */
        vertical-align: middle;
	margin: 0 10px 0 0;
	clear: both;
}

#pagelocation {
    clear: right;
    display: block;
    margin: 8px 0;
    padding: 0 10px;
    font-size: 1.6em;
}

*[dir="rtl"] #pagelocation {
    clear: left;
}

#pagelocation li {
    display: inline;
    padding: 0 2px;
    margin: 0 0 5px 0;
}

#pagelocation li:after {
    content: "/ ";
}

*[dir="rtl"] #pagelocation li:after {
    content: " \\ "; /* TODO: check what looks best with RTL */
}

#pagelocation li:last-child:after {
    content: "";
}

#title {
    padding-left: 5px;
}

#interwiki span:after {
    content: ": ";
}

.headerTitle {
  margin: 0 0 0 4mm;
  padding: 0.25ex 0;
}

.subHeader {
/*  color: white; */
/*  background-color: rgb(0,51,153); */
  background-color: #eeeeee;
  font-size: 1.0em;
  margin: 0;
  padding: 1ex 1ex 1ex 1.5mm;
}

.subHeader a {
/*  color: white; */
  background-color: transparent;
  text-decoration: none;
  font-weight: bold;
  margin: 0;
  padding: 0 0.75ex 0 0.5ex;
}  

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

.superHeader .highlight, .subHeader .highlight {
  color: rgb(253,160,91);
  background-color: transparent;
}


/* ##### Side Bar ##### */

table.columnizer {
    width: 100%;
    padding: 8px;
    margin-top: 0px;
    clear: left;
}

tr.columnizer {
    vertical-align: top;
}

td.nav {
    border: none;
    width: 170px;
    vertical-align: top;
}

td.content {
    border: none;
    text-align: left;
    vertical-align: top;
}

#sidebar {
  background: #eeeeee;
/*  background-image: url('/moin/navigation/img/menu.jpg'); */
  margin-right: 5px;
  margin-left: 8px;
  margin-top: 8px;
  padding-top: 5px;
  padding-bottom: 15px;
  padding-left: 6px;
  padding-right: 5px;
  font-size: 1.0em;
}

#sidebar div {
}

.sideBarTitle {
  margin-bottom: 0;
}

.actionsmenu {
  padding: 0 0 0 5px;
}

#sidebar ul {
  list-style-type: none;
  list-style-position: outside;
  margin-left: 0;
  margin-top: 0;
  padding-top: 0;
  padding-left: 0;
}

#sidebar li {
  margin-left: 10px;
  text-decoration: none;
/*  margin: 0;*/
/*  padding: 0.1ex 0;  /* Circumvents a rendering bug (?) in MSIE 6.0 */
}

#sidebar a, .current {
  text-decoration: none;
/*  padding: 0.25em 1ex 0.25em 5mm;*/
/*  display: block;*/
}

.current {
  color: rgb(253,160,91);

  border-top: 1px solid rgb(253,160,91);
  border-bottom: 1px solid rgb(253,160,91);
  
}

#sidebar a:hover {
/*  color: white; */
/*  background-color: rgb(100,135,220); */
  background-color: #eeeeee;
  text-decoration: none;
}

.sideBarText {
  line-height: 0.5em;
/*  margin: 0 0 1em 0;
  padding: 0 0.5ex 0 2.5mm;
  display: block;
*/
}

#sidebar .sideBarText a {
  text-decoration: underline;
  margin: 0;
  padding: 0;
  display: inline;
}

#sidebar .sideBarText a:hover {
  color: rgb(0,102,204);
  background-color: transparent;
  text-decoration: none;
}

#iconbar {
	clear: both;
	float: right;
	margin: 5px 5px 5px 10px;
	padding: 0;
	white-space: nowrap;
}

*[dir="rtl"] #iconbar {
	float: right;
	margin: 5px 10px 5px 0;
}

#iconbar li {
	display: inline;
	padding: 0;
	margin: 0 2px;
}

.lighterBackground {
  color: inherit;
  background-color: white;
}


/* ##### Main Copy ##### */

#page {
  color: black;
  background-color: white;
  line-height: 1.25em;
 /* margin: 0 0 0 15em;*/
  margin-right: 5px;
  margin-top: 8px;
  margin-left:2px;
  padding: 0.5mm 5mm 5px 5mm;
}

#page p {
  margin: 0.6em 1ex 0.6em 1ex;
  padding: 0;
}

#page a {
  color: rgb(0,102,204);
  background-color: transparent;
}

#page a.nonexistent, a.badinterwiki {
    color: #900000;
    border-bottom: dotted 1px;
}

#page a:hover {
  text-decoration: underline;
}

#page a[name] { color: black; }
#page a[name]:hover { text-decoration: none; }
#title a { color: black; }

#page .topOfPage {
/*  color: white; */
  background-color: transparent;
  text-decoration: none;
  margin: 2.5ex 1ex 0 0;  /* For MSIE */
  padding: 0;
  float: right;
}

#page > .topOfPage {
  margin: 2.75ex 1ex 0 0;  /* For fully standards-compliant user agents */
}

/* Table of contents */
#contents {
  border: 1px solid #bbb;
  margin: 1.5em 1ex 0.2em 1ex;
  display: table;
  background-color: #e8e8f8;
}
#contents ul { 
  margin-right: 5px;
}
#contents p.topic-title { 
  font-weight: bold;
}
#contents a.reference {
  color: rgb(0,102,204);
  background-color: transparent;
}

dl {
  margin: 1em 1ex 2em 1ex;
  padding: 0;
}

dt {
  font-weight: bold;
  margin: 0 0 0 0;
  padding: 0;
}

dd {
  margin: 0 0 0.5em 1em;
  padding: 0;
}

pre {
  background-color: #FFF8ED;
}

/* ##### Footer ##### */

#footer {
/*  background-color: rgb(100,135,220); */
  font-size: 1.0em;
  margin: 0;
/*  padding: 1em 2.5mm 2.5ex 2.5mm; */
  clear: both;
  text-align: center;
}

#footer .left {
  line-height: 1.45em;
  float: left;
  clear: left;
}

#footer .right {
  text-align: right;
  line-height: 1.45em;
}

#footer a {
  background-color: transparent;
  text-decoration: none;
}

#footer a:hover {
  text-decoration: none;
}

#footer li {
  display: inline;
  padding: 0 2px;
  margin: 0 4px;
  text-align: center;
}


/* DL addition from rightsidebar/classic screen.css*/

#pagetrail {
        background-color: #eeeeee;
	clear: left;
	font-size: 1.0em;
	height: 2em;
	margin-left: 10px;
	margin-right: 8px;
}

*[dir="rtl"] #pagetrail {
	clear: right;
}

#pagetrail li  {
	float: left;
	display: block;
	margin: 2px 0 3px 5px;
	padding: 0 0px;
}

*[dir="rtl"] #pagetrail li {
	float: right;
}

#pagetrail a {
	text-decoration: none;
	color: rgb(0,102,204);
}

/* XXX Warning: non-ascii characters! */
#pagetrail li:after {
	content: " »";
}

#searchform {
	margin: 5px 0 5px 0;
        text-align: center;
}

*[dir="rtl"] #searchform {
	margin: 0 0 0 0;
}

#searchform form div {
    display: inline;
}

/*new*/
#searchform div {
    border-bottom: 0;
}

#pageline {
    clear: both;
    margin: 0;
    padding: 0;
    width: 100%;
    /* sync these values, line-height is needed for IE */
        height: 4px;
        line-height: 4px;
    border-bottom: 1px solid #9C9C9C;
/*    background: #81BBF2; */
    background-color: #eeeeee;
}

.editbar {
    display: block;
    margin: 0;
    padding: 0 8px 4px 8px;
    white-space: nowrap;
    height: 2.5em;  /* this has to be adapted to user's font size! fragile!
                       It is differently broken depending on the stuff following it.
                       2em looks good on MoinMoin:AnyPage, but not on RecentChanges! */
    background: white;
    font-size: 1.0em; /* 13px */
    margin-left: 8px;
    margin-right: 5px;
    float: right;
/*   border: 1px solid black; */
}

.editbar form, .editbar form div {
    display: inline;
    margin: 0;
}

.editbar li {
    float: left;
    display: inline;
    padding: 0;
    margin: 4px 6px;
}

*[dir="rtl"] .editbar li {
    float: right;
}

#header .editbar {
    border-bottom: 1px dotted #9C9C9C;
}

#footer .editbar {
    border-top: 1px dotted #9C9C9C;
    border-bottom: 1px solid #9C9C9C;
}

.editbar a, .editbar a:visited { color: #0044B3; }

#message {
	padding: 0.5em;
	background-color: #FFFFC0;
	margin-left: 10px;
	margin-right: 8px;
}

#message p{
	margin: 0;
}

#message a{
	margin: 0;
	color: rgb(0,102,204);
}

/* We use here dumb css1 ids becuase of IE suckiness */
#editor-textarea, #editor-comment {
    width: 99%;
}

#pagebottom {
	clear: both;
}

#pageinfo {
	font-style:italic;
}

#preview {
	border: 2px solid #e5e5e5;
	padding: .5em;
	background: url(../img/draft.png);
}

.diff {
	width:99%;
}

.diff-title {
	background-color: #C0C0C0;
}

.diff-added {
	background-color: #E0FFE0;
	vertical-align: sub;
}

.diff-removed {
	background-color: #FFFFE0;
	vertical-align: sub;
}

.diff-added span {
	background-color: #80FF80;
}

.diff-removed span {
	background-color: #FFFF80;
}

.searchresult dd span {
	font-weight: bold;
}

#timings {
    margin: 5px 10px;
    padding: 0;
    text-align: center;
    font-size: 1.0em;
    color: #6C7680;
}

#timings li {
    display: inline;
    padding: 0 2px;
    margin: 0 4px;
}

#pageinfo {
    text-align: center;
    font-style: normal;
    margin-bottom: 0;
}

#copyright_notice {
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
}

#hosting_sponsor {
    text-align: center;
    margin-top: 0;
}

#username {
    margin: 0 10px;
    padding: 8px 0 0 0;
    text-align: right;
    font-size: 1.0em;
    white-space: nowrap;
}

*[dir="rtl"] #username {
    text-align: left;
}

#username li {
    display: inline;
    padding: 0 2px;
}

#username li:before {
    content: "| ";
    color: black;
}

#username li:first-child:before {
    content: "";
}
