/** RESET AND CLEARFIX
================================================**/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, 
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
/*table, caption, tbody, tfoot, thead, tr, th, td,*/
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
   xxmargin: 10 0 0 10;
	background: #bdbdbd;
	background-image:url(bilder/bg2.gif);
	background-repeat:repeat;
	line-height: 1;
	color: #000000;
	font-family: "Helvetica", "Arial", sans-serif;
  font-style: normal;
  font-weight: normal;
  overflow-y:scroll; 
  height: 100%;
}

ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/** TYPOGRAPHY
================================================**/

a {
	color: #FFFF99;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

em {
	font-style: italic;
}

strong, b {
	font-weight: bold;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
	color: #ff0000;	
}

h1 {
	font-size: 2em;
	line-height: 1.25em;
	text-align: left;
}

h2 {
	font-size: 1.75em;
	margin-bottom: 35px;
}

h3 {
	font-size: 1.25em;
	margin-bottom: 10px;
}

p {
	font-size: 1em;
	line-height: 1.35em;
	color: #555;
	margin-bottom: 20px;
}

pre {
   font-size: 1.25em;
}
p.intro {
	font-size: 1.125em;
	margin-bottom: 35px;
}

hr {
	border: 0;
	border-top: solid #ddd 1px;
	margin: 40px 0;
}

img {
    border:0;
}



/** LAYOUT
================================================**/

.inner {
	width: 1000px;
	position: relative;
	margin: 0 auto;
	text-align:left; /** für FF **/
}

#main {
	padding: 20px 0;
	text-align:center; /** für IE **/
}

#twocolleft {
	float:left;
	width:480px;
	margin: 0;
}

#twocolright {
	float:right;
	width:480px;
	margin: 0;
}


/** HOME
================================================**/

.home .bx-wrapper {
	margin: 30px auto 40px;
}


/** Header und Footer ==> mit # weil zu einem div mit id
================================================**/

.wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -115px;
}

#footer, .push {
	height: 115px;
}

#header {
	background: #2d2d2d;
	padding: 5px 0 10px 0;
	border-bottom: solid 3px #666666;
	background-image:url(bilder/bg2s.gif);
	background-repeat:repeat;
	text-align:center; /** für IE **/
}

#footer {
  clear:both;
	background: #aaaaaa;
	border-top: solid 3px #a3a3a3;
	font-family: "Arial";
	background-image:url(bilder/bg2d.gif);
	background-repeat:repeat;
	text-align:center; /** für IE **/
}

#footer p {
	margin-bottom: 0px;
}

#footer .counter {
	padding-top: 20px;
}


/** RESPONSIVE BREAKPOINTS
================================================**/

@media(max-width: 1040px){
	
	.inner {
		width: 100%;
	}
	
	.reference-wrap {
		right: 20px;
	}
	
	h1 {
   	width: 90%;
		font-size: 1.5em;
		margin: 0 auto;
	}
	
	.home .bx-wrapper {
		width: 90%;
	}

	#twocolleft {
		width: 45%;
		margin:10px 0 20px 20px;
	}
	
	#twocolright {
		width: 45%;
		margin:10px 0 20px 20px;
	}
		
}

@media(max-width: 850px){

	#leftarr, #rightarr {
		display: none;
	}
}

@media(max-width: 700px){
	
	h1 {
		font-size: 1.25em;
	}
	
	#main {
		padding-top: 20px;
	}
	
	#twocolleft {
		float:left;
		width: 90%;
		margin:10px 0 10px 20px;
	}
	
	#twocolright {
		float:left;
		width: 90%;
		margin:10px 0 10px 20px;
	}
		
}

@media(max-width: 590px){
	
	h1 {
		font-size: 1em;
	}
	
	.reference-wrap {
		display: none;
	}
	
	#footer {
		font-size: 85%;
	}
	
}