* html { overflow: auto; }  /* Scrollbalken fuer I.E. 6 entfernen */
*+html { overflow: auto; }  /* Scrollbalken fuer I.E. 7 entfernen */

* { margin: 0; padding: 0; }

body {
  padding: 20px 10px 10px 10px;
  background: #4d87c7 url("images/bg_blue.png") repeat-x left top;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 100.01%;
  text-align: center; /* zentriert fuer I.E. 6 */
}

#searchmain {
  max-width: 100%;
  width: 740px;
  background: #fafafa;
  border: 1px solid #ddd;
  margin: 0 auto 0 auto;
  color: #000;
  font-size: 0.80em; line-height: 140%;
  text-align: left;
}

#searchhead  {
  background: #eee url("images/gradient_search.png") repeat-x 0 -20px; border-bottom: 1px solid #ddd;
  padding: 20px;
}

#searchbody  {
  background: transparent url(icons/frage.gif) no-repeat right top;
  min-height: 172px;
  margin: 20px 20px 0 20px;
  padding-bottom: 20px;
}

/* nur fuer I.E. 6 */
* html #searchbody  {
  height: 186px;
}

#searchfoot {
  background: #eaeaea url("images/gradient_footer.png") repeat-x left bottom;
  border-top: 5px solid #d0d0d0;
  padding: 10px 15px 10px 15px;
  font-size: 0.89em;
  color: #888;
}

#eingabe {
   width: 39.0em; background: #eee; border: 1px solid #ccd2d4; padding: 15px; margin-bottom: 50px;
}

/* nur fuer I.E. 6 und 7 */
* html #eingabe {
  width: 42em;
}

*+html #eingabe {
  width: 40em;
}

form { margin: 0px; }

input, textarea, select {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 1em;
}

input.such {
  font-size: 1.1em;
  background: #fefefe;
  vertical-align: middle;
  margin: 0;
  padding: 3px;
  border-radius: 5px;
  margin-top: 5px;
}

input.butt {
  font-size: 1em;
  font-weight: normal;
  color:#000;
  cursor: pointer;
  background: #e8e8e8;
  letter-spacing: 0;
  margin-top: 3px;
  padding: 1px 3px 1px 3px;
  vertical-align: middle;
}

input.check { margin-top: 10px; margin-left: 5.2em; }

#helpmain {
  width: 535px;  /* statt 520px */
  padding: 10px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  color: #000;
  font-size: 0.75em; line-height: 140%;
  text-align: left;
}

/* nur fuer I.E. 6 */
* html #helpmain {
  width: 520px;
}

body#help {
  padding: 10px 10px 0 10px;
  background: #f2f2f2;
}

/* fuer I.E. 6 und 7 */
* html body#help { padding: 0 10px 0 10px }
*+html body#help { padding: 0 10px 0 10px }

