@media only screen 
and (max-width : 1460px) 
{ 
  .advsection-infobox-outer-wrapper {
    height: auto;
  }

  .advsection-infobox-outer {
    height: auto !important;

    display: flex;
    max-width: calc(700px + 4em);
    margin: 0 auto 3em auto;
    padding: 0 2em;
    justify-content: center;

  }

  .advsection-infobox {
    position: static;
    transform:none !important;
    top:0 !important;
  }  

.advsection {
  display: flex;
  flex-direction: column-reverse;
}

}

@media only screen 
and (max-width : 1280px) 
{ 

  #siteholder h1.sehrgross, #siteholder h2.sehrgross, #siteholder h3.sehrgross, #siteholder h4.sehrgross, #siteholder h5.sehrgross {
      font-size: 67px;
      line-height: 70px;
  }

  #siteholder h1.mittel, #siteholder h2.mittel, #siteholder h3.mittel, #siteholder h4.mittel, #siteholder h5.mittel {
      font-size: 38px;
      line-height: 50px;
  }

  #siteholder p {
      font-size: 20px;
      line-height: 27px;
  }


}

@media only screen 
and (max-width : 1120px) 
{ 
  .lpinhaltsverzeichnis-item-hoverimageelement {
    display: none !important;
  }

  .lpinhaltsverzeichnis-content {
    padding:0 20px;
    box-sizing: border-box;
  }

  .lpinhaltsverzeichnis-item-number {
    display: block;
    flex:1 1 100%;
  }

  .lpinhaltsverzeichnis-item-title {
    flex:1 1 calc(100% - 50px);    
    margin-right: 0;
  }

  .lpinhaltsverzeichnis-content ul li {
    line-height: 30px;
    padding: 10px 0;
  }

  .lpinhaltsverzeichnis-item-icon {
    position: static;
    flex: 1 1 50px;
    text-align: right;
  }

  .lpinhaltsverzeichnis-item-icon img {
    transform: none;
  }

  .lpinhaltsverzeichnis .lptextwithlines-content {
    flex: 1 1 auto;
    text-align: center;
  }

  .lptextwithlines-content {
    flex: 1 1 auto;
    text-align: center;
  }  

  .lpinhaltsverzeichnis-content ul {
    padding: 40px 0;
  }

  .lpinhaltsverzeichnis-header-topline-content {
    margin-left: 0px;
  }

  .lpinhaltsverzeichnis-content ul li a {
    display: flex;
    flex-wrap: wrap;
  }
}

@media only screen 
and (max-width : 1024px) 
{ 

  #siteholder h1.sehrgross, #siteholder h2.sehrgross, #siteholder h3.sehrgross, #siteholder h4.sehrgross, #siteholder h5.sehrgross {
      font-size: 60px;
      line-height: 60px;
  }

  #siteholder h1.mittel, #siteholder h2.mittel, #siteholder h3.mittel, #siteholder h4.mittel, #siteholder h5.mittel {
      font-size: 32px;
      line-height: 37px;
  }

  #siteholder p {
    font-size: 19px;
      line-height: 25px;
  }

  #mobileindicator {
    font-size:1px;
  }

}



@media only screen 
and (max-width : 768px) 
{ 
  #siteholder h1.sehrgross, #siteholder h2.sehrgross, #siteholder h3.sehrgross, #siteholder h4.sehrgross, #siteholder h5.sehrgross {
      font-size: 60px;
      line-height: 60px;
    margin-bottom: 0.7em;      
  }

  #siteholder h1.gross, #siteholder h2.gross, #siteholder h3.gross, #siteholder h4.gross, #siteholder h5.gross {
      font-size: 45px;
      line-height: 45px;
    margin-bottom: 0.7em;      
  }

  #siteholder h1.mittel, #siteholder h2.mittel, #siteholder h3.mittel, #siteholder h4.mittel, #siteholder h5.mittel {
      font-size: 32px;
      line-height: 37px;
    margin-bottom: 0.7em;      
  }

  #siteholder p {
    font-size: 19px;
      line-height: 25px;
  }

  .advsection.advsection_fullwidth .advsection-inner {
      flex-direction: column;
  }

  .advsection-inner {
      flex-direction: column !important;
  }

  .section.column-100-0 .section-left { flex:100; }
  .section.column-100-0 .section-right { flex:0; }

  .section.column-25-75 .section-left { flex:100; }
  .section.column-25-75 .section-right { flex:100; }

  .section.column-50-50 .section-left { flex:100; }
  .section.column-50-50 .section-right { flex:100; }

  .section.column-75-25 .section-left { flex:100; }
  .section.column-75-25 .section-right { flex:100; }

  .section.column-33-67 .section-left { flex:100; }
  .section.column-33-67 .section-right { flex:100; }

  .section.column-67-33 .section-left { flex:100; }
  .section.column-67-33 .section-right { flex:100; }


  .advsection-left-wrapper,
  .advsection-right-wrapper {
      padding: 0 2em;
  }

  .removestandardpaddingmobile .advsection-left-wrapper,
  .removestandardpaddingmobile .advsection-right-wrapper {
      padding: 0;
  }

  #anchornav ul {
    margin: 0 -15px 0 0;
  }

  #anchornav ul li a .label {
    display: none;
  }

  .ce-gallery figcaption {
    font-size: 0.8em
  }

  #siteholder h1.mittel, #siteholder h2.mittel, #siteholder h3.mittel, #siteholder h4.mittel, #siteholder h5.mittel {
    font-size: 26px;
  }

  .removestandardpaddingmobile .advsection-left-wrapper, .removestandardpaddingmobile .advsection-right-wrapper {
    padding: 20px 0;
  }

}

