/*
 Theme Name:   Twenty Twenty-Four
 Description:  Twenty Twenty-Four Child Theme
 Author:       Sven Baier
 Author URI:   http://svenbaier.de
 Description: Twenty Twenty-Four is designed to be flexible,
 versatile and applicable to any website. Its collection of templates and patterns tailor to different needs,
 such as presenting a business,
 blogging and writing or showcasing work. A multitude of possibilities open up with just a few adjustments to color and typography. Twenty Twenty-Four comes with style variations and full page designs to help speed up the site building process,
 is fully compatible with the site editor,
 and takes advantage of new design tools introduced in WordPress 6.4.
 Template:     twentytwentyfour
Requires at least: 6.4
Tested up to: 6.4
Requires PHP: 7.0
Version: 1.0 License: GNU General Public License v2 or later
License URI: http: //www.gnu.org/licenses/gpl-2.0.html
Tags:         Tags: one-column,
custom-colors,
custom-menu,
custom-logo,
editor-style,
featured-images,
full-site-editing,
block-patterns,
rtl-language-support,
sticky-post,
threaded-comments,
translation-ready,
wide-blocks,
block-styles,
style-variations,
accessibility-ready,
blog,
portfolio,
news
 Text Domain:  clapakram
*/

/* WEBFONTS */

