/**
 * 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%;
	-webkit-text-size-adjust: 100% !important;
}

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: 14px;
	color: #324343;
	font-family: 'FFFagoWebPro', sans-serif;
    
}

#wrapper {
	position: absolute; 
	width: 100%; 
	min-height: 100%;
    box-sizing: border-box;
    border-right: 9px solid #c1022b;
}

#page {
	position: relative;
	display: block !important;
	min-width: 300px;
	width: 100%;
	max-width: 100%;
	min-height: 100%;
	
}

#innerpage {
	position: relative;
	display: block;
	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;
	width: 100%;
	z-index: 3;
	top: 0;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}


#logo {
	position: absolute;
    width: 98%;
    top: 25px;
	max-height: 145px;
	min-height: 70px;
	overflow: hidden;
	z-index:9;
}

#logo .cmsGroup {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

#logo img {
	border: 0;
	max-width: 250px;
}


#navigation {
    clear: both;
	position: relative;
    width: 100%;
    padding-top: 25px;
    padding-bottom: 20px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
    transition: position 0.1s ease-in-out;
}

body.naviFixed #navigation {
    position: fixed;
    display: block;
    background-color: white;
    z-index: 4;
    border-bottom: 1px solid #ccc;
    width: 100%;
}

#mainnavigation {
	width: 100%;
}

#theme {
	clear: both;
    float: left;
	position: relative;
	width: 100%;
}

#slider {
	overflow: hidden;
}

#themenbild {
	width: 100%;
	position: relative;
	background-size: cover !important;
	background-repeat: no-repeat !important;
}

#content {
	clear: both;
	display: block;
	width: 100%;
	padding: 20px 0 100px 0;
	margin: 0px 0 50px 0;
	min-height: 500px;
	background: none;
	z-index:3;
}

body.naviFixed #content{
    padding-top: 80px; 
}


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


#footerLinks{
	position: fixed;
	bottom: 40px;
	width: 100%;
	padding: 0 0;
	background-color: #55524e;
	color: white;
	font-size: 0.68em;
	z-index:2;
}



#footer {
	clear: both;
	position: relative;
	display: block;
	left: 0;
	font-size: 100%;
	width: 100%;
	bottom: 0;
	padding: 15px 0 30px 0;
	color: white;
	background: #c1022b;
	z-index: 4;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

#footerContent {
	width: 100%;
	font-size: 80%;
	position: relative;
	z-index:2;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

#footerEnd {
    display: block;
    
}

#footer .left {
    float: left;
    padding-left: 2%;
}
#footer .right {
    float: right;
    padding-right: 2%;
    font-size: 80%;
    color: #e12b4d;
}

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

#footer .right a {
	color: #e12b4d;
	text-decoration: none;
}


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

a img {
	border:0;
}




/* CMS features */



body.cms_editpage #logo {
	max-height: 100%;
}


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

body.cms_editpage #search {
	display: none;
}

body.cms_editpage #theme   {
	height: 150px !important;
    overflow: hidden;
}


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

body.cms_editpage table.editGroup td.cellFrame div {
	
}









