/*
Theme Name: BackaufTheme-Child
Theme URI: http://www.backauf.de/internetauftritt/
Description: Responsives HTML5 & CSS3 Theme mit SEO-Optimiertem HTML-Code
Version: 2.0 ALPHA
Author: Nico Gutmann
Author URI: http://www.backauf.de/internetauftritt/
Template: BackaufTheme
*/

/***********************************
*** YOUR CODE HERE
***********************************/
/**************************
*** CSS Werte
**************************/
body{
  font-family: 'Poppins', sans-serif !important;
}
a[href*=".pdf"]::before,a[href*=".Pdf"]::before,a[href*=".PDF"]::before{
  content: url("/wp-content/uploads/2016/01/pdf_placeholder.png");
  margin-right: 5px;
  background: url("http://www.initiative-elmshorn.de/files/BC-NG%20Initiative%20Elmshorn/images/Mitglieder/pdf-datei.png");
  overflow: hidden;
  position: absolute;
  left: -19px;
  height: 27px;
  top: -6px;
  background-position: center;
  background-size: 125% 100%;
  width: 20px;
}
a[href*=".pdf"],a[href*=".Pdf"],a[href*=".PDF"]{
  background: #db1402;
  color: #fff;
  padding-right: 5px;
  padding-left: 5px;
  position: relative;
  display: inline-block;
  line-height: 1.4em;
  font-style: italic !important;
}
/**************************
*** Header
**************************/
header{
  margin-bottom: -25px !important;
  background-position: center 60px !important;
  background-color: transparent !important;
}
header > div{
  position: relative;
}
header nav{
  position: absolute;
  bottom: 0;
  right: 0;
  margin-right: 0;
}
header nav ul li {
  line-height: 50px;
}
header nav ul li:last-child {
  padding-right: 0;
}
header #logo{
  max-width: 100% !important;
  margin: 0 !important;
  overflow-x: hidden;
}
#mobilenav{
  height: 50px !important;
}
#mobilenav span{
  position:absolute;
  line-height: 0;
  left:0;
  right:0;
  margin-left:auto;
  margin-right:auto;
  font-size: 17px;
}
@media(max-width:955px){
  header{
    background-image: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
}
@media(max-width: 855px){
  header nav ul li {
    padding-right: .8vw;
  }
}
@media (min-width: 763px) {
  header nav *{
    border: none !important;
  }
}
/**************************
*** Footer
**************************/
footer{
  border-top:none!important;

  padding-top:20px;
  text-align: center;
}
footer p{
  font-family: 'poppins',sans-serif;
  font-size: 12px;
}
/**************************
*** Home
**************************/
#pl-2 h1{
  font-size: 1.5em;
  font-weight: 100;
}
#pl-2 p{
  font-weight: 100;
}
#panel-2-0-0-0 p{
  margin-bottom: 0;
  font-size: 1em;
}