h1 { font-size: 2em; line-height: 130%; margin-top: 0.5em; margin-bottom: 0.5em; color: #182E7A }

h2 { font-size: 1.75em; line-height: 120%; margin-top: 0.5em; margin-bottom: 0.5em; color: #182E7A }

#helpmain h2 { font-size:1.33em; line-height: 130%; margin-top: 0px; margin-bottom: 10px; color: #444; }

h4 { font-size: 1em; line-height: 130%; margin-top: 0; margin-bottom: 10px; color: #444; }

#searchmain h4 { font-size: 1em; line-height: 130%; margin-top: 25px; margin-bottom: 10px; color: #444; }

p, ul, ol { font-size: 1em; line-height: 126%; color: #000; margin-top: 0; margin-bottom: 10px; }
ol li { margin-bottom: 8px; margin-left: 30px; }

td { font-size: 1em; line-height: 126%; color: #000; }

br, hr { font-size: 1em; line-height: 100%; }

ul li { font-size: 1em; list-style-type: square; color: #182E7A; line-height: 140%; margin-top: 10px; margin-left: 30px; }

p.int {
  margin-top: 10px;
  margin-bottom: 0;
  margin-left: 15px;
  text-indent: -12px;
}

p.int a {
  color: #a00;
  padding-left: 12px;
  background: url(icons/arrow.gif) no-repeat left center;
}

/* fuer I.E. 6 */
* html p.int a { background-position: 0px 3px; }

/* fuer I.E. 7 */
*+html p.int a { background-position: 0px 3px; }

p.int a:hover {
  background: url(icons/arrow_g.gif) no-repeat 1px 50%;
}

/* fuer I.E.  */
* html p.int a:hover { background-position: 1px 3px; }

/* fuer I.E. 7 */
*+html p.int a:hover { background-position: 1px 3px; }

/* Links */
a:link    { color: #a00; text-decoration: none; font-weight: bold; }
a:visited { color: #a00; text-decoration: none; font-weight: bold; }
a:hover   { color: #a00; text-decoration: underline; font-weight: bold; }

a.menu:link    {color: #000; text-decoration: none; }
a.menu:visited {color: #000; text-decoration: none; }
a.menu:hover   {color: #a00; text-decoration: underline; }

a.window:link    {color: #039; text-decoration: none; }
a.window:visited {color: #039; text-decoration: none; }
a.window:hover   {color: #c00; text-decoration: underline;}

a.help         { font-size: 1em; font-weight: normal; color: #000; text-decoration: none; margin: 0px 0px 0px 0px; padding: 1px 5px 1px 5px; background: #ddd; border-top: solid 2px #fff; border-bottom: solid 2px #666; border-left: solid 2px #fff; border-right: solid 2px #666; cursor: help; display: inline-block; vertical-align: middle; }
a.help:link    { font-weight: normal; color: #000; background: #ddd; border-top: solid 2px #fff; border-bottom: solid 2px #666; border-left: solid 2px #fff; border-right: solid 2px #666; cursor: help; vertical-align: middle; }
a.help:visited { font-weight: normal; color: #000; background: #ddd; border-top: solid 2px #fff; border-bottom: solid 2px #666; border-left: solid 2px #fff; border-right: solid 2px #666; cursor: help; vertical-align: middle; }
a.help:hover   { font-weight: normal; color: #000; background: #d8d8d8; border-top: solid 2px #666; border-bottom: solid 2px #fff; border-left: solid 2px #666; border-right: solid 2px #fff; cursor: help; vertical-align: middle; }

.butt  { font-size: 1em; font-weight: normal; color:#000; cursor: pointer; background: #d4d0c8; letter-spacing: 0; margin: 0; }

.mark { color: #000; background: #ff0; }

.normal { font-size: 1em; }
.small  { font-size: 0.85em; }

/* Schriftfarben */
.rot   { color: #a00; }

.grey  { color: #888; }
.dgrey { color: #222; }
.black { color: #000; }

.green { color: #73AA10; }
.blue  { color: #365ad8; }

hr {
  color: #eee;  /* orig: #fff */
  background: transparent;  /* orig: transparent */
  height: 0px;   /* evtl: 1 oder 2px */
  margin: 0 0 0.5em 0;
  padding: 0 0 0.5em 0;
  border: 0;
  border-bottom: 1px #ccc solid;
}

img {
  border: none;
}

/* Alternative Checkbox */
  .main {
    display: block;
    position: relative;
    padding-left: 38px;
    padding-top: 6px;
    top: 15px;
    margin-bottom: 25px;
    cursor: pointer;
    font-size: 1.0em;
  }

  /* Hiding the initial checkbox */
  input[type=checkbox] {
    visibility: hidden;
  }
  /* Creating a custom checkbox based on demand */
  .cbox {
    position: absolute;
    top: 8px;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #fff;
    border: 2px solid #888;
    border-radius: 5px;
  }
  /* Specify the background color to be shown when hovering over checkbox */
  .main:hover input ~ .cbox {
    background: #eee;
    border-color: #aaa;
  }
  /* Specify the background color to be shown when checkbox is active */
  .main input:active ~ .cbox {
    background: #f8f8f8;
    border-color: #bbb;
  }
  /* Specify the background color to be shown when checkbox is checked */
  .main input:checked ~ .cbox {
    background-color: #fff;
    border-color: #294193;
  }

  .main:hover input:checked ~ .cbox {
    background-color: #f8f8f8;
    border-color: #294193;
  }

  /* Checkmark to be shown in checkbox */
  /* It is not be shown when not checked */
  .cbox:after {
    content: "";
    position: absolute;
    display: none;
  }
  /* Display checkmark when checked */
  .main input:checked ~ .cbox:after {
    display: block;
  }
  /* Styling the checkmark using webkit */
  /* Rotated the rectangle by 45 degree and 
  showing only two border to make it look
  like a tickmark */
  .main .cbox:after {
    left: 8px;
    bottom: 5px;
    width: 6px;
    height: 14px;
    border: solid #294193;
    border-width: 0 4px 4px 0;
    border-radius: 2px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }
/* Alternative Checkbox */

/* Back to Top */
.back-to-top {
 position: fixed;
 right: 20px;
 bottom: 20px;
 z-index: 1000;
 background-color: #4376B8;
 width: 44px;
 height: 44px;
 border: 1px solid #fff;
 border-radius: 9px;
 opacity: 0.6;
}

.back-to-top:hover {
 opacity: 1.0;
 cursor: pointer;
}

/* Dreieck mit CSS */
/* s. https://t3n.de/news/css-geometrische-figuren-reinem-358616/ */
.dreieck {
 width: 0;
 height: 0;
 border-left: 10px solid transparent;
 border-right: 10px solid transparent;
 border-bottom: 20px solid #fff;
 margin: 12px;
}
/* Back to Top */

/* Für mobile Geräte */
@media only screen and (max-width: 800px) {

 body {
   margin: 0;
   padding: 0;
 }

 #searchmain {
   margin: 0;
   padding: 0;
   max-width: 99%;
   background: #fff;
   border: 1px solid #62a202;
   color: #000;
   font-size: 1.0em; line-height: 140%;
   text-align: left; /* Zentriert aufheben */
 }

 #searchhead {
   min-height: 100px !important;
 }

 #searchhead img {
   margin-top: 10px !important;
 }

 #searchbody  {
   background: transparent;
   min-height: 172px;
   margin: 10px 20px 11px 10px;
   padding-bottom: 20px;
 }

 #eingabe {
   max-width: 95%;
 }

 h1 { font-family: "Comic Sans MS", Sand, "Tempus Sans ITC",Arial,Helvetica,sans-serif; font-weight: normal; font-size: 2.0em; line-height: 110%; margin-top: 0.25em; margin-bottom: 0.25em; color: #060; }

 form#formular div { clear: left; float: none; }

 input.such { max-width: 96%; display: block; clear: left; margin-right: 10px; padding: 6px 4px 6px 4px; border-radius: 7px; }

 input.butt { display: block; clear: left; float: left; margin-top: 20px; padding: 8px; border-radius: 7px; }

 a.help { margin: 15px 0 0 20px; border-radius: 7px; display: none; }  /* später: block */

 input.check { margin-top: 10px; margin-left: 0; }

}

/* Nur fuer Print */
@media print {

  * { overflow:visible !important; margin:0; padding:0; }
  body { width:100%; margin:0; padding:0; background:#fff; border:none; font-size:100%; }
  div#searchmain { background:#fff; }
  div#searchhead { display:none !important; border:none; }
  div#searchbody { border:none; background:#fff; }
  div#searchfoot { display:none !important; border:none; }

  hr { width:100%; color:#006600; height:1px; border-bottom:1px solid #006600; margin:15px 0; }

  a:link, a:visited, a:hover { color:#006600; text-decoration:none; }

}
