html,
body {
   margin: 0px;
   padding: 0px;
   height:100%;
}

body {
	background: transparent url(../../graphics/hafendorf/background.png) repeat center top;
	text-align: center;
}

#wrapper {
    height: 100%;
	width: 1004px;
	margin: 0px auto 0px auto;
}
#website {
	min-height: 100%;
    height: auto !important;
    height: 100%;
    background: transparent url(../../graphics/hafendorf/webs-bg.png) repeat-y center top;
    float: left;
    position: relative;
}
.wide #website {
    background: transparent url(../../graphics/hafendorf/webs-bg-wide.png) repeat-y center top;
}
#header {
	width: 1004px;
	height: 119px;
	background: transparent url(../../graphics/hafendorf/header_image.png) no-repeat left top;
}
.blue #header {
	background: transparent url(../../graphics/hafendorf/header3.png) no-repeat left top;
}
.green #header {
	background: transparent url(../../graphics/hafendorf/header2.png) no-repeat left top;
}
#logo {
	width: 115px;
	height: 75px;
	float: left;
	margin: 27px 0px 0px 26px;
}
#header-right {
	width: 530px;
	float: left;
	margin: 100px 0px 0px 118px;
}
#main-content {
	width: 974px;
	margin: 0px 17px 0px 13px;
	float: left;
	background: transparent url(../../graphics/hafendorf/main-content.png) repeat-x left top;
}

#main-menu {
	width: 220px;
	float: left;
	min-height: 500px;
    height: auto !important;
    height: 500px;
    padding-bottom: 30px;
}
#content {
	width: 523px;
	float: left;
	min-height: 500px;
    height: auto !important;
    height: 500px;
    margin: 18px 0px 0px 6px;
    background: transparent url(../../graphics/hafendorf/content-top.png) no-repeat left top;
    padding-bottom: 30px;
}
.wide #content {
    background: transparent url(../../graphics/hafendorf/content-top-wide.png) no-repeat left top;
}
.wide #content {
	width: 748px;
	background-color: #ffffff;
	padding-bottom: 30px;
}
#inner-content {
	width: 499px;
	padding: 0px 12px;
	float: left;	
}
.wide #inner-content {
	width: 724px;
}
#right-side {
	width: 210px;
	margin: 18px 0px 0px 15px;
	padding-bottom: 30px;
	float: left;
	min-height: 500px;
    height: auto !important;
    height: 500px;	
}

#footer {
	width: 100%;
	float: left;
	margin: 10px 0px;
	position: absolute;
	bottom: 0px;
	left: 10px;	
}

/* box layout */
div.frame-blue,
div.frame-yellow,
div.frame-green {
	background: #50a6d9 url(../../graphics/hafendorf/blue-shadow.png) repeat-y right top;
	width: 206px;
	float: left;
	font-size: 11px;
	color: #FFFFFF;
	margin-bottom: 6px;
}
div.frame-yellow {
	background-color: #febe02;	
}
div.frame-green {
	background-color: #91b864;
}
div.frame-blue div.foot,
div.frame-yellow div.foot,
div.frame-green div.foot {
	background: transparent url(../../graphics/hafendorf/right-box-sprites.png) no-repeat left -20px;
	height: 10px;
	width: 205px;
	float: left;
}
div.frame-yellow div.foot {
	background: transparent url(../../graphics/hafendorf/right-box-sprites.png) no-repeat left top;
}
div.frame-green div.foot {
	background: transparent url(../../graphics/hafendorf/right-box-sprites.png) no-repeat left -10px;
}
div.frame-blue p,
div.frame-yellow p,
div.frame-green p {
	padding: 6px 16px 6px 10px;
}

div.col-bg {
	background: transparent url(../../graphics/hafendorf/bg-3col.gif) repeat-y left top;
	float: left;
	margin: 0px 0px 0px -4px;
}
div.col-top{
	background: transparent url(../../graphics/hafendorf/3col-top.png) no-repeat left top;
	width: 100%;
	float: left;	
}
div.three-columns {
	background: transparent url(../../graphics/hafendorf/3col-bottom.png) no-repeat left bottom;
	padding-bottom:20px;
	width: 512px;
	float: left;
}
div.three-columns1,
div.three-columns2,
div.three-columns3 {
	float: left;
	width: 170px;
	/*padding: 12px 0px;*/
}

div.three-columns1 h1,
div.three-columns2 h1,
div.three-columns3 h1{
	width:147px;
	padding: 0px 5px 0px 8px;
}

div.three-columns1 p,
div.three-columns2 p,
div.three-columns3 p{
	width:147px;
	padding: 0px 5px 0px 8px;
}