html, body {
  margin: 10px auto;
  padding: 0;
  color: #404040;
  background-color: #E0E0E0;
  font-family: "Open Sans",verdana,arial,helvetica,sans-serif;
}

div#bg1 {
  margin: 55px 0px;
  background-color: #2767a1;
  height: 200px;
}

ul,li {
  margin: 0px 2px;
}

#wrapper {
  background-color: #FFFFFF;
  color: #5F5F5F;
  margin: -57px auto;
  width: 90%;
  border-radius: 15px;
  box-shadow: 0px 2px 8px 5px #BFBFBF;
  -webkit-box-shadow: 0px 2px 8px 5px #BFBFBF; /* WebKit */
  -moz-box-shadow: 0px 2px 8px 5px #BFBFBF; /* Firefox */
  padding: 15px;
}
/* oben*/
div#top {
  margin: 0 auto;
  padding: 0;
  height: 40px;
}

.toptext {
  color: #404040;
  background-color: inherit;
  font-family: "Trebuchet MS",verdana,arial,helvetica,sans-serif;
  font-style: italic;
  padding: 5px 30px 0px 0px;
  font-size: 1.188em;
  text-align: right;
}

header {
  margin: 0;
  padding: 0;
  color: #FFFFFF;
  height: 200px;
  background-color: #2767a1;
  background-image: linear-gradient(#2767a1 0%, #FFBF4B 100%);
  background-image: -webkit-linear-gradient(#2767a1 0%, #2767a1 100%);
   box-shadow: 0px 2px 5px 5px #BFBFBF;
  -webkit-box-shadow: 0px 2px 5px 5px #BFBFBF; /* WebKit */
  -moz-box-shadow: 0px 2px 5px 5px #BFBFBF; /* Firefox */
}

.headertextbig {
  font-size: 2em;
  font-family: Arial;
  letter-spacing: 1px;
  padding-top: 30px;
  padding-right: 15px;
  text-shadow: 1px 1px 2px #7F7F7F;
  text-align: right;
  font-weight: bold;
  font-style:italic;
}

.headertextsmall {
  font-size: 1em;
  font-family: "century gothic",georgia,calibri,serif;
  letter-spacing: 2px;
  padding-top: 5px;
  padding-right: 15px;
  text-shadow: 1px 1px 2px #6F6F6F;
  text-align: right;
  font-weight: bold;
}

/* Hauptteil*/
main {
  padding: 0;
  margin: 0 auto;
  display: block;  /*wegen Fehldarstellung IE*/
}

#main-inner {
  margin: 0 auto;
  padding: 2% 0 0 0;
}
/* Navigation links*/
aside {
  width: 25%;
  float: left;
  padding: 0;
  margin: 0;
}

aside h2 {
  color: #10416d;
  font-family: Arial;
  font-size: 1.5em;
  font-weight: bold;
  font-style: italic;
  margin: 5px 0;
  padding: 0;
  text-align: left;
  border-bottom: 1px solid #FFA600;
  
}
nav {
  list-style-type:none;
  padding: 0px;
  margin: 0px;
  font-size: 0.938em;
  text-align: left;
  background-color: transparent;
}

nav ul {
  list-style-type:none;
  padding: 0;
  margin: 10px 0;
}

nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul a:link,
nav ul a:visited,
nav ul a:active {
  color: #404040;
  background-color: transparent;
  padding: 5px;
  margin: 0;
  text-decoration: none;
  font-weight: bold;
  display: block;
  border-bottom: 1px dashed #999999;
}

nav ul a:hover,
nav ul a:focus {
  font-weight: bold;
  text-decoration: none;
  color: #FFFFFF;
  background-color: #46d5f1;
}
/* Inhalt*/
article {
  margin-left: 27%;
  padding: 10px 0;
  font-size: 1em;
  font-weight: normal;
  text-align: justify;
  line-height: 2em;
}
article h1 {
  font-size: 2em;
  margin: 3px 0;
  color: #404040;
  font-family: Comic Sans MS;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px #AFAFAF;
}
article h2 {
  color: #404040;
  background-color: inherit;
  font-family: Comic Sans MS;
  font-size: 1.5em;
  letter-spacing: 2px;
  text-align: left;
  margin: 3px;
  padding: 2px;
  text-shadow: 1px 1px 2px #7F7F7F;
}
article h3 {
  color: #404040;
  background-color: inherit;
  font-family: Pacifico,"Comic Sans MS",georgia,calibri,serif;
  font-size: 1.375em;
  letter-spacing: 2px;
  font-style: italic;
  padding-left: 5px;
  font-weight: bold;
  text-shadow: 1px 1px 2px #3F3F3F;
}
article h4 {
  color: #404040;
  background-color: #FFA600;
  font-size: 1.313em;
  font-weight: bold;
  margin: 20px 0;
  padding: 2px;
  font-family: Pacifico,"Comic Sans MS",georgia,calibri,serif;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px #3F3F3F;
  text-align: center;
}
article h5 {
  color: #404040;
  background-color: inherit;
  font-family: Pacifico,"Comic Sans MS",georgia,calibri,serif;
  font-size: 1em;
  font-weight: bold;
  margin: 2px;
  letter-spacing: 2px;
  padding: 0;
  text-shadow: 1px 1px 2px #3F3F3F;
}

article p {
  margin: 8px 2px;
}
 /*unten*/

footer {
  margin: 0 auto 10px auto;
  padding: 0;
  text-align: center;
  color: #FFFFFF;
  background-color: #2767a1;
  background-image: linear-gradient(#2767a1 0%, #2767a1 100%);
  background-image: -webkit-linear-gradient(#2767a1 0%, #2767a1 100%);
  box-shadow: 0px 2px 5px 5px #BFBFBF;
  -webkit-box-shadow: 0px 2px 5px 5px #BFBFBF; /* WebKit */
  -moz-box-shadow: 0px 2px 5px 5px #BFBFBF; /* Firefox */
}

.fussinhalt  {
  padding: 10px;
  font-size: 1em;
  font-family: "century gothic",calibri,georgia,serif;
  font-weight: bold;
  letter-spacing: 1px;
  background-color: transparent;
}

.footerlink {
  background-color: transparent;
  text-align: center;
  font-size: 0.5rem;
  color: #8F8F8F;
}

/* allgemeine Angaben*/

a:link, a:visited, a:active {
  color: #000000;
  background-color: transparent;
  text-decoration: none;
  font-weight: bold;
  padding: 0;
  margin: 0;
}
a:hover {
  color: #FF9C05;
  background-color: transparent;
  text-decoration: none;
}

.clear {
 clear: both;
 margin: 0;
 padding: 0;
 line-height: 1px;
}

/******************Besonderheiten für Bildschirmgroesse max. 768px**********************/

@media (max-width: 768px) {


#topnavi {
  float: none;
  text-align: center;
  margin-top: 2px;
  padding-top: 0;
}

aside {
  float: none;
  width: 100%;
}

article {
 margin: 0;
 width: 100%;
}

div#footerinnerbox1 {
  letter-spacing: 1px;
  margin: 0 auto;
  float: none;
  width: 90%;
}

div#footerinnerbox2 {
  letter-spacing: 1px;
  margin: 0 auto;
  float: none;
  width: 90%
}

}

