* {
	font-family: Arial;
}

html,body,div,span,a,p,b,u,i,br,hr,th,td,tr,table,form,input {
	margin: 0;
	padding: 0;
}

img {
	border: none;
}

/** fix headers being able to push the body around inside the header */
div.header h1,div.header h2,div.header h3,div.header h4,div.headerh5,div.header h6 {
	margin: 0;
	padding-top: .4em;
	/*padding-bottom: .75em;*/
}
div.header h3 {
	padding-top: .2em;
	padding-bottom: 0.25em;
}

/*div.header, div.footer, div.contentwrapper {
	display:block;
}*/
div.header, div.footer {
	text-align: center;
	width:100%;
	background: #162448;
	background-image: url(../img/platine03.gif); /** leave css folder*/
	background-size: 197px;
}
div.footer {
	position:relative;
}
div.body {
	position:relative;
}
div.header {
	position:relative;
	color: #fff;
}
div.header .headerFoto {
	width: 0;
	height: 0;
	overflow: visible;
	position:absolute;
	top: 1em;
	right: 1em;
}
div.header .headerFoto img {
	height: 120px;
	position: absolute;
	right: 0;
	cursor: url(../img/fliege.png) 16 16, auto;
}
div.header .headerFoto img.matsch {
	cursor: url(../img/matsch.png) 16 16, auto;
}
div.header .headerBar {
	height: 25px; /* 100% = 38px */
	/*overflow: visible;*/
	background: url(../img/leiste.png) repeat-x;
	background-size: contain;
	position:absolute;
	/*top: 4.8em;*/
	left: 0;
	right: 0;
}
div.header .headerBild {
	width: 0;
	height: 0;
	overflow: visible;
	position:absolute;
	top: 1em;
	left: 1em;
}
div.header .headerBild img{
	height: 120px;
}
div.contentwrapper {
	width:100%;
	min-height:100%;
	min-height:calc(100vh - 307px);
	background-image: url(../img/chips.jpg);
	overflow: hidden;
}
div.contentwrapper .contentwidth {
	background: #e8e8ff;
	box-shadow: 0px 0px 10px 2px rgba(255,255,255,1);
}

div.footer {
	width:100%;
	min-height: 5em;
}

/** this will max out the content width for super wide screen,
 so we don't have to move our mouse 5 meters for content that fits 30cm */
.contentwidth {
	min-width: 360px;
	max-width: 1024px;
	margin: 0 auto;
}

/** description without any function at the top */
div.header .top {
	
}

/** clickable content in the middle (rough categories) */
div.header .middle {
	margin-top: 25px;	/* 25, weil Leiste 25px hoch */
}

.headerLink {
	color: #96c8ff !important;
	text-shadow: 0 0 0px #162448;
	transition: color ease-in-out .2s, text-shadow ease-in-out .2s;
	cursor: pointer;
	text-decoration: none;
}
.headerLink:hover {
	color: #c8e0ff !important;
	text-shadow: 0 0 1px #96c8ff;
}

div.header .middle span {
	display: inline-block;
	width: 120px;
	max-width: 120px;
	line-height: 2em;
}
div.header .middle #slider {
	/** trick as demonstrated on apps.eky.hk/css-triangle-generator */
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 16px 12px 16px;
	border-color: transparent transparent rgba(128,196,255,0.3);
	transition: margin ease-in-out .2s;
}
div.header .middle .sliderspace {
	width: 272px;
	margin: 0 auto;
}
div.header .middle #slider.pos1{
	margin-left:0px;
}
div.header .middle #slider.pos2{
	margin-left:120px;
}
div.header .middle #slider.pos3{
	margin-left:240px;
}

/** category menu and search bar */
div.header .bottom {
	position: relative;
	left: 0;
	right: 0;
	bottom: 0;
	height: 45px;
	background: rgba(128,196,255,0.3);
}
div.header .bottom #menu {
	z-index:1;
}

div.footer .aboutbar, div.footer .facebook {
	color: #fff;
}
div.footer .aboutbar {
	line-height: 1em;
	padding-bottom: 0.5em;
}
div.footer .facebook {
	padding-top: 3px;
	padding-bottom: 3px;
	background: linear-gradient(180deg, rgba(255,255,255,0) 0, rgba(255,255,255,0.5) 35%, #ffffff 100%);
	background: url(../img/fbbg.png) repeat-x;
	background-size: 26px;
}

div#content {
	padding:1em;
	padding-bottom:5em;
}

div#content ul li {
	padding-top:0.25em;
	padding-bottom:0.25em;
}

/** keyframe animation for loading */
@keyframes spin { 
  from { 
	transform: rotate(0) 
  } 
  to { 
	transform: rotate(360deg) 
  } 
}
@keyframes spin2 { 
  from { 
	transform: rotate(0deg) 
  } 
  to { 
	transform: rotate(-360deg) 
  } 
}
.loading {
	width:64px;
	margin-top:5em;
	margin-bottom:5em;
	margin-right:-32px;
	animation: spin 2.4s infinite linear;
}
.loading2 {
	width:64px;
	margin-top:5em;
	margin-bottom:5em;
	margin-left:-32px;
	animation: spin2 2s infinite linear;
}

p.error {
	margin:auto auto;
	padding-top:5em;
	padding-bottom:5em;
	font-size: 2em;
	color: #c83216;
	text-align: center;
}

div.header .bottom .contentwidth {
	display: table;
	width: 100%;
}

