/*
Theme Name: hann & hann Theme
Author: Philipp Caldwell
Description: Theme Template
Version: 0.1

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

	/*================================
		start	html5 compat
	================================*/

header, main, section, article, aside, nav, footer{
	display: block;
}

	/*================================
		end		html5 compat
	----------------------------------
		start	type
	================================*/

	.Font-Headline1 { font-size: 30px; }
	.Font-Headline2 { font-size: 24px; }
	
	.Font-Text0 { font-size: 14px; }
	.Font-Text1 { font-size: 16px; }
	.Font-Text2 { font-size: 18px; }
	.Font-Text3 { font-size: 19px; }
	.Font-Text4 { font-size: 20px; }
	.Font-Text5 { font-size: 22px; }

	/*font-weight: bold;*/

	/*================================
		end		type
	----------------------------------
		start	main style
	================================*/

body{
	font-family: Calibri,Candara,Segoe,Segoe UI,Optima,Arial,sans-serif;
	color: #30316E; 																/* --- KWZ 001 - Text-Farbe Beitrag, bei Hann: #646464 --- */
	/* background: url("/wp-content/themes/hann%26hann/Img/tile_texture3096.jpg");  */
	background: url("/wp-content/themes/hann%26hann/Img/Grauverlauf.png");  
	/* background-size: 325px;
	min-height: 100vh;
	margin : 0px; */
}

header, main, footer{
	text-align: left;
	width: 80%;
	width: 1050px;			/* --- Gesamtbreite aktiver Bereich --- */
	margin: 0px auto;
}

header{
	/*height: 264px;*/
	background:  rgb(71, 89, 30); 
	text-align: center;
}

main{
	position: relative;
	overflow: hidden;
}

footer{

}

#logo{
	width: 100%;
	height: 130px;				                                             /* hoehe logo bereich*/
	background: url("/wp-content/themes/hann%26hann/Img/Logo.jpg");	         /* Logo in logo bereich. Logo bei unter 1000px siege @media */
	background-size: 100% 100%;
	background-repeat: no-repeat;
	display: block;
}

#title{
	width: 55%;
	min-width: 200px;
	display: inline-block;
}

header nav {
	/*padding: 5px 0px;*/
}

#slider{
	/*height: 250px;*/
}

	/* vor/zurück bei hover */
#slider:hover .soliloquy-prev, #slider:hover .soliloquy-next {
  display: block !important;
}
.soliloquy-next, .soliloquy-prev{
  display: none !important;
}


.content, .side_content{					/* --- Block-Beiträge rechts --- */
	display: inline-block;
	width: 300px;
	background: rgb(238,242,102);
	height: 196px;							/* --- Beitrags-Höhe (zzgl. Padding !!) --- */		
}

.side_content .imgBTN {
    width: 100%;
    height: 100%;
    margin-bottom: -5px;
}

.content:nth-child(3){
	background: rgb(217, 139, 72);
}

.sigle_content{
	display: inline-block;
	min-height: 65.7vh;
	width: 90%;
}

.first-post, .sigle_content, #ghost{
	padding: 0px 5%;
	background: rgb(230, 230, 245);                   /* --- KWZ 002 - Hintergrund-Farbe Beitraege (bei Hann: 234, 255, 230 --- */
	/* background: url("/wp-content/themes/hann%26hann/Img/Logo_responsive.jpg");   */
	/* background-repeat: no-repeat; */
	/* background-position: center; */
	
}

.first-post{                                /* --- Hauptbeitrag --- */
	width: 645px;
	height: 588px;							/* --- Hoehe Hauptbeitrag --- */
	float: left;
	overflow: auto;							/* Scrollbar einschalten, falls mehr Text im Fenster  */
}

#ghost{
	width: 60%;
	float: left;
}

.more-link{
	position: absolute;
	bottom: 3%;
}

	/*================================
		end		main style
	----------------------------------
		start	popup
	================================*/

#popup-kill{
	opacity: 0;
	width: 38px;
	height: 38px;
	margin: 0px;
	z-index: 101;
}

#popup-killStyle{
    font-size: 25px;
    color: red;
    font-weight: bold;
    width: 30px;
    height: 30px;
    border: 4px solid red;
	z-index: 100;
}

#popup-kill, #popup-killStyle{
	right: 37%;
	position: absolute;
	top: 30px;
	cursor: pointer;
}
	#popup-kill:checked{
		display: none;
	}
	#popup-kill:checked ~ #popup, #popup-kill:checked ~ #popup-killStyle{
		display: none;
	}

#popup{
	width: 26%;
	left: 37%;
	position: absolute;
	z-index: 99;
    border: 2px solid black;
    top: 30px;
    box-sizing: border-box;
    display: inline-flex;
}

	/*================================
		end		popup
	----------------------------------
		start	menu specific style
	================================*/

.header_menu ul, .men_res{
	background: rgb(29, 23, 151);   /* --- Hintergrund-Farbe Menüzeile  --- */
	color: #fff; 					/* --- KWZ 002 Textfarbe  Menüzeile --- */
}

.footer_menu ul{
	background: rgb(29, 23, 151);	/* --- Hintergrund-Farbe Fußzeile  --- */
	color: #fff;					/* --- KWZ 002 Textfarbe  Fußzeile --- */
}

#menu-fusszeile li{
	padding: 5px 30px;				/* fußzeilen-Elemente abstand */
}

#menu-fusszeile li:nth-child(1):hover, #menu-fusszeile li:nth-child(2):hover {
	/* fußzeile telefon/E-Mail */
    background: none;
}

	/*================================
		end		menu specific style
	----------------------------------
		start	menu general style
	================================*/

.menu, .menu ul{
	margin : 0px auto;
	list-style: none;
	padding: 0px;
	text-align: center;
}

.menu li{
	display: inline-block;
	position: relative;
	padding: 5px 10px;
	transition: 0.3s;
}
	.menu ul li{
		border-top: 1px solid rgba(0,0,0,0.2);
		border-bottom: 1px solid rgba(255,255,255,0.2);
	}

	.menu li:hover{
		transition: 0.8s;
		background: rgba(0,0,0,0.2);
	}

.menu a{
	text-decoration: none;
	color: inherit;
}

.menu ul{
	display: none;
}

.menu li:hover > ul{
	display: inline-block;
	position: absolute;
	left: 0%;
	top: 100%;
}

.men_res{
	display: none;
	margin: 0px auto;
	padding: 3px 5px;
}

	/*================================
		end		menu general style
	----------------------------------
		start	@media
	================================*/
@media only screen and (max-width:1050px){
	header, main, footer{
		width: 90%;
	}
	
	#logo{
		background: url("/wp-content/themes/hann%26hann/Img/Logo_responsive.jpg");		/* Logo bei unter 1000px */
		background-size: auto 100%;
		background-position: center;
	}

	.content{
		float: none;
		width: 90%;
		padding: 0px 5%;
		min-height: 250px;
	}

	.first-post{
		position: static;
	}

	.side_content {
		width: 33.33%;
		float: left;
		height: auto;
	}

	.men_res{
		display: block;
	}

	.header_menu{
		display: none;
	}

	.men_res:hover + .header_menu{
		display: block;
	}

	.header_menu:hover{
		display: block;
	}
}

@media only screen and (max-width:550px){
	#logo{
		height: 12.65vw;						/* hoehe geteilt an breite*/
		width: 100vw;
	}
	
	header, main, footer{
		width: 100%;
	}
	
	.side_content {
		width: 100%;
	}
}

	/*================================
		end		@media
	================================*/