body {
	background: #000000;
	color: white;
	height: 100%;
	margin: 0px;
	padding: 0px;
	font-family: "MS Sans Serif", "Arial", sans-serif;
}

/* Mobile */
@media (max-aspect-ratio: 5/4) {
	body
	{
		font-size: 1em;
	}
}

table,  table * {
	border-collapse: collapse;
	border: 0px solid #777777;
}
input {
	border: none;
	background: #444444;
	color: #EEEEEE;
}
button {
	border: 1px solid #666666;
	background: #444444;
	color: #EEEEEE;
	cursor: pointer;
}
button:hover {
	background: #555555;
	color: #FFFFFF;
}
a {
	color: lightblue;
}

/* Responsive horizontal tiles that turn vertical on narrow screens */
table.responsive {
	display: table;
	margin:auto;
	table-layout: fixed;
	text-align: center;
}
td.responsive {
	display: table-cell;
	padding:.5em;
}
/* Mobile */
@media (max-aspect-ratio: 5/4) {
  table.responsive,
  td.responsive
  {
    display: inline-block;
	text-align: center;
  }
}

p.center {
	text-align: center;
}

h1 {
	margin: 0;
	padding: 0;
	text-align: center;
	line-height: normal;
	font-size: 24pt;
	text-shadow: blue 1px 1px 1px;
}
h2 {
	margin: 0;
	padding: 0;
	text-align: center;
	line-height: normal;
	font-size: 10pt;
}
h3 {
	margin: 0;
	padding: 0;
	text-align: center;
	line-height: normal;
	font-size: 10pt;
}

span.spoiler
{
	background-color: #000000;
	color: #000000;
}

span.spoiler:hover, span.spoiler:active
{
	color: #FFFFFF;
}

.template {
	display: none;
}

.toolbar-inline-positioner {
	width: 100%;
	height: 30px;
}
.toolbar {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 30px;
	background: white;
	color: black;
	border: 1px solid black;
	z-index: 1;
}
.toolbar-entry {
	width: 85px;
	border-right: 1px solid black;
	border-collapse: collapse;
	float: left;
	cursor: pointer;
}
.toolbar-entry:hover {
	color: white;
	background: blue;
}
.toolbar-entry:hover .toolbar-dropdown {
	display: block;
}
.toolbar-entry-text {
	height: 30px;
	line-height: 30px;
	text-align: center;
	font-weight: bold;
}
.toolbar-dropdown {
	position: fixed;
	display: none;
	color: black;
	background: #DDDDDD;
	width: 165px;
	border: 1px solid black;
	margin-left: -1px;
}
.dropdown-entry {
	padding: 5px;
	cursor: pointer;
}
.dropdown-entry:hover {
	color: white;
	background: blue;
}
.dropdown-entry a {
	color: black;
}
.dropdown-entry:hover a {
	color: white;
}

/* Map viewer */
#openseadragon1 {
	position:absolute; 
	width: 100%; 
	top: 32px;
	left: 0px;
	bottom: 0px;
}

/* Footer */
div.footer {
	position: fixed;
	bottom: 0;
	left: 50%;
	width: 728px;
	transform: translate(-50%, 0%);
	/*border: 2px solid #444;*/
	z-index: 1;
}

/* Tooltips */
div.tooltip {
	display: none;
	position: fixed;
	max-width: 24em;
	padding: 1px 2px;
	color: black;
	background-color: #FFC;
	border-style: solid;
	border-width: 1px;
	box-shadow: 2px 2px 0px silver;
	opacity: 0.99;
	z-index: 2;
}

@media (max-aspect-ratio: 5/4) {
  div.tooltip
  {
    max-width: 12em;
  }
}

img.tooltip {
	max-width:100%;
	max-height: auto;
}