/*
 Theme Name:   Generatepress Child
 Theme URI:    https://www.horrenberg-dielheim/generatepress-child/
 Description:  Generatepress Child Theme
 Author:       allegrodesign
 Author URI:   https://allegrodesign.de
 Template:     generatepress
 Version:      1.0.4
 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:  generatepresschild
*/

/* pt-sans-regular - latin */
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  src: url('https://www.musikschule-horrenberg-dielheim.de/fonts/pt-sans-v16-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('https://www.musikschule-horrenberg-dielheim.de/fonts/pt-sans-v16-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('https://www.musikschule-horrenberg-dielheim.de/fonts/pt-sans-v16-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('https://www.musikschule-horrenberg-dielheim.de/fonts/pt-sans-v16-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('https://www.musikschule-horrenberg-dielheim.de/fonts/pt-sans-v16-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('https://www.musikschule-horrenberg-dielheim.de/fonts/pt-sans-v16-latin-regular.svg#PTSans') format('svg'); /* Legacy iOS */
}
/* pt-sans-italic - latin */
@font-face {
  font-family: 'PT Sans';
  font-style: italic;
  font-weight: 400;
  src: url('https://www.musikschule-horrenberg-dielheim.de/fonts/pt-sans-v16-latin-italic.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('https://www.musikschule-horrenberg-dielheim.de/fonts/pt-sans-v16-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('https://www.musikschule-horrenberg-dielheim.de/fonts/pt-sans-v16-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('https://www.musikschule-horrenberg-dielheim.de/fonts/pt-sans-v16-latin-italic.woff') format('woff'), /* Modern Browsers */
       url('https://www.musikschule-horrenberg-dielheim.de/fonts/pt-sans-v16-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('https://www.musikschule-horrenberg-dielheim.de/fonts/pt-sans-v16-latin-italic.svg#PTSans') format('svg'); /* Legacy iOS */
}
/* pt-sans-700 - latin */
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  src: url('https://www.musikschule-horrenberg-dielheim.de/fonts/pt-sans-v16-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('https://www.musikschule-horrenberg-dielheim.de/fonts/pt-sans-v16-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('https://www.musikschule-horrenberg-dielheim.de/fonts/pt-sans-v16-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('https://www.musikschule-horrenberg-dielheim.de/fonts/pt-sans-v16-latin-700.woff') format('woff'), /* Modern Browsers */
       url('https://www.musikschule-horrenberg-dielheim.de/fonts/pt-sans-v16-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('https://www.musikschule-horrenberg-dielheim.de/fonts/pt-sans-v16-latin-700.svg#PTSans') format('svg'); /* Legacy iOS */
}

/* pt-sans-700italic - latin */
@font-face {
  font-family: 'PT Sans';
  font-style: italic;
  font-weight: 700;
  src: url('https://www.musikschule-horrenberg-dielheim.de/fonts/pt-sans-v17-latin-700italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('https://www.musikschule-horrenberg-dielheim.de/fonts/pt-sans-v17-latin-700italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* Background colors of body */

/* WEISS */

.page-wrapper {
	background-color: #fff;
}

/* GELB */

.page-id-751, /* Unterrichtsfächer */
.page-id-16, /* Lehrer */
.page-id-741, /* Unterrichtsorte */
.page-id-2301, /* News */
.page-id-14, /* Veranstaltungen */
.page-id-748, /* Veranstaltungsorte */ 
.page-id-5377, /* Weitere Mitwirkende */ 
.page-id-6020, /* Videos */
.page-id-6083, /* Projekte */
.postid-6279, /* Nouveou Horizons */
.postid-6413, /* Kultur*/
.category
{
	background-color: #ffbc4b;
}

.home {
	background: #ffbc4b url(https://www.musikschule-horrenberg-dielheim.de/wp-content/uploads/2021/04/collage_021e-scaled.jpg) no-repeat center 120px;
	/*background: #ffbc4b url(https://www.musikschule-horrenberg-dielheim.de/wp-content/uploads/2021/02/collage_10_l-scaled.jpg) no-repeat center 120px;*/
	
}

.home .page-wrapper {
	background-color: transparent;
}

.page-id-751 .page-wrapper, /* Unterrichtsfächer */
.page-id-16 .page-wrapper, /* Lehrer */
.page-id-741 .page-wrapper, /* Unterrichtsorte */
.page-id-2301 .page-wrapper, /* News */
.page-id-14 .page-wrapper, /* Veranstaltungen */
.page-id-748 .page-wrapper, /* Veranstaltungsorte */ 
.page-id-5377 .page-wrapper, /* Weitere Mitwirkende */ 
.page-id-6020 .page-wrapper, /* Videos */ 
.category .page-wrapper, /* Kategorien */
.page-id-6083 .page-wrapper /* Projekte */
{
	background-color: #ffbc4b;
}

/* BLUE */

.page-id-701, /* Schulstruktur */
.page-id-732, /* unsere Aufgabe */
.page-id-735, /* unser weg */
.page-id-737, /* Sponsoren und Förderer */
.page-id-703, /* Kooperationen */
.page-id-5330 /* Inklusion */
{
	background-color: #a4c9d8; 
}

/* Fussteil HINTERGRUNDBILDER */

@media (min-width: 779px) {
	.footer-bar-align-right .copyright-bar {
		margin-top: 257px;
	}
}

.footer-bar:before {
	content: url(https://www.musikschule-horrenberg-dielheim.de/wp-content/uploads/2021/02/Alleinunterhalter_MSC.png);
}

.home .footer-bar:before,
.page-id-751 .footer-bar:before, /* Unterrichtsfächer */
.page-id-16 .footer-bar:before, /* Lehrer */
.page-id-741 .footer-bar:before, /* Unterrichtsorte */
.page-id-2301 .footer-bar:before, /* News */
.page-id-14 .footer-bar:before, /* Veranstaltungen */
.page-id-748 .footer-bar:before, /* Veranstaltungsorte */ 
.page-id-5377 .footer-bar:before, /* Weitere Mitwirkende */ 
.postid-6279 .footer-bar:before /* Nouveau Horizons */
{	
	content: url(https://www.musikschule-horrenberg-dielheim.de/wp-content/uploads/2021/02/schlagzeug_MSC.png);
}

/* SIZES */

.entry-content:not(.wp-block-cover),
.search .site-main {
		padding-bottom: 80px;
}

.category.one-container .site-main>:last-child {
	padding-bottom: 80px;
}

@media (min-width: 894px) {
	
	.entry-content:not(.wp-block-cover),
	.search .site-main {
		margin: 40px auto 0;
		/*padding-bottom: 80px;*/
		width: 80%;
		max-width: 800px;
	}
	
	.home .entry-content,
	.page-id-751 .entry-content, /* Unterrichtsfächer */
	.page-id-16 .entry-content, /* Lehrer */
	.page-id-741 .entry-content, /* Unterrichtsorte */
	.page-id-2301 .entry-content, /* News */
	.page-id-14 .entry-content, /* Veranstaltungen */
	.page-id-748 .entry-content, /* Veranstaltungsorte */ 
	.page-id-5377 .entry-content, /* Weitere Mitwirkende */ 
	.page-id-6020 .entry-content, /* Videos */ 
	.page-id-6083 .entry-content, /* Projekte */
	.postid-6413 .entry-content /* Kultur.Gemeinschaften */
	{
		width: 100%;
		max-width: 100%;
	}
}

.site-main .alignfull {
	margin-left: calc(-100vw / 2 + 100% / 2);
	margin-right: calc(-100vw / 2 + 100% / 2);
	max-width: 100vw;
	width: auto;
}

.instruments.wp-block-cover .wp-block-cover__inner-container {
	width: 99.8%;
	max-width: 800px;
}

/* POSITION */

.entry-title,
.page-title {
	text-align: center;
}


@media (max-width: 768px) {
	.text-center {
		text-align: center;
	}
}

.wp-block-cover {
	align-items: flex-start!important;
}

.wp-block-cover h1 {
	padding-top: 1rem;
}

/* General stuff */

.wp-block-latest-posts {
	margin: 0; /* um die Lehrer, Fächer, News zu zentriern */
}

th {
	background: #d6d982;
}

.wp-block-separator {
	border-top: none;
	border-bottom: none;
}

hr {
	height: 2px;
}

.wp-block-separator.is-style-wide {
	margin: 40px auto!important;
	height: 130px;
	width: 220px;
	background: url(https://www.musikschule-horrenberg-dielheim.de/wp-content/uploads/2020/10/sky_fluegel.png) no-repeat center center;
}

.wp-block-social-link a,
.wp-block-social-link a:hover,
.wp-block-social-link a:focus {
	border-bottom: none!important;
}

.padding {
	padding: 2rem;
}

/* images */

.max-width-480 img {
	margin-bottom: 2rem;
	max-width: 400px!important;
	box-shadow: 4px 4px 14px 0 rgba(0,0,0,0.18);
}

.max-width-160 img {
	max-width: 160px!important;
}

.max-height-200 img {
	width: auto;
	max-height: 200px!important;
}

.max-height img,
.max-width img {
	width: 100%;
	max-width: 480px!important;
}

.left {
	float: left;
	margin: 0 1rem;
}

.clear {
	clear: both;
}

.single .featured-image a {
	cursor: default;
}

/* LINKS and correction Buttons underline */ 


.entry-content a:not(.link-no-border a, .wp-block-latest-posts__list a, 
.wp-block-button__link ),
.search .entry-summary a {
	border-bottom: 2px solid rgba(214, 217,130,0.8);
	text-decoration: none;
	/*
	-webkit-text-decoration: solid underline rgba(214,217,130,1);
	text-decoration: solid underline rgba(214, 217, 130,1) 2px;
	*/
}

.entry-content a:hover:not(.link-no-border a, .wp-block-latest-posts__list a:hover, .wp-block-button__link:hover),
.footer-widgets a:hover,
.site-info a:hover,
.search .entry-summary a:hover {
	border-bottom: 2px solid rgba(0, 0,0, 0.4);
	text-decoration: none;
	/*
	-webkit-text-decoration: solid underline rgba(0,0,0,0.7);
	text-decoration: solid underline rgba(0,0,0,0.7) 2px;
	*/
}

.wp-block-button__link,
.wp-block-button__link:hover {
	text-decoration: none;
}

.link-arrow {
	margin-left: 0.5rem;
	padding: 0 3px;
	width: 31px;
	height: 31px;
	font-weight: bold;
	border: 1px solid #171313;
	border-radius: 50%;
	text-decoration: none!important;
}

.link-arrow:hover {
	color: #171313;
	background-color: #fff;
	text-decoration: none;
}

.link-image a:hover {
	border-bottom: none!important;
}

/* Margins and Paddings */

.minus80px {
	margin-bottom: -80px;	
}
.one-container:not(.page) .inside-article {
	padding: 0;
}

.search .post {
	padding-bottom: 2rem;
	border-bottom: 2px solid rgba(0,0,0, 0.1); 
}

.screen-reader-text {
	margin: -1px;
}

.formular {
	padding-bottom: 1.5rem;
}

.wpcf7 h3 {
	border-bottom: 2px solid rgba(0,0,0,.1);
}

.formular2 {
	padding-bottom: 2rem;
}


/* Header area */

.navigation-branding img, 
.site-logo.mobile-header-logo img {
	margin-left: 10px!important;
	height: auto!important;
	width: 188px!important;
}

.main-navigation ul ul {
	margin-top: -2px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.2)!important;
}

.main-navigation ul ul li,
#generate-slideout-menu .slideout-menu li {
	border-bottom: 1px solid #e0e0e0;
}

/* Navigation changes because of Search */
.header-wrap #site-navigation:not(.toggled) .main-nav > ul > li > a,
.header-wrap #site-navigation:not(.toggled) .main-nav > ul > li > a:hover,
.header-wrap #site-navigation:not(.toggled) .main-nav > ul > li > a:focus,
.main-navigation .main-nav ul li[class*="current-menu-"] > a,
.header-wrap #mobile-header:not(.toggled):not(.navigation-stick) .main-nav > ul > li > a, 
.header-wrap .main-navigation:not(.toggled):not(.navigation-stick) .menu-toggle,
.header-wrap .main-navigation:not(.toggled):not(.navigation-stick) .menu-toggle:hover, 
.main-navigation:not(.toggled):not(.navigation-stick) .mobile-bar-items a, 
.main-navigation:not(.toggled):not(.navigation-stick) .mobile-bar-items a:hover, 
.main-navigation:not(.toggled):not(.navigation-stick) .mobile-bar-items a:focus {
	color: #171313;
}

/* Startseite und Blogeinstellungen */

.iconlinks {
	padding: 20px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-items: flex-end;
	background-color: #fff;
	text-align: center;
}

.iconlinks .iconlink {
	margin: 10px 0;
	padding: 0 10px;
	height: 60px;
	font-size: 16px;
}

.iconlinks .iconlink img {
    height: 60px;
    width: auto;
	overflow: hidden;
}


/* Footer stuff */

.site-info a {
	padding-left: 0.5rem;
	padding-right: 0.5rem;
}

@media screen and (min-width: 769px) {
    #text-4 {
	    margin-right: 4rem;
    }
}

.generate-back-to-top {
	bottom: 90px;
	right: 20px;
}

.cover-top {
	margin-top: -31px;
}

.cover-top-article {
	margin-top: -108px;
}

.wp-block-latest-posts.is-grid li { 
	margin: 0 10px 56px;
	padding: 0 10px 10px;
	background-color: #fff;
	box-shadow: 3px 3px 14px 0 rgba(0,0,0,0.54);
	border-radius: 4px;
}

.wp-block-latest-posts.is-grid li:hover {
	box-shadow: 3px 3px 16px 0 rgba(0,0,0,0.74);
}

.wp-block-latest-posts.is-grid li img {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}

/*Bugfix*/
.blocks-gallery-grid .blocks-gallery-image:last-child, .blocks-gallery-grid .blocks-gallery-item:last-child, .wp-block-gallery .blocks-gallery-image:last-child, .wp-block-gallery .blocks-gallery-item:last-child {
	flex-grow: 0;
}

.wp-block-latest-posts__featured-image,
.wp-block-latest-posts__featured-image.aligncenter {
	position: relative;
    overflow: hidden;
	margin: 0 -10px 15px;
} 

/* single post image und gallery items */
/*.featured-image img,*/
.wp-block-gallery .blocks-gallery-item {
	box-shadow: 4px 4px 14px 0 rgba(0,0,0,0.18);
}

.wp-block-latest-posts li > a {
	display: block;
	margin-bottom: 10px;
	font-weight: bold;
	line-height: 1.2;
}

.wp-block-latest-posts__post-excerpt {
	margin-top: 0;
	line-height: 1.6;
}

.wp-block-latest-posts__post-excerpt a {
	padding-top: 20px;
	display: block;
	font-weight: bold;
}


.wp-block-latest-posts__post-excerpt a:after {
	content: " →";
	color: #D90452;
	font-size: 18px;
	font-weight: bold;
}

.entry-meta {
	text-align: center;
}

.posted-on,
.wp-block-latest-posts__post-author, 
.wp-block-latest-posts__post-date {
	padding-bottom: 20px;
	color: #659eb2;
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.1px;
}

.category-instrumente .posted-on,
.category-lehrer .posted-on,
.category-unterrichtsorte .posted-on,
.category-sponsoren .posted-on,
.category-veranstaltungsorte .posted-on,
.category-sonstige_teammitglieder .posted-on {
	display: none;
}

/*.category-lehrer,
.category-sonstige_teammitglieder,
.category-unterrichtsorte,*/
.category-veranstaltungsorte {
	padding-bottom: 4rem;
}

/* Sonderseite Projekte */
@media (min-width: 600px) {
 .wp-block-latest-posts.columns-2 li {
     width: calc(46% - 0.625em);
  }
}	

/* Kleine Kacheln unterhalb der Instrumentebeschreibung */
.single-post .instruments .wp-block-latest-posts.columns-4 li {
    	width: calc(25% - 40px);
}
.single-post .instruments .wp-block-latest-posts__featured-image, .wp-block-latest-posts__featured-image.aligncenter {
	margin: 0 -10px;
}
.single-post .instruments .wp-block-latest-posts li > a {
	margin-bottom: 0;
	font-size: 12px;
	text-align: center;
}

@media (max-width: 768px) and (min-width: 500px) {
	.wp-block-latest-posts.columns-4 li {
    	width: calc(50% - 40px);
	}	
}

@media (max-width: 977px) and (min-width: 769px) {
	.cover-top {
		margin-top: -41px;
	}
	.cover-top-article {
		margin-top: -112px;
	}
	.wp-block-latest-posts.columns-4 li {
    	width: calc(33.3333% - 40px);
	}	
	.single-post .instruments .wp-block-latest-posts__featured-image, .wp-block-latest-posts__featured-image.aligncenter {
		margin: 0 -10px 15px;
	}	
	.single-post .instruments .wp-block-latest-posts li > a {
		margin-bottom: 10px;
		font-size: 14px;
		font-weight: bold;
	}
}

@media (min-width: 894px) {
	.cover-top {
		margin-top: -81px;
	}
	.cover-top-article {
		margin-top: -112px;
	}
}

@media (min-width: 978px) {
	.wp-block-latest-posts.columns-4 li {
    	width: calc(25% - 40px);
	}
	.single-post .instruments .wp-block-latest-posts li > a {
		margin-bottom: 10px;
		font-size: 14px;
		font-weight: bold;
	}
}


/* formulare */

/* Suche */
.navigation-search.nav-search-active {
	position: fixed;
	width: 100%;
	height: 100%;
	height: 100vh;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	text-align: center;
	background: rgba(0,0,0,0.8);
}

.navigation-search input[type="search"],
.navigation-search input[type="search"]:focus {
	width: 80%;
	margin-top: 10%;
	background-color: rgba(255, 255, 255, 0.995);
	height: 73px;
}

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

.col12 span.wpcf7-list-item {
	margin: 0 1rem 0 0;
}

input[type=submit] {
	border-radius: 50px;
}

.wp-post-image {
    max-width: 100%;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.wp-post-image:hover {
    -moz-transform: scale(1.05);
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

@media screen and (max-width: 772px) {
  table {
    width: 100%;
	border: none;
  }

  table thead {
    display: none;
  }

  table tr, table td {
    border-bottom: 1px solid #ddd;
  }

  table tr {
    padding-bottom: 20px;
  }

  table td {
    display: flex;
  }
	
  table td:first-child {
	margin-top: 40px;  
	background-color: #d6d982;
  }
  
  table td::before {
    content: attr(label);
    font-weight: bold;
    width: 120px;
    min-width: 120px;
  }
}

/* Kategorien & Archive */

/* Allons-Y */

.postid-6279 .page-wrapper,
.postid-6413 .page-wrapper {
	background-color: #ffbc4b;
} 

.postid-6279 .entry-header,
.postid-6279 .featured-image,
.postid-6413 .entry-header,
.postid-6413 .featured-image {
	display: none;
}

.postid-6279 .cover-top-article,
.postid-6413 .cover-top-article {
	margin-top: -65px!important;
}

.generate-columns {
    margin-bottom: 56px;
}

.category.one-container:not(.page) .inside-article  {
	margin: 0 10px 10px;
    padding: 0 10px 10px;
    background-color: #fff;
    box-shadow: 3px 3px 14px 0 rgba(0,0,0,0.54);
    border-radius: 4px;
}

.post-image-above-header .inside-article .post-image {
	margin: 0 -10px!important;
	overflow: hidden;
}

.post-image-above-header .inside-article .post-image img {
	border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.category .inside-article .entry-title {
	font-size: 18px;
	text-align: left;
}
.category .entry-meta {
	text-align: left;
}

.category .entry-summary a {
	padding-top: 20px;
    display: block;
    font-weight: bold;
}

.category .entry-summary:not(:first-child) {
	margin-top: 10px;
}

.category .entry-summary a:after {
    content: " →";
    color: #D90452;
    font-size: 18px;
    font-weight: bold;
}

/* Verantaltungsplugin*/

.em-item-image,
.em-list .em-item-desc,
.em-list .em-item-actions,
.em-list .em-event-time,
.em-item-taxonomy {
    display: none;	
} 

.em-list .em-item-info {
	display:flex;
	flex-direction:row-reverse;
	justify-content: flex-end;
}

.em-event-date {
	min-width: 180px;
}

.em-event-single .em-event-time,
.em-event-single .em-event-add-to-calendar-content {
	padding-bottom: 2rem;
}