/* 1.0.1 | 2013-05-21 | Dietmar | bikereldorado.com */

@charset "utf-8";

/* HTML5 display definitions */

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; height: 0; }
[hidden] { display: none; }

/* Base */

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea {
	font-family: Tahoma, Geneva, sans-serif;
	color: #333;
}
body {
	background: white;
	font-size: 14px; line-height: 1.231;
    margin: 0;
}

::selection {
	background: #000065; background: rgba(0,0,101, 0.5);
	color: white; text-shadow: none;
}

/* Links */

a { color: #006; }
a:hover { color: #03F; }
a:focus { outline: thin dotted; }
a:active, a:hover { outline: 0; }

h2 a, h3 a { color: #444; text-decoration: none; }

/* Typography */

h1, h2, h3 { font-weight: normal; line-height: 110%; text-align: left; }
h1 { font-size: 2em; margin: 0.67em 0; }
h2 { font-size: 1.5em; margin: 0.83em 0; }
h3 { font-size: 1.17em; margin: 1em 0; }
h4 { font-size: 1em; margin: 1.33em 0; }
h5 { font-size: 0.83em; margin: 1.67em 0; }
h6 { font-size: 0.67em; margin: 2.33em 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr {
	border: none; border-top: 1px dotted #ccc;
	-moz-box-sizing: content-box; box-sizing: content-box; display: block;
	height: 1px;
	margin: 1em 0; padding: 0;
}
mark { background: #ff0; color: #000; }
p, pre { margin: 1em 0; }
code, kbd, pre, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ''; content: none; }
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

/* Lists */

dl, menu, ol, ul { margin: 1em 0; }
dd { margin: 0 0 0 40px; }
menu, ol, ul { padding: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

/* Embedded content */

img { border: 0; -ms-interpolation-mode: bicubic; }
svg:not(:root) { overflow: hidden; }

/* Figures */

figure { margin: 0; }

/* Forms */

form { margin: 0; }
fieldset { border: 0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; }
legend { border: 0; padding: 0; white-space: normal; *margin-left: -7px; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, select { text-transform: none; }
button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; cursor: pointer; *overflow: visible; }
button[disabled], html input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *height: 13px; *width: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; }

/* Tables */

table { border-collapse: collapse; border-spacing: 0; }

/* CUSTOM CLASSES */

/* clearfix */
.cf:before, .cf:after {
	content: "";
	display: table;
}
.cf:after { clear: both; }
/* For IE 6/7 (triggers hasLayout) */
.cf { *zoom: 1; }

.s { font-size: 0.786em; }
.xs { font-size: 0.714em; }
.alignright { text-align: right; }
.alignleft { text-align: left; }
.aligncenter { text-align: center; }
.alignjustify { text-align: justify; }
.margintop { margin-top: 1em; }
.marginright { margin-right: 1em; }
.marginbottom { margin-bottom: 1em; }
.marginleft { margin-left: 1em; }
.right { float: right; }
.left { float: left; }

/* msg */
.msg, .msgerror { margin-bottom: 15px; padding: 4px; }
.msg h2, .msgerror h2 { margin: 0 0 10px 0; }
.msg ul, .msgerror ul { margin-top: 0; }
.msg { background-color: white; border: 1px solid #ddd; }
.msg h2 { color: #444; }
.msgerror { background-color: white; border: 1px solid #c00; }
.msgerror, .msgerror h2 { color: #c00; }

/* pagenav */
.pagenav { text-align: center; }
.pagenav span a {
	font-size: 1.214em; vertical-align: bottom;
	padding: 0 2px;
}
.pagenav a, .pagenav strong { margin: 2px; padding: 2px; }
.pagenav a:hover, .pagenav strong {
	border: 1px solid;
	margin: 1px;
}
.pagenav a, .pagenav a:hover { text-decoration: none; }
.pagenav a:hover { border-style: dotted; }

/* button */
a.button, button, input[type="submit"], input[type="button"] {
	background: #000065;
	border: 0;
	box-shadow: 1px 1px 2px 0 rgba(0,0,101,0.65);
	color: white; line-height: 25px; text-decoration: none; text-transform: uppercase;
	display: inline-block;
	padding: 0 10px;
}
a.button:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover { background: white; color: #000065; }
a.button.next:after, button.next:after { content: ' ›'; }
a.button.prev:before, button.prev:before { content: '‹ '; }

/* PRIMARY STYLES [layout] */

.wrapper {
	margin: 0 auto;
	position: relative; z-index: 50;
	width: 980px;
}

#header { margin-top: 8em; }
#header address, #langselect a {
	color: #024b87; font-size: 0.857em; font-style: normal; line-height: 15px; word-spacing: -1px; white-space: nowrap;
	position: absolute; top: 5px; left: 230px;
}
#header address a { text-decoration: none; }
#langselect a {
	right: 0; left: auto;
	text-decoration: none;
}

#nav_main {
	display: table;
	position: absolute; top: 25px; left: 230px;
	width: 750px; height: 36px;
}
#nav_main ul { display: table-row; }
#nav_main li {
	background: #024b87;
	border-right: 1px solid #8d8d8d;
	display: table-cell;
}
#nav_main li.active, #nav_main li:hover { background: #024b87; }
#nav_main li:hover {
	background: #003d6f;
}
#nav_main a {
	color: white; font-size: 20px; line-height: 36px; text-decoration: none;
	display: block;
	padding-right: 18px; padding-left: 18px;
}

main > div {
	background: url(/grafik/template/article_bg.png) repeat;
	overflow: auto;
	position: absolute; top: 50px; right: 0; z-index: 3;
	width: 45%;
}
#article_close {
    background: transparent url(/grafik/template/article_close.png) no-repeat center center!important;
	box-shadow: none;
    position: absolute; top: 5px; right: 5px;
    text-indent: -9999em;
    width: 16px; height: 16px;
}
main article { padding: 0.5em 2em 1.5em 2em; }
main article hr { clear: both; }

#footer {
	color: white; font-family: Arial, Helvetica, sans-serif; font-size: 0.85em;
	position: fixed; right: 0; bottom: 0; left: 0; z-index: 10;
	height: 70px;
}
#footer a { color: white; text-decoration: none; }
#nav_copyright {
	position: absolute; bottom: 10px; left: 10px;
}
#partner {
	position: absolute; right: 10px; bottom: 10px;
}

