html{margin: 0;}
body{background: #F3F3C2; margin-top:0;}
#bg-top, #bg-bottom{display: block; position: absolute; width: 100%; height: 50%; clear: both; z-index: -1; padding: 0;}
#bg-top{top:0; left: 0;}
#bg-bottom{bottom: 0; right: 0;}
#bg-top img{z-index:-1; float: left; top:0; left: 0;}
#bg-bottom img{z-index: -1; float: right; bottom: 0; right: 0;}

header{height: 150px; z-index: 10; display: block; margin: 0 auto; top: 0; overflow: hidden;}
header #logo, header #title{display: block; float: left;}
header #logo img{height: 200px; width: auto; margin-top: -25px;}
header #title img{height: 80px; margin-top: 35px;}
header #title h1{font-size: 3em; font-weight: 600; color:#111; margin-top: 45px; padding: 0; background: rgba(243, 243, 194, 0.5);}

/* ------------- Styles for the Menu begins here ---------------- */

#menu{
	height: 70px;
	font-family: sans-serif;
	overflow: hidden;
}
.menu-home, .nav-bg-1{
	background: url(../img/nav-bg-or.jpg); 
}
.menu-verein, .nav-bg-2{
	background: url(../img/nav-bg-bl.jpg); 
}
.menu-seminar, .nav-bg-3{
	background: url(../img/nav-bg-gn.jpg); 
}
.menu-formulare, .nav-bg-4{
	background: url(../img/nav-bg-rd.jpg); 
}
.menu-links, .nav-bg-5{
	background: url(../img/nav-bg-ye.jpg); 
}
.menu-impressum, .nav-bg-6{
	background: url(../img/nav-bg-or.jpg); 
}
#nav li {
    list-style:none;
    float: left;
}
#nav li a {
    display: block;
    padding: 8px 5px 2px;
    margin-right: 15px;
    text-decoration: none;
}
#nav li a:hover {
	opacity:1;
}

#nav {
    display: block;
    z-index: 100;
    position: absolute;
}
#nav > li > a {
    font-size:1.4em;
    font-weight:normal;
    color: #F3F3C2;
    margin-left: -5px;
}
#nav > li > a:hover{
	
}

#nav li ul {
	width: 100%;
    display: none;
    position: absolute;
    padding: 0;
    margin: 0; 
}
#nav li ul li {
    display: inline;
}
#nav li ul li a {
    border: none;
    margin: 0;
    padding: 10px 15px 5px;
    color: #F3F3C2;
    font-size: 1em;
}
#nav li ul li a:hover {
	
}

/* CSS fallback */
#nav .current > a{
	background: rgba(0, 0, 0, 0.5);
	width: 100%;
}
#nav li:hover > ul.child, #nav > .current > .child{
    left:0;
    display:inline;
    position:absolute;
    text-align:left;
}
#nav > .current:hover > ul.child{
	display: block !important;
}
/* ------------- Styles for the Menu ends here ---------------- */

/* ------------- Styles for TO-TOP link begins here ----------- */
#toTop {
	display: none;
	text-decoration: none;
	position: fixed;
	bottom: 20px;
	right: 20px;
	overflow: hidden;
	width: 40px;
	height: 40px;
	border: none;
	text-indent: 100%;
	background: url(../img/totop.png) no-repeat left top;
	z-index: 9999;
}

#toTop:hover {
	background: url(../img/totop.png) no-repeat left -40px;
}

#toTop:active, #toTop:focus {
	outline: none;
}
/* ------------- Styles for TO-TOP link ends here ----------- */
#content{
	padding-top: 15px;
}
.container{
	background: #F3F3C2;
	color: #333;
	font-family: sans-serif;
}

.section-title{
	margin: 15px 0;
	padding: 5px 0;
	background: lightyellow;
}
.section-title-icon{
	float: left;
	display: block;
	width: 40px;
	height: 40px;
	margin: 0 5px;
	border: none;
}
.section-title-icon{
	width: 40px;
	height: 40px;
	border: none;
}
.section-title-text h2{
	font-size: 2em;
	color: #333;
	float: left;
	margin: 5px 0;
	display: block;
}
.block-title h3{
	font-size: 1.5em;
	color: #333;
	margin: 5px 0;
}
.block-data{
	margin: 10px 0;
	text-align: justify;
}
.block-data img.left{
	float: left;
	width: 200px;
	margin: 0 10px 10px 0;
}
#seminar-imgs, #seminar-content{
	padding: 0;
}
#seminar-imgs img, #verein-img{
	display: block;
	width: 100%;
	margin: 0 0 20px 0;
}
@media(min-width: 300px) and (max-width: 767px){
	.container, header{
		width: 100%;
	}
	
	header{height: 80px; z-index: 10; display: block; margin: 0 auto; top: 0; overflow: hidden;}
	header #logo, header #title{display: block; float: left;}
	header #logo img{height: 100px; width: auto; margin-top: -8px;}
	header #title img{height: 40px; margin-top: 22px;}
	header #title h1{font-size: 1.5em; font-weight: 600; color:#111; margin-top: 25px; }
		
	#menu{
		display: none !important;
	}
	#mobile-menu-icon{
		display: block;
		float: right;
		padding: 15px 0;
		margin-right: 5px;
	}
	#mobile-menu-icon img{	
		width: 50px;
		cursor: pointer;
	}
	#menu-mobile{
		background: #F3F3C2;
		display: block;
		position: fixed;
		bottom: 0;
		padding: 0;
		width: 100%;
		z-index: 10;
		overflow-y: scroll;
		overflow-x: hidden;
	}
	.nav-m-l-1, .nav-m-l-2{
		width: 100%;
		display: block;
	}
	.nav-m-l-1 a, .nav-m-l-2 a{
		display: block;
		width: 100%;
		cursor: pointer;
		text-decoration: none;
		font-size: 1.5em;
		margin: 1px 0;
		padding: 10px;
		color: #F3F3C2
	}
	.nav-m-l-2 a{
		text-indent: 25px;
		font-size: 1.2em;
		opacity: 0.8;
		padding: 8px;
	}
	.section-title-text h2{
		font-size: 1.2em;
		font-weight: bold;
		margin: 10px 0;
	}
	.block-title h3{
		font-size: 1em;
		font-weight: bold;
	}
	#seminar-imgs img{
		margin: 0 0 100px 5px;
	}
	@media(min-width: 540px){		
		#verein-img{
			width: 500px;
		}
	}
}

@media(min-width: 768px) and (max-width: 992px){
	.container, header, footer, #nav{
		width: 750px;
	}
	#mobile-menu-icon, #menu-mobile{
		display: none !important;
	}
	#nav > li > a {
		font-size: 1.2em;
	}
	#nav > li > ul > li > a{
		font-size: 0.9em;
	}
	#verein-img{
		width: 500px;
	}
}

@media(min-width: 992px){
	.container, header, footer, #nav{
		width: 980px;
	}
	#mobile-menu-icon, #menu-mobile{
		display: none !important;
	}
	#verein-img{
		width: 500px;
	}
}