﻿/*
  (C) 2014-2015 by Ute Johl
  Written by Frank Hollwitz
*/

@import url("font-awesome.min.css");

@font-face {
	font-family: 'DroidSans';
	src: url('../fonts/DroidSans.eot');
	src: local('DroidSans'), url('../fonts/DroidSans.woff') format('woff'), url('../fonts/DroidSans.ttf') format('truetype');
}
body {
  background-color: #feedd4;
  color: #000;
}
:focus {
  outline: 0;
}
a {
  color: #bd0063;
}
a:focus,
a:hover,
a:active {
  border-color: #bd0063;
}
#nav,
#navbutton {
  background-color: #c45537;
}
#navmenu a,
#navbutton a {
  color: #feedd4;
}
#navmenu a.active {
  background-color: #feedd4;
  color: #bd0063;
}
#navmenu a:focus,
#navmenu a:hover,
#navmenu a:active,
#navmenu a.active:focus,
#navmenu a.active:hover,
#navmenu a.active:active,
#navbutton a:focus,
#navbutton a:hover,
#navbutton a:active {
  background-color: #f18665;
  color: #fff;
}
#navbutton {
  background-color: rgba(196, 85, 55, 0.6);
}
#navbutton a {
  color: rgba(254, 237, 212, 0.6);
}
#navbutton a:focus,
#navbutton a:hover,
#navbutton a:active {
  background-color: rgba(241, 134, 101, 0.6);
  color: rgba(255, 255, 255, 0.6);
}
#logo {
  color: #feedd4;
}
#header {
  background-color: #aaa;
  color: #c45537;
  text-shadow: 0 0 0.5em #f18665, 0 0 0.7em #c45537;
}
div.hline {
  background-color: #c45537;
}
div.content h2 {
  color: #c45537;
}
#footer li {
  border-right-color: #c45537;
}

body {
  margin: 0 0 0 16em;
  padding: 0.5em;
  height: 100%;
  font-family: 'DroidSans', sans-serif;
  font-size: 18px;
}

a {
  text-decoration: underline;
}
a:focus,
a:hover,
a:active {
  margin: 0 -1px;
  border: 1px solid;
  text-decoration: none;
}

#navbutton {
  display: none;
  position: fixed;
  left: 1em;
  top: 1em;
  margin: 0;
  padding: 0;
  z-index: 2;
  -webkit-border-radius: 0.5em;
     -moz-border-radius: 0.5em;
          border-radius: 0.5em;
}
#nav {
  -webkit-transition: transform 0.3s ease-out;
     -moz-transition: transform 0.3s ease-out;
       -o-transition: transform 0.3s ease-out;
          transition: transform 0.3s ease-out;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 15em;
  margin: 0;
  padding: 0.5em 0 0.5em 0.5em;
  z-index: 2;
}
#nav ul {
  margin: 0;  
  padding: 0;
}
#nav li {
  list-style: none;
}
#navbutton a,
#nav a {
  display: block;
  white-space: nowrap;
  font-size: 20px;
  text-decoration: none;
}
#navbutton a {
  padding: 0.3em 0.7em;
  -webkit-border-radius: 0.5em;
     -moz-border-radius: 0.5em;
          border-radius: 0.5em;
  text-align: center;
  font-size: x-large;
}
#nav a {
  -webkit-border-radius: 1em 0 0 1em;
     -moz-border-radius: 1em 0 0 1em;
          border-radius: 1em 0 0 1em;
  text-align: right;
}
#navbutton a:focus,
#navbutton a:hover,
#navbutton a:active,
#nav a:focus,
#nav a:hover,
#nav a:active {
  margin: 0;
  border: none;
  text-decoration: none;
}

#navmenu li {
  margin: 0.2em 0 0.2em 0.2em;
}

#navmenu a {
  -webkit-transition: background-color 0.2s ease-out, color 0.2s ease-out;
     -moz-transition: background-color 0.2s ease-out, color 0.2s ease-out;
       -o-transition: background-color 0.2s ease-out, color 0.2s ease-out;
          transition: background-color 0.2s ease-out, color 0.2s ease-out;
  padding: 0.3em 0.5em 0.3em 0;
}

#navmenu a i {
  padding-left: 0.5em;
}

#logo {
  min-height: 120px;
  text-align: right;
}
#logo img {
  margin: 0 0 0 2em;
  padding: 0;
  width: 48px;
  float: left;
}
#logo h1 {
  margin: 0;
  padding: 1.5em 2.5em 0 0;
  font-size: 20px;
}
#logo p {
  margin: 0;
  padding: 0 2.5em 0 0;
  font-size: 20px;
}

