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

#content h1, #content h2, #content h3 {
  position: relative;
  font-family: 'Orgon-Medium';
  color: #000;
  margin: 0;
  padding: 0 0 0.5em 0;
}

#content h1, #content h2{
  margin-bottom: 2.5rem;
}
#content h1:after, #content h2:after {
  content: "";
  position: absolute;
  width: 20rem;
  height: 2px;
  bottom: 12px;
  left: 0;
  right: 0;
  margin: 0 auto;
  border-bottom: 2px solid #000;
}

#content h1 {
  font-size: 5rem;
  text-transform: uppercase;
  letter-spacing: 0.125rem;
  line-height: 5.5rem;
}

#content h2 {
  font-size: 5rem;
  text-transform: uppercase;
  letter-spacing: 0.125rem;
  line-height: 5.5rem;
}

#content h3 {
  font-size: 3rem;
  line-height: 3.6rem;
  text-transform: uppercase;
  letter-spacing: 0.125rem;
}

#content h4 {
  font-size: 2.2rem;
  line-height: 3.1rem;
  text-transform: uppercase;
  letter-spacing: 0.125rem;
  font-family: 'Orgon-Bold';
}

#content h5 {
  font-size: 1.7rem;
  line-height: 2.4rem;
  text-transform: uppercase;
  letter-spacing: 0.125rem;
  font-family: 'Orgon-Bold';
}

#content p {
  margin-top: 0;
  padding-top: 0;
  position: relative;
}

#content strong, body#content strong {
  font-family: 'Orgon-Medium';
}

#content a, #content a.toggler {
  text-decoration: none;
  color: #e30000;
  font-weight: 700;
}

/* spezielle Klassen */
#content .lead{
  font-size: 2rem;
  line-height: 2.9rem;
  font-family: "Orgon-Light";
}

.boxContainer.cmsGroup{
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-direction: row;
}

.boxContainer .cmsCell{
  flex: 1 1 33.33%;
  width: 33.333%;
  max-width: 33.333%;
}

#content .grossbuchstaben {
  text-transform: uppercase;
}

#content a.button {
  font-weight: normal;
  font-size: 18px;
  color: #e30000;
  display: inline-block;
  background-color: #fff;
  box-sizing: border-box;
  margin-bottom: 10px;
  padding: 10px 20px;
  text-decoration: none;
  border: 2px solid #e30000;
  font-weight: 700;
  min-width: 195px;
  font-family: 'Orgon-Medium';
}

#content a.button:hover {
  color: #fff;
  background-color: #e30000;
  transition: all 0.3s ease-in-out;
}

/**/

#content a img {
  border: 0;
}

#content img.cmsDocumentIcon {
  margin-top: 0px;
  margin-right: 5px;
  border: 0;
}

#content ol, #content ul, #content li {
  padding: 0px;
  margin: 0 0 0 1em;
}

#content ul li {
  padding: 2px 0 2px 0px;
}

#content ol {
  padding-left: 30px;
}

#content ol li {
  background: none;
  padding: 2px 0 2px 0px;
  margin: 0;
  list-style: decimal;
}

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

div.boxContainer .cmsCell p:first-child{
  display: inline-block;
  position: relative;
  box-sizing: border-box;
}
div.element1 p:first-child:after{
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url('/_local/images/overlay_blau1.png');
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: contain;
  box-sizing: border-box;
  pointer-events: none;
}
div.element2 p:first-child:after{
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url('/_local/images/overlay_blau2.png');
  background-position: left top;
  background-repeat: no-repeat;
  background-size: contain;
  box-sizing: border-box;
  pointer-events: none;
}
div.element3 p:first-child:after{
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url('/_local/images/overlay_grau1.png');
  background-position: right top;
  background-repeat: no-repeat;
  box-sizing: border-box;
  background-size: 50%;
  pointer-events: none;
}
div.element4 p:first-child:after{
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url('/_local/images/overlay_grau2.png');
  background-position: left top;
  background-repeat: no-repeat;
  background-size: contain;
  box-sizing: border-box;
  pointer-events: none;
}
div.element5 p:first-child:after{
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url('/_local/images/overlay_rot1.png');
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: contain;
  box-sizing: border-box;
  pointer-events: none;
}
div.element6 p:first-child:after{
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url('/_local/images/overlay_rot2.png');
  background-position: right top;
  background-repeat: no-repeat;
  background-size: contain;
  box-sizing: border-box;
  pointer-events: none;
}
/***************** toggle Box ***********************/

#content div.toggle {
  position: relative;
  z-index: 3;
  transition: all 0.9s ease-in-out;
}

#content div.toggle.open {
  margin-top: 0px;
  transition: all 0.4s ease-in-out;
}

#content div.toggle div.cmsCell {
  margin-bottom: 0 !important;
  padding: 0 3%;
}

#content div.toggleHide {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  position: relative;
  margin-top: 0px !important;
  padding-top: 0px;
  padding-bottom: 0px;
  width: 100% !important;
  border-radius: 5px;
  opacity: 0;
  transition: max-height 0.8s ease-in-out, opacity 1.5s ease-in-out;
}

#content div.toggle.open div.toggleHide {
  height: auto;
  max-height: 600px;
  opacity: 1;
  transition: max-height 1s ease-in-out, opacity 0.6s ease-in-out;
}

div.toggle a.toggler, div.toggle a.toggler h1, div.toggle a.toggler h2, div.toggle a.toggler h3 {
  text-decoration: none !important;
}

div.toggle a.toggler:before {
  content: '\f067';
  font-family: 'FontAweSome';
  float: left;
  color: inherit !important;
  font-size: 17px;
  position: relative;
  margin: 13px 10px 0 0;
  transform: rotate(0deg);
  transition: transform 0.6s ease-in-out 0.2s;
}

div.toggle.open a.toggler:before {
  content: '\f068';
  transform: rotate(180deg);
  transition: all 0.3s ease-in-out 0s;
}

div.toggle i.fa-times {
  opacity: 0;
  top: 19px;
  font-size: 1px;
  position: absolute;
}

div.toggle.open div.toggleHide i.fa-times {
  position: absolute;
  top: 20px;
  right: 0px;
  margin: 0;
  width: 26px;
  line-height: 26px;
  text-align: center;
  content: '\f105';
  font-family: 'FontAweSome';
  color: #555;
  float: left;
  cursor: pointer;
  font-size: 20px;
  border: 0px solid #aaa;
  border-radius: 13px;
  opacity: 0;
  z-index: 4;
  transition: all 0.3s ease-in-out;
}


/** Slideshow legend links **/
div.linked a.href {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 10;
}

/**/

#content div.autoheight>.cmsCell {
  margin: 0;
  height: 100%;
}