/* amatic-sc-regular - latin */
@font-face {
  font-display: block; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Amatic SC';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/amatic-sc-v26-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/amatic-sc-v26-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* amatic-sc-700 - latin */
@font-face {
  font-display: block; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Amatic SC';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/amatic-sc-v26-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/amatic-sc-v26-latin-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* andika-new-basic - regular */
@font-face {
    font-family: 'Andika New Basic';
    src: url('fonts/AndikaNewBasic-Regular.woff2') format('woff2'),
        url('fonts/AndikaNewBasic-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}
/* andika-new-basic - bold */
@font-face {
    font-family: 'Andika New Basic';
    src: url('fonts/AndikaNewBasic-Bold.woff2') format('woff2'),
        url('fonts/AndikaNewBasic-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: block;
}

/* ---------------------------------------------------------------- */

body {
    font-family: 'Andika New Basic' !important;
    padding-top: 100px;
    font-weight: normal;
    overflow-x: hidden;
    --wp--style--global--content-size: 1920px !important;
    --wp--style--global--wide-size: 2560px !important;
}

:where(.wp-site-blocks) > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

p {    
    font-family: 'Andika New Basic' !important;
    font-weight: normal;    
    font-size: 25px;
    line-height: 41px;
    margin-bottom: 25px !important;
    color:#2f256f;
}

body.home .wp-block-post-title {display: none;}

:where(body .is-layout-constrained) > * {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}
:where(body .is-layout-flow) > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

.full-image img {
    width: 100% !important;
}

/* sticky Header */
header {  
  position: fixed !important;
  top: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
}
header .header-full {
    padding: 47px 0px 47px 0px !important;
}

.entry-content-wrap header {
  position: relative !important;

}
/*
.clapakram-kids-logo {padding-left: 60px !important;}
.clapakram-kids-logo-img img {max-width: 130px !important;}
*/
.clapakram-logopatch {
    position: absolute;
    top:0;
    right:14%;
}


.wp-block-site-title {
    font-family: 'Amatic SC' !important;
    font-weight: 400;
    font-size: 85px;
    color:#FCEA8B;
    padding-left: 60px;
    margin-bottom: 0 !important;
}
.wp-block-site-title::after {
    content: "Hallo";
    content: " ";
    display: block;
    clear: both; /* if you need to break floating elements */
}
header .has-base-background-color {
    background:#2f256f url(img/sterne.svg) no-repeat 55% 10% !important;
}
   
/*header p.sub-title {
    position: relative;
    top: 27px;
    left: -100px;
    font-size: 20px;
    line-height: 27px;
    color:#FCEA8B;
}*/
header p.sub-title {
    position: absolute;
    top: 55px;
    left: 35em;
    font-size: 20px;
    line-height: 27px;
    color: #FCEA8B;
}
header p.sub-title span {    
    font-family: 'Amatic SC' !important;
    font-weight: 400;
    font-size: 85px;
}

.wp-block-navigation__responsive-container-open svg {
    fill: #FFFFFF !important;
    display: block;
    height: 60px !important;
    width: 60px !important;
    padding-right: 60px;
    /* pointer-events: none; */
}
.wp-block-navigation__responsive-container {
    /* bottom: 0;
    display: none;
    left: 0;
    position: fixed;*/
    margin-left: auto !important;
    top: 151px !important;
    padding: 60px !important;
    z-index: 2 !important;
    width: 400px !important;
}
.wp-block-navigation__responsive-container.is-menu-open {
    animation: overlay-menu__fade-in-animation 1.0s !important;
    background: rgba(255,255,255,0.7) !important;
}
.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
  text-align: right !important;
}

/* Startbild */
.sektion-titelbild-start {
    background:#3a4292 url(img/streifen-bg.png);
}

.page-top-spacer {height:120px !important;}

/* HEADLINES */
h1, h2, h3 {
    font-family: 'Andika New Basic' !important;
    font-weight: bold;
    color:#2f256f !important;
}

/* Row Image Text -- Text Image */
.wp-block-columns.row-img-right .is-layout-flow > .alignright {
    margin-inline-start: 0 !important;
}
.wp-block-columns.row-img-left .is-layout-flow > .alignleft {
    margin-inline-end: 0 !important;
}
.wp-block-columns.row-img-right p,
.wp-block-columns.row-img-left p {   
    font-size: 25px;
    line-height: 41px;
}

.post-single-content p {   
    font-size: 25px;
    line-height: 41px;
    color:#2f256f;
}

h1 {
    margin: 40px 0 !important;
}

h2 { font-size:35px !important; line-height:47px !important; margin-bottom: 20px !important;}

h3 {
  font-size: 25px !important;
  line-height: 32px !important;
  hyphens: auto;
  padding: 0 20px;
}

:root :where(h1, h2, h3, h4, h5, h6) {
    font-weight: bold;
}

.row-img-right {  }
.row-img-left {  }

.kt-blocks-accordion-header:hover {cursor: pointer;}

/*
.post-single-content {
    height: 100vh !important;
}
*/
/*
.post-single-text {
    padding: 0 40px 0 10px;
    position: fixed;
    width: 30% !important;
    right: 0;
    max-height: 86vh;
    overflow-y: scroll;
    overflow-x: hidden;
}
*/
/**/
.post-single-2-col .wp-block-post-featured-image {
    position: relative;
    margin-bottom: 0 !important;
}


.post-single-text { 
  padding: 0 40px 0 10px;
  margin: 20px;
}

.post-single-text .post-single-text-title { 

}

.post-single-text .post-single-text-story { 
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 40px;
  max-height:48vh;  
}

@media (max-width: 1280px) {
.post-single-text .post-single-text-story { 
  max-height:38vh;
 }
}

@media (min-width: 1440px) {
.post-single-text .post-single-text-story { 
  max-height:48vh;
 }
}


@media (min-width: 1640px) {
.post-single-text .post-single-text-story { 
  max-height:56vh;
 }
}

@media (min-width: 1920px) {
.post-single-text .post-single-text-story { 
  max-height:69vh;
 }
}

/*
.post-single-text .post-single-text-story::-webkit-scrollbar {
  padding: 40px 20px;
  width: 20px;
}

.post-single-text .post-single-text-story::-webkit-scrollbar-track {
  margin: 40px 40px;
  padding-right: 40px;
  background: #303A57;
  border: 0;
  border-radius: 15px;
  overflow: auto;
}

.post-single-text .post-single-text-story::-webkit-scrollbar-thumb {
  background: #ffffff;
  border-radius: 15px;
  min-height: 40px;
  overflow: auto;
  border: 0.5rem solid transparent;
  background-clip: padding-box;
  transition: height 0.2s ease-in-out;
  padding: 5px;
}
*/

#menu-hauptnavigation li.menu-item::after {
    content: "|";
    color:#ffffff;
    margin-left: 20px;
}
#menu-hauptnavigation li.menu-item:last-child:after {
    content: " ";
    color:#ffffff;
    margin-left: 0px;
}
#menu-hauptnavigation li.menu-item a {color: #ffffff;}
#menu-hauptnavigation li.menu-item a:hover {color: #fae98b;}
#menu-hauptnavigation li.current-menu-item a {color: #fae98b;}

.post-navigation {
    display:none !important;
}

/* Footer */
footer {
    margin:0 !important;
}
/* footer .wp-block-group { padding-top: 0 !important; } */
footer p {    
    font-size: 18px !important;
    line-height: 30px !important;
}
footer h3 {
  padding: 0 !important;
}
/*
.footer-kids-auf-mauer {
    height: 66px;
}

.footer-kids-auf-mauer img {
    position: absolute;
    left: 10%;
    bottom: 38px;
    width: 600px !important;
}
*/
footer .footer-container {
    min-height: 248px;
}

footer .footer-navigation {
    position: relative;
        top: 46px;
}


footer .footer-navigation li a {
    border: 2px solid #000;
    background: #fff;
    padding: 1px 6px 3px 5px;
    font-weight: 600;    
    text-align: center;
    transform: rotate(-13deg);
}

footer .footer-navigation li.current-menu-item a {
    border: 2px solid #000;
    background: #000;
    color: #fff !important;
}

 

footer .footer-navigation li.footer-datenschutz {
    margin: -76px -37px 0 0 !important;
}
footer .footer-navigation li.footer-datenschutz::before {
  content: " ";
  position: absolute;
  width: 90px;
  height: 213px;
  top: -212px;
  left: 40px !important;
  bottom: 0;
  left: 0;
  background: transparent url(img/Footervogel-datenschutz.png) no-repeat top center;
  pointer-events: none;
}

footer .footer-navigation li.footer-impressum {
  /*margin: -13px 0 0 0;*/
}   

footer .footer-navigation li.footer-impressum::before {
  content: " ";
  position: absolute;
  width: 90px;
  height: 164px;
  top: -164px;
  left: 23px !important;
  bottom: 0;
  left: 0;
  background: transparent url(img/Footervogel-impressum.png) no-repeat top center;
  pointer-events: none;
}


footer .footer-maedels-auf-mauer::before {
  content: " ";
  position: absolute;
  width: 520px;
  height: 389px;
  top: -191px;
  left: 70px !important;
  bottom: 0;
  left: 0;
  background: transparent url(img/Footer-Maedels-auf-Mauer.png) no-repeat top center;
  pointer-events: none;
}

@media (max-width: 860px) {

footer .footer-maedels-auf-mauer::before {
  content: " ";
  position: absolute;
  width: 520px;
  height: 389px;
  top: -191px;
  left: 70px !important;
  bottom: 0;
  left: 0;
  background: transparent url() !important;
  pointer-events: none;
}

}

@media (max-width: 780px) {

footer .footer-navigation li.footer-impressum {
  margin: -13px 0 0 0 !important;
} 

}



@media (max-width: 1660px) {

.clapakram-logopatch {
    top: 0;
    right: 20%;
    max-width: 200px;
}

.wp-block-columns.row-img-right p,
.wp-block-columns.row-img-left p {   
    font-size: 21px;
    line-height: 34px;
}

}

@media (max-width: 1520px) {

.wp-block-columns.row-img-right h2,
.wp-block-columns.row-img-left h2 {
    font-size: 28px;
    line-height: 40px;
}

.wp-block-columns.row-img-right p,
.wp-block-columns.row-img-left p {   
    font-size: 18px;
    line-height: 26px;
}

.wp-block-columns.row-img-right .kb-button,
.wp-block-columns.row-img-left .kb-button {
    font-size: 14px !important;
}
.wp-block-columns.row-img-right .kb-svg-icon-wrap,
.wp-block-columns.row-img-left .kb-svg-icon-wrap {
    font-size: 42px !important;
}

}

@media (max-width: 1240px) {
.wp-block-site-title {
    font-family: 'Amatic SC' !important;
    font-weight: 400;
    font-size: 70px;
    color:#FCEA8B;
    padding-left: 40px;
}
/*
header {
    max-width: 100% !important;
}
*/
.clapakram-kids-logo {padding-left: 40px !important;}
.clapakram-kids-logo-img img {max-width: 130px !important;}

header p.sub-title {
    position: absolute;
    top: 50px;
    left: 28em;
}

header .has-base-background-color {
    background:#303A57 url(img/sterne.svg) no-repeat 36% 3% !important;
}

.clapakram-logopatch {
    top: 0;
    right: 15%;
    /* max-width: 150px; */
}

.wp-block-navigation__responsive-container {
    top: 179px !important;
}

.post-single-2-col {
    margin-top: 75px !important;
}  


/* Image right Text left on mobile ---------------------------------------------------------------------------------------------------------- */
.wp-block-columns.row-img-right .wp-block-column:nth-child(1) { order: 2; padding: 20px 20px !important;}
.wp-block-columns.row-img-right { padding: 20px !important; }

/* Image left Text right on mobile */
.wp-block-columns.row-img-left .wp-block-column:nth-child(2) { order: 1; padding: 20px 40px !important; }
.wp-block-columns.row-img-left { padding-top: 20px !important; padding-bottom: 20px !important; }

/* untereinander anzeigen */
.row-img-right,
.row-img-left {
    flex-direction: column !important;
}

.row-img-right .is-vertically-aligned-center,
.row-img-left .is-vertically-aligned-center {
    width: auto !important;
    align-self: auto !important;
}

.wp-block-columns.row-img-right .kb-button,
.wp-block-columns.row-img-left .kb-button {
    font-size: 14px !important;
}
.wp-block-columns.row-img-right .kb-svg-icon-wrap,
.wp-block-columns.row-img-left .kb-svg-icon-wrap {
    font-size: 42px !important;
    display: inline-flex !important;
}

 .wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid {
    grid-template-columns: 1fr 1fr !important;
  }

.abstand-footer-oben {
   height:300px !important;
}


} /* -- end max-width 1240px */

@media (max-width: 1040px) {

header p.wp-block-site-title {
    font-size: 60px;
}
header p.sub-title {
    position: absolute;
    font-size: 18px;
    top: 72px;
    left: 40px;
}

}/* -- end max-width 980px */

@media (min-width: 768px) {

.post-single-2-col {
    margin-top: 28px !important;
}  
  
}

@media (max-width: 767px) {

.page-top-spacer {height:68px !important;}

footer .footer-navigation {
    position: relative;
    top: 50px;
}

.wp-block-site-title {
    font-family: 'Amatic SC' !important;
    font-weight: 400;
    font-size: 36px;
    color:#FCEA8B;
    padding-left: 20px;
}
/*
header .header-full {
    padding: 27px 0 27px 0 !important;
}
*/
/* .clapakram-kids-logo {padding-right: 27px !important; justify-content: flex-end !important;} */
.clapakram-kids-logo {padding-left: 20px !important;margin-top: -10px !important;}
.clapakram-kids-logo-img img {max-width: 80px !important;}


header p.sub-title {
    position: absolute;
    font-size: 16px;
    left: 20px;
}
header .has-base-background-color {
    background:#303A57 url(img/sterne.svg) no-repeat -14px -50px !important;
}

.clapakram-logopatch {
    top: 0;
    right: 15%;
    max-width: 140px;
}

.nav-menu {
    width: 100%;
    text-align: center;
}

.wp-block-navigation__responsive-container-open svg {
    display: inline-block;
    height: 38px !important;
    width: 38px !important;
    padding-right: 20px;
    padding-top: 4px;
}
.wp-block-navigation__responsive-container {
    top: 108px !important;
    padding: 20px !important;
}

/* Image right Text left on mobile 
.wp-block-columns.row-img-right .wp-block-column:nth-child(1) { order: 2; }
.wp-block-columns.row-img-right { padding-top:20px !important; padding-bottom:20px !important; }*/

/* Image left Text right on mobile 
.wp-block-columns.row-img-left .wp-block-column:nth-child(2) { order: 1; margin:0 20px !important; }
.wp-block-columns.row-img-left { padding-top:20px !important; padding-bottom:20px !important;}*/

.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid {
    grid-template-columns: 1fr !important;
  }

.post-single-content p {
    font-size: 20px !important;
    line-height: 30px !important;
}

h2 { font-size:28px !important; 
     line-height:40px !important; 
     margin-top: 10px !important; 
}

.post-single-2-col {
    margin-top: 40px !important;
    height: auto !important;
}  
.post-single-text-title-spacer {
  height:0 !important;  
}

.post-single-text {
   padding-left: 20px !important;   
   padding-right: 20px !important; 
   max-height: unset !important; 
}
/*
.post-single-text {
    padding: 0 20px 0 20px;
    position: relative !important;
    width: 100% !important;
    max-height: 100% !important;
    overflow-y: hidden !important;
    overflow-x: hidden;
}
*/

.wp-block-navigation__responsive-container.is-menu-open {
    background: rgba(255,255,255,0.9) !important;
}
.wp-block-navigation__responsive-container {
    width: 100% !important;
}

footer .wp-block-group .wp-block-column:nth-child(1) { order: 1; }
/*
    .footer-kids-auf-mauer img {
        position: absolute;
        left: 9%;
        bottom: 160px;
        width: 350px !important;
    }
*/


} /* -- end max-width 767px */


@media (max-width: 640px) {

header p.wp-block-site-title {
    font-size: 45px;
}
header p.sub-title {
    position: absolute;
    top: 63px;
}

} /* -- end max-width 640px */


@media (max-width: 480px) {

.post-single-2-col {
    margin-top: 60px !important;
}   

.post-single-content p {
    font-size: 20px !important;
    line-height: 30px !important;
}

    .footer-kids-auf-mauer img {
        position: absolute;
        left: 4%;
        bottom: 228px;
        width: 180px !important;
    }

header p.wp-block-site-title {
    font-size: 35px;
}
header p.sub-title {
    position: absolute;
    font-size: 14px;
    top: 57px;
    left: 20px;
}

main p { 
    font-size: 21px;
    line-height: 30px;
    margin-bottom: 20px !important;
}


.nav-menu-panel {
    padding: 20px;
}


} /* -- end max-width 480px */
