
@import url('fonts/Barlow.css');
@import url('fonts/OpenSans.css');

body
{
        background:#ffffff;
        font-family: 'Open Sans', sans-serif;
        font-family: 'Barlow', sans-serif;
	font-weight:400;
	font-size:18px;
	line-height:28px;
        color:#333333;
	margin:0px;
	overflow-y:scroll;	
}

p
{
	margin: 10px 0;
	line-height: 25px;
}

a
{
	text-decoration: underline;
	color: inherit;
	transition: color .4s ease;
}

strong
{
	font-weight: bold;
}

small
{
	font-size:12px;
}

h1
{
	color:#4f7307;
	font-size:40px;
	letter-spacing:-2px;
	font-weight:normal;
	text-transform:uppercase;
	
	line-height:48px;	
}

h2
{
	color:#4f7307;
	font-size:34px;
	font-weight:600;
}

h3
{
	color:#93a603;
	font-size:26px;
	font-weight:500;
}

h4
{
	font-size:22px;
	font-weight:400;
	margin-bottom:10px !important;
}

h5
{

}

ol li
{

	margin-bottom:15px;
}



/* HEADER
--------------------------------------------------*/

header
{
        position:relative;
        width:auto;
        margin: 0 auto 50px auto;
}


header p
{
        font-family: 'Open Sans', sans-serif;
        font-size:20px;
        text-transform:lowercase;
        color: inherit;
}

.header_container
{
	width:970px;
        margin: 0 auto 0 auto;
	position: relative;
	height:80px;
}

.header_container img
{
	position:absolute;
	width:120px;
	height:auto;
	right:0px;
	top:-20px;
}

.header_image
{
	position:relative;
//	margin-top:150px;
}

.header_image img
{
	width:100%;
	border-bottom:10px solid #c4ddf2;
}

.header_image #mobile
{
	display:none;
}

/* MENU
--------------------------------------------------*/

nav
{
	position:relative;
	background-color:#79acd9;
	top:0px;
	height:40px;
	width:100%;
	z-index:95;
}

#topmenu
{
        margin: 0 auto 0 auto;
	position:relative;
	top:0px;
	height:40px;
	width:970px;
	z-index:95;
}

#topmenu ul 
{
	margin:0em;
	padding:0em;
}

#topmenu li 
{
	float:left;
	height:40px;
	margin:0px;
	padding:0px 5px 0px 5px;
	list-style-type:none;
	font-size:20px;
}

#topmenu li a 
{
	display:block;
	padding:0 10px;
	padding-top:4px;
	margin:0em;
	height:36px;
	letter-spacing:0.1em;
	text-decoration:none;
	color:#ffffff;
}

#topmenu li a:hover
{
	color:#022c68;
	background-color:#ffffff;
}

.dropDownBox
{
	position:absolute;
	top:40px;
	width:300px;
	visibility:hidden;
	text-align:left;
	color:#000000;
	background: rgba(255, 255, 255, 0.8);
	z-index:1000;
	box-shadow: 3px 3px 10px black;
}

.dropDownNavi a
{
	border-top: 1px solid #022c68;
	color:#022c68 !important;
}

.dropDownBox a:hover
{
	border-top: 1px solid #022c68;
	background-color:#ffffff !important;
	color:#022c68 !important;
}

.dropDownNavi
{
	font-size:1em;
	color:#000000;
}

.dropDownNavi,  .dropDownNaviActive
{
	text-decoration: none;
}




/* MENU MOBILE
--------------------------------------------------*/


.toggleMobil
{
	position:absolute;
	display:none;
        top:67px;
	height:43px;
        margin: 0 auto 0px auto;
        width: calc(100% - 10px);
        width: 100%;
	cursor: pointer;
        background-color:#79acd9;
	font-size:22px;
	line-height:24px;
}

#mobilesMenu
{
	visibility:hidden;
	position:absolute;
        top: 67px;
        margin: 0 auto 0px auto;
        width: calc(100% - 10px);
        width: 100%;
        display: block;
	z-index: 9998;
	font-size:22px;
	line-height:22px;
}

#mobilesMenu ul, .toggleMobil ul
{
	margin:0px;
	padding:0px;
}

#mobilesMenu ul li, .toggleMobil ul li
{
        display:block;
	position:relative;
        background-color:#79acd9;
        color: #fff;
        padding: 12px 0;
        letter-spacing: 0.1em;
        text-align: center;
        text-transform: none;
        border-bottom: 1px solid #ffffff;
}