#maximage { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; }
#maximage > img { position: absolute; top: 0; left: 0; }

/* CONTENT */

main article { line-height: 160%; text-align: justify; }
main article h3 { font-weight: bold; }

/* PRINT STYLES */

@media print {
	* { background: transparent!important; color: black!important; text-shadow: none!important; filter:none!important; -ms-filter: none!important; }
	a, a:visited { text-decoration: underline; }
	a[href]:after { content: " [" attr(href) "]"; }
	abbr[title]:after { content: " [" attr(title) "]"; }
	.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
	pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
	thead { display: table-header-group; }
	tr, img { page-break-inside: avoid; }
	img { max-width: 100%!important; }
	@page { margin: 1.5cm; }
	p, h2, h3 { orphans: 3; widows: 3; }
	h2, h3 { page-break-after: avoid; }
	/* custom print styles */
	#header, #aside, #footer, #copyright { display: none; }
	main { background: none; box-shadow: none; margin: 0; }
	main article  { float: none; font-size: 16pt; padding: 0; width: 100%; }
	.slidebox dd { display: block!important; }
}

#showmobilemenu { 
	display: none;
	background-color: #000065;
	cursor: pointer;
	padding: 10px;
    position: absolute;
    text-indent: 2px;
    text-align: center;
    vertical-align: middle;
}
#showmobilemenu:hover {
	background-color: #35358A;
} 

/* RESPONSIVE */

