html, body {
	background: #1d1e1f url('../images/bodyin.gif') repeat-y center top;
	margin: 0;
	padding: 0;
	height: 100%;
	text-align: center;
  .behavior: url('../../csshover.htc');  
  text-align: center;  	
}
#wrapper {
  background:  url('../images/bgr.jpg') repeat-x left top;
  .behavior: url('../csshover.htc');	
  text-align: center;  
				position: relative;
				min-height: 100%;
				height: 100%;
				voice-family: "\"}\"";
				voice-family: inherit;
				height: auto;
}
html>body #wrapper {
				height: auto;
			}

#main {
	padding: 0px 0px;
	background:  #262728  url('../images/main.jpg') no-repeat left 80px;
	position: relative;
	text-align: left;
	width: 957px;
	margin: 0 auto;
	padding-bottom: 77px;
  .behavior: url('./csshover.htc');	
}
#inmain {

}
#top {
	height: 80px;
	background: #fff url('../images/menubgr.jpg') repeat-x left top;
}
h1, h1 span {
	display: block;
	width: 164px;
	height: 65px;
	padding: 0;
	margin: 8px 0 0 13px;
	font-size: 120%;
	overflow: hidden;
	position: absolute;
	text-align: left;
}
h1 a {
	color: #000;
	text-decoration: none;
	position: absolute;
	top: 0;
	left: 0;
	text-align: center;
	line-height: 55px;
	padding-left: 10px;
}
h1 span {
	top: 0;
	left: 0;
	position: absolute;
	background: transparent url('../images/logo.jpg') no-repeat left top;
	z-index: 10;
	cursor: pointer;
	margin: 0;
	border: none;
}
/* loga ende */



#content {
	padding: 0 10px;
	min-height: 400px;
	_height: 400px;
}
#sidebox {
	width: 250px;
	margin-top: 10px;
	margin-right: 20px;
	float: right;
 
}

#sidebox .pparts{
 background: #393a3a;
 padding-bottom: 5px;
}
#sidebox .pparts h3{
  margin-top: 0;
  background: #1d1e1f url('../images/sideh3.gif') repeat-x left bottom;
  border-top: 1px solid #1d1e1f;
  padding: 5px 10px;
  color: #fff;
} 
#sidebox .pparts p{
 margin: 15px;
}
#text {
	padding-left: 10px;
	padding-top: 7px;
	.padding-top: 2px;

}
#text.isbox {
	padding-left: 10px;
	float: left;
	width: 626px;
	.margin-top: 18px;
	padding-left: 10px;
	padding-top: 7px;
	.padding-top: 2px;
}
#content h2 {
	padding: 0;
	position: relative;
}
#content h2 em{
 display: block;
 position: absolute;
 width: 62px;
 height: 65px;
 left:-62px;
 top: -20px;
 background: url('../images/h2em.jpg') no-repeat left top;
 }
#content h2 span {
	color: #fff;
	background: #c1001f;
 border: 1px solid #9a081f;
	display: block;
	width: auto;
	floaT: left;
	padding: 0 35px;
	line-height: 41px;
	margin-bottom: 2em;
	text-transform: uppercase;
}
#content #sidebox h2 {
	margin-left: -20px;
}
.clr{
	clear: both;
	margin: 0;
	padding: 0;
	height: 0;
	line-height: 0px;
	font-size: 0px;
	border: none;
}
#mainclr {
	clear: both;
	margin: 0;
	padding: 0;
	height: 20px;
	line-height: 20px;
	font-size: 20px;
}
#main img.left {
	float: left;
	margin: 0 1em 1em 0;
	padding: 1px;
  border: 3px solid #515352;
}
#main img.right {
	float: right;
	margin: 0 0 1em 1em;
	padding: 1px;
 border: 3px solid #515352;
}

#main #content #homerefs img{
border: 3px solid #000;
}

#main .imggal {
	float: left;
	margin: 0 3px 3px 0;
}
#main .imggal img {
	padding: 2px;
	border: 3px solid #303132;
}
#main .imggal a:hover img {
	padding: 2px;
	border: 3px solid #000;
}
#content a:hover img {
 border: 3px solid #303132;
}
.pparts {
	clear: both;
	margin-top: 1em;
}
#main img.downimg {
	border: none;
	margin-right: 5px;
}
#main a:hover img.downimg {
	border: none;
}
#lefthalf, #righthalf {
	width: 312px;
	border-left: 1px solid  #cfe1ef;
}
#lefthalf {
	float: left;
	width: 311px;
}
#lefthalf h2, #righthalf h2 {
	color: #fff;
	margin-top: -10px;
	margin-bottom: 0;
	line-height: 2.5em;
	padding: 0 0.5em;
}
#lefthalf h2 {
	background: #150e38;
}
#righthalf {
	float: right;
}
#righthalf h2 {
	background: #2b1f5d;
}
.mng {
	margin: 1em 18px 18px 18px;
	border-bottom: 1px solid #cfe1ef;
	min-height: 120px;
	padding-bottom: 15px;
}
.mng b{
 color: #3E2B8F;
}
p.greenbox {
	margin-top: 1em;
}
p.greenbox a, .sendbutton {
	padding: 3px 7px 3px 12px;
	color: #fff;
	background: #03b7ac url('../images/greenbox.gif') no-repeat 5px center;
}
#footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
	background:  #555657 url('../images/footer.gif') repeat-x left top;
	margin: 0px;
	color: #bad3d6;
	line-height: 3em;
	padding: 0 ;
	line-height: 60px;
	text-align: center;
}
#footer div{
  width: 927px;
  margin: 0 auto;
  background: #5c5d5d url('../images/footerin.gif') repeat-x left top;
  text-align: left;
  padding: 0 15px;
  color: #8d8e8e;
}
#footer a {
  color: #8d8e8e;
}
#footer a:hover {
  color: #c0c0c0;
}
#footer span {
	floaT: right;
}
#footer span img {
	border: none;
	margin-top: 8px;
}
#main #footer img a:hover{
 border: none;
}
#content ul{
 margin-left: 0;
 padding-left: 1em;
}