#header {
  margin: -0.5em -0.5em 0 -1em;
  padding: 2em;
  height: 30em;
  background-size: cover;
  background-position: center center;
  background-image: url('../images/banner.jpg');
  text-align: center;
  letter-spacing: 0.1em;
}
#header h1 {
  margin: 2.5em 0 0.1em 0;
  padding: 0;
  font-size: 60px;
  font-weight: bold;
  white-space: nowrap;
}
#header p {
  margin: 0;
  padding: 0;
  font-size: 35px;
  font-weight: bold;
  white-space: nowrap;
}

div.noline,
div.hline {
  margin: 0 auto;
  padding: 0;
  width: 67%;
  height: 2px;
}
div.content {
  margin: 0;
  padding: 0 0 1em 0;
  clear: both;
}
div.content h2 {
  text-align: center;
  font-size: xx-large;
  font-weight: bold;
}
div.content p {
  text-align: justify;
  -webkit-hyphens: auto;
     -moz-hyphens: auto;
      -ms-hyphens: auto;
          hyphens: auto; 
}
div.content .bold {
  font-weight: bold;
}
div.content .oblique {
  font-style: oblique;
}
div.content .small {
  font-size: small;
}
div.content img.pict {
  padding-bottom: 0.5em;
  padding-right: 0.5em;
  width: 25em;
  float: left;
}
div.content img.port {
  padding-bottom: 0.5em;
  padding-left: 0.5em;
  width: 10em;
  float: right;
}
div.content ul.point5 li {
  padding-bottom: 0.5em;
}
div.content ul.point5 li:last-child {
  padding-bottom: 0em;
}
div.content dl {
  overflow: hidden;
}
div.content dt {
  float: left;
  width: 2.5em;
  text-align: right;
  white-space: nowrap;
}
div.content dt:after {
  content: "\00a0";
}
div.content dd {
  white-space: nowrap;
  overflow: hidden;
}

#footer {
  margin: 0;
  padding: 0;
  text-align: center;
}
#footer ul {
  margin: 2em 0 0 0;  
  padding: 0;
}
#footer li {
  display: inline-block;
  list-style: none;
  white-space: nowrap;
  line-height: 1em;
  border-right: 1px dotted;
  padding: 0 0.5em 0 0;
  margin: 0 0.5em 0 0;
}
#footer li:last-child {
  border-right: 0;
  padding-left: 0;
  margin-left: 0;
}

@media screen and (max-width: 1024px) {

  body {
    margin-left: 14em;
  }
  #nav {
    width: 13em;
  }
  #nav a {
    font-size: 18px;
  }
  #logo h1 {
    padding: 2em 2.5em 0 0;
    font-size: 18px;
  }
  #logo p {
    font-size: 18px;
  }
  #header {
    height: 28em;
  }
  #header h1 {
    margin: 3.25em 0 0.1em 0;
    font-size: 45px;
  }
  #header p {
    font-size: 26px;
  }

  div.content img.pict {
    width: 18em;
  }

}

@media screen and (max-width: 800px) {

  body {
    margin-left: 0;
  }
  #navbutton {
    display: block;
  }
  #nav {
    width: 15em;
    -webkit-transform: translateX(-100%);
       -moz-transform: translateX(-100%);
        -ms-transform: translateX(-100%);
         -o-transform: translateX(-100%);
            transform: translateX(-100%);
  }
  #nav:target {
    -webkit-transform: translateX(0);
       -moz-transform: translateX(0);
        -ms-transform: translateX(0);
         -o-transform: translateX(0);
            transform: translateX(0);
  }
  #nav a {
    font-size: 20px;
  }
  #logo h1 {
    padding: 1.5em 2.5em 0 0;
    font-size: 20px;
  }
  #logo p {
    font-size: 20px;
  }
  #header {
    margin-left: -0.5em;
  }

  div.content img.pict {
    width: 17em;
  }

}
 
@media only screen and (max-width: 600px) {

  body {
    font-size: 16px;
  }
  #logo h1 {
    padding-right: 2em;
  }
  #logo p {
    padding-right: 2em;
  }
  #header {
    height: 20em;
  }
  #header h1 {
    margin: 3em 0 0.1em 0;
    font-size: 30px;
  }
  #header p {
    font-size: 17px;
  }

  div.content img.pict {
    padding-bottom: 0;
    padding-right: 0;
    width: 100%;
    float: none;
  }
  div.content img.port {
    width: 8em;
  }

  #footer li {
    display: block;
    line-height: 1.3em;
    border-right: 0;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
  }

}

@media only screen and (max-width: 400px) {

  body {
    font-size: 14px;
  }
  #logo h1 {
    padding-right: 1em;
  }
  #logo p {
    padding-right: 1em;
  }
  #header {
    height: 16em;
  }
  #header h1 {
    margin: 2.5em 0 0.1em 0;
    font-size: 24px;
  }
  #header p {
    font-size: 14px;
  }

}