/*****************Besonderheiten für Bildschirmgroesse max. 640px***********************/

@media (max-width: 640px) {

div#bg1 {
  height: 150px;
}

header {
  height: 150px;
}

.headertextbig {
  padding-top: 10px;
}

aside h2 {
  font-size: 1em;
}

nav {
  font-size: 0.838em;
}

article h1,article h2,article h3,article h4,article h5 {
  font-size: 1em;
}

article {
font-size: 0.875em;
}

.fussinhalt  {
  font-size: 0.75em;
}


}

/*****************Besonderheiten für Bildschirmgroesse max. 480px***********************/

@media (max-width: 480px) {

div#bg1 {
  height: 100px;
}

#wrapper {
  width: 100%;
  padding: 0;
  border-radius: 0px;
}

header {
  height: 100px;
}


.headertextsmall {
font-size:0.7em;
}

.headertextbig {
  font-size: 1em;
  padding-top: 10px;
}

.fussinhalt h4 {
 padding: 2px;
 font-size: 0.750em;
}

}

/* Style inputs, select elements and textareas */
input[type=text], select, textarea{
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
}

input[type=date], select, textarea{
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
}

/* Style inputs, select elements and textareas */
input[type=password], select, textarea{
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
}

/* Style the label to display next to the inputs */
label {
  padding: 12px 12px 12px 0;
  display: inline-block;
}

/* Style the submit button */
input[type=submit] {
  background-color: #04AA6D;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
}

/* Style the container */
.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}

/* Floating column for labels: 25% width */
.col-25 {
  float: left;
  width: 25%;
  margin-top: 6px;
}

