/*
 Theme Name:   Blog Era Child
 Description:  Blog Era Child Theme zur Verwendung fuer den Soja Foerderring
 Author:       Joerg Fennert, Christian Himmelsbach
 Template:     blog-era
 Version:      1.0.0
 Text Domain:  blog-era-child
*/

@import url("../blog-era/style.css");

/* ******************************************************************/
/* JF: Allgemeine Stile für alle Seiten und alle Größen */
/* ******************************************************************/

html{
	height: 100%;
}

body{
	color:black;
}

article{
	position:relative;
	height: 100%;
}

h1.entry-title{
	display: none;
}

h1, h2, h3, h4, h5, h6{
	color:#003600;
	font-weight:bold
}

h1{
	font-size: 2rem;
}

h2{
	font-size:1.6rem;
}

h3{
	font-size:1.4rem;
}

h4{
	font-size:1.2rem;
	font-weight:bold;
}

h5{
	font-size:1.0rem;
	font-weight:bold;
}

h6{
	font-size:1.0rem;
	font-weight:bold;
	font-style:italic;
}

tr{
	border-top: 1px solid silver;
	border-bottom: 1px solid silver;
}
td{
	padding:5px;
}

li.page-item-3086{display:none;}

figure.gallery-item img{
	font-size: 10px;
}

a{
	text-decoration:underline;
}

a,
.tags-links i,
.cat-links i,
.entry-meta span i,
.edit-link a,
.site-footer{
	color: #006200;
	font-weight:bold;
}

.back-to-top {
	background: #003600;
}

a:hover, a:hover::before{
	transition:none !important;
	transform:none !important;
	color:#7ba52e;
}

a:visited {
	/*transition:none !important;
	transform:none !important;*/
	color: #7ba52e;
	font-weight: normal;
}

img{
	display:inline;
}

/* JF: Bildunterschriften in der Position korrigieren */
.wp-caption-text{
	position:relative;
	color:black;
	background:none;
	font-size:0.75rem;
}
/* ******************************************************************/
/* JF: Stile für besondere Seitenabschnitte */
/* ******************************************************************/

/* JF: Stile für das Menu */
/* ---------------------------------------------------------------- */
.main-menu, .mean-container, .mean-container .mean-bar, .mean-bar{
	background: #003600;
}

.mean-container .mean-nav {
	float: left;
	width: 100%;
	background: #003600;
	margin-top: 44px;
}

/* CH: Hintergrundfarbe der Unterpunkte, Trennung der Unterpunkte ---- Orginal: dotted #ddd*/
.main-menu ul ul a {
    background: #7ba52e; 
    border-bottom: 1px solid #fff3e4; 
    color: #fff;
}

/* CH: Hintergrundfarbe der Unterpunkte bei Rollover ---- Original: background: #efefef; */
/* JF: Ergaenzung der Schriftfarbe weiss fuer einen Menu-Link beim hover-Effekt */
.main-menu li :hover > a,
.main-menu ul ul :hover > a,
.main-menu a:focus {
	background: #608a25;
	color: #fff;
}

.main-menu li:hover > a,
.main-menu a:focus {
	background: #7ba52e; 
	color: #fff;   /* Kommentar von CH: Schriftfarbe der Menupunkte bei Rollover */
}

/* JF: Spezielle Anpassung nur fuer die Hauptmenupunkte 
 * - sie sollen bei mouse over dieselbe Farbe wie die Untermenupunkte bei mouse over haben. */
.main-menu div.menu ul li.page_item a:hover,
.main-menu div.menu ul li.page_item a:focus{
	background-color: #608a25 !important;
	color: white;
}

/* JF: Hintergrundfarben für die Untermenus des Burgermenu */
.mean-container .mean-nav ul li li li a{
	background-color:#7bc52e;
}

.mean-container .mean-nav ul li li li li a{
	background-color:#7be52e;
}

/* JF: Im Blog-Era Theme sind die Menuboxen zu hoch. Daher die Höhe hier verringern.*/
/* div.main-menu li{line-height: 1.1;}*/

/* JF: Die Menu-boxen etwas schmaler anlegen, insbesondere für den Menupunkt "Veranstaltungen" (page-item ID=8240)
	Das ist nötig, damit die Untermenus weiter nach links kommen. */
