html {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0 0 100px 0;
  font-family: verdana, sans-serif;
}

#bg {
  background: url(../img/bg.png) bottom repeat-x;
  position: fixed;
  width: 100%;
  height: 593px;
  bottom: 0;
  z-index: -1;
}

#stripe {
  width: 100%;
  height: 101px;
  position: absolute;
  top: 0;
  background: url(../img/header-bg.png) top repeat-x;
  border-bottom: 2px solid #327ba2;
  z-index: -1;
}

#logo {
  float: left;
  margin-top: 74px;
  border: 10px solid #fff;
}

#logo img {
  max-width: 312px;
  height: auto;
}

#menu {
  text-align: right;
  float: right;
  margin-top: 87px;
}

#menu ul {
  padding: 2px 0 0 0;
  margin: 0;
  list-style: none;
  float: right;
}

#menu ul li {
  float: left;
}

#menu ul a {
  padding: 30px 10px 40px 10px;
  margin: 0 0 0 59px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  width: 70px;
}

#menu ul a:link {
  background: #fff;
  color: #327ba2;
}

#menu ul a:visited {
  background: #fff;
  color: #327ba2;
}

#menu ul a:focus {
  background: url(../img/menu-active-bottom.png) bottom repeat-x #327ba2;
  color: #fff;
  padding-top: 51px;
}

#menu ul a:hover {
  background: url(../img/menu-active-bottom.png) bottom repeat-x #327ba2;
  color: #fff;
  padding-top: 53px;
}

#menu ul a:active {
  background: url(../img/menu-active-bottom.png) bottom repeat-x #327ba2;
  color: #fff;
  padding-top: 53px;
}

#main {
  clear: both;
  text-align: center;
}

.datenschutz #main {
	text-align: left;
}

#main h1 {
  color: #327ba2;
  font-size: 3em;
  text-align: center;
}

.kontakt #main h1 {
  margin-bottom: 1em;
}

.impressum #main h1 {
  margin-bottom: 2em;
}

.lieferschein h1 {
    padding-top: 3em;
}

#lieferscheinform {
  position: relative;
  padding-top: 200px;
}

#lieferscheinform label {
  display: block;
  margin-bottom: 20px;
  font-size: 1.3em;
}

#lieferscheinform .bg-danger {
	background-color: #f2dede!important;
}

#lieferscheinform input#lieferscheinnummer {
  padding: 10px;
  margin: 0;
  height: 50px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  border: 2px solid #327ba2;
  border-right: 0;
  font-size: 20px;
  color: #666;
}

#lieferscheinform button {
  padding: 0;
  height: 50px;
  width: 50px;
  border: 2px solid #327ba2;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  background: url(../img/go-button.png) 10px 10px no-repeat #fff;
}

#kontaktform-div {
  margin-top: 5em;
}

#kontaktform label {
  display: block;
  text-align: left;
  margin-top: 2em;
}

input.error, textarea.error {
  background: #ff9999;
}

#lieferscheinform label.error, #kontaktform label.error {
  color: #cc0000;
  padding: 0;
  margin-top: 0;
  font-style: italic;
}

#kontaktform input {
  width: 100%;
  border: 2px solid #327ba2;
  padding: 10px;
}

#kontaktform textarea {
  width: 100%;
  border: 2px solid #327ba2;
  padding: 10px;
  height: 200px;
  float: left;
}

#kontaktform button {
  background: #327ba2;
  color: #fff;
  border: 0;
  padding: 1em;
  float: right;
}

#danke {
  color: #009900;
  text-transform: uppercase;
  font-size: 1.2em;
  padding: 0 0 2em 0;
}

#impressum {
  position: fixed;
  bottom: 0;
  text-align: center;
  width: 100%;
  background: #327ba2;
  padding: 16px 0;
  z-index: 99;
  color: #ffffff;
}

#impressum ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#impressum li {
	display: inline;
}

#impressum ul a {
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  padding-left: 5px;
  padding-right: 5px;
}

.impressum table {
  width: 100%;
}

.impressum th {
  text-align: right;
  width: 50%;
  padding: 0 1em 1em 0;
}

.impressum td {
  text-align: left;
  padding: 0 0 1em 1em;
}

.line {
  width: 100%;
  height: 2px;
  background: #327ba2;
  margin: 2em 0 3em 0;
}

.clear {
  clear: both;
}

#trap {
  display: none;
}

/*----- XXX -----*/

@media screen and (max-height: 1000px) {
 
  .lieferschein h1 {
    padding-top: 1.5em;
  }
  
  #lieferscheinform {
    padding-top: 150px;
  }
  
}

@media screen and (max-height: 680px) {
 
  .lieferschein h1 {
    padding-top: 0.5em;
  }

  #lieferscheinform {
    padding-top: 60px;
  }
  
}

@media screen and (max-height: 500px) {
 
  .lieferschein h1 {
    padding-top: 0.25em;
  }

  #lieferscheinform {
    padding-top: 30px;
  }
  
}

@media screen and (max-height: 450px) {
 
  .lieferschein h1 {
    padding-top: 0;
  }

  #lieferscheinform {
    padding-top: 0;
  }
  
}

@media screen and (max-width: 991px) {
 
  #menu ul a {
    padding: 0 10px;
    margin: 0 10px;
    width: auto;
  }
  
}

@media screen and (max-width: 767px) {
 
  #logo {
    float: none;
    text-align: center;
    width: 100%;
    display: block;
    margin-top: 0;
    background: #fff;
    border-bottom: #327ba2 solid 2px;
    padding-bottom: 10px;
  }
  
  #menu {
    float: none;
    width: 100%;
    text-align: center;
    margin-top: 1em;
  }
  
  #menu ul {
    float: none;
    width: 100%;
    display: block;
    text-align: center;
  }
  
  #menu ul li {
    float: none;
    display: inline;
  }
  
  #menu ul a {
    padding: 0 10px;
    margin: 0 10px;
    width: auto;
  }
  
  #menu ul a:link {
  background: #fff;
  color: #327ba2;
}

#menu ul a:visited {
  background: #fff;
  color: #327ba2;
}

#menu ul a:focus {
  background: none;
  color: #327ba2;
}

#menu ul a:hover {
  background: none;
  color: #327ba2;
}

#menu ul a:active {
  background: none;
  color: #327ba2;
}

#main h1 {
  margin-top: 1em;
}
  
}