@media(max-width:762px){
  #panel-2-0-0-0 span:first-child, #panel-11-0-1-0 span:first-child, #panel-14-0-1-0 span:first-child, #panel-82-0-0-0 span:first-child{
    line-height: 1.3em !important
  }
  #pg-2-0 > div, #pg-82-0 > div{
    display: none;
  }
  div[id*=pgc-2-0-]:not(#pgc-2-0-0){
    display: none;
  }
  #pgc-2-0-0{
    margin: 0 !important;
  }
  #panel-2-0-0-0{
    border-top: 1px solid #fff;
  }
  #panel-2-0-0-0 > div{
    padding: 20px 25px 2px 25px !important;
  }
}
/**************************
*** Aktuelles
**************************/
#aktuelles > *{
  /*margin-right: 1em;
  margin-left: 1em;*/
}
#aktuelles h1{
  margin-left: .4em;
  margin-top: .75em;
  font-weight: 300;
  margin-bottom: .25em !important;
}
#aktuelles article > div > div:nth-child(n+2){
  margin-bottom: 0;
}
#aktuelles #pgc-11-0-0{
  position: relative;
}
#aktuelles #panel-11-0-0-0{
  position: absolute;
  bottom: -318px;
  width: 100%;
}
#aktuelles #panel-11-0-0-0 p{
  font-size: 1em;
  margin-bottom: 0;
}
#aktuelles #pgc-11-3-0 > div{
  padding: .75em;
  padding-bottom: 0;
  border-bottom: 1px solid #dfdfdf;
  margin-bottom: 0;
}
#aktuelles #pgc-11-2-0 > div{
  padding: .75em;
  padding-bottom: 0;
  border-top: 1px solid #dfdfdf;
  margin-bottom: 0;
}
#aktuelles #pgc-11-2-0 > div:last-child{
  border-bottom: 1px solid #dfdfdf;
  margin-bottom: 1em;
}
#aktuelles #pgc-11-2-0 > div:nth-child(even){
  background-color: #f4f4f4;
}
#aktuelles #pgc-11-2-0 *, #aktuelles #pgc-11-3-0 *{
  font-weight: 300
}
#aktuelles #pgc-11-2-0 h3, #aktuelles #pgc-11-3-0 h3{
  font-size: 1.1em;
  margin-bottom: .1em;
  font-weight: 500;
}
#showOldStuff{
  font-size: .8em;
  font-weight: 300;
  margin-left: 2.2em;
}
#panel-11-2-0-1{margin-top: 1em;}
#gruendung,#gruendung p{
  margin-bottom:0.15rem!important
}
#gruendung img{margin: 0 auto 10px!important;line-height: 0;}
#gruendung p:first-child{line-height: 0;}
#pg-w5714f42a75072-1{margin-bottom: 2em;}
@media (max-width: 762px) {
  #pg-11-0 > div{
    background-image: none !important;
    overflow: visible !important;
    height: auto !important;
  }
  #pgc-11-0-0, #pgc-11-0-2{
    display: none;
  }
  #panel-11-0-1-0 {
    border-top: 1px solid #fff;
  }
  #panel-11-0-1-0 > div{
    padding: 20px 25px 2px 25px !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
  }
  #pgc-11-1-1{
    display: none !important;
  }
  #pgc-11-1-0, #pgc-11-0-1{
    margin: 0 !important;
  }
}
/**************************
*** Presse
**************************/
#presse h1{
  margin-left: .4em;
  margin-top: .75em;
  font-weight: 300;
  margin-bottom: .25em !important;
}
#presse h3{
  font-weight: 100;
  font-size: 1.25em;
  min-height: 140px;
  margin-bottom: 0;
}
#presse article.four-col{
  border-bottom: 1px solid #dfdfdf;
  border-right: 1px dashed #dfdfdf;
  display: block;
  overflow: hidden;
  min-height: 200px;
  min-width: 215px;
  padding-top: 1.5em;
}
#presse section article.four-col:last-of-type {
  border-right: none;
}
#presse #pgc-14-0-0{
  position: relative;
  height: 343px
}
#presse #panel-14-0-0-0{
  position: absolute;
  bottom: 10px;
  width: 100%;
}
#presse #panel-14-0-0-0 p{
  font-size: 1em;
  margin-bottom: 0;
}
.zeitung{
  font-weight: 600;
  margin-bottom: .1em;
}
@media (max-width: 762px) {
  #pg-14-0 > div{
    background-image: none !important;
    overflow: visible !important;
    height: auto !important;
  }
  #pgc-14-0-0, #pgc-14-0-2{
    display: none;
  }
  #panel-14-0-1-0 {
    border-top: 1px solid #fff;
  }
  #panel-14-0-1-0 > div{
    padding: 20px 25px 2px 25px !important;
    margin-left: -31px !important;
    margin-right: -31px !important;
  }
  #pgc-14-1-1{
    display: none !important;
  }
  #pgc-14-1-0, #pgc-14-0-1{
    margin: 0 !important;
  }
}
@media(min-width:881px){
  #presse article.four-col:nth-child(4n){
    border-right: none;
  }
  #presse article.four-col:nth-child(-n+4){
    border-top: 1px solid #dfdfdf;
  }
}
@media(max-width:880px) and (min-width:662px){
  #presse article.four-col{
    min-height: 150px;
    min-width: 150px;
    width: 33%;
  }
  #presse article.four-col:nth-child(3n){
    border-right: none;
  }
  #presse article.four-col:nth-child(-n+3){
    border-top: 1px solid #dfdfdf;
  }
  #presse h3{
    min-height: 85px;
  }
}
@media(max-width:661px) and (min-width:521px){
  #presse article.four-col{
    min-height: 150px;
    min-width: 150px;
    width: 49%;
  }
  #presse article.four-col:nth-child(2n){
    border-right: none;
  }
  #presse article.four-col:nth-child(-n+2){
    border-top: 1px solid #dfdfdf;
  }
  #presse h3{
    min-height: 85px;
  }
}
@media(max-width:520px){
  #presse article.four-col{
    min-height: 150px;
    min-width: 150px;
    width: 100%;
  }
  #presse article.four-col:nth-child(n){
    border-right: none;
  }
  #presse article.four-col:nth-child(-n+1){
    border-top: 1px solid #dfdfdf;
  }
  #presse h3{
    min-height: 85px;
  }
}
/**************************
*** Presse Single
**************************/
.presse-single h3{
  min-height: 1px;
  font-weight: 600;
}
/**************************
*** Kontakt
**************************/
#pg-82-0 .panel-grid-cell{
  padding-left: 1px !important;
  padding-right: 1px !important;
}
#pg-82-0 > div{
  overflow: hidden;
}
#pgc-82-0-0{
  position: relative;
}
#panel-82-0-1-0 > div{
  height: 159.2px;
  overflow: hidden;
}
#panel-82-0-0-0{
  position: absolute;
  bottom: -318px;
  width:100%;
}
#panel-82-0-0-0 p{
  margin-bottom:0;
  font-size: 1em;
}
#panel-82-1-0-0 h2{
  font-weight: 600;
  font-size: 1.5em !important;
  margin-bottom: .5em;
  margin-top: .5em;
}
#panel-82-1-0-0 > div{
  padding: 1em;
}
#panel-82-1-0-0 .textwidget > * {
  font-size: 1.2em;
}
#panel-82-1-0-0 .textwidget > p {
  margin-bottom: 1.2em;
}
#panel-82-1-1-0{
  margin-bottom: .5em !important;
}
#panel-82-1-1-1 p{
  font-size: .83em;
}
.imagenames{
  width: 33%;
  text-align: center;
  display: block;
  float: left;
}
@media (max-width: 762px) {
  section{
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  #pg-82-0 > div{
    background-image: none !important;
    overflow: visible !important;
    height: auto !important;
  }
  #pgc-82-0-1{
    display: none;
  }
  #panel-82-0-0-0 {
    border-top: 1px solid #fff;
  }
  #panel-82-0-0-0 > div{
    padding: 20px 25px 2px 25px !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
  }
  #pgc-82-0-0{
    margin: 0 !important;
  }
}
