/*
Theme Name: HGMN_theme
Author: Thomas Scheidegger
Author URI: 
Version: 1.0
*/
* {
	text-decoration: none;
	box-sizing: border-box;
}
html{
	font-size: 62.5%;
	background: url(assets/images/lion.png) fixed;
	background-position: 110% bottom;
	background-repeat: no-repeat;
	margin: 0;
	padding: 0;
}

body{
	font-family: Arial, sans-serif;
	color: #666;
	text-decoration: none;
	margin: 0;
	padding: 0;
}
a:link,
a:visited {
	color: #00336e;
}


p {
	line-height: 1.5em;
	font-size: 1.4em;
}
table {
	font-size: 1.4em;
}

h2 {
	font-size: 2.4em;
}
h3{
	font-size: 2em;
}

/*General Leyout */
div.container{
	max-width: 920px;
	height: auto;
	margin: 0 auto;
}

/* Header */
.site-header{
	width: 100%;
}

.site-header h1 {
	font-size: 3em;
	text-align: right;
	margin-right: 5em;
}
.headerpic{
	width: 100%;
	height: 200px;
	background: url(assets/images/bockstand.png) no-repeat;
}
.logo-sec{
	background-image: url(assets/images/logo_hgmn.png);
	background-position: left;
	width: 238px;
	height: 112px;
	border-radius: 10px;
	float: left;
	margin:4em 0 0 2em;
}

/* Article */
article.post {
	border-bottom: 2px dotted #999;
	float: right;
	width: 80%;
	margin: 0;
	padding: 1.5em 1.5em;
	background-color: rgba(255, 255, 255, 0.9);
}
.post h2{
	font-size: 2.4em;
	margin-top: 1em;
	padding-top: 0;
}
article.post:first-of-type h2{
	margin-top: 0;
}
article.post:last-of-type{
	border: none;
}

/* Footer */
.site-footer {
	background-color: #00336e;
	color: #ffffff;
	margin-top: 5em;
	float: left;
	width: 100%;
}
.site-footer p{
	text-align: center;
	padding: 0 0;
}
.site-footer a{
	color: #ffffff;
	font-size: 0.9em;
	transition: all 0.3s ease-in-out;
}
.site-footer a:hover{
	color: #8baed8;
}

/* Navigation Menus*/
.site-nav {
	width: 20%;
	float: left;
}

.site-nav ul {
	margin: 0;
	padding: 0;
}
.site-nav ul:after { clear: both;}
.stie-nav ul { *zoom: 1;}

.site-nav ul li{
	list-style: none;
}
.mobile-nav{
	display: none;
}

/* Site Header Menu */
.site-header nav ul li a:link,
.site-header nav ul li a:visited{
	font-size: 1.4em;
	display: block;
	padding: 0.5em 1.5em;
	margin-bottom: 0.2em;
	background-color: #00336e;
	color: #ffffff;
	transition: all 0.3s ease-in-out;
}

.site-header nav ul li a:hover {
	padding-left: 2em;
}

/* Submenu */
.site-header nav ul ul li a:link,
.site-header nav ul ul li a:visited{
	display: block;
	color: #00336e;
	background-color: #8baed8;
	margin-bottom: 0;
	padding-left: 2em;
}

.site-header nav ul ul li:first-child{
	margin-top: -0.3em;
}

.site-header nav ul ul li:last-child{
	margin-bottom: 0.6em;
}

.site-header nav ul ul li a:hover{
	padding-left: 2em;
	color: #ffffff;
}

.has-sub{
	display: block;
	transition: all 0.3s ease-in-out;
}

/* Two Column Title Layout */
div.title-column {
	width: 30%;
	float: left;
}
div.text-column {
	width: 70%;
	float: left;
}

/* Info Box Styles*/
div.info-box {
	width: 30%;
	float:right;
	margin: 00 30px 30px;
	padding: 20px;
	background-color: #EEE;
}
div.info-box h4 {
	margin-bottom: 6px;
}
div-info-box p {
	font-size: 85%;
}


@media screen and (max-width: 900px) {

	html{
		background: #00336e;
		overflow-x: hidden;
	}
	div.container{
		width: 100%;
		position: absolute;
		overflow: auto;
		z-index: 10;
		background-color: #ffffff;
		transition: all 0.3s ease-in-out;
		height: 100vh;
		box-shadow: -15px 0px 20px #002045;
		-webkit-box-shadow: -15px 0px 20px #002045;
		-moz-box-shadow: -15px 0px 20px #002045;
	}

	.site-nav{
		display: none;
	}

	/* Mobile Navigation */
	.mobile-nav{
		z-index: 0;
		position: fixed;
		overflow-y: auto;
		height: 100vh;
		width: 25em;
		top: 0;
		left: 0;
		bottom: 0;
		background-color: #00336e;
		display: block;
	}
	.mobile-nav ul {
		margin: 2em 0 0 0;
		padding: 0;
	}
	.mobile-nav ul:after { clear: both;}
	.mobile-nav ul { *zoom: 1;}

	.mobile-nav ul li{
		list-style: none;
		border-bottom: 1px dotted #8baed8;
	}

	.mobile-nav ul li:last-child{
		border-bottom: 0;
	}

	.mobile-nav ul li a,
	.mobile-nav ul li a:link,
	.mobile-nav nav ul li a:visited{
		font-size: 2.4em;
		display: block;
		padding: 0.5em 1em;
		margin-bottom: 0.2em;
		background-color: #00336e;
		color: #ffffff;
		transition: all 0.3s ease-in-out;
	}

	/* Submenu */
	.mobile-nav ul ul{
		margin: -0.4em 0 0 0;
	}

	.mobile-nav ul ul li a,
	.mobile-nav ul ul li a:link,
	.mobile-nav ul ul li a:visited{
		display: block;
		color: #00336e;
		background-color: #8baed8;
		margin-top: 0;
		margin-bottom: 0;
		padding-left: 1.5em;
	}

	.mobile-nav ul ul li:first-child{
		margin-top: -0.3em;
	}

	.mobil-nav ul ul li:last-child{
		margin-bottom: 0.6em;
	}

	.has-sub{
		display: block;
		transition: all 0.3s ease-in-out;
	}

	/* Mobile Header */
	.headerpic{
		display: none;
	}
	.site-header{
		background-color: #00336e;
		color: #ffffff;
		margin: 0;
		display: relativ;
		position: fixed;
		width: 100%;
		height: 5.5em;
	}

	.site-header h1{
		font-size: 2.4em;
		margin: 0;
		margin-left: 2.5em;
		text-align: center;
		padding: 0.5em;
		transition: all 0.3s ease-in-out;

	}

	.site-header h1 a{
		color: #fff;
	}

	/* Mobil Menu Label*/
	.site-header a.nav-trigger{
		width: 5em;
		height: 5em;
		position: absolute;
		left: 0.8em;
		top: 0.24em;
		cursor: pointer;
	}
	.site-header a span,
	.site-header a span:after,
	.site-header a span:before{
		cursor: pointer;
		border-radius: 0.01em;
		height: 0.5em;
		width: 5em;
		top: 2.3em;
		background: #fff;
		position: absolute;
		display: block;
		content: '';
	}

	.site-header a span:after{
		top: 1.5em;
	}
	.site-header a span:before{
		top: -1.5em;
	}


	/* Mobile Articles and Posts*/
	article.post {
		width: 100%;
		margin-top: 5em;
	}
}
@media screen and (max-width: 435px){
	.site-header h1{
		font-size: 1.7em;
		margin: 0.5em 0 0 3.3em;
	}
}