/**
 * Brunner AG - Druck und Medien, Kriens
 * @copyright      Copyright 2009, Brunner Web, all rights reserved
 * @link           http://www.bag.ch/web
 */

@import url(fonts.css);
html {
  height: 100%;
  font-size: 10px;
}

p {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

body {
  height: 100%;
  width: 100%;
  max-width: 100%;
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  font-size: 1.7rem;
  line-height: 2.4rem;
  color: #000;
  font-family: 'Orgon-Light';
  font-weight: 400;
  text-align: center;
}

body.fixed {
    position: fixed;
}

#wrapper {
  position: absolute;
  width: 100%;
  min-height: 100%;
  box-sizing: border-box;
}

#page {
  position: relative;
  display: block !important;
  min-width: 300px;
  width: 100%;
  max-width: 100%;
  min-height: 100%;
}

#innerpage {
  position: relative;
  display: block;
  overflow: hidden;
  left: 0;
  top: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  transition: left 0.2s ease-out 0s;
}

body.menu #innerpage {
  display: block;
  left: 0px;
}

header {
  float: left;
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  padding: 0 1%;
  z-index: 12;
  top: 0;
  left: 0;
  height: 130px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

body.naviFixed header {
  position: fixed;
  background: #fff;
  border-bottom: 1px solid #000;
  box-shadow: 0 0 5px #555;
  height: 60px;
}

#logo {
  position: relative;
  overflow: hidden;
  width: 310px;
  background-color: white;
  padding: 21px 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  z-index: 9;
}

body.naviFixed #logo {
  width: 160px;
  padding: 6px 0;
}

#logo img {
  width: 100%;
  transition: all 0.2s ease-in-out;
}

body.naviFixed #logo img {
  transition: all 0.2s ease-in-out;
}

#navigation {
  clear: both;
  position: absolute;
  top: 65px;
  height: 0px;
  width: 100%;
  padding: 0 1% 0 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  z-index: 13;
}

body.naviFixed #navigation {
  position: fixed;
  top: 15px;
  display: block;
}

#mainnavigation {
  text-align: right;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

#theme {
  clear: both;
  float: left;
  position: relative;
  width: 100%;
  height: auto;
  background: #e30000;
}

body.naviFixed #theme {
  margin-top: 135px;
}

#slider {
  position: relative;
  overflow: hidden;
  min-height: 200px;
  background-size: cover;
  margin: 0 auto;
  height: auto;
  /*max-height: 600px;*/
}

#call2action {
  position: absolute;
  top: 800px;
  width: 320px;
  right: 0px;
  z-index: 10;
}

main {
  clear: both;
  display: block;
  width: 100%;
  padding: 20px 0 60px 0;
  margin: 0;
  min-height: 500px;
  background: none;
  z-index: 3;
}

div.centered {
  clear: both;
  position: relative;
  width: 80%;
  margin: 0px auto;
}

#footer {
  position: relative;
  width: 100%;
  display: block;
  clear: both;
  color: white;
  background: #5b6f73;
  z-index: 4;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

#footerContent {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 5px;
  padding: 49px 0.5%;
  z-index: 2;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

#footerContent .cmsCell {
  margin-bottom: 25px;
}

#footerEnd {
  float: left;
  background: #fff;
  color: #000;
  width: 100%;
  padding: 10px 1%;
  font-size: 85%;
  letter-spacing: 0.02em;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

#footer .left {
  float: left;
}

#footer .right {
  float: right;
}

#footer a {
  color: #000;
  text-decoration: none;
}

#footer #topbutton{
	z-index: 2;
	cursor: pointer;
	text-align: center;
	position: absolute;
	bottom: 164px;
	display: block;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
  width: 0;
  height: 0;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-bottom: 50px solid #5b6f73;
}

div.clear {
  clear: left;
  font-size: 0px;
  line-height: 0px;
  height: 0px;
}

a img {
  border: 0;
}

img {
  vertical-align: bottom;
  max-width: 100%;
}


/* BUG IM CHROM/IE: LINKS AUF BILDER WERDEN NICHT ÜBERNOMMEN*/

body#content img {
  display: inline-block !important;
}

/*
body.bg .noMobile {
    display: table-cell;
}

body.bg .onlyMobile {
    display: none;
}
*/


/* CMS features */
body.cms_editpage div.sliderBg{
  display: none !important;
}

body.cms_editpage #content {
  z-index: 3 !important;
  width: 100% !important;
}

body.cms_editpage #search {
  display: none;
}

body.cms_editpage #footer {
  visibility: visible;
  position: relative !important;
  display: block !important;
}
