/* add html 5 compatibility */
article, aside, figcaption, figure, footer, header, main, nav, section { display: block; }

body {
  background-image: url(../img/gw.gif);
  background-color: #fff;
  color: #111;
  width: 978px;
  font-family: verdana, arial, sans-serif;
  margin: 0 auto 0 auto;
}

/* high res */
@media(min-width: 1280px) {
  body { margin: 0 auto 0 11%; }
}

@media(max-width: 1200px) {
  ul.autocompleter-choices { max-width: 320px; }
}

a { color: #0a378c; text-decoration: underline; }
a:hover { color: #cc0000; }

h1 {
  font-size: 2.7em;
  line-height: 1.2em;
  font-weight: normal;
  padding: 3px 0 3px 0;
  margin: 0;
  border-bottom: 1px dashed #e6e6fa;
}

h1 { color: #5c80c7; }
h2, h3, h4, h5, h6 { color: #4a7dc3; }
h4{ font-style: italic; }
.img_h { font-size: 15px; margin: 4px 0 16px 2px; }
h2 { margin: 4px 6px 6px 0px; }
h3,h4 { margin: 3px; }
h5 { margin: 0; font-size: 17px; font-weight: normal; }
h2, h3, h4 { font-weight: normal; }
h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, "Times New Roman", Times, serif;
}

h2 a, h3 a { color: #4a7dc3; }
h2 a:hover, h3 a:hover { color: #d00; }

.spacer{ height: 20px; line-height: 20px; }

/* -- Layout -- */
#container {
  font-size: 0.8em;
  max-width: 77em;
  margin: auto;
  border-top: 0;
  background: white;
  border-left: 1px solid #aaa;
  border-right: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  -webkit-border-bottom-right-radius: 5px;
  -webkit-border-bottom-left-radius: 5px;
  -moz-border-radius-bottomright: 5px;
  -moz-border-radius-bottomleft: 5px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

.bot_mod {
  max-width: 77em;
  clear: both;
  margin: 10px auto 40px auto;
  background: white;
  padding: 24px 0 12px 38px;
  background: white;
  border: 1px solid #aaa;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

#top_nav {
  height: 20px;
  line-height: 20px;
  margin: 0 1px 1px 1px;
  padding: 2px 22px 1px 16px;
  background-color: #f6f4f6;
  white-space: nowrap;
  font-family: arial;
  color: #777;
}

#top_nav .fl_l { float: left; }
#top_nav .fl_r { float: right; }
#top_nav .fl_l a { font-size: 12px; color: #2c56bf; vertical-align: 1px;  }
#top_nav .fl_r a { font-size: 12px; color: #2c56bf; vertical-align: 1px; }
#top_nav .fl_l a:hover { color: #dd0000; }
#top_nav .fl_r a:hover { color: #dd0000; }
#top_nav .min_add_txt { display: none; }

footer { clear: both; font-size: 10px; height: 10px; line-height: 10px; }

/* - Logo bzw. Kopf - */
header {
  white-space: nowrap;
  height: 168px;
  padding: 4px 24px 0px 12px;
  text-align: right;
  font-family: georgia, "trebuchet ms", "times new roman", times, serif;
  /* border-bottom: 1px solid #dcdcdc; */
  border-top: 1px solid #d9d2f1;
  overflow: hidden;
  margin: 0;
}

header img{ float: left; border: 0; }

header em {
  margin: 1px 9px 0 0;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 2.9px;
  display: block;
  color: #666;
}

#right_heading {
  margin: 12px 6px 0 0;
  line-height: 42px;
  height: 42px;
  font-style: italic;
  font-size: 32px;
  color: #333;
}

#top_space { border-top: 1px solid #dcdcdc; height: 15px; line-height: 15px; margin: 0 18px 0 32px; }

#moe { padding: 17px 0 10px 16px; }

#search_field { margin: 26px 0 0 0; }
#search_field div { font-family: georgia; font-size: 12px; font-style: normal; letter-spacing: normal; color: #333; margin: 9px 3px 0 0; }
#q { width: 173px; padding-left: 7px; font-size: 19px; }
#q_button { width: 115px; height: 2.2em; vertical-align: 2px; letter-spacing: 1px; }

.se_radio { margin-right: 6px; vertical-align: -1px; }

/* - Der Hauptinhaltsteil - */
main {
  padding:  11px 0 0 33px;
  line-height: 1.5em;
  width: 580px;
}

#main_image {
  text-align: center;
  margin: 14px 0 12px -10px;
  max-width: 580px;
  text-align: center;
}

#main_image a img { object-fit: scale-down; max-width: 550px; max-height: 800px; }
#main_image a img:hover { cursor: zoom-in; }

/* - Rechte Spalte - */
#subnav {
  width: 30%;
  min-width: 10em;
  float: right;
  font-size: 0.9em;
  padding: 0 1% 1em 1.2em;
  margin: 3px 1% 0 1.2em;
  border-left: 1px dotted #aaa;
  border-bottom: 1px dotted #aaa;
  -webkit-border-bottom-left-radius: 5px;
  -moz-border-radius-bottomleft: 5px;
  border-bottom-left-radius: 5px;
}
#subnav dt {
  font-size: 1.2em;
  font-family: Georgia, "Times New Roman", Times, serif;
  padding: 0.5em 0.5em 0.4em 0;
  margin-top: 1em;
  border-bottom: 1px dotted #aaa;
}

/* Unterpunkte rechts. */
#subnav dd { padding: 0; margin: 0.4em 0; }
.dd_info { max-width: 260px; font-size: 11px; }
.dd_list { line-height: 1.4em; color: #888; }

#subnav ul { padding: 0 0 0 15px; border: 0; margin: 0; color: #333; }
#subnav ul li { padding: 0 0 5px 0; border: 0; margin: 0; }

.to_top { float: right; color: #777; text-decoration: none; font-size: 12px; padding-right: 4px; }
.to_top:hover { color: #c00; }
dt .to_top { font-size: 16px; color: #2c56bf; visibility: hidden; }

/* farben */
.red{ color: #cc0000; }         .red a{ color: #cc0000; }         .red a:hover{ color: #222; }
.green{ color: green; }         .green a{ color: green; }         .green a:hover{ color: #cc0000; }
.gold{ color: #be7800; }        .gold a{ color: #be7800; }        .gold a:hover{ color: #cc0000; }
.blue{ color: #0a378c; }        .blue a{ color: #0a378c; }        .blue a:hover{ color: #cc0000; }
.black{ color: #000000; }       .black a{ color: #000000; }       .black a:hover{ color: #cc0000; }

/* -------------------------- */

/* misc */
#kml { padding: 0; border: 0; margin-right: 3px; }
.t_new { color: #c00; vertical-align: 4px; font-style: italic; font-size: 11px; margin-left: 4px; }

img { border: 0; }
a img:hover { opacity: 0.7; }

br { line-height: 5px; }
p,li { font-family: verdana, georgia, arial, "trebuchet ms", serif; }
p { margin: 7px 0 28px 10px; }
td { font-size: 10pt; padding-left: 10px; margin: 1px; }
td img { border: 1px solid #dcdcdc; padding: 2px; }

/* menu */
.top_navi { color: #777777; margin-top: -2px; margin-bottom: 22px; }
.top_navi a { color: #2c56bf; }
.top_navi a:hover { color: #ff0000; }
.top_navi, .top_navi a {
  font-family: arial, verdana, helvetica;
  font-size: 12px;
}

.to_nav { display: none; }

/* misc */
.fleft { float: left; margin: 0 1em 0.2em 0; }
.fright { float: right; margin: 0 0 0.2em 1em; padding: 1px; }
.star { vertical-align: -2px; border: 0; margin: 4px 0px 0px 0px; padding: 0; }
.di_sp { height: 7px; line-height: 7px; }

/* forms */
form { margin: 0px; border: 0px; padding: 0px; }

input[type=submit], input[type=button], input[type=reset] { padding: 9px; border: 1px solid #c6ccf2; border-radius: 5px; color: #222; }
input[type=submit]:hover, input[type=button]:hover, input[type=reset]:hover { cursor: pointer; opacity: 0.7; border: 1px solid #5272ef; color: #000; }
input[type=file] { padding: 10px; background-color: #fafafa; border-radius: 5px; border: 1px solid #96aaf3; }

.input_txt { width: 80%; font-size: 1.6em; padding: 6.4px; vertical-align: -1px; font-family: arial; border-radius: 5px; border: 1px solid #ccc; }
.input_txt:focus { outline: none; border: 1px solid #5272ef; }

.secu { white-space: nowrap; }
.secu .input_txt { margin-left: 3px; width: 100px; height: 24px; border: 1px solid #96aaf3; vertical-align: 1px; color: #0a378c; font-family: fixedsys, courier, arial; font-size: 24px; font-weight: bold; }
.secu .input_txt:focus { border-color: #5272ef; }
.secu img { padding: 0; border: 1px solid silver; vertical-align: -11px; border-radius: 5px; }
.secu img:hover { filter: hue-rotate(260deg); opacity: 1; }
.secu div { font-size: 11px; line-height: 15px; margin-top: 3px; }

.hp_sec_mo { position: absolute; visibility: hidden; width: 1px; height: 1px; }

/* progressbar */
#progress
{
  padding: 2px;
  border: 1px solid #c9d2f1;
  border-radius: 3px;
  width: auto;
  visibility: hidden;
}
#progress_i {
  height: 15px;
  background-image: url(../img/green_bar_wide.gif);
  animation: imageMovement 2s linear infinite;
}
@keyframes imageMovement {
  100% {
    background-position-x: 777px; /* width of the image */
  }        
}

/* cookie consent */
.cc-window .cc-banner { padding: 5px 20px !important; }
.cc-window { border-top: 1px solid #dfe8f3; }

/* alt search box */
.search-box { float: right; margin-top: 40px; width: 330px; }

#q_top { white-space: nowrap; }
#q_top button { margin: 0; padding: 0; border: 0; background: none; outline: none; cursor: pointer; vertical-align: middle; }
#q_top button:hover { filter: hue-rotate(255deg); }
#q_top button:active { filter: hue-rotate(125deg); }
#q { font-family: arial; width: 145px; font-size: 17px; padding: 5.5px 0 4.5px 10px; vertical-align: middle; border: 1px solid #aaa; border-radius: 3px; }

#q_top select {
  width: 130px; margin: 0; color: #777; padding: 7px 0; vertical-align: middle; font-family: arial; font-size: 1em; background-color: #fff; border: 1px solid #aaa; border-radius: 3px;
}

::placeholder { /* Firefox */
  color: #aaa;
  opacity: 1;
}

::-ms-input-placeholder { /* Edge 12 -18 */
  color: #aaa;
}
