@media all {
	h1, h2, h3 {
		margin-top: 2em;
	}
	a {
		color: #ef3e23;
	}
	th, td {
		border: 0 none;
	}
	#hd, #bd, #ft {
		clear: both;
	}
	#hd {
		height: 75px;
		height: 4.1em;
		padding: 22px 30px 0;
		background-color: white;
	}
	#hd_logo {
		text-align: right;
		float: right;
	}


	#hd_navi {
		float: left;
	}
	#hd_navi ul {
		clear: both;
		margin: 0;
	}
	#hd_navi ul li {
		float: left;
		list-style-image: none;
		list-style-type:  none;
		margin:  0 0.25em 0 0;
		padding: 0 0.25em;
	}

	#hd_navi a,
	#ft a {
		font-weight: bold;
		color: #aaa;
		text-decoration: none;
		background-color: white;
	}
	#ft {
		font-size:  85%;
		text-align: right;
		padding: 1em 12px 2em 0;
		background-color: white;
	}
	#ft a {
		padding: 5px 10px;
	}
	h1.titel {
		margin: 0 0 0 10px;
		padding: 90px 0 10px 30px;
		color: #cbccc9;
		font-size: 197%;
		font-variant: small-caps;
		margin-top: 0;
	}
	.abstandhalter {
		padding: 0 20px 20px 0;
	}
	.rot {
		color: #EF3E23;
	}
	.grau {
		color: #C3C3C3;
	}
	.box {
		border:     10px solid white;
		padding:    20px 30px;
	}
	.box h1,
	.box h2,
	.box h3 {
		padding-top: 2em;
		margin-top: 0;
	}

	ul.li_spitze {
		margin-left: 15px;
	}
	ul.li_spitze li {
		list-style-image: url(../img/li_spitze.gif);
	}

	.subtext {
		font-style: italic;
		font-size: 85%;
	}

	input[type="text"], input[type="password"], textarea {
		width: 24.5em;
	}

	input.input_plz {
		width: 5.5em;
	}
	input.input_ort {
		width: 18.4em;
	}

	h2.erste_ueberschrift {
		margin-top: 0;
		padding-top: 0;
	}

	th {
		text-align: left;
	}

	table.datagrid {
		page-break-inside: avoid;
	}
	tr.qf_section_bestellliste td.qf_element {
		text-align: right;
	}
	tr.qf_section_bestellliste td.qf_type_static {
		text-align: left;
		padding-top: 1.5em;
		font-size: 108%;
	}
	th.qf_header {
		font-size: 116%;
	}

	table.qf_table tr:hover {
		background-color: white;
	}

	.qf_error {
		color: red;
	}


}

@media screen {

	#doc4 {
		width: 974px;
		background-image: url(../img/bg_body.gif);
		background-position: center 100%;
		background-repeat: repeat-y;
	}
	#body {
		background-image: url(../img/bg_content_bottom.jpg);
		background-color: rgb(179,2,2);
		background-position: center top;
		width: 950px;
		margin: 0 12px;
	}
	#bdft {
		background-image: url(../img/bg_content_top.jpg);
		background-position: center top;
		background-repeat: no-repeat;
		padding: 0 150px 3em;
	}
	#bd {
		height: auto;
		min-height: 400px;
		_height: 400px; /* IE-Hack */
	}
	.box {
		background-image: url(../img/bg_content.png);
		height:     auto;
		min-height: 120px;
		_height:    120px; /* IE-Hack */
		float:      left;
	}
	#map24 {
		height: 16.25em;
		min-height: 210px;
		_height: 210px; /* IE-Hack */
	}

}

@media print {
	#doc4 {
		width: auto;
	}
}

.small {
	font-size: 77%;
}