@media only screen 
and (max-width : 480px) 
{ 
  #siteholder h1.sehrgross, #siteholder h2.sehrgross, #siteholder h3.sehrgross, #siteholder h4.sehrgross, #siteholder h5.sehrgross {
      font-size: 50px;
      line-height: 51px;
    margin-bottom: 0.7em;            
  }

  #siteholder h1.gross, #siteholder h2.gross, #siteholder h3.gross, #siteholder h4.gross, #siteholder h5.gross {
      font-size: 40px;
      line-height: 40px;
    margin-bottom: 0.7em;      
  }


  #siteholder h1.mittel, #siteholder h2.mittel, #siteholder h3.mittel, #siteholder h4.mittel, #siteholder h5.mittel {
      font-size: 26px;
      line-height: 37px;
    margin-bottom: 0.7em;      
  }

  #siteholder p {
    font-size: 19px;
      line-height: 25px;
  }

  footer {
      height: auto;  
    }

    .footer-inner {
      flex-direction: column;
    }

  .footer-kontakt {
      width: 100%;
      margin: 1em 0;
      line-height: 1.4em;
  }    

  #footernav {
      width: 100%;
      text-align: left;
      margin: 1em 0;
  }

  #footernav ul li {
      padding-left: 0;
      padding-right: 1em;
  }  

  header#header {
      min-height: initial;
  }

  #mainnavopener {
    position: absolute;
    right: 1em;
    top:2vh;
  }


  .header2journal #mainnavopener {
    display: none;
  }

  #mainnavopener > div {
    width: 35px;
    height: 5px;
    background-color: #fff;
    margin: 6px 0;
  }

  #mainnavopener.open > div {
  }

  #mainnav {
    background: #190d0c;
      position: fixed;
      left: 0;
      top: calc(10vh + 2px);
      bottom: 0;
      right: 0;  
      display: none;
  }

  #mainnav.open {
    display:block; 
  }

  #mainnav ul {
      text-align: left;
  }

  #mainnav ul li {
      display: block;
  }

  /* Ios 5 fix */
  #logo {
    height: 10vh;
    width: 11vh;
    flex-basis: 11vh;
  }

#skslogo a {
  display: flex;
  align-items: center;
}

#skslogo a img.skslabel-desktop {
  display: none;
}


#skslogo a img.skslabel-mobile {
  display: inline;
  height: 20px;
  width:20px;
  filter: drop-shadow(0px 0px 10px rgba(0,140,255,0.75)) drop-shadow(0px 0px 5px rgba(100,224,255,0.6));
  -webkit-filter: drop-shadow(0px 0px 10px rgba(0,140,255,0.75)) drop-shadow(0px 0px 5px rgba(100,224,255,0.6));
  -moz-filter: drop-shadow(0px 0px 10px rgba(0,140,255,0.75)) drop-shadow(0px 0px 5px rgba(100,224,255,0.6));
  margin-left: 10px;
}

.header1default #skslogo a {
  align-items: normal;
}

.header1default #skslogo a img.skslabel-mobile {
  margin-top:13px;
}

  header#header .header-inner {
      padding: 0;
  }

  .lpyoutubevideo.frame-type-mask_megasectionbg {
    height: 100vh;
  }
  .header2journal .header-logos {
    display: flex;
    flex: 0 0 20%;
  }
  .header2journal .headerlabeljournal {
    flex: 0 0 26%;
    text-align: center;
    background: url(../images/klinkerjournal_logo.svg) center center no-repeat;
    background-size: contain;
  }

  .header2journal .header-backlink a {
    border-right: none !important;
    margin-top:0;
  }

  .header2journal .header-social {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 14vh;
    text-align: center;
    transform: translateY(-20vh);
    transition: transform 0.25s ease;
    z-index: -2;
  }
  .header2journal .header-social ul {
    padding: 20px 20px 20px 20px;

  }

  .header2journal .header-social.open {
    transform: translateY(0);
    z-index: -2;
  }

  .header2journal .header-elements {
    flex: 1 1 auto;
  }

  .lptextwithlines-inner {
    flex-wrap: wrap;
  }

  .lptextwithlines-line1 {
    display: none;
  }
  .lptextwithlines-content {
    flex: 1 1 100%;
  }
  .lptextwithlines-line2 {
    flex: 1 1 calc(100% - 50px);
    margin-left: 10px;
  }

  .lpinhaltsverzeichnis-header-topline-opener {
    transform: translateY(64%);
  }
  .header2journal .header-share a {
    display: inline-block;
  }
  .header-elements::before {
    content: ' ';
    left: 0;
    right: 0;
    height: calc(14vh - 1px);
    top: 0;
    position: absolute;
    z-index: -1;
  }

  .header2journal .header-social ul li {
    margin-left: 5px;
    margin-right: 5px;
  }

  .header-social-mobile-closer {
    background: url(../images/svg/kj_minipfeil_hoch.svg) center 0 no-repeat;
    background-size: 15px auto;
    padding-bottom: 25px;
    cursor: pointer;
    pointer-events: all;
  }
}

@media only screen 
and (max-width : 320px) 
{ 
  #siteholder h1.sehrgross, #siteholder h2.sehrgross, #siteholder h3.sehrgross, #siteholder h4.sehrgross, #siteholder h5.sehrgross {
      font-size: 30px;
      line-height: 21px;
  }

  #siteholder h1.gross, #siteholder h2.gross, #siteholder h3.gross, #siteholder h4.gross, #siteholder h5.gross {
      font-size: 31px;
      line-height: 40px;
  }

  #siteholder h1.mittel, #siteholder h2.mittel, #siteholder h3.mittel, #siteholder h4.mittel, #siteholder h5.mittel {
      font-size: 32px;
      line-height: 37px;
  }

  #siteholder p {
    font-size: 15px;
      line-height: 20px;
  }
}