/**
 * 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%;
}

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: 16px;
	color: #000;
    letter-spacing: 0.012em;
	font-family: Arial, sans-serif;

}

#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;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

body.minimal header {
    background: #fff;
    height: 140px;
    position: fixed;

}

body.naviFixed header {
    background: #fff;
    height: 65px !important;
    border-bottom: 1px solid #ccc;
    box-shadow: 0 0 5px #ccc;
}


#menu {
    position: absolute;
    width: 100%;
}



#home i {
    color: #fff;
}

body.minimal #menu {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 20;
}

div.stripe {
    position: relative;
    width: 125%;
    margin-left: -12.5%;
    padding-bottom: 25px;
    float: left;
}

div.stripe.grau {
    background: #ececec;
}

div.stripe.blau {
    background: #ccebf0;
}

div.stripe.weiss {
    background: #fff;
}




#logo {
	position: absolute;
    top: 87px;
	overflow: hidden;
    width: 500px;
    /*background-color: white;*/
    padding: 5px 0;
    font-size: 150%;
    box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	z-index:9;
}

#logo a {
    color: inherit !important;
    text-decoration: none;
}

body #header .centered {
	height: 100%;
}

body #header #logo {
	width: auto;
	min-width: 0;
	height: calc(100% - 87px) !important;
}

body.minimal #header #logo {
    right: 0;
    top: 0px;
    width: auto;
    min-width: 0;
	height: 100% !important;
}

body #header #logo img {
	height: 100%;
	width: auto;
}

body.naviFixed #logo {
    right: 0;
    width: auto;
    min-width: 0;
    font-size: 70% !important;
    font-weight: bold;
    top: 0px !important;
}


#navigation {
    clear: both;
	position: absolute;
    top: 0px;
    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: 20px;
    display: block;
}

#mainnavigation {
    text-align: right;
    box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

#theme {
	clear: both;
    top: 0 !important;
    right: 0;
	position: absolute !important;
	width: 50%;
}

body.minimal #theme {
    display: none;
}

body.naviFixed #theme {
    margin-top: 65px;
    position: relative !important;
    width: 100%;
}

#slider {
    position: relative;
	overflow: hidden;
    min-height: 200px;      /* height for pages without slider. Such as pages with header theme */
    background-size: cover;
}

main {
	clear: both;
	display: block;
	width: 100%;
	padding: 40px 0 80px 0;
	margin: 0;
	min-height: 500px;
	background: none;
	z-index:3;
}

body.minimal main {
    margin-top: 100px;
}

#content {
    min-height: 800px;
}

div.centered {
	clear: both;
	position: relative;
	width: 80%;
	margin: 0px auto;
}


#footer {
    position: relative;
    width: 100%;
    display: block;
	clear: both;
	background: #f4f4f4;
	z-index: 4;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

#footerContent {
	width: 100%;
	position: relative;
    display: block;
    padding-top: 5px;
    padding: 0 1.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: #ee2f58;
    width: 100%;
    padding: 10px 1%;
    color: #fff;
    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 #quicklinks ul {
	padding: 0;
	margin: 0;
}

#footer #quicklinks ul li a:after {
	content: '|';
	margin: 0 5px;
}

#footer #quicklinks ul li.last a:after {
	content: none;
}

#footer #quicklinks ul li {
	float: left;
	list-style: outside none none;
}

#footer a {
	color: #fff;
	text-decoration: none;
}

div#topbutton {
    display: none;
    z-index:2;
    width: 60px;
    cursor: pointer;
    left: 50%;
    margin-left: -30px;
    text-align: center;
    position: absolute;
    bottom: -8px;
}

div.clear {
	clear: left;
	font-size: 0px;
	line-height: 0px;
	height: 0px;
}

div.hidden {
    display: none;
}

a img {
	border:0;
}

img {
    vertical-align: bottom;
    max-width: 100%;
}

body.bg .noMobile {
    display: table-cell;
}

body.bg .onlyMobile {
    display: none;
}

/* CMS features */


body.cms_editpage #content,
body.cms_editpage #footer .centered {
	z-index: 3 !important;
	width: 100% !important;
}

body.cms_editpage #header{
	height: 230px;
}

body.cms_editpage #main{
	margin-top: 220px;
}

body.cms_editpage #search {
	display: none;
}

body.cms_editpage #footer {
	visibility: visible;
	position: relative !important;
	display: block !important;
}

body.cms_editpage #footerContent {
    padding: 0 0.5% !important;
}

body.cms_editpage table.editContainer td.groupFrame.bg.grau {
	background-color: #ececec !important;
}
body.cms_editpage table.editContainer td.groupFrame.bg.blau {
	background-color: #ccebf0 !important;
}









