/**
 * 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;
  color: black;
}

body {
  height: 100%;
  width: auto;
  margin: 0;
  padding: 0 0 0 0;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  color: black;
  font-family: 'Lato', 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%;
  margin: auto;
  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: fixed;
  width: 100%;
  z-index: 8;
  top: 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  height: 120px;
  width: 100%;
  background-color: white;
  -webkit-transition: height 150ms ease-out;
  -moz-transition: height 150ms ease-out;
  -ms-transition: height 150ms ease-out;
  -o-transition: height 150ms ease-out;
  transition: height 150ms ease-out;
  /*border-bottom: 2px solid #1d4f90;*/
  /*box-shadow: 1px 1px 20px -1px rgba(0, 0, 0, 0.3);*/
}

body.cms_editpage #header {
  position: relative;
}

#header>div.centered {
  max-width: 1300px;
  height: 100%;

}

body.menuVisible #header>div.centered{
    border-bottom: 2px solid #d2bc9a;
}

#header div#quicklinks {
  position: relative;
  float: right;
}

#search {
  color: #b3b3b3;
  position: relative;
  float: right;
  top: 0;
  display: block;
  width: 72px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  transition-delay: 0.1s;
  font-family: 'Lato', sans-serif;
  font-size: 18px;
}

#search.show {
  position: relative;
  display: block;
  float: right;
  top: 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  width: 305px;
  -webkit-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  -ms-transition: all 200ms ease-in-out;
  -o-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
}

#logo {
  left: 1em;
  position: absolute;
  height: 89px;
  width: 319px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  z-index: 12;
  float: left;
  top: 16px;
  -webkit-transition: all 100ms linear;
  -moz-transition: all 100ms linear;
  -ms-transition: all 100ms linear;
  -o-transition: all 100ms linear;
  transition: all 100ms linear;
}

#logo img {
  height: 100%;
  width: auto;
}

#navigation {
  position: absolute;
  width: 100%;
  height: 23px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  z-index: 11;
  bottom: 35px;
  right: 0;
  font-family: 'Lato', sans-serif;
}

#mainnavigation {
  float: right;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

#theme {
  clear: both;
  float: left;
  position: relative;
  width: 100%;
  min-height: 100%;
  margin-top: 120px;
  background-color: #1d4f90;
  z-index: 4;
  -webkit-transition: all 150ms ease-out;
  -moz-transition: all 150ms ease-out;
  -ms-transition: all 150ms ease-out;
  -o-transition: all 150ms ease-out;
  transition: all 150ms ease-out;
}

#theme>div.centered {
  min-height: 100%;
  position: relative;
  z-index: 2;
}

#theme #theme_text {
  padding: 35px 0 50px;
  min-height: 100%;
  box-sizing: border-box;
}

#theme #theme_text.text-short {
  background-color: #1d4f90;
  width: 70%;
  float: left;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -ms-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
}

#theme #split-img {
  background: url("/_local/images/theme_split_white.svg") no-repeat scroll center left;
  background-size: auto 102% !important;
  min-height: 100%;
  box-sizing: border-box;
  width: 30%;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  overflow: hidden;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -ms-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
}

#theme #theme_img {
  width: 40%;
  min-height: 100%;
  height: 100%;
  position: absolute;
  float: left;
  top: 0;
  right: 0;
  z-index: 1;
  -webkit-background-size: cover !important;
  -moz-background-size: cover !important;
  -o-background-size: cover !important;
  background-size: cover !important;
  background-position: top right;
  background-color: #00833e;
}

/*
** Team **
*/

#content div.team {
  position: relative;
  width: 50%;
  overflow:hidden;
  margin-top: 30px;
}

#content .team p{
  font-size: 15px;
}

#content .team>.cmsCell{
  padding-top: 0;
  margin-top: 0;
}

#content .team img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center center;
}

#content .team .overlayGelb {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #f6ba26;
  overflow: hidden;
  width: 88% !important;
  height: 0;
  transition: .5s ease;
  -webkit-transition: .5s ease;
  margin: 25px 6% 0 6%;
  color: #fff;
}

#content .team .overlayGelb p:first-child{
  font-size: 24px;
}

body.cms_editpage #content .team .overlayGelb{
  position: relative !important;
  height: auto !important;
  margin: 0 !important;
  transition: none !important;
  -webkit-transition: none !important;
}
#content .team .overlayGelb p a{
  color: #fff;
}

#content .team:hover .overlayGelb {
  height: 100%;
}