.main-navigation ul ul a {
	width: 275px;
}

.main-navigation ul li.page-item-8240 ul {
	position:above;
	z-index: 20;
}

.main-navigation ul li.page-item-8240 ul a{
	width: 220px;
}

.main-menu li a, .top-menu-holder ul li a {
	font-size: 16px;
	text-transform: none;
}

.main-navigation ul ul {
	border-top: 5px solid #006400;
	box-shadow: none;
}

/* JF: Die +-Zeichen sind grottig */
.mean-container .mean-nav ul li a.mean-expand {
    line-height: 1rem;
    margin: 10px 7px;
    width: 12px;
    height: 12px;
    padding: 12px !important;
    text-align: center;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.4) !important;
}
/* JF: Ende der Stildefinitionen für das Menu --------------------- */




/* JF: Stile für den Contentbereich */
/* ---------------------------------------------------------------- */
div#content.site-content, div.entry-content, div.entry-content p{
	background-color:#fff3e4;
	color:black !important;
	font-family:helvetica, arial, sans-serif !important;
}

/* JF: Stile für die Quellenhinweise */
/* ---------------------------------------------------------------- */
div#LFquellenhinweis{
	/* clear:both;
	position:relative;*/
	bottom:0px;
	margin-top:10px;
	border-top: 1px solid #003600;
	padding-top:3px;
}

/* color */

.site-footer{
    background: #003600;
}

/* JF: Stile für die Galerie */
/* ---------------------------------------------------------------- */

/* Gallery */
div.entry-content{
	position:relative;
	float:left;
	min-height:1100px;
	max-width:65%;
}

/* Standard ohne Galerie */

div#LFStandardContent{
	max-width:95% !important;
	min-height:1100px;
	float:none;
}

div.blog-row{
	min-height: 1200px;
}

/* JF: Überschriften machen sonst Stress mit der Bildergalerie */
h1, h2, h3, h4, h5, h6{clear:none !important;}

div#gallery-1{
	max-width:30%;
	float:right;
	z-index:10;
}

/* JF: Lange Erklärungstexte reichen in das Bild hinein, der Bildzähler kann überlagert werden. */
div#cboxTitle{
	background-color:white;
	color: #252525;
	opacity:0.7;
	padding-bottom:25px;
}

/* JF: Stile für die Aktuell-Box auf der Startseite */
/* ---------------------------------------------------------------- */

div#LFAktuelleMeldungen{
	position:relative;
	margin: 20px 10px;
	border: 1px solid #003D00;
	padding: 10px 10px;
	width: auto;
	background-color: #FFF8E9;
}

span#LFAktuelleMeldungBoxtitel{
	/*position:absolute;
	top: -14px;
	left: 32px;
	display: inline-block;
	padding: 0 5px 0 5px;*/

	
	font-weight: bold;
	color:#003D00;
	background-color: #FFF3E4;
}

div#LFAktuelleMeldungen p{
	margin-bottom: 0px;
}

main#main article div#LFAktuelleMeldungen ul{
	margin:0px !important;
}

div#LFAktuelleMeldungen a{
	font-weight:bold;
}

/* JF: Textdekorationen bzw. eingefügten Content bei Listen entfernen*/
.entry-content ul li a:before{
	content:none;
}


/* JF: Stile für die Unterrichtsmaterialien / Accordion */
/* ---------------------------------------------------------------- */

div#accordion{
	font-size: 1rem;
	font-family:helvetica, arial, sans-serif;
}

div#accordion h3.ui-accordion-header{
	font-size: 1rem !important;
}

div#accordion div.ui-accordion-content p{
	background-color:#eee !important;
}

 div#accordion div.ui-accordion-content ul li a {
    position: relative;
    padding-left: 5px;
}


/* JF: Stile für die Suchfunktion */
/* ---------------------------------------------------------------- */

div#sojafoerderring-lupe {
	margin-right: 34px;
	padding: none;
	height: 40px;
	width: 40px;
	background-image: url("../blog-era-child/assets/img/Lupe.png");
	font-size: 2rem;
	position: relative;
	right: 0px;
	top: -48px;
	float: right;
	display: block;
}

div#sojafoerderring-suchformular {
	display:none;
	margin: 5px;
	border-bottom: 1px solid green;
	padding: 10px;
	text-align: right;
}



