/* lato-regular - latin: Copyright (c) 2010-2011 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato", SIL Open Font License Version 1.1 (http://scripts.sil.org/OFL) */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'),
       url('/sys/fonts/lato-v14-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/sys/fonts/lato-v14-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* lato-700 - latin: Copyright (c) 2010-2011 by tyPoland Lukasz Dziedzic (team@latofonts.com) with Reserved Font Name "Lato", SIL Open Font License Version 1.1 (http://scripts.sil.org/OFL) */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'),
       url('/sys/fonts/lato-v14-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/sys/fonts/lato-v14-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

audio, canvas, progress, video {
  display: inline-block;
}

* {
  margin: 0; padding: 0;
}

body {
  font: 400 16px/1.5em 'Lato', Arial, Verdana, sans-serif; 
  color: #000;
}

b, strong {
  font-weight: 700;
}

h1, h2, h3, h4 {    
  margin: 2em 0 1em; 
  line-height: 1.5em;
  font-size: 1em;
  font-weight: 400; 
  color: #963d1f; 
  text-transform: uppercase;
}

h1:first-child, h2:first-child, h3:first-child {
  margin-top: 0;
}

h1 {
  font-size: 1.2em;
}

h3 {
  margin: 1em 0 0;
}

p {
  margin-bottom: 1em;
}

ol {
  margin: 0 0 1em; padding-left: 30px;
  list-style-type: decimal;
}

ul {
  margin: 0 0 1em; padding-left: 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 0.5em 10px 0.5em 0; margin: 0;
  text-align: left;
  vertical-align: top;
  font: inherit;
  border-top: 1px solid #eee;  
} 

a {    
  color: #963d1f; 
  text-decoration: none;  
}

a:hover {  
  outline: 0;
  color: #fecf3b;
}

a img {
  border: 0;
}

img {
  max-width: 100%;
  height: auto !important;
}

#content a:hover img {
  opacity: 0.7;
  filter:alpha(opacity=70);
}

hr {
  margin: 1em 0;
  width: 100%; height: 1px;
  clear: both;
  background: #666;
  border: 0;
}

dl {
  margin-bottom: 1em;
}

dt {
  font-weight: 700;
}

dd {
  padding: 0 0 1em;
}

input[type=text], select, textarea {
  padding: 4px 8px;
  width: 100%; max-width: 400px;
  font: inherit;
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 3px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box; 
}

input[type=submit], .button {
  padding: 4px 20px;
  width: auto;
  background: #963d1f;
  color: #fff;
  cursor: pointer;
  font: inherit;
  border: 0;
  border-radius: 3px;
  display: inline-block;
}

input[type=submit]:hover, .button:hover {
  background: #fecf3b;
  color: #fff;
  cursor: pointer;
}

input.error, textarea.error {
  border: 1px solid #706657;
  background: #ffbcbc;
}

input[type=radio].error, input[type=checkbox].error {
  margin: 0 4px;
  outline: 3px solid #ffbcbc;
}

input.checkform {
  display: none;
}

/*** Klassen ***/
.menu {
  margin: 0; padding: 0;
}

.menu li {
  margin: 0; padding: 0;
  list-style: none;  
}

.menu a { 
  padding: 10px 15px;
  display: block; 
} 

.menu ul {
  margin: 0; padding: 0;
  display: none;  
}

.alignleft {
  margin: 5px 30px 0 0; 
  float: left; 
}

.alignright {
  margin: 5px 0 0 30px;
  float: right;
}

.mobile {
  display: none;
}

/*** Navigation ***/
#primary {
  line-height: 30px;
  height: 50px;
  position: fixed; left: 0; right: 0; top: 0;
  z-index: 200;
  background: #fecf3b;
  -moz-box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
}

#primary .menu {  
  position: relative; left: 50%;
  float: left;
}

#primary .menu > li {
  position: relative; left: -50%;
  float: left;
}

#primary a:hover, 
#primary .active > a {
  background: #f7e843;
  color: #963d1f
}

#primary .menu ul {
  width: 200px;
  position: absolute; left: 0; top: 55px;
  background: #fecf3b;
  -moz-box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
}

#primary .menu ul li {
  border-top: 1px solid #fff;
}

#primary .menu ul li:first-child {
  border-top: 0;
}

/*** Page ***/
#page {
  margin: 0 auto; padding: 80px 0 0;
  max-width: 1100px;
  position: relative;
  z-index: 10;
}