/* animated menu burger */
div.header .bottom .menubutton {
	width:33%;
	line-height:45px;
	font-size: 22.5px;
	display:table-cell;
	vertical-align: top;
	
	background:rgba(255,255,255,0);
	transition: background ease-in-out .2s;
}
div.header .bottom .menubutton:hover, div.header .bottom .menubutton.active {
	background:rgba(255,255,255,0.15);
}
div.header .bottom .menubutton .buttonwrapper {
	width:24px;
	height:16px;
	/*padding-top:14px;
	margin-bottom:-14px;*/
	display: inline-block;
	overflow: show;
}
div.header .bottom .menubutton .bar1 {
	width:24px;
	height:3px;
	border-radius:2px;
	background: white;
	transition: all .1s linear;
}
div.header .bottom .menubutton .bar2 {
	margin-top:4px;
	width:24px;
	height:3px;
	opacity: 1;
	border-radius:2px;
	background: white;
	transition: all .08s linear;
}
div.header .bottom .menubutton .bar3 {
	margin-top:4px;
	width:24px;
	height:3px;
	border-radius:2px;
	background: white;
	transition: all .1s linear;
}
div.header .bottom .menubutton.active .bar1 {
	width: 34px;
	margin-top: 8px;
	margin-left: -4px;
	transform: rotate(45deg);
}
div.header .bottom .menubutton.active .bar2 {
	margin-top: -3px;
	width: 24px;
	opacity: 0;
}
div.header .bottom .menubutton.active .bar3 {
	margin-top: -3px;
	margin-left: -4px;
	width: 34px;
	transform: rotate(-45deg);
}

div#menu {
	width: 100%;
	min-height: 1em;
	height: 0%;
	background: #f0f0ff;
	background: linear-gradient(0deg, rgba(0,0,0,0) 0, rgba(100,100,150,0.1) 1em, #f0f0ff 1em, #f0f0ff 100%);
	transition: all .1s ease-in-out;
	position:relative;
	overflow: hidden;
}
div#menu.open {
	min-height: 5em;
	height: auto;
	padding-bottom:2em;
}

div#menu #menucontent {
	padding-top:2em;
	text-align: left;
}
div#menu.open #menucontent {
	padding-top:0em;
}

#menucontent .menu {
	display: inline-block;
	color: #000;
	width: 200px;
	vertical-align: top;
	margin: .5em;
}
#menucontent .menu.main {
	border-right: thin solid gray;
}

#menucontent .menu ul{
	padding-left: 0.25em;
	list-style: none;
}

#menucontent .menu ul li{
	padding-top: 0.25em;
	padding-bottom: 0.25em;
}

div.header .bottom .search {
	display:table-cell;
	width:66%;
	color:#000;
}

div.header .bottom .search form {
	width:100%;
	display:inline-block;
	height:40px;
	position: relative;
    top: 2px;
}
div.header .bottom .search input[type=text] {
	height: 40px;
	border: 0;
	line-height: 40px;
	font-size: 20px;
	width:100%;
}
div.header .bottom .search span {
	display:block;
	overflow:hidden;
	margin-right:66px;
}
div.header .bottom .search input[type=submit] {
	font-size: 1.5em;
	height: 40px;
	border: 0;
	background: #3296e8;
	border-radius: 0 0.5em 0 0.5em;
	float:right;
	width:60px;
	margin-top: -40px;
}

a:link, a:visited, a:hover {
	color:#3248b0;
}
a:hover {
	color:#0000ff;
}

div#cookies {
	color:#ffffff;
	background: rgba(0,0,0,0.8);
	box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.5);
	position:absolute;
	top:20%;
	left:0;
	right:0;
	display: none;
	z-index: 1;
}

div#cookies table {
	width:600px;
	margin:auto auto;
	padding-top:.5em;
	padding-bottom:.5em;
}

div#cookies a:link, div#cookies a:hover, div#cookies a:visited {
	color:#ffc800;
	background:none;
	border:none;
	padding:none;
}

div.verlauf {
	height:0;
	background:#f00;
	position:relative;
	bottom:0;
	left:0;
	right:0;
	overflow-y: visible;
}

div.verlauf .flow {
	position: relative;
	bottom:0;
	left:0;
	right:0;
	top:-2.3em;
	height:2.3em;
	overflow: hidden;
	background:#000;
	background:linear-gradient(180deg, rgba(0,0,0,0) 0, rgba(75,75,130,0.3) 1em, #d0d0ff 1em, #ffffff 1.8em, #e8e8ff 1.8em, #c8c8ff 2.3em, #a0a0e8 2.3em, #d0d0ff 2.8em, #d0d0ff 100%);
	transition: all .2s ease-in-out;
}

div.verlauf .flow:hover {
	top:-220px;
	height:220px;
}

div#verlauf {
	height: 150px;
	padding-top:1em;
	overflow: hidden;
}
div.verlauf .flow:hover div#verlauf {
	display: table;
}

div.verlauf .flow .contentwidth {
	overflow-y: hidden;
	overflow-x: scroll;
}

div#verlauf a {
	text-align:center;
	display: table-cell;
	vertical-align: top;
	width: 150px;
	min-width: 150px;
}


div#content div {
	display: inline-block;
	padding-left: 20px;
	vertical-align: top;
}

div#content div img {
	max-width:100%;
}

/* hide header foto for super small devices */
@media (max-width: 750px) {
	.headerBild {
		display:none;
	}
}

@media (max-width: 550px) {
	.headerFoto {
		display:none;
	}
	div#content div {
		padding-left: 0px;
	}
}