#mobilesMenu ul li:hover, .toggleMobil ul li:hover
{
	background-color:#8fc0ec;
}

#mobilesMenu .mm_up
{
	display:none;
}

#mobilesMenu .mm_sub, #mobilesMenu .mm_sub:hover
{
	display:none;
	background-color:#c4ddf2;
	color:#404040;
	padding:0px;
	border-bottom:none;
}

#mobilesMenu .mm_sub div:hover
{
	background-color:#deebf6;
}

#mobilesMenu .mm_sub div
{
	padding:8px;
	border-bottom:1px solid #808080;
}

#mobilesMenu .mm_dropdown, #mobilesMenu .mm_dropup
{
	position:absolute;
	right:10px;
	top:5px;
	height:28px;
	width:28px;
	cursor: pointer;
	background:url(img/mobilesmenu_dropdown.png) no-repeat;
	background-size: 28px 28px;
	background-position:0px 5px;
}

#mobilesMenu .mm_dropup
{
	background:url(img/mobilesmenu_dropup.png) no-repeat;
	background-size: 28px 28px;
	background-position:0px 3px;
}

.toggleMobil ul li
{
	border:none;
}

.mobilesmenu_burger
{
        text-transform: uppercase;
	background:url(img/mobilesmenu_burger.png) no-repeat;
	background-position: 20px 10px;
}

.mobilesmenu_x
{
	background:url(img/mobilesmenu_x.png) no-repeat;
	background-size: 28px 28px;
	background-position: 20px 7px;
	cursor: pointer;
}



/* MAIN
--------------------------------------------------*/

#page_content
{
        width:auto;
        max-width:970px;
	min-height:400px;
        margin: 0 auto 20px auto;
}


embed
{
	width:100%;
	height:100px;
	display:block;
	background-color:#aaaaaa;
	content:"Bildergalerie";
	border:3px solid #444444;
}

figure
{
	margin:0px 10px 10px 0px;
	display:block;
	float:left;
	background-color:#c4ddf2;
	border-bottom:2px solid #4f7302;
}

figure img
{
	display:block;
}

figcaption
{
	font-size:16px;
	min-height:22px;
	max-width:290px;
	padding:0px 5px 5px 5px;
}

article a
{
	text-decoration: none;
}

#facebook a
{
	background:url(img/icon_facebook.png) no-repeat;
	height:35px;
	display:block;
	font-size:25px;
	padding:2px 0px 0px 50px;
	margin-top:20px;
}

#facebook a:hover
{
	background:url(img/icon_facebook_hl.png) no-repeat;
	color:#808080;
}

#instagram a
{
	background:url(img/icon_instagram.png) no-repeat;
	height:35px;
	display:block;
	font-size:25px;
	padding:2px 0px 0px 50px;
	margin-top:20px;
}

#instagram a:hover
{
	background:url(img/icon_instagram_hl.png) no-repeat;
	color:#808080;
}

/* BILDERGALERIE
--------------------------------------------------*/

.grey_box
{
	padding:10px;
	background-color:#93a603;
	color:#ffffff;
	line-height:25px;
	border-radius:10px;
}


.grey_box h3
{
	margin-top:0px;
	color:#ffffff;
}

.grey_box .img_gal_prv img
{
	height:180px;
	width:225px;
	object-fit:contain;
	background:rgba(255,255,255,0.7);
        transition: opacity .5s ease;
}

.grey_box .img_gal_prv img:hover
{
        transition: opacity .5s ease;
	opacity:0.7;
}

.grey_box .gal_head
{
	font-weight:normal;
}


/* KONTAKTFORMULAR
--------------------------------------------------*/

.cform_line
{
	position:relative;
	display:block;
	width:100%;
	float:none;
	margin-bottom:15px;
}

.cform_line label
{
	display:block;
	float:left;
	width:150px;
	padding-top: 9px;
}

.cform h3
{
	font-weight:bold;
}

.cform select, .cform input, .cform textarea
{
        font-family: 'Open Sans', sans-serif;
        color:#333333;
        font-size: 16px;
	width:250px;

//	background-color:#fff5e4;
	background:none;
	border: 1px solid #808080;
}

.cform select
{
	background:url("img/dd_arrow.jpg") right center no-repeat;
	appearance:none;
	-moz-appearance:none; /* Firefox */
	-webkit-appearance:none; /* Safari and Chrome */
}

