/* Allgemeiner Krams */
* {
  margin: 0;
  padding: 0;
}
body {
  color: #ccc;
  background-color: #000;
  font-family: "Arial", "Helvetica", sans-serif;
  font-size: 10pt;
  text-align: justify;
}
p {
  color: #ccc;
  background-color: #000;
  font-family: "Arial", "Helvetica", sans-serif;
  font-size: 11pt;
  text-align: justify;
  margin: 10px 0px;
  line-height: 150%;
}

p img {
  padding: 5px 10px;
}
p img.left {
  padding: 5px 10px 5px 0px;
}
p img.right {
  padding: 5px 0px 5px 10px;
}

/*Ueberschriften */
h1 {
  margin-top: 20px;
}
h2, h3, h5, h6 {
  font-family: "Arial", sans-serif;
  font-size: 14pt;
  font-variant: small-caps;
  font-weight: bold;
  color: #EE0;
  text-align: center;
}
h2 {
  margin-bottom: 15px; 
}
h3 {
  font-size: 12pt;
}
h4 {
  margin: 5px 0;
}
h5, h6 {
  text-align: left;
  font-size: 12pt;
  margin-top: 15px;
}
h6 {
  margin-top: 20px;
  font-size: 10pt;
}

/* Links  */
a {
  color: #0A8390;
  text-decoration: underline;
}
a:active {
  text-decoration: none;
  color: #0A8390;
}
a:visited {
  text-decoration: none;
  color: #0A8390;
}
a:link {
  text-decoration: none;
  color: #0A8390;
}
a:hover {
  color: #0A8390;
  text-decoration: underline;
}
a img {
  border: none;
}
  
/* Main layout*/	
#layout {
  background: url('layout/background.jpg') repeat;
  width: 100%;
}
#header_center {
  background: url('layout/header_center.gif') repeat-x;
  height: 179px;
  text-align: center;
}
.nav {
  margin: 10px 0;
  text-align: center;  
}
#navi_left {
  background: url('layout/navi_left.gif') repeat-y;
  width: 219px;
}
#navi_left div.wrapper{
  margin-left: 18px;
  margin-right: 41px;
}
#main {
  background: #000;
}
#content {
  color: #ddd;
  width: 100%;
}
#navi_right {
  background: url('layout/navi_right.gif') repeat-y;
  width: 219px;
}
#navi_right div.wrapper{
  margin-left: 41px;
  margin-right: 18px;
}
#footer_center {
  background: url('layout/footer_center.gif') repeat-x;
  height: 30px;
}

/* Tables */
th, td {
  vertical-align: top;
}
#content table, #cakeSqlLog {
  background-color: #fff;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  clear: both;
  color: #333;
  margin-bottom: 10px;
  width: 100%;
}
#content th, #cakeSqlLog th {
  background-color: #f2f2f2;
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  border-right: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
  padding: 1px 4px;
  text-align: center;
}
#content table tr td, #cakeSqlLog tr td {
  border-right: 1px solid #ddd;
  padding: 4px 4px;
  text-align: center;
}
#content table tr.altrow td {
  background: #f4f4f4;
}
#content td.actions {
  white-space: nowrap;
}
#content td.actions a {
  margin: 0 6px;
}
cakeSqlLog td {
  background: #fff;
  border-bottom: 2px solid #ccc;
  padding: 4px 8px;
  text-align: left;
}

/* Paging */
div.paging {
  text-align: center;
  padding: 3px 0px;
  margin: 0;
  clear: left;
  margin-bottom: 5px;
}
div.paging a, div.paging div.disabled {
  background: #003d4c;
  color: #ddd;
  border: 1px solid #656565;
  padding: 3px 8px;
  text-decoration: none;
  display: inline;
}
div.paging a:hover {
  background: #fff;
  color: #003d4c;
}


/* Forms */
form div {
  border: 1px solid #ddd;
  clear: both;
  margin-bottom: 1em;
  padding: .8em 2em 1em 1.4em;
  vertical-align: text-top;
}
form div.required {
  color: #333;
  background: #f2f2f2;
  font-weight: bold;
}
form div.optional, form div.input {
  background: #bbbbbb;
  color: #444;
  margin-top: 15px;
}
form div.submit {
  border: 0;
  clear: both;
  margin-top: 10px;
  margin-left: 0px;
}
label {
  /*display: block;*/
  font-size: 10pt;
  padding-right: 20px;
}
input, textarea {
  clear: both;
  display: block;
  font-size: 10pt;
  width: 100%;
}
textarea {
  height: 300px;
}
select {
  clear: both;
  font-size: 10pt;
  vertical-align: text-bottom;
  /*width: 100%;*/
}
option {
  font-size: 10pt;
  padding: 0 0.3em;
}
input[type=checkbox] {
  clear: left;
  float: left;
  margin-right: 5px;
  width: auto;
}
input[type=submit] {
  display: inline;
  padding: 0 .4em;
  width: auto;
  vertical-align: bottom;
}
input[type=button] {
  display: inline;
  padding: 0 .4em;
  width: auto;
  vertical-align: bottom;
}

