* {
	margin: 0px;
	padding: 0px;
}

body {
	#background: #b20000 url('images/background.png') repeat-x;
	color: #fff;
	font-family: arial, sans-serif;
	font-size: 11px;
	text-align: center;
	vertical-align: top;
}
table{
	background: #b20000 url('images/background.png') repeat-x;
	margin: auto;
	vertical-align: top;
	height: 772px;
	border-width: 10px;
	border-style:solid;
	border-color:#60160a;
	}
td{
	vertical-align: top;
	width: 900px;
}

a {
	color: #fff;
	background-color: inherit;
	font-weight: bold;
	text-decoration: underline;
}

a:hover {
	color: #f4a308;
	background-color: inherit;
}

/*
span {
	#display: none;
	line-height:20px;
}
*/

img {
	border: none;
}

ul {
	list-style-type: none;
}

li {
	list-style-type: none;
}

p {
	padding: 10px 0px 11px;
	text-align: justify;
	line-height: 16px;
}

.clearthis {
	margin : 0px;
	height : 1px;
	clear : both;
	float : none;
	font-size: 1px;
	line-height: 0px;
	overflow : hidden;
	visibility: hidden;
}


#body_wrapper {
	margin: 0px auto;
	width: 788px;
	background: url('images/header_bg.png') no-repeat 0% 0%;
}


/* Page Header */

#page_header {
	margin: 0px auto;
	width: 716px;
	height: 200px;
	overflow: hidden;
	text-align: left;
}

#company_name {
	width: 275px;
	float: left;
	padding-top:10px;
	font-family: Harlow Solid Italic;
	font-size: 12px;
}




/* Header Navigation */

#header_nav {
	width: 440px;
	height: 56px;
	overflow: hidden;
	float: left;
	text-align: left;
}

#header_nav ul {
	margin-top: 16px;
}

#header_nav li {
	height: 35px;
	background: url('images/menu_bullet.png') no-repeat 0% 0%;
	float: left;
}

#header_nav li a {
	display: block;
	padding: 10px 5px 0px 38px;
	text-decoration: none;
}

#header_nav li a:hover {
	color: #ffe400;
	background-color: inherit;
}


/* Left Sidebar */

#leftpferd {
	width: 120px;
	height: 129px;
	background: url('images/pferd.png') no-repeat 0% 0%;
	float: right;
}

#leftsidebar_1 {
	margin-top: 20px;
	padding-left: 36px;
	background: url('images/sidebar_top.png') no-repeat 36px 0%;
	float: left;
	text-align: left;
}

#leftsidebar_2 {
	padding: 11px 0px;
	width: 154px;
	background: url('images/sidebar_bot.png') no-repeat 0% 100%;
}

#leftsidebar_content {
	padding: 15px 20px 15px 25px;
	color: #f4a308;
	background: #60160a url('images/sidebar_bg.gif') repeat-y;
	font-weight: bold;
}

#leftsidebar_content a {
	color: #f4a308;
	background-color: inherit;
	text-decoration: none;
}

#leftsidebar_content a:hover {
	color: #fff;
	background-color: inherit;
}

#leftsidebar_content li {
	padding: 4px 0px;
}


/* Main Content */

#maincontent_1 {
	margin-top: 20px;
	padding-right: 40px;
	background: url('images/main_top.gif') no-repeat 0% 0%;
	float: right;
	text-align: left;
}

#maincontent_2 {
	padding: 12px 0px;
	width: 520px;
	background: url('images/main_bot.gif') no-repeat 0% 100%;
}

#maincontent_content {
	padding: 0px 20px;
	color: #4b3001;
	background: #c9953b url('images/main_bg.gif') repeat-y 0% 0%;
	font-family: verdana, arial, sans-serif;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	height: 486px;
}

#maincontent_content_small {
	padding: 0px 0px;
	color: #4b3001;
	font-family: verdana, arial, sans-serif;
	font-size: 12px;
	text-align: left;
}

#maincontent_content a {
	color: #4b3001;
	background-color: inherit;
}

#maincontent_content a:hover {
	color: #724c04;
	background-color: inherit;
}

#referenzen {
	padding-left: 40px;
	font-size: 16px;
	text-align: left;
	line-height: 200%;
}

#referenzen ul{
list-style-image:url(images/star.png);
}

#overlay  a {
	background-color: transparent;
}

#overlay  a:hover {
	background-color: transparent;
}

#overlay table{
	margin: auto;
	padding:20px 0px 60px 0px;
	vertical-align: top;
	height: 400px;
	border-width: 0px;
	background: transparent;
	}

/* the overlayed element */
.simple_overlay {
	
	/* must be initially hidden */
	display:none;
	
	/* place overlay on top of other elements */
	z-index:10000;
	
	/* styling */
	background: #b20000 url('images/background_pics.png') repeat-x;	
	width:700px;	
	min-height:560px;
	border:3px solid #FFFFFF;
	top: 10%;

	
	/* CSS3 styling for latest browsers */
	-moz-box-shadow:0 0 90px 5px #000;
	-webkit-box-shadow: 0 0 90px #000;	
}

/* close button positioned on upper right corner */
.simple_overlay .close {
	background-image:url(images/close.png);
	position:absolute;
	right:-15px;
	top:-15px;
	cursor:pointer;
	height:35px;
	width:35px;
}
