/*
 Theme Name:   Koppreinigung GP Child
 Theme URI:    https://www.picture-planet.ch/generatepress
 Description:  Child theme of GeneratePress
 Author:       Theo Dege | Picture-Planet GmbH
 Author URI:   https://www.picture-planet.ch/
 Template:     generatepress
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  generatepress-pp-child
 
 You should rename it under "Theme Name" and rename the entire folder of this child theme to your
 correspondending project.
*/

/* some styles, test in customizer first */



/*** Allgemein ***/

p { hyphens: auto; }




/*** Header ***/

.inside-header {
	display: flex;
	justify-content: space-between;
}

@media screen and (max-width: 767px) {
  .inside-header {
    padding: 20px 20px 20px 20px!important;
  }
}

.site-branding {
	flex: 0 1 50%;
  text-align: left;
}
@media screen and (max-width: 479px) {
  .site-branding {
	  flex: 0 1 52%;
  }
}
@media screen and (max-width: 479px) {
  .site-branding .main-title {
    font-size: 22px!important;
  }
  .site-branding .site-description {
    font-size: 14px!important;
  }
}
.site-logo {
	flex: 0 1 50%;
	text-align: right;
}
@media screen and (max-width: 479px) {
  .site-logo {
	  flex: 0 1 47%;
  }
}

/*.site-logo img {
  padding-left: 0.8em;
}*/


/*** Inhalt ***/


/* Layout */
.site-content {
	width: 80%;
	margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .site-content {
	  width: 100%;
	  margin: 0 auto;
  }
}


/* Home Teaser */

/* 90% */
.no-sidebar .entry-content .alignfull {
  margin-left: calc(-90vw/2 + 100%/2);
  margin-right: calc(-90vw/2 + 100%/2);
  max-width: 90vw;
  width: auto;
}

/*@media screen and (max-width: 1023px) {
  .no-sidebar .entry-content .alignfull {
    max-width: 100vw;
    width: 100%!important;
    margin: 0!important;
  }
}
*/

.home .wp-block-columns .teaser-box   {
  display: flex;
  flex-flow: row wrap!important;
  justify-content: space-between!important;
}

.home .wp-block-columns .wp-block-column {
	margin: 1em!important;
}

@media screen and (min-width: 768px) and (max-width: 1080px) {
  .home .wp-block-columns .wp-block-column {
    flex: 1 1 45%!important;
  } 
}

@media screen and (max-width: 767px) {
  .home .wp-block-columns .wp-block-column {
    flex: 0 1 100%!important;
  }
}


/* Home Inside Teaser Box */
.home .teaser-box .wp-block-column {
	background: #fff;
	padding: 0 0 1.2em!important;
}

.home .wp-block-column p {
	padding: 0 1.2em;
}




/*** Footer ***/

/** Cookie Banner **/

.cc-window.cc-banner {
  padding: 0.4em 1.8em;
  border-top: 1px solid #1995ad!important;
  box-shadow: 0px -1px 21px 1px rgba(120,120,120,0.2);
}
