/**
 * Brunner AG - Druck und Medien, Kriens
 * @copyright      Copyright 2009, Brunner Web
 * @link           http://www.bag.ch/web
 */

#content table {
  margin: 0;
  padding: 0;
}

#content table td {
  padding: 2px 5px;
}

#content table tr td:first-child {
  padding-left: 0px;
}

#content h1, #content h2, #content h3 {
  margin: 0;
  /*padding: 0 0 0.5em 0;*/
}

#content h1 {
  font-size: 3.167em;
  line-height: 1.3em;
  font-weight: normal;
  font-family: 'CaeciliaLTPro-45Light';
}

#content h2 {
  font-size: 30px;
  line-height: 1.25em;
  font-family: 'Lato', Arial, sans-serif;
  margin: 10px 0 0 0;
  font-weight: normal !important;
}

#content h3 {
  font-size: 1.8em;
  line-height: 1.15em;
  font-weight: normal !important;
  font-family: 'CaeciliaLTPro-55Roman';
  padding: 0.3em 0 0 0;
}

#content h4 {
  font-size: 30px;
  line-height: 1.25em;
  font-family: 'Lato', Arial, sans-serif;
  margin: 10px 0 0 0;
  font-weight: normal !important;
}


#content p {
  margin-top: 0;
  padding-top: 0;
  font-size: 1em;
  line-height: 1.25em;
}

#content strong, body#content strong {
  font-weight: 700;
  font-style: normal;
  line-height: 26px;
}

#content em, body#content em {
  font-weight: 400;
  font-style: italic;
}

#content a {
  text-decoration: none;
}

#content a:hover {
  text-decoration: underline;
}

/*
#content a.popUp {

}
*/

a.anchor {
  clear: both;
  display: block;
  height: 0;
  line-height: 0;
}

#content a img {
  border: 0;
}

#content img.cmsDocumentIcon {
  margin-bottom: 5px;
  margin-right: 4px;
  margin-top: 2px;
  vertical-align: top;
}

#content ol, #content ul, #content li {
  padding: 0px;
  margin: 0 0 0 0;
  font-size: 1em;
  line-height: 1.4em;
}

#content ul li {
  /*background: rgba(0, 0, 0, 0) url("/_local/images/li-element.svg") no-repeat scroll 0 6px;*/
  /*padding: 2px 0 2px 0px;*/
  padding: 0 0 0 1em;
  margin-bottom: 6px;
  list-style: outside none none;
  position: relative;
}
#content ul li:before{
  content: '>';
  position: absolute;
  left: 0;
  top: 0;
  color: #000;
}
#content ol li {
  background: none;
  padding-left: 4px;
  margin-bottom: 6px;
  list-style: decimal;
}

#content ul li:last-child, #content ol li:last-child {
  margin-bottom: 0px;
}

#content ol {
  margin-left: 1.25em;
}

#content hr {
  background-color: black;
  /* Farbe für Opera und Firefox */
  /* Farbe für Internet Explorer (IE) */
  color: black;
  border: 0;
  height: 1px;
}

/* *************** BOXEN STARTSEITE *****************/

#content .text-rot{
	color: red;
	font-weight: 600;
}

#content .text-gross{
	font-size: 23px;
    line-height: 28px;
}

/* IMGBOX */

#content div.imgbox {
  position: relative;
}

#content div.imgbox>div>p, #content div.imgbox>div:last-child {
  cursor: pointer;
}

#content div.imgbox>div:last-child {
  background-color: rgba(0, 131, 62, 0.97);
  bottom: 0;
  box-sizing: border-box;
  margin: 0 9% 4% !important;
  padding: 10px 12px 12px !important;
  position: absolute;
  width: 82% !important;
  min-height: auto;
  color: white !important;
}

#content div.imgbox>div:last-child a {
  color: white !important;
  display: block;
  margin-top: 10px;
}

/* INFOBOX */


#content div.infobox>div a {
  color: white !important;
  margin-top: 10px;
}

#content div.infobox>div {
  background-color: #f6ba26;
  box-sizing: border-box;
  padding: 30px 20px 0px 25px;
  position: relative;
  color: white;
}

#content .container .cmsCell{
  padding: 0 !important;
  box-sizing: border-box;
}

#content div.kontaktBox  div.infobox:last-of-type > div{
  padding-bottom: 50px !important;
}

/*
** Schrift  **
*/

#content p {
  font-size: 18px;
  line-height: 24px;
  position: relative;
  display: block;
  overflow: hidden;
}


#content p span.hintergrundGruen {
  padding: 0.2em 0.1em 0.1em 0.3em;
  box-shadow: 0.3em 0 0 rgb(116, 187, 99), 0.3em 0 0 rgb(116, 187, 99);
  background-color: #74bb63;
  -webkit-box-decoration-break: clone;
  -ms-box-decoration-break: clone;
  -o-box-decoration-break: clone;
  box-decoration-break: clone;
  color: #fff;
  line-height: 2em;
  font-size: 25px;
  font-family: 'CaeciliaLTPro-76BoldItalic';
  display: inline;
  -webkit-line-height: none;
}

#content p.textParagraph span.hintergrundGruen{
  padding: 0.18em 0.1em 0.1em 0.3em !important;
}
#content div.kontaktBild p.textParagraph{
  padding: 15px 30px 0 15px;
}

#content div.kontaktBild p a{
  color: #fff !important;
  text-decoration: none !important;
}

#content div.kontaktBild p span.hintergrundGruen {
  line-height: 1.75em;
  font-size: 30px;
}