/* JF: Ende der Stildefinitionen für den Contentbereich------------ */


/* JF: Stile für den Footer */
/* ---------------------------------------------------------------- */
.footer-bottom{
	background-color:#003600;
}

#colophon{
	background: #003600;
}

/* JF: Copyright-Notiz ausblenden */
span.copy-right{
	display:none;
}




/* JF: Ende der Stildefinitionen für den Footer ------------------- */


/*
zu ändern:

* Headerbild nur für Desktop, in der Mobilversion nur das Logo.
* Desktop: Bilder an die Seite (rechts)
* Mobil: Bilder nach unten und komplette Breite nutzen.
* Orange raus.
* Menutrennlinie wie Menupunkt.
* Impressum nach unten versetzen, den Menupunkt "versteckt" wieder ausblenden.
* Mobil: Überschrift -> Zeilenhöhe kleiner, Abstand zum Text kleiner.

*/

/* ******************************************************************/
/* JF: Individuell formatierte Elemente */
/* ******************************************************************/

p img#Leuchttuerme{
	display: block;
	margin-left: auto;
	margin-right: auto;
}

table.anbauberater > td{
	width:10px;
}

footer div.back-to-top{
	z-index:15;
}

div#impressumlinkfussleiste{
	position:relative;
	top:-1.5rem;
	padding-right:5rem;
	color:white;
	text-align:right;
}
div#impressumlinkfussleiste a, div#impressumlinkfussleiste a:visited{
	font-weight:normal;
	text-decoration:none;
	color:white;	
}

.blog-col-12{
	padding-bottom: 30px;
	min-height: 1100px;
}
/* Mediaabhängig Styles */


/* ******************************************************************/
/* JF: Deviceabhängige Stile */
/* ******************************************************************/


/* Originalstile vom Blog Era Theme
 * =================================================================*/



@media screen and (min-width: 1201px){	
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

@media screen and (max-width: 1200px){
	.menu-toggle {
		display: block;
	}
	.main-navigation ul {
		display: none;
	}

	.mean-container .mean-bar{
		z-index:5;
	}
	.mean-container a.meanmenu-reveal{
		display: block;	
		padding-right:95%;
	}

	div#sojafoerderring-lupe {
		margin-right: 0px;
		margin-bottom: 5px;
		height: 60px;
		width: 60px;
		background-image: url("../blog-era-child/assets/img/LupeGruen.png");
		right: 0px;
		top: 0px;
		float: right;
		display: block;
	}
	
	div#sojafoerderring-suchformular {
		display:none;
		margin: 5px;
		border-bottom: 1px solid green;
		padding: 10px;
		text-align: right;
	}

	/* Gallery */
	div.entry-content{
		min-height:50px;
	}

	/* Standard ohne Galerie */

	div#LFStandardContent{
		min-height:50px;
	}

	div.blog-row{
		min-height: 50px;
	}

	.blog-col-12{
		min-height: 50px;
	}
}

@media screen and (max-width: 767px){
	
	div.entry-content{
		float:none;
		max-width:100%;
		overflow:scroll;
	}
	
	div#gallery-1{
		float:none;
		max-width:100%;
	}
		
	div.entry-content{
		min-height:10px;
	}
	
	/* JF: Andere Überschriften für kleinere Displays */

	h1{
	font-size: 1.6rem;
	}

	h2{
		font-size:1.3rem;
	}

	h3{
		font-size:1.1rem;
	}

	h4{
		font-size:1.0rem;
		font-weight:bold;
	}

	h5{
		font-size:1.0rem;
		font-weight:bold;
		font-style:italic;
	}

	h6{
		font-size:1.0rem;
		font-style:italic;
	}
	
}


@media screen and (max-width: 551px){
	
	div#gallery-1{
	position:relative;
	}
	/* JF: Der Text des Tooltips wird viel zu gross dargestelle. Daher Größenanpassung. */
	div#tooltip h3{font-size:12px;}

	/* JF: Lange Erklärungstexte reichen in das Bild hinein, der Bildzähler kann überlagert werden. */
	div#cboxTitle{
		background-color:white;
		color: #252525;
		opacity:0.7;
		padding-bottom:25px;
	}
}