#content .team:hover .overlayGelb p:first-child {
  padding-top: 20px;
}

body.cms_editpage #content .team:hover .overlayGelb p:first-child{
  padding-top: 0px;
}

body div#content div.kontakt{
  color: #fff;
  margin-top: 30px;
  margin-right: 1.5%;
  margin-left: 1.5%;
}
#content .kontakt>div{
  padding-right: 0% !important;
  padding-left: 6% !important;
  margin-right: 6%;

}
#content .kontakt p{
    font-size: 15px;
}

#content .kontakt p:first-child{
    font-size: 24px;
}

#content .kontakt > div{
  margin-top: 0px;
  padding-top: 20px;
  padding-bottom: 20px;
  background: #d2bc9a;
}

/*
** Team **
*/

#content .team {
  position: relative;
  width: 50%;
  overflow:hidden;
  margin-top: 30px;
}

#content .team p{
  font-size: 15px;
}

#content .team>.cmsCell{
  padding-top: 0;
  margin-top: 0;
}

#content .team img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center center;
}

#content .team .overlayGelb {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #f6ba26;
  overflow: hidden;
  width: 88% !important;
  height: 0;
  transition: .5s ease;
  -webkit-transition: .5s ease;
  margin: 25px 6% 0 6%;
  color: #fff;
}

#content .team .overlayGelb p:first-child{
  font-size: 24px;
  line-height: 26px;
}

body.cms_editpage #content .team .overlayGelb{
  position: relative !important;
  height: auto !important;
  margin: 0 !important;
  transition: none !important;
  -webkit-transition: none !important;
}
#content .team .overlayGelb p a{
  color: #fff;
}

#content .team:hover .overlayGelb {
  height: 100%;
}

#content .team:hover .overlayGelb p:first-child {
  padding-top: 20px;
}

body.cms_editpage #content .team:hover .overlayGelb p:first-child{
  padding-top: 0px;
}


#content .container div.boxBraun{
  background: #d2bc9a;
}

#content .container div.boxBraun p,
#content .container div.boxGruen p{
  color: #fff;
  padding-left: 20px;
  padding-top: 20px;
}

#content .container div.boxGruen{
  background: #74bb63;
}

#content .container div.homeLinkGross{
  font-size: 57px;
  line-height: 62px;
  font-family: 'CaeciliaLTPro-45Light';
  text-decoration: none;
  color: #fff;
}

#content .container div.homeLinkKlein{
  font-size: 30px;
  line-height: 25px;
  padding-left: 15px;
  font-family: 'CaeciliaLTPro-45Light';
  text-decoration: none;
}


/* /////////// THEME IM CMS /////////////// */

body.cms_editpage #theme {
  display: none;
}

/* //////////////////////////////////////// */

main {
  clear: both;
  display: block;
  width: 100%;
  padding: 10px 0 90px 0;
  margin: 0;
  min-height: 360px;
  background: none;
  z-index: 3;
  position: relative;
}

main>div#content.centered {
  max-width: 1300px;
}

div.centered {
  clear: both;
  position: relative;
  width: 70%;
  max-width: 1300px;
  margin: 0px auto;
}

footer {
  position: fixed;
  background-color: #fff;
  bottom: 0;
  width: 100%;
  min-height: 55px;
  display: block;
  clear: both;
  z-index: 4;
  font-size: 0.9em;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  color: #000 !important;
  padding: 18px 20px;
}

footer a {
  color: black;
}

footer div.left {
  float: left;
  font-size: 1em;
}

footer div.right {
  float: right;
}

div.clear {
  clear: left;
  font-size: 0px;
  line-height: 0px;
  height: 0px;
}

a img {
  border: 0;
}

#content span.tel {
  color: black;
}

footer span.tel {
  color: black;
}

div.infobox span.tel {
  color: black;
}




/*
@media only screen and (max-width: 885px) {


	main {
	    padding: 10px 0 150px;
	}

	footer {
	    position: absolute !important;
	    bottom: 0px;
	}

}
*/

/* //////////////// CMS features //////////////// */

body.cms_editpage #logo {
  max-height: 100%;
}
body.cms_editpage #theme {
  display: none;
}
body.cms_editpage #content {
  z-index: 3 !important;
  width: 100% !important;
}

body.cms_editpage #search {
  display: none;
}

body.cms_editpage #theme {
  min-height: 150px !important;
  margin-top: 0px;
}

body.cms_editpage #footer {
  visibility: visible;
  position: relative !important;
  display: block !important;
}