/* flashMessage */
#flashMessage {
 background-color: #427EB8;
 color: white;
 font-weight: bold;
 padding: 5px;
 font-size: 115%;
 margin-bottom: 10px;
}
#flashMessage.success {
 background-color: #390;
}
#flashMessage.error {
 background-color: #c00;
}

/* Notices and Errors */
div.message, p.error, div.error-message {
  color: #f00;
  font-size: 12px;
  font-weight: bold;
	background-color: inherit;
	border: 0;
	margin: 0;
	padding: 4px;
}
div.error-message {
  clear: both;
}
div.error em {
  font-size: 18px;
  color: #003d4c;
}
span.notice {
  background-color: #c6c65b;
  color: #fff;
  display: block;
  font-size: 16px;
  padding: 0.5em;
  margin: 1em 0;
}

/* Actions */
div.actions {
  text-align: left;
  margin: 15px 0px;
}
div.actions ul {
  margin: 0 0;
  padding: 0;
  list-style-type: none;
  display: inline;
}
div.actions li {
  display: inline;
  list-style-type: none;
  margin-right: 5px;
  padding: 0;
}
div.actions ul li a {
  background: #003d4c;
  border: 0px solid #656565;
  border-width: 1px 1px 1px 1px;
  color: #ddd;
  margin: 0;
  padding: 3px 8px;
  text-decoration: none;
}
div.actions ul li a:hover {
  background:#fff;
  color: #003d4c;
}

/* Reya-Styles */
#content table.reya {
  background-color: #000;
  border: 0px none;
  table-layout: fixed;
}
#content table.reya td {
  color: #ccc;
  background-color:#000;
  font-family: "Arial", "Helvetica", sans-serif;
  font-size: 10pt;
  text-align: justify;
  vertical-align: top;
  border: 0px none;
}
#content table.reya th {
  vertical-align: middle;
}
#content table.reya td.vcenter {
  vertical-align: middle;
}
div.small_table {
  font-size: 8pt;
}

/*Definitionslisten*/
dl {
  margin-top: 10px;
}
dt {
  width: 195px;
  font-family: "Arial", "Helvetica", sans-serif;
  font-size: 11pt;
  text-align: left;
  float: left;
  line-height: 150%;
}
dd {
  font-family: "Arial", "Helvetica", sans-serif;
  font-size: 11pt;
  text-align: justify;
  margin-left: 200px;
  margin-bottom: 0.75em;
  line-height: 150%;
}

/* Listen */
ul, ol {
  color: #ccc;
  background-color: #000;
  font-family: "Arial", "Helvetica", sans-serif;
  font-size: 11pt;
  text-align: justify;
  line-height: 150%;
  list-style-position: outside;
}
ul li {
  list-style-type: disc;
  margin-left: 1.5em;
}
ul.decklist li {
  list-style-type: none;
  margin-left: 0;
}
ol li {
  margin-left: 2.5em;
}

/* Ergebnisse von Berechnungen oder Updates */
#results {
  color: #66b;
  margin: 5px 0 10px;
}

/* Newdarstellung auf der Titelseite */
.news_entry {
  text-align: center;
}
.news_entry img {
  margin: 15px 0px 10px;
}

/* footline */
#footline {
  text-align: center;
  font-size: 10px;
  font-weight: bold;
  color: #ddd;
  margin: 3px 0 10px;
}
#footline a{
  color: #ddd;
}

/* Artikelkommentare */
div.comment h3 {
  text-align: justify;
  border-top-style:solid;
  border-top-width: 1px;
  padding-top: 1em;
  border-color: #ccc;
  margin-bottom: 0em;
}
div.comment p {
  margin-top: 0em;
}

/* Forumsbeiträge */
div.thread_comment {
  border: thin solid #fff;
  background-color: #bbb;
  padding: 0px;
  margin-top: 5px;
}
div.thread_comment h4 {
  color: #fff;
  background-color: #333;
  padding: 5px;
  margin: 0px;
}
div.thread_comment p {
  color: #333;
  background-color: #bbb;
  padding: 0px 5px;
  margin: 0px;
}
div.modified {
  color: #c00;
  font-size: 8pt;
  line-height: 100%;
  padding: 5px;
}

/* Portraits */
div.portrait_index {
  float: left;
  padding: 2px;
  margin: 5px;
  text-align: center;
}
div.portrait_index img {
  border: 0px;
  height: 200px;
  width: 150px;
  padding: 2px;
}
div.portrait_index a{
  text-decoration: none;
}
div.portrait_index:hover{
  background-color: #333;
}

/* Kartennamen Autocomplete */
#content table.card_autocomplete {
  background-color: #000;
  border: 0px none;
}
#content table.card_autocomplete td {
  color: #ccc;
  background-color:#000;
  font-family: "Arial", "Helvetica", sans-serif;
  font-size: 10pt;
  text-align: left;
  vertical-align: top;
  border: 0px none;
}
#CardName{
  width: 250px;
}
#Number{
  width: 50px;
}
div.auto_complete {
  position: absolute;
  width: 250px;
  background-color: white;
  border: 1px solid #888;
  margin: 0px;
  padding: 0px;
  color: #000;
}
li.selected { background-color: #00f; color: #fff; }
div.auto_complete li {
  text-align: left;
	list-style-type: none;
}