/*** Header ***/
#header {
  float: left;
  width: 50%; 
  color: #963d1f;
}

#header .inner {
  padding: 0 40px;
  height: 150px; 
  overflow: hidden;
  position: relative; 
}

#header .inner img {
  margin-right: 30px;
  max-width: 100px; 
}

#header .inner p {  
  float: left;
}

/*** Sldieshow ***/
#slideshow-deco {
  position: absolute; left: 0; right: 0; top: 230px;
  height: 413px;
  background: #963d1f;
}

#slideshow {
  line-height: 0;  
  overflow: hidden;
  position: relative;
  background: #fff;
}

#slideshow .slide {
  display: none;
}

#slideshow .slide:first-child {
  display: block;
}

#slideshow .slide img {
  width: 100%;
}

.bx-wrapper .bx-controls-direction a {
  margin-top: -32px;
	width: 40px; height: 64px;
	position: absolute; top: 50%;
	outline: 0;
	display: block;
	text-indent: -9999px;
	z-index: 100;
	opacity: 0.2;
  filter:alpha(opacity=20);
}

.bx-wrapper .bx-controls-direction a.disabled {
	display: none;
}

.bx-wrapper .bx-controls-direction .bx-prev {
	left: 0;
	background: #000 url(/sys/img/arrow-left.png) no-repeat center center;
	border-radius: 0 8px 8px 0;
}

.bx-wrapper .bx-controls-direction .bx-next {
	right: 0;
	background: #000 url(/sys/img/arrow-right.png) no-repeat center center;
	border-radius: 8px 0 0 8px;
}

.bx-wrapper .bx-pager a:hover,
.bx-wrapper .bx-pager a.active,
.bx-wrapper .bx-controls-direction a:hover {
	opacity: 0.6;
  filter:alpha(opacity=60);
}

.bx-caption {
  padding: 10px 40px; margin-top: 100px;
  line-height: 1.6em;
  position: absolute; bottom: 30px; right: 0;
  background: transparent url(/sys/img/black50.png);
  z-index: 90;
  color: #fff;
}

/*** Content ***/
#content { 
  padding: 40px 5%;
  width: 40%; 
  float: right;
  -moz-box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 100;
  background: #fff; 
}

/*** Map ***/
.map {
  height: 413px;
}

.map img {
  max-width: none;
} 

/*** Sidebar ***/
#sidebar {
  padding: 20px 5%;
  width: 40%;
  float: left;
}

/*** Footer ***/
#footer {
  margin-top: -40px;
  padding: 80px 40px 40px;
  line-height: 1.5em;
  font-size: 0.9em;
  background: #fecf3b;
  color: #963d1f;
  text-align: center;
}

#footer a {
  color: #963d1f;
}

@media screen and (max-width: 900px) {
 
  .mobile {
    display: block;
  }

  .nomobile {
    display: none;
  }
  
  #page {
    max-width: 600px;
    -moz-box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    background: #fff;
  }
  
  #primary {
    height: auto;
  }
  
  #primary.menuactive {
    margin-bottom: -50px;
    position: relative;
  }

  #primaryCtrl {
    padding: 10px 0;
    display: block;
  }

  #primaryCtrl span {
    width: 20px;
    display: block;
  }

  #primaryCtrl > span {
    margin: 6px 10px 0 0;
    float: left;
  }

  #primaryCtrl > span > span {
    margin-bottom: 3px;
    height: 3px;
    background: #963d1f;
  }

  #primary .menu {
    display: none;
    float: none; 
    left: auto;
  }

  #primary .menu li {
    float: none;
    left: auto;
    border-top: 1px solid #fff !important; 
  }

  #primary .menu a {
    padding-left: 30px;       
  }  
  
  #primary .menu ul {
    padding-left: 30px;
    width: auto;
    position: relative; left: auto; top: auto;
    display: block !important; 
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  
  #header, #content, #sidebar {
    padding: 30px;
    width: auto;
    float: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  
  #header {
    padding: 0;
  }
  
  #header .inner {
    padding: 0 30px;
  }
  
  .map {
    height: 200px;
  }
  
}

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

  body {
    font-size: 0.9em;
    line-heihgt: 1.5em;
  }
  
  #page {
    padding-top: 70px;
  }
  
  #header .inner {
    height: auto;
  }
  
  #header .inner img {
    margin-right: 20px;
    max-width: 90px;
  }
      
}

@media screen and (max-width: 360px) {
  #header .inner img {
    display: none;
  }
}