@media screen and (max-width: 1020px) {
	.wrapper { 
		box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box;
		padding: 0 20px;
		max-width: 980px;
		width: 100%;
	}
	#logo {
		float: left;
		max-width: 210px;
	}
	#nav_main {
		float: left;
		margin-left: 20px;
		margin-bottom: 80px;
		max-width: 750px;
		position: static;
		width: 75%; width: calc( 100% - 230px);
	}
	main.wrapper { 
		clear: both; 
		z-index: 1; 
	}
	#header address, #langselect a {
		float: left; 
		margin: 5px 0 5px 20px ;
		position: static; 
	}
	#nav_main li { display: inline-block; }
	main > div {
		float: right;
		position: static;
		margin-bottom: 10em;
	}
	#footer { z-index: 0; }
}
@media screen and (max-width: 975px) {
	#langselect {
		font-size: 16px;
		right: 10px;
		position: absolute;
		top: -100px;
	}
	#nav_main li a { font-size: 18px; }
}
@media screen and (max-width: 925px) {
	#logo {
		display: block;
		float: none;
		margin: 0 auto;
	}
	#header address { 
		display: block;
		float: none;
		margin: 5px 0;
		text-align: center;
	}
	#nav_main {
		float: none;
		margin-left: 0;
		margin-bottom: 80px!important;
		margin: 0 auto;
		width: 100%; max-width: 641px; 
	}
	main > div { float: none; margin: 0 auto; margin-bottom: 10em; width: 100%!important; max-width: 640px; }
	#content { margin-right: 0px!important; }
	#content, #images { width: 100%!important; }
}
@media screen and (max-width: 700px) {
	#nav_main li a { 
		font-size: 16px;
		padding-left: 15px; 
		padding-right: 15px;
	}
	#nav_main { max-width: 558px; }
	#address, #fax { display: none; }
}
@media screen and (max-width: 680px) {
	#header { margin-top: 3em; }
	#langselect { top: -30px; }
	#header address { white-space: normal; }
	main.wrapper { margin-bottom: 10em; }
}
@media screen and (max-width: 615px) {
	#nav_main li a { font-size: 15px; }
	#nav_main { max-width: 530px; }
	article { text-align: left!important; }
}
@media screen and (max-width: 590px) {
	#showmobilemenu { display: block; }
	body.mobilemenu #nav_main { left: 0; }
	body.showmobilemenu main.wrapper, body.showmobilemenu #footer { display: none; }
	#nav_main {
		background-color: #000065;
		display: block;
		position: absolute;
		left: -570px; top: 170px; bottom: 0;
		height: 100vh;
		height: calc(100vh - 212px);
		margin-bottom: 0!important;
		width: 100%; max-width: 570px;
		transition: left 1s ease-in-out;
  		-webkit-transition: left 1s ease-in-out;
  		-moz-transition: left 1s ease-in-out;
  		-o-transition: left 1s ease-in-out;
	}
	#nav_main ul { margin-top: 1em; }
	#nav_main li, #nav_main ul { 
		display: block; 
		width: 100%; 
	}
	#nav_main li { background: none; }
	#nav_main li.active, #nav_main li:hover { background: none; background-color: #262677; }
	#nav_main li a { 
		font-size: 20px;
		padding-left: 20px; 
	}
	main.wrapper { margin-top: 5em; }
	main.wrapper div { z-index: 0; }
	article ul { text-align: left; }
	article a { word-break: break-word; }
	#maximage { z-index: -2; }
	#footer { bottom: 10px; text-align: center; }
	#partner img { margin-bottom: 10px; }
	#nav_copyright, #partner { position: static; }
}
@media screen and (max-width: 510px) {
	#maximage { display: none; }
	#nav_copyright, #nav_copyright a { color: #000; }
}
@media screen and (max-width: 450px) {
	article img {
		display: block;
		margin-bottom: 10px;
		position: static!important;
		width: 100%; height: auto;
	}
	main article { padding: 0.5em 1em 1.5em; }
}
@media screen and (max-width: 360px) {
	#nav_main { top: 190px; height: 100vh; height: calc(100vh - 232px); }
	a.lightbox { display: block!important; }
}
