/* ----------------------------------------

	Hasch Style
	by www.proxenos.de

	v1.0 – 25.02.2013

	Colors:
		dark blue: 003656
		light blue: B6D3E2
		medium blue: 407896
		grey: 1E1E1E
		gold: 9A825F

---------------------------------------- */

@font-face {
    font-family: 'VollkornRegular';
    src: url('../font/Vollkorn-Regular-webfont.eot');
    src: url('../font/Vollkorn-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/Vollkorn-Regular-webfont.woff') format('woff'),
         url('../font/Vollkorn-Regular-webfont.ttf') format('truetype'),
         url('../font/Vollkorn-Regular-webfont.svg#VollkornRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
	background: #B6D3E2 url(../gfx/background.png) fixed left bottom no-repeat;
	background-size: auto auto;
	color: #1E1E1E;
	font-family: Arial, Verdana, sans-serif;
	font-size: 12px;
	line-height: 1.5em;
	text-align: center;
	/* Text auf iOS nicht automatisch vergrößern */
	-webkit-text-size-adjust: none;
}

#spacer {
	float: left;
	height: 50%;
	margin-bottom: -275px;
	width: 1px;
}

#wrapper {
	clear: left;
	min-height: 550px;
	margin: 0 auto;
	text-align: left;
	width: 820px;
}

#main {
	background: #FFF;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	-moz-box-shadow: 0 5px 5px rgba(0,0,0,0.22);
	-webkit-box-shadow: 0 5px 5px rgba(0,0,0,0.22);
	box-shadow: 0 5px 5px rgba(0,0,0,0.22);
	min-height: 520px;
}

#header {
	border-bottom: 1px solid #9A825F;
	height: 71px;
}

#logo {
	background: url(../gfx/logo.png) no-repeat;
	float: left;
	height: 60px;
	margin: 15px 0 0 18px;
	width: 270px;
}

#logo a {
	display: block;
	height: 60px;
	width: 270px;
}

.nav ul {
	font-family: 'VollkornRegular', 'Times New Roman', serif;
	font-size: 11px;
	list-style: none;
	margin: 0;
	text-align: right;
    text-transform: uppercase;
}

.nav ul li {
	display: inline;
	padding-left: 30px;
}

.nav .active a,
.nav :hover {
	color: #9A825F !important;
}

#navigation {
	float: right;
	margin: 38px 50px 0 0;
}

#navigation a,
#subnavigation a {
	color: #003656;
	font-size: 14px;
}

#subnavigation {
	margin: 8px 50px 0 0;
	position: absolute;
	width: 770px;
}

#subnavigation a {
	text-transform: none;
}

#content {
	padding: 20px 50px 0 50px;
}

#full {
	padding: 1px 0 3.5em 0;
}

#left {
	float: left;
	width: 396px;
}

#right {
	float: right;
	width: 274px;
}

#footer {
	padding-top: 14px;
}

#footer ul li {
	padding-left: 10px;
}

#footer a {
	color: #407896;
}



/* --- Content Elements --- */

.minimized-margin {
	margin-top: 0.5em;
}

a {
	color: #407896;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}

a:hover {
	color: #9A825F;
}

h1, h2, ol, p, ul {
	margin: 1.5em 0 0.5em 0;
}

h1, h2 {
	color: #9A825F;
	font-family: 'VollkornRegular', 'Times New Roman', serif;
    text-transform: uppercase;
}

h1 {
	font-size: 1.3em;
}

h2 {
	font-size: 14px;
}

img {
	border: 5px solid #FFF;
	-moz-box-shadow: 0 0 3px rgba(0,0,0,0.3);
	-webkit-box-shadow: 0 0 3px rgba(0,0,0,0.3);
	box-shadow: 0 0 3px rgba(0,0,0,0.3);
	margin-top: 30px;
}

ol, ul {
	margin-left: 2em;
}

ol {
	list-style-position: outside;
	list-style-type: decimal;
}

ul {
	list-style-position: outside;
	list-style-type: disc;
}

@media (max-width:819px){

	#logo{width:220px; margin-left:10px; background-position: left bottom; background-size:100% auto;}
	#logo a{width:100%; height:100%;}
	body{background-image:none;}
	#wrapper{width:auto; position: relative;}
	#content{padding:20px 50px;}
	#left, #right{float:none; width:auto;}

	#navigation{display:none; position: absolute; top:100px; left:0; right:0; background:#fff; margin:0; border-top:1px solid #003656; border-bottom:1px solid #003656}
	.nav ul li{display: block; text-align: center; padding:10px 20px;}

	.nav_button {
        height: 33px;
        width: 33px;
        cursor: pointer;
        display: block;
        position: relative;
        border-radius: 100%;
        position: absolute;
        top: 30px;
        right:10px;
    }

    .nav_button div {
        width: 23px;
        height: 3px;
        background: #003656;
        position: absolute;
        top: 10px;
        left: 5px;
        -webkit-transition: all 0.5s ease-in-out;
        -moz-transition: all 0.5s ease-in-out;
        -ms-transition: all 0.5s ease-in-out;
        -o-transition: all 0.5s ease-in-out;
        transition: all 0.5s ease-in-out;
    }

    .nav_button div.nav_button-2 {
        top: 16px;
    }

    .nav_button div.nav_button-3 {
        top: 22px;
    }

    .nav_button.active div {
        background: #9A825F;
    }

    .nav_button.active .nav_button-2 {
        opacity: 0;
    }

    .nav_button.active .nav_button-1 {
        top: 16px;
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
    }

    .nav_button.active .nav_button-3 {
        top: 16px;
        transform: rotate(135deg);
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        -ms-transform: rotate(135deg);
        -o-transform: rotate(135deg);
    }
}