﻿/**
 * Allgemeines
 */

@font-face {
font-family: 'Myriad Pro Regular';
font-style: normal;
font-weight: normal;
src: local('Myriad Pro Regular'), url('/pw/site/templates/fonts/MYRIADPRO-REGULAR.woff') format('woff');
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  color: black;
} 

body {
  margin: 0 auto;
  padding: 0;
  background-color: #f9f9f9;
  font-family: 'Myriad Pro Regular', 'Helvetica', sans-serif;
  font-size: 16px;
  line-height: 28px;
  -ms-word-wrap: break-word;
  word-wrap: break-word;
  letter-spacing: .05em;
}

h2 {
  font-size: 1.85em;
  color: #96bf0d;
  text-shadow: 2px 2px 1px #555;
  text-align:center;
  letter-spacing: 0.1em;
}

.kompletteseite {
  max-width: 1080px;
  padding-left: 0.2%;
  padding-right: 0.2%;
  margin: auto;
}

.zentriert {
  text-align: center;
  vertical-align: middle;
}

.impressum {
  padding: 0 5% 0 5%;
}

.zentriert a {
  text-shadow: white 0px 1px 1px;
  font-weight: normal;
  text-decoration: none;
  border-radius: 4px;
  padding: 4px;
  margin-right: 4px;
  line-height: 2.2;
  background-color: #D8F2FF;
}

.zentriert a:hover {
  text-shadow: #2b6e8c 0px 1px 1px;
  color: white;
  background: #317D9F;
  background: linear-gradient(#53a4ca,#317D9F);
  box-shadow: 0px 0px 1px silver;
}

/**
 * Kopf
 */

header {
  border: 0px;
  border-radius: 5px;
  width: 100%;
  background: #fff;
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
}

header div:nth-child(1) {
  -webkit-flex: 1;
  flex: 1;
  font-weight: bold;
  font-size: 2.5em;
  text-shadow: 2px 2px 1px #91c64e;
  color: #1b7cc1;
  margin: 0;
  text-align: center;
  font-style: italic;
}

header div:nth-child(2) {
  width: 160px;
  height: 71px;
}

header div:nth-child(2) img {
  margin-left: 5px;
  margin-top: 5px;
}

/**
 * Navigation
 */

nav {
  border: 1px solid #133e40;
  border-radius: 5px;
  width: auto;
}

nav ul,
nav li,
nav a {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 0;
  line-height: 1;
}

nav ul {
  zoom: 1;
  background: #1B7CC1;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #1B7CC1), color-stop(100%, #2a8a8f));
  background: -webkit-linear-gradient(top, #1B7CC1 0%, #2a8a8f 100%);
  background: -o-linear-gradient(top, #1B7CC1 0%, #2a8a8f 100%);
  background: linear-gradient(top, #1B7CC1 0%, #2a8a8f 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='@top-color', endColorstr='@bottom-color', GradientType=0);
  padding: 5px 10px;
  border-radius: 5px;
}

nav  ul:before {
  content: '';
  display: block;
}

nav  ul:after {
  content: '';
  display: table;
  clear: both;
}

nav  li {
  float: left;
  margin: 0 5px 0 0;
  border: 1px solid transparent;
}

nav  li a {
  border-radius: 5px;
  padding: 8px 15px 9px 15px;
  display: block;
  text-decoration: none;
  color: #ffffff;
  border: 1px solid transparent;
  font-size: 16px;
}

nav  li.active {
  border-radius: 5px;
  border: 1px solid #1B7CC1;
}

nav  li.active a {
  border-radius: 5px;
  display: block;
  background: #81ADDC;
  border: 1px solid #133e40;
  box-shadow: inset 0 2px 5px #133e40;
}

nav  li:hover {
  border-radius: 5px;
  border: 1px solid #1B7CC1;
}

nav  li:hover a {
  border-radius: 5px;
  display: block;
  background: #81ADDC;
  border: 1px solid #133e40;
  box-shadow: inset 0 5px 10px #133e40;
}

/**
 * Ausgabebereich
 */

main {
  border-radius: 5px;
  padding:1px 10px 30px 10px;
  color:#656565;
  line-height:1.3em;
  background-color:#f5f5f5;
  display: -webkit-flex;
  display: flex;
  height: 100%;
  flex-direction: column;
}

main div:nth-child(1) {
  -webkit-flex: 1;
  flex: 1;
}

/**
 * Kontaktseite
 */

form > div {
  clear: both;
  overflow: hidden;
  padding: 1px;
  margin: 0 0 10px 0;
}

form > div > fieldset > div > div {
  margin: 0 0 5px 0;
}

form > div > label,
legend {
  width: 15%;
  float: left;
  padding-right: 10px;
}

form > div > div,
form > div > fieldset > div {
  width: 85%;
  float: right;
}

form > div > fieldset label {
  font-size: 90%;
}

fieldset {
  border: 0;
  padding: 0;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password],
textarea {
  width: 90%;
  border-top: 2px solid #ccc;
  border-left: 2px solid #ccc;
  border-right: 2px solid #eee;
  border-bottom: 2px solid #eee;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password] {
  width: 50%;
}

input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
textarea:focus {
  outline: 0;
  border-color: #4697e4;
}

/**
 * Seitenfuß
 */

footer {
  position: fixed;
  padding: 0px;
  bottom: 0;
  left: 0;
  right: 0;
  background: #96bf0d;
  border-color: #8a9da8;
  border-radius: 4px;
  bottom: 0px;
  height: 35px;
  right: 0%;
  left: 0%;
  position: fixed!important;
  position: absolute;
  width: 100%;
  top: expression((0-(footer.offsetHeight)+(document.documentElement.clientHeight?document.documentElement.clientHeight:document.body.clientHeight)+(ignoreMe=document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop))+'px');
  text-align: center;
  visibility: visible;
}

footer marquee {
  scrollamount: 5;
  scrolldelay: 2;
  font-size: 1.5em;
  text-shadow: 1px 1px 3px #666, -1px -1px 3px #FFF, 1px 1px #666, -1px -1px #FFF;
  color: darkblue;
}
