/*
Theme Name: Schema child
Version: 1.0
Description: A child theme of Schema by MyThemeShop
Template: mts_schema
Text Domain: schema
*/
/* Farben 
 * Störer: Senf: #e5a937, (Orange: #ead900, Eisblau: #00b4d8)
 * Terracotta:  #c85a3c;
 * Salbeigrün: #8b9b83;
 * Hell: #e3f7d5;
 * Grau: #1d1d1b;
*/
/* Globale Schriftzuweisung */
body, p, li {
    font-family: 'Nunito', sans-serif !important;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Aleo', sans-serif !important;
}
.regular_header div#primary-nav {
	width:15%;
	float:right;
	border:0;
	margin-top:10px;
}
#primary-nav ul li {
    float:right;
}
#primary-navigation a {
	font-family: 'Nunito', sans-serif !important;
	font-weight:700;
    padding: 10px 30px 2px 0;
}
div#regular-header {
    clear:none;
}
/* Logo */
.logo-wrap {
	margin:0;
	position:relative;
}
#logo {
	height:115px;
	width:300px;
	margin:0 0 10px;
}
#site-header #logo a em {
	font-family: 'Aleo', sans-serif;
	position:absolute;
	bottom:5px;
	left:75px;
	font-style:normal;
	font-weight:700;
}
#logo img {
	position:absolute;
	width:150px;
	height:120px;
}
/* Navigation */ 
#header {
	background:#e3f7d5 !important;
	margin-top:10px;
}
#header #secondary-navigation, #header #secondary-navigation .mobile-only {
	background:#e3f7d5 !important;	
}
#header #secondary-navigation * {
	background:none;
}
#header #secondary-navigation a, #header #secondary-navigation .mobile-only a {
	font-family: 'Nunito', sans-serif !important;
	font-weight:700;
    color: #8b9b83 !important;
    padding: 11px 20px 9px;
	transition:background 1s ease;
	border-radius:20px 0;
}
#header #secondary-navigation a:hover, #header #secondary-navigation a:focus {
	background:#e5a937;
	color:#fff !important;
}
#header #secondary-navigation .current_page_item a {
	background:#8b9b83;
	color:#fff !important;
}

/* Suche */
.navigation .menu-header-search {
    padding:5px 0;
}
#header #s {
    padding: 7px 40px 7px 0;
	background:#fff;
}
#header .sbutton:before {
    top: 10px;
	color:#8b9b83;
}
/* Beitragsbild */
.single-post img.wp-post-image {
    height: auto;
}
/* Alle Überschriften */
#page h1 {
	font-size:38px; 
	font-weight:700;
}
#page h2 {
	font-size:30px;
	font-weight:900;
	text-transform:none;
	margin-top:30px;
}
#page a {
	font-family: 'Nunito', sans-serif !important;
	font-weight:500;
	color:#1d1d1b;
	text-decoration: underline; 
	text-decoration-color: #8b9b83; 
	text-decoration-thickness: 1px; 
	text-underline-offset: 4px;
}
#page a:hover {
	color:#8b9b83;
	border-bottom:0;
}
.post-dates, .rank-math-breadcrumb p {
	font-size:0.8em;
	color:#666;
}
.post-content, #page article {
	margin:0;
}

/* Camp Echo TV */
figure.wp-block-embed-youtube {
    margin-top: 0;
    margin-bottom: 2em; 
}

figure.wp-block-embed-youtube {
    margin-top: 0;
    margin-bottom: 2em;
}

figure.wp-block-embed-youtube .wp-block-embed__wrapper {
    position: relative !important;
    width: 100% !important;
    padding-bottom: 56.25% !important;
    height: 0 !important;
    overflow: hidden !important;
}

figure.wp-block-embed-youtube .wp-block-embed__wrapper > * {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}
.mailpoet_form p {
	margin-bottom:0;
}
#page #newsticker {
	clear:both;
	padding-top:20px;
}
/* CONTENT-GRIDS */
.postgrid { 
	display: grid; 
	gap: 10px; 
	margin: 0; 
	padding: 0; 
	list-style: none; 
}
.postgrid li { 
	display: flex; 
	flex-direction: column; 
	background:#e3f7d5;
	border-radius:20px 0;
	position:relative;
	overflow:hidden;
	padding:0 0 7px;
}
.postgrid time { 
	position:absolute; 
	border-radius:20px 0;
	padding:5px 15px 4px;
	background:#e5a937;
	color:#fff;
	font-size:0.85em;
	font-weight:bold;
}
.postgrid a { 
	display:block;
	padding:0 10px;
	font-size:0.9em;
	font-weight:bold !important;
}
.postgrid img { 
	width: calc(100% + 20px);
	max-width: none;
	height: auto; 
	aspect-ratio: 16/9; 
	object-fit: cover; 
	display: block;
    margin:0 -10px 5px;
}
.postgrid h3, .postgrid p { 
	margin: 0 0 5px; 
}

/* RESPONSIVE KLASSEN (MOBILE FIRST) */
.cg-mob-1 { grid-template-columns: repeat(1, 1fr); }
.cg-mob-2 { grid-template-columns: repeat(2, 1fr); }

/* TABLET */
@media (min-width: 768px) {
  .cg-tab-1 { grid-template-columns: repeat(1, 1fr); }
  .cg-tab-2 { grid-template-columns: repeat(2, 1fr); }
  .cg-tab-3 { grid-template-columns: repeat(3, 1fr); }
  .cg-tab-4 { grid-template-columns: repeat(4, 1fr); }
}

/* DESKTOP / LAPTOP */
@media (min-width: 1024px) {
  .cg-desk-1 { grid-template-columns: repeat(1, 1fr); }
  .cg-desk-2 { grid-template-columns: repeat(2, 1fr); }
  .cg-desk-3 { grid-template-columns: repeat(3, 1fr); }
  .cg-desk-4 { grid-template-columns: repeat(4, 1fr); }
  .cg-desk-5 { grid-template-columns: repeat(5, 1fr); }
  .cg-desk-6 { grid-template-columns: repeat(6, 1fr); }
}


/* responsiv */
@media screen and (max-width:1366px) {
#page h1, #page .single-title {
	font-size:43px;
}
p, li, blockquote {
	font-size:18px;
}
}

@media screen and (max-width:1300px) {
#secondary-navigation a {
    padding: 10px;
	transition:background 2s ease;
}
#page h1, #page .single-title {
	font-size:40px;
}
p, li, blockquote {
	font-size:17px;
}
}
@media screen and (max-width:1152px) {
#page h1, #page .single-title {
	font-size:36px;
}
p, li, blockquote {
	font-size:16px;
}
}
@media screen and (max-width:1024px) {
#page h1, #page .single-title {
	font-size:32px;
}
}
@media screen and (max-width:960px) {
}
@media screen and (max-width:865px) {
	#logo img {
        left:0;
    }
}
@media screen and (max-width:480px) {
	

}

@media print {
	#site-header, .rank-math-breadcrumb, .lwptoc, .shareit, #sidebar, .tags, #commentsAdd, #comments, footer {
		display:none;
	}
	article, #content_box {
		width:19cm;
		margin:0;
	}
}