/* Floating column for inputs: 75% width */
.col-75 {
  float: left;
  width: 75%;
  margin-top: 6px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .col-25, .col-75, input[type=submit] {
    width: 100%;
    margin-top: 0;
  }
}

span.hover-box {
    border: 1px solid #fc6;
    color: #000;
    display: none; /* Element standardmäßig nicht darstellen */
    position: absolute;
    text-decoration: none;
    top: 40px;
}
a:hover span.hover-box {
    display: block; /* Beim Überfahren des Links einblenden */
}



// Mobile first
.hc td:nth-child(3),
.hc th:nth-child(3),
.hc td:nth-child(4),
.hc th:nth-child(4) {display:none}

@media only screen and (min-width:480px) {
.hc td:nth-child(3),
.hc th:nth-child(3) {display:block; display:table-cell}
}

@media only screen and (min-width:720px) {
.hc td:nth-child(4),
.hc th:nth-child(4) {display:block; display:table-cell}
}

.blue { color: #185875; }
.yellow { color: #FFF842; }



.container td {

  -webkit-box-shadow: 0 2px 2px -2px #0E1119;
     -moz-box-shadow: 0 2px 2px -2px #0E1119;
          box-shadow: 0 2px 2px -2px #0E1119;
}



.container td, .container th {

}

/* Background-color of the odd rows */
.container tr:nth-child(odd) {
    /*background-color: #323C50;*/
}

/* Background-color of the even rows */
.container tr:nth-child(even) {
    /*background-color: #2C3446;*/
}

.container th {
    background-color: #1F2739;
}

.container td:first-child { color: #FB667A; }


@media (max-width: 800px) {
.container td:nth-child(4),
.container th:nth-child(4) { display: none; }
}

.responsivetable {
  width: 100%;
  height: auto;
}

.responsive {
  width: 100%;
  height: auto;

}

.responsive2 {
  
  height: auto;
}

.responsive3 {
  width: auto;
  height: auto;
}

 input.largerCheckbox {
            width: 25px;
            height: 25px;
        }
		

.control {
    font-family: arial;
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 5px;
    padding-top: 5px;
    cursor: pointer;
    font-size: 16px;
}
    .control input {
        position: absolute;
        z-index: -1;
        opacity: 0;
    }
.control_indicator {
    position: absolute;
    top: 2px;
    left: 0;
    height: 25px;
    width: 25px;
    background: #e6e6e6;
    border: 0px double #000000;
    border-radius: 5px;
}
.control:hover input ~ .control_indicator,
.control input:focus ~ .control_indicator {
    background: #cccccc;
}

.control input:checked ~ .control_indicator {
    background: #d828a1;
}
.control:hover input:not([disabled]):checked ~ .control_indicator,
.control input:checked:focus ~ .control_indicator {
    background: #0e6647d;
}
.control input:disabled ~ .control_indicator {
    background: #e6e6e6;
    opacity: 0.6;
    pointer-events: none;
}
.control_indicator:after {
    box-sizing: unset;
    content: '';
    position: absolute;
    display: none;
}
.control input:checked ~ .control_indicator:after {
    display: block;
}
.control-checkbox .control_indicator:after {
    left: 8px;
    top: 4px;
    width: 3px;
    height: 8px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.control-checkbox input:disabled ~ .control_indicator:after {
    border-color: #7b7b7b;
}
.control-checkbox .control_indicator::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 4.5rem;
    height: 4.5rem;
    margin-left: -1.3rem;
    margin-top: -1.3rem;
    background: #2aa1c0;
    border-radius: 3rem;
    opacity: 0.6;
    z-index: 99999;
    transform: scale(0);
}
@keyframes s-ripple {
    0% {
        transform: scale(0);
    }
    20% {
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}
@keyframes s-ripple-dup {
   0% {
       transform: scale(0);
    }
   30% {
        transform: scale(1);
    }
    60% {
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}
.control-checkbox input + .control_indicator::before {
    animation: s-ripple 250ms ease-out;
}
.control-checkbox input:checked + .control_indicator::before {
    animation-name: s-ripple-dup;
}

.required {
    background-image:url(/img/stern.png);
    background-position:top right;
    background-repeat:no-repeat;
    padding-right:10px;
}

.imageclass {
  font-size: 2em;
  font-family: Arial;
  letter-spacing: 1px;
  padding-top: 15px;
  padding-left: 15px;
  text-shadow: 1px 1px 2px #7F7F7F;
  text-align: right;
  font-weight: bold;
  font-style:italic;
}