.cform input, .cform textarea
{
	width: 350px;
	padding:8px;
}

.cform textarea
{
	height: 120px;
}

.cform option
{
	background-color: #ffeed0;
	padding:8px;
	border-bottom: 1px solid #808080;
}

.cform optgroup
{
	min-height:50px;
	padding: 8px;
}

.cform_cb
{
	max-width: 30px;
}

#cform_captcha
{
	position:relative;
	display:block;
	float:left;
	margin-right:20px;
}

#cform_captchacode
{
	width: 100px;
}

.cform_error
{
	background-color: #ffbdb5 !important;
}

.cform_err_msg
{
	color: #ff3030;
	margin-bottom:20px;
}



/* FOOTER
--------------------------------------------------*/

footer
{
        position:relative;
        clear:both;
        width:auto;
        min-height:150px;
        background:#333333;
}

footer .wrapper
{
        line-height:25px;
        margin: 0 auto;
        padding-top:30px;
        width:auto;
        font-size:20px;
	text-align:center;
}

#copyright
{
        background: #1D1D1D;
        height:70px;
        position:absolute;
        bottom:0;
        left:0;
        width:100%;
}

footer .wrapper
{
        padding-top:25px;
        color: #5e5e5e;
        font-size:20px;
        position:relative;
}

footer .wrapper a
{
	text-decoration: none;
        color: #ABABAB;
}

footer .wrapper a:hover
{
        color: #fff;
}


/* MISC
--------------------------------------------------*/

.clear
{
	clear:both;
}

.hidden
{
	position:absolute;
	clip: rect(1px 1px 1px 1px); /* IE6 & 7 */
	clip: rect(1px, 1px, 1px, 1px);
}


/* RESPONSIVE SCALING
--------------------------------------------------*/


@media (max-width: 990px)
{
	#page_content
	{
		padding: 0px 10px 0px 10px;
	}
	#topmenu, .header_container, #page_content
	{
		max-width:770px;
	}
	h1
	{
		font-size:40px;
		max-width:500px;
	}
	h2
	{
		font-size:32px;
	}
	h3
	{
		font-size:24px;
	}
	h4
	{
		font-size:20px;
	}
	#topmenu
	{
		margin-top:40px;
	}
	.header_container img
	{
		top:0px;
	}
}

@media (max-width: 790px)
{
	body
	{
		font-size:16px;
	}
	h1
	{
		font-size:38px;
	}
	h2
	{
		font-size:28px;
	}
	h3
	{
		font-size:22px;
	}
	h4
	{
		font-size:18px;
	}
	nav
	{
		display:none;
	}
	.header_container
	{
		height:34px;
	}
	.header_image #desktop
	{
		display:none;
	}
	.header_image #mobile
	{
		margin-top:0px;
		display:block;
	}
	.header_image
	{
		margin-top:130px;
	}
	.toggleMobil
	{
  		display:block;
		margin-top:50px;
	}
	#mobilesMenu
	{
		margin-top:50px;
	}

	#page_content
	{
		padding: 0px 10px 0px 10px;
	}
	#topmenu, .header_container, #page_content
	{
		max-width:640px;
	}
	figure img
	{
		width:320px;
		height:auto;
	}
	footer .wrapper
	{
		font-size:16px;
	        padding-top:15px;
	}
	#copyright
	{
	        height:80px;
	}
}

@media (max-width: 660px)
{
	h1
	{
		font-size:32px;
		max-width:400px;
	}
	#topmenu, .header_container, #page_content
	{
		max-width:500px;
	}
	#mobilesMenu
	{
		top:67px;
	}
	figure
	{
		float:none;
	}
	figure img
	{
		width:100%;
		height:auto;
	}
}

@media (max-width: 520px)
{
	h1
	{
		font-size:28px;
		max-width:250px;
	}
	.header_container img
	{
		max-width:80px;
		top:20px;
	}
	#topmenu, .header_container, #page_content
	{
		max-width:320px;
	}
	.toggleMobil
	{
		margin-top:35px;
	}
	#mobilesMenu
	{
		top:52px;
	}
	.header_image
	{
		margin-top:115px;
	}
	body
	{
		font-size:14px;
	}
	h1
	{
		font-size:28px;
		line-height:30px;
	}
	h2
	{
		font-size:24px;
	}
	h3
	{
		font-size:22px;
	}
	h4
	{
		font-size:18px;
	}

	.cform select, .cform input, .cform textarea
	{
		width:250px;
		max-width:250px;
	}