#content p span.hintergrundGruen a {
  color:  #fff;
  text-decoration: none;
}
#content p span.hintergrundGelb {
  padding: 0.2em 0.1em 0.2em 0.3em;
  box-shadow: 0.1em 0 0 rgb(246, 186, 38), 0.1em 0 0 rgb(246, 186, 38);
  background-color: #f6ba26;
  -webkit-box-decoration-break: clone;
  -ms-box-decoration-break: clone;
  -o-box-decoration-break: clone;
  box-decoration-break: clone;
  color: #fff;
  line-height: 54px;
  font-size: 25px;
  font-family: 'CaeciliaLTPro-76BoldItalic';
}

#content p span.hintergrundGelb a{
  color: #fff;
  text-decoration: none;
}

#content p span.hintergrundBraun {
  padding: 0em 0.2em;
  /*box-shadow: 0.2em 0 0 rgb(210, 188, 154), 0em 0 0 rgb(210, 188, 154);*/
  background-color: #d2bc9a;
  -webkit-box-decoration-break: clone;
  -ms-box-decoration-break: clone;
  -o-box-decoration-break: clone;
  box-decoration-break: clone;
  color: #fff;
}

#content .container .img2 .hintergrundGelb{
  left: 0;
  font-size: 1.8em;
  color: #fff;
  transform: rotate(-25deg);
  display: block;
  margin-left: 38px;
  margin-right: 10px;
  line-height: 36px;
  font-size: 34px;
}

body.cms_editpage .img2 .hintergrundGelb{
  position: relative !important;
  transform: rotate(0deg) !important;
  margin-left: 0px !important;
  display: inline-block !important;
}

body:not(.cms_editpage) #content .container .img2 p.textOverlay{
  height: auto;
  min-height: 220px;
  /*min-width: 180px;*/
  padding-right: 40px;
}

body:not(.cms_editpage) #content .container .img2 p .hintergrundGelb:first-child{
  margin-top: 55px;
  margin-bottom: 4px;
  display: inline-block;
}

#content p.bgPadding {
  box-shadow: 0em 0 0 rgb(0, 0, 0), -0em 0 0 rgb(0, 0, 0);
  box-sizing: border-box;
}

body:not(.cms_editpage) #content .container{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  width: 100%;
  -ms-flex: 1 0 100%;
  -webkit-box-flex: 1;
  flex: 1 0 100%;
  height: 100%;
  position: relative;
}

body:not(.cms_editpage) #content .container div.img2,
div#content .container div.img3,
#content .container .cmsCell{
  position: relative;
}

#content .container div.img1{
  /*flex: 1.89;*/
  width: 75%;
}

body.cms_editpage #content .container div.img1{
  width: 100%;
}

body:not(.cms_editpage) #content .container div.img2{
  /*flex: 0.6931;*/
  width: 25%;
}

body:not(.cms_editpage) #content .container .img2 p{
  position: absolute;
  display: inline-block;
  width: auto;
}

body:not(.cms_editpage) #content .container .img2 p,
body:not(.cms_editpage) #content .container .img2 img{
  height: 100%
}
body:not(.cms_editpage) #content .container .img2 p:not(.textOverlay),
body:not(.cms_editpage) #content .container .img2 img{
  width: 100%;
}
#content .container div.img3 p.spende{
  background: #f6ba26;
  position: absolute;
  top:0;
  padding-top: 20px;
  width: 100%;
  color: #fff;
  height: 50px;
}

#content .container div.img3 p.spende a{
  color: #fff;
}

#content .container div.img1 p,
#content .container div.img2 p,
#content .container div.img3 p{
  line-height: 0 !important;
}

#content .container a{
  text-decoration: none;
}

#content .container img {
  object-fit: cover;
  object-position: center center;
  font-family: 'object-fit: cover; object-position: 50% 50%;';
}

#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 .homeLinkGross{
  font-size: 57px;
  line-height: 62px;
  font-family: 'CaeciliaLTPro-45Light';
  text-decoration: none;
  color: #fff;
}

#content .container .homeLinkKlein{
  font-size: 30px;
  line-height: 25px;
  padding-left: 15px;
  font-family: 'CaeciliaLTPro-45Light';
  text-decoration: none;
}

#content .cmsDocumentIcon{
  display: none !important;
}

/*
** Kontaktbox **
*/

#content .kontaktBox>div{
  padding: 0 !important;
}

#content div.kontaktBild{
  position: relative;
}

#content div.kontaktBild p img{
  display: block;
}

#content div.kontaktBild p.textParagraph{
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: 'CaeciliaLTPro-76BoldItalic';
}

#content .textBottom{
  position: relative;
}

#content .textBottom p{
  position: absolute;
  bottom: 0;
}

#content .person p{
  display: table;
}

#content .person p img{
  display: table-cell;
  min-width: 122px;
  min-height: 183px;
  max-width: 195px;
  max-height: 293px;
}

#content .person p span{
  display: table-cell;
  padding-left: 20px;
  vertical-align: bottom;
}



/*
** Stellen **
*/
#content .job > div{
  padding: 20px 30px 25px;
}
#content .job p,
#content .job p span,
#content .job p a{
  color: #fff;
}

#content .job p a:hover{
  text-decoration: underline;
}
#content span.stellenBezeichnung{
  font-family: 'CaeciliaLTPro-45Light';
  font-size: 24px;
  line-height: 28px;
}

/* MEDIA QUERY MOBILE DEVICES */
@media	only screen and (-webkit-min-device-pixel-ratio: 1.3),
  only screen and (-o-min-device-pixel-ratio: 13/10),
	only screen and (min-resolution: 120dpi){

    #content p span.hintergrundGelb {
      padding: 0.2em 0.1em 0.1em 0.3em;
    }

    #content p span.hintergrundGruen {
      line-height: 1.7em !important;
    }

    #content p.textParagraph span.hintergrundGruen{
      padding: 0.2em 0.1em 0.1em 0.3em !important;
    }
}
