/* Grundformatierung */
input, select, textarea, button {
    border-width: 1px;
	border-style: solid;
	border-color: #000000;
	background-color: white;
	font-size: 11px;
	font-family: Verdana, sans-serif;
}

body  {
	background-color: #000000;
	font-size: 11px;
	font-family: Verdana, sans-serif;
}

div, table, tr, td {
	margin: 0px;
	padding: 0px;
	border-spacing: 0px;
}

/* aeusserstes Element zum Zentrieren */
.bodydiv {
	margin-right: auto;
	margin-left: auto;
/*	text-align: center; */
/*	width: 1023px; */
}

/* logo oben */
.logo {
	width: 799px;
	height: 106px;
	text-align: center;
	background-image:url(../gfx/dnr-logo-1.png);
	background-repeat: no-repeat;
}

/* Rahmen aussen */
.outerborder {
	width: 1019px;
	background-color: #ffffff;
	padding: 2px;
}

/* Rahmenlinie und Rahmen innen */
.innerborder {
	text-align: left;
	background-color: white;
	padding: 10px;
	margin: 2px;
	border-width: 1px;
	border-color: #000000;
	border-style: solid;
}

/* copyright */
.copyright {
	width: 800px;
	background-color: black;
	color: red;
	font-weight: bold;
	text-align: center;
}
a.copyright {
	text-decoration: underline;
}
a.copyright:hover {
	color: #880000;
}

/* Menu */
.menu {
	font-weight: bold;
	line-height: 25px;
	margin-bottom: 20px;
}
a.menu {
	text-decoration: none;
	color: #000000;
	font-size: 15px ! important;
}
a.menu:hover {
	color: #66CC00;
}
a.menulink {
	text-decoration: none;
	color: #66CC00;
}
a.menulink:hover {
	color: #880000;
}

/* normale Formatierung in der Mitte */
/*
.text {
	width: 100%;
	color: #000000;
	border-color: #000000;
	background-color: white;
}*/

/* Ueberschriften in der Mitte */
.headline {
	width: 100%;
	font-size: 13px;
	font-weight: bold;
	border-bottom: solid;
	border-width: 1px;
	border-color: #000000;
	margin-bottom: 10px;
	margin-top: 20px;
}

/* Uebersichtsseiten in der Mitte */
table.list {
	width: 100%;
	line-height: 25px;
	border-color: #000000;
	margin-bottom: 20px;
	padding-left: 25px;
}
/* grauer Hintergrund für jede 2. Zeile */
table.list tr:nth-child(even) {
  background-color: #F0F0F0; 
}
td.list {
	width: 150px;
}

table.list td.num {
  padding-right: 8px;
  text-align: right;
}

/* Kampfberichtstabellen */
thead.kbTable {
	font-weight: bold;
	background-color: #cccccc;
    text-align: center;
}
tbody.kbTable {
	line-height: 25px;
}
table.kbTable {
    width: 100%;
	border-style: solid;
	border-color: black;
	border-width: 1px;
    margin-top: 10px
}
table.kbTable td.num {
  padding-right: 8px;
  text-align: right;
}

/* Tabellen */
caption.objectTable {
	font-weight: bold;
	font-size: 13px;
	text-align: left;
	margin-top: 20px;
}
thead.objectTable {
	line-height: 30px;
	font-weight: bold;
	background-color: #cccccc;
    border-style: solid;
	border-color: black;
	border-width: 1px;
}
tbody.objectTable {
	line-height: 25px;
}
table.tableform {
  width: 100%;
}
table.objectTable {
  width: 100%;
	border-collapse: collapse;
	border-style: solid;
	border-color: black;
	border-width: 1px;
    margin-top: 10px
}

/* grauer Hintergrund für jede 2. Zeile */
table.objectTable tr:nth-child(even) {
  background-color: #F0F0F0; 
}

table.objectTable td.num {
  padding-right: 8px;
  text-align: right;
}

/* Fehlermeldungen */
.error {
	color: red;
	text-align: center;
	font-weight: bold;
	margin-top: 10px;
	margin-bottom: 10px;
}

/* Erfolgsmeldungen */
.done {
	color: #007700;
	font-weight: bold;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 10px;
}

/* Anzeige in Greasemonkey-KBs */
.kbscript {
	background-color: #cccccc;
	border-color: #000000;
}

/* Anzeige in Greasemonkey-Pushen */
body.news {
	color: #ffffff;
	background-color: #045789;
	padding: 5px;
	/*width: 100%;*/
}
table.news {
	margin-top: 10px;
	border-spacing: 2px;
	/*table-layout: fixed;*/
	width: 100%;
}
a.news {
	color: white;
}

body.news2 {
	color: #ffffff;
	background-color: #045789;
	padding: 0px;
	margin: 0px;
	/*width: 100%;*/
}
table.news2 {
	/*margin-top: 10px;*/
	/*table-layout: fixed;*/
	border-spacing: 2px;
	width: 100%;
}
a.news2 {
	color: white;
}

body.news_layer {
	/* color: #ffffff; */
	background-color: #f0f0f0;
	padding: 0px;
	margin: 0px;
	/*width: 100%;*/
}
table.news_layer {
	/*margin-top: 10px;*/
	/*table-layout: fixed;*/
	border-spacing: 2px;
	width: 100%;
}
td.news_layer_title {
	background-color: #c0c0c0;
}
td.news_layer_news {
	background-color: lightgray;
}
td.news_layer_laufend {
	background-color: #7fff70;
}
td.news_layer_abgelaufen {
	background-color: #ff6060;
}
td.news_layer_ungenutzt {
	background-color: green;
}
#reloadbutton {
  position: absolute;
  top: 10px;
  right: 10px;
}

td.planetboni-cell {
	width: 320px;
}

div.planetboni {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 0;
}



div.planetboni > div {
	background-color: white;
	text-align: center;
	padding: 2px;
	border: 1px solid black;
	margin: 1px;
}

div.planetboni > div.good {
	background-color: #26ad26;
}

div.planetboni > div.bad {
	background-color: #ff6161;
}

div.planetboni > div.neutral {
	background-color: #60d8ff;
}