﻿html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  /** legacy browser support **/
  display: block;
}

* {
  /** box-sizing-model **/
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

nav {
  width: 100%;
  float: left;
}

section {
  width: 100%;
  padding: 10px;
}

object[type="application/pdf"] {
    width: 100%;
    height: 100%;
}

body{
    max-width: 1280px;
}

a{
    text-decoration: none;
    color: black;
}


/** HEADER **/
header[class~=helpBreadCrumbs] {
  width: 100%;
  background-color: #16385d;
  color: white;
}
header[class~=helpBreadCrumbs]  ul {
  display: block;
  line-height: 25px;
  padding-left: 25px;
  list-style: none;
  margin: 0;
}
header[class~=helpBreadCrumbs]  ul a {
  color: white;
}
header[class~=helpBreadCrumbs]  li {
  display: inline;
}
header[class~=helpBreadCrumbs]  li.active {
    font-weight: bold;
}
header[class~=helpBreadCrumbs]  li:not(:last-child):after {
  content: ' > ';
}


/** NAVIGATION **/
nav {
  background-color: #dce1e7;
  padding: 10px;
}
nav ul {
  width: auto;
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: block;
}
nav > br {
  display: none;
}
nav .level0 {
  padding-bottom: 10px;
}
nav .level1 {
}
nav .level2 {
  margin-left: 15px;
}
nav .level3 {
  margin-left: 15px;
  font-size: smaller;
}
nav li.active {
    font-weight: bold;
}
nav li a {
  /** makes the whole row clickable **/
  display: block;
}
nav li a:hover {
  background-color: #edf0f0;
}
nav li {
  margin-bottom: 3px;
}


nav .folder {
  margin-left: 15px;
  font-size: smaller;
  display: none;
}
nav .folder ~ li.active {
  display: block;
}
nav .navcheck_folder {
    display: block;
    margin-bottom: 3px;
}
nav .navcheck_folder:hover {
  background-color: #edf0f0;
}
nav .navcheck_folder:checked ~ ul {
    display: block;
}


/** NAVIGATION CHECKBOX **/
.navcheck {
    display: block;
    font-size: 0;
}
#navbar_check {
    display: none;
}
#navbar_check:checked ~ .navcheck:last-of-type {
    margin-bottom: 10px;
}
#navbar_check + label::after {
    content: 'Navigation anzeigen';
    text-decoration: underline;
    font-size: 10px;
}
#navbar_check:checked + label::after {
    content: 'Navigation verstecken';
}
#navbar_check ~ .navcheck:hover {
    background-color: white;
}
#navbar_check:checked {
    display: block;
}
@media (max-width: 799px) {
    #navbar_check:not(:checked) ~ ul {
        display: none;
    }
}


/** TABLE **/
table{
    border-spacing: 0;
    border: none;
    border-collapse: collapse;
}
th, td{
    border-color: #16385d;
    border: none;
    padding-left: 5px;
    padding-right: 5px;
}
tr:nth-child(even) {
    background-color: #edf0f0;
}
thead {
    height: 32px;
}
thead, table tbody:first-child tr:first-child{
    color: white;
    background-color: #16385d;
}
table tr td a {
    text-decoration: none !important;
}


/** FORM **/
form table tr {
    background-color: transparent !important;
}
form fieldset {
    border: none;
    padding-left: 0;
    padding-right: 0;
}
form legend {
    width: 100%;
    background-color: #dce1e7 !important;
    font-weight: bold;
    padding: 5px;
    color: black;
}
form button {
    border: #16385d groove thin;
    width: 100px;
    float: right;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}
form table tr td:nth-child(2){
    width: 75%;
    padding-top: 5px;
}
form input[type=text], form input[type=date]{
    border: #16385d groove thin;
    width: 100%;
}
form table tr td:first-child {
    vertical-align: middle;
}
form button, form input {
    background-color: white;
    padding: 5px;
    vertical-align: middle;
}


/** SECTION **/
section A:link/*, section A:active*/, section A:visited
{
	font-family: Verdana,Arial, "Times New Roman";
	text-decoration: underline;
	font-weight:bold;
}
section
{
	font-size: small;
	font-family: Verdana,Arial, "Times New Roman";
	vertical-align: top;
	text-align: left;
}
section td
{
	font-size: small;
	font-family: Verdana,Arial, "Times New Roman";
	vertical-align: top;
	text-align: left;
}
section pre
{
	font-size: 1em;
	color: black;
	font-weight:bold;
}
section dt
{
	font-weight:bold;
	margin-top: 0.5em;
}
section img
{
	font-size: small;
	font-family: Verdana,Arial, "Times New Roman";
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}
section h2{
    font-size: medium;
}
section div:nth-child(2) h2{
    margin-top: 25px;
}


/** \etc\styles.css **/
.helpBreadCrumbs {
    font-size: x-small !important;
    font-family: Verdana,Arial, "Times New Roman";
    text-align: left;
    vertical-align: top;
}
.helpTree {
    font-size: small !important;
    font-family: Verdana,Arial, "Times New Roman";
}
.emptytext
{
	/*font-size: xx-small;
	font-family: Verdana,Arial, "Times New Roman";
	color: #cdd7fe;
	background-color: #ffffff;*/
    display: none;
}
.tooltip
{
  display: none;
  font-family: Calibri, Tahoma, Geneva, sans-serif;
  position: absolute;
  padding: 0em 0.3em 0em 0.2em;
  background: #9FDAEE;
  border: 1px solid #2BB0D7;
  border-radius: 3px 3px;
                -moz-border-radius: 3px;
                -webkit-border-radius: 3px;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
                -webkit-box-shadow: 2px 2px rgba(0, 0, 0, 0.1);
                -moz-box-shadow: 2px 2px rgba(0, 0, 0, 0.1);
}


/** design for big displays **/
@media (min-width: 800px) {
    .navcheck {
        display: none;
    }

    header[class~=helpBreadCrumbs] {
        top: 0;
        height: 25px;
        position: fixed;
        display: block;
        overflow: hidden;
    }
    body {
        margin-top: 25px; /**/
        height: calc(100% - 25px);
    }

    nav {
        width: 350px;
        /** necessary to show the section correctly **/
    }
    section {
        float: right;
        width: calc(100% - 350px); /**/
        padding-top: 10px;
        padding-left: 20px;
        min-height: 100%;
    }
}