table, tr, th, td{
 border-collapse: collapse;
 border: 1px solid #d0f4f3;
}
table {
 border: 5px solid #d0f4f3;
}
th, td{
 padding: 5px 8px;
 text-align: left;
 vertical-align: top;
}


/*hover magic */
#menu {
	margin: 10px;
	height: auto;
	min-height: 80px;
	_height: 80px;
	padding: 0;
	list-style-type: none;
	background: red url('../images/menubgr.jpg') repeat-x left top;
	float: right;
}
#menu li {
	margin: 0;
	padding: 0;
	border-left: 1px solid #fff;
	height: auto;
	min-height: 80px;
	_height: 80px;
    float: left; 
    position: relative;
    list-style-type: none;
    background: #fff url('../images/menuli.png') no-repeat right top;
}
#menu li.first {
	border: none;
}
#menu li a {
	color: #fff;
	font-size: 12px;
	padding: 0 0px;
	display: block;
	text-decoration: none;
	text-align: center;
	height: auto;
	min-height: 80px;
	_height: 80px;
	line-height: 80px;
  background: url('../images/menua.png') right top no-repeat; 0;
  text-decoration: none; 
  padding: 0 1.5em;
  color: #000
}
#menu li a.active {

}
#menu {
   font-family:   "Trebuchet MS", "Tahoma CE", Tahoma, "Arial CE", Arial, "Lucida Grande CE", Lucida, "Helvetica CE", Helvetica, sans-serif;
    font-size: 1em;  
    margin: 0; padding: 0; list-style-type: none;
    z-index: 500;
}
#menu li a.active { background: url('../images/menubt.png') 0 -86px no-repeat; }
#menu li a:hover { background: none; color: #c1001f;}
/* dropdown */
#menu li ul {
    position: absolute; top: 80px; left: 6px; _left: 7px;
    width: 147px; margin:0; padding: 1px; _width: 149px;
    display: none;
    background: url('../images/menubg.png') top left;
    border: 1px solid #9e9e9e;
    z-index: 1000;

}
#menu li li {
    float: none; width: 100%; border: none;
    display: block; margin: 0; padding: 0;
    _height: 1px; .float: left; line-height: 3em; min-height: 3em;
}
#menu li li a { color: #c1001f; padding: 0; display: block;  text-decoration: none; margin: 0 4px;  border-bottom: 1px solid #dbdbdb; background: none; height: auto; min-height: 3em; line-height: 3em;    }
#menu li li a:hover { background: url('../images/menubg2.png'); _background: url('../images/menubg2.gif');  color: #000; text-decoration: none; }
#menu a.submenu, #menu a.submenu:visited, #menu span.submenu { background: url('../images/menubg-submenu.png') right 50% no-repeat; }
#menu a.submenu:hover { background: url('../images/menubg2-submenu.png') right 50% no-repeat; _background: url('../images/menubg2-submenu.gif') right 50% no-repeat; }
#menu a.line { border-bottom: 1px solid #ffffff; }
#menu ul.folder { left: -30px; top: 80px; background: #fff; width: 15em; display: none; visibility: hidden; border-left: none; border-right: 3px solid #3a3a3a; border-bottom: 3px solid #3a3a3a; }
#menu li:hover { z-index: 100; }
#menu li:hover ul.folder li:hover { z-index: 140; }
#menu ul ul, #menu li:hover ul ul, #menu li:hover ul.folder li ul, #menu li:hover ul li ul.folder { display:none; visibility: hidden; z-index: 0; }
#menu li:hover ul, #menu li:hover li:hover ul, #menu li:hover ul.folder li:hover ul, #menu li:hover ul li:hover ul.folder { display:block; visibility: visible; z-index: 1000; }
#sidebox .pparts  .refssidebox{
  width: 190px;
  margin-left: 30px;
}
#sidebox .pparts .refssidebox img{
  float: none;
  margin: 0;
}
#sidebox #insidebox{
 margin: 10px 10px 0 10px;
}
#sidebox #insidebox div{
  border-bottom: 1px solid #515352;
  padding: 5px 5px 0 5px;
}
#insidebox .opened{
 background: #515352;
}
#sidebox #insidebox div.clr{
  border: none;
}
#sidebox #insidebox span{
 clear: both;
 display: block;
 float: left;
 width: 60px;
}
#sidebox #insidebox a{
 display: block;
 float: right;
 width: 160px;
}
#insidebox .opened span{
 color: #fff;
 text-decoration: none;
}
#insidebox .opened a{
 color: #fff;
 text-decoration: none;
}

