/* = Stylesheet für Screen und Print = */

@media screen {

/* == Allgemein == */

html {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	min-width: 320px;
	margin: 0;
	padding: 0;
	font-size: 75%;
	background-color: #ffffff;
	color: #666666;
}

body, table, td, th, input, textarea, select {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	line-height: 1.5em;
}

table, td, th, input, textarea, select {
	font-size: 1em;
}

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

.no-touch a:hover {
	color: #FF3300;
}

img {
	border: none;
}

img.framed {
	border: 1px solid #000;
}

a img.framed {
	border: 1px solid #FF3300;
}

ul, ol {
	margin: 0 0 1.5em;
	padding-left: 1.5em;
}

ul.en-dashed {
	margin-left: 0;
	padding-left: 0;
	list-style-type: none;
}

ul.en-dashed li {
	padding-left: 1em;
}

ul.en-dashed li:before {
	content: "\2013";
	display: inline-block;
	width: 1em;
	margin-left: -1em;
}

p {
	margin: 0 0 1.5em;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-size: 1em;
	color: #999999;
}

h1 {
	margin-bottom: 1.5em;
}

table {
	border-collapse: collapse;
}

td, th {
	padding: 0;
	vertical-align: top;
}

form {
}

form > div {
}

form label {
	display: block;
	margin-top: 0.5em;
}

form label[for=consent] {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	width: 66.67%;
	margin-top: 1em;
	border: 1px solid #FF3300;
	padding: 2px 4px;
}

form input[type=text],
form textarea {
	display: block;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	width: 66.67%;
	margin: 0;
	border: 1px solid #FF3300;
	border-radius: 0;
	padding: 2px 4px;
	color: #666666;
}

form input[type=submit] {
	display: block;
	margin: 0;
	margin-top: 1em;
	border: 1px solid #FF3300;
	border-radius: 0;
	background-color: #FFFFFF;
	cursor: pointer;
}

form span.error {
	display: block;
	color: #FF3300;
}

form label[for=consent].error,
form input[type=text].error,
form textarea.error {
	background-color: #FFEBE6;
}

div.error-message,
div.success-message {
	margin-bottom: 1.5em;
	padding: 1.5em 1.5em 0;
}

div.error-message {
	border: 1px solid #FF3300;
	background-color: #FFEBE6;
}

div.success-message {
	border: 1px solid #00FF00;
	background-color: #E5FFE5;
}

div.clearer {
	clear: both;
}

.inv {
	position: absolute;
	top: 0;
	left: -1000em;
	width: 0;
	height: 0;
	overflow: visible;
	display: block;
}

.red-mark {
	color: #FF3300;
}

.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}


/* == Layoutboxen == */

#banner {
	height: 75px;
	padding-top: 39px;
	padding-bottom: 20px;
	padding-left: 20px;
}

#nav-toggle {
	display: none;
	margin-top: 11px;
	border: 0;
	padding: 0;
	background-color: transparent;
	background-image: none;
	cursor: pointer;
}

#nav-toggle:focus {
	outline: none;
}

#nav-toggle::-moz-focus-inner {
	padding: 0;
	border: 0;
}

#nav-toggle span.icon-bar {
	display: block;
	width: 25px;
	height: 5px;
	background-color: #CCC;
}

#nav-toggle span.icon-bar + span.icon-bar {
	margin-top: 5px;
}

#logo {
	display: block;
	float: left;
}

#logo img {
	display: block;
	width: 240px;
	height: 75px;
	background-image: url(../images/ra-simon_logo_1x.png);
	background-size: 240px 75px;
}

#navigation {
	position: absolute;
	top: 333px;
	left: 0;
	width: 260px;
	border-top: 1px solid #FF3300;
	padding-top: 20px;
	padding-right: 20px;
	text-align: right;
	line-height: 0;
}

#navigation ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#navigation a {
	display: inline-block;
	height: 25px;
	background-image: url(../images/menuitems_1x.png);
	background-size: 105px 250px;
}

#navigation a.navlink_kanzlei {
	background-position: 0 0;
	width: 50px;
}

#navigation a.navlink_kanzlei.active,
.no-touch #navigation a.navlink_kanzlei:hover {
	background-position: 0 -25px;
}

#navigation a.navlink_rechtsgebiete {
	background-position: 0 -50px;
	width: 102px;
}

#navigation a.navlink_rechtsgebiete.active,
.no-touch #navigation a.navlink_rechtsgebiete:hover {
	background-position: 0 -75px;
}

#navigation .navlink_kontakt {
	background-position: 0 -100px;
	width: 55px;
}

#navigation a.navlink_kontakt.active,
.no-touch #navigation a.navlink_kontakt:hover {
	background-position: 0 -125px;
}

#navigation .navlink_impressum {
	background-position: 0 -150px;
	width: 76px;
}

#navigation a.navlink_impressum.active,
.no-touch #navigation a.navlink_impressum:hover {
	background-position: 0 -175px;
}

#navigation .navlink_datenschutz {
	background-position: 0 -200px;
	width: 87px;
}

#navigation a.navlink_datenschutz.active,
.no-touch #navigation a.navlink_datenschutz:hover {
	background-position: 0 -225px;
}

#navigation form {
	margin-top: 25px;
}

#signature-wrapper {
	display: table;
	width: 100%;
}

#signature-left-margin {
	display: table-cell;
	width: 280px;
}

#signature {
	position: relative;
	display: table-cell;
	width: 498px;
	height: 198px;
	border: 1px solid #FF3300;
}

#signature img {
	display: block;
	width: 100%;
}

#signature.cycler img.crossfade {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
}

#signature-right-margin {
	display: table-cell;
	width: auto;
	border-top: 1px solid #FF3300;
}

#content {
	width: 500px;
	margin-top: 21px;
	margin-left: 280px;
	margin-bottom: 20px;
	font-size: 1em;
}

} /* media screen */


@media only screen and (-webkit-max-device-pixel-ratio: 4),
       only screen and (max-resolution: 4dppx) {
	
#navigation a {
	background-image: url(../images/menuitems_4x.png);
}

#logo img {
	background-image: url(../images/ra-simon_logo_4x.png);
}

} /* media only screen and (max-resolution: 4dppx) */


@media only screen and (-webkit-max-device-pixel-ratio: 3),
       only screen and (max-resolution: 3dppx) {
	
#navigation a {
	background-image: url(../images/menuitems_3x.png);
}

#logo img {
	background-image: url(../images/ra-simon_logo_3x.png);
}

} /* media only screen and (max-resolution: 3dppx) */


@media only screen and (-webkit-max-device-pixel-ratio: 2),
       only screen and (max-resolution: 2dppx) {
	
#navigation a {
	background-image: url(../images/menuitems_2x.png);
}

#logo img {
	background-image: url(../images/ra-simon_logo_2x.png);
}

} /* media only screen and (max-resolution: 2dppx) */


@media only screen and (-webkit-max-device-pixel-ratio: 1),
       only screen and (max-resolution: 1dppx) {
	
#navigation a {
	background-image: url(../images/menuitems_1x.png);
}

#logo img {
	background-image: url(../images/ra-simon_logo_1x.png);
}

} /* media only screen and (max-resolution: 1dppx) */


@media screen and (max-width: 799px) {

#banner {
	width: 500px;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	padding-left: 0;
}

#logo {
	margin-left: -3px;
}

#nav-toggle {
	display: block;
	float: right;
}

#navigation {
	display: none;
	position: static;
	width: 500px;
	margin-left: auto;
	margin-right: auto;
	border-top: none;
	padding-bottom: 17px;
	padding-top: 0;
	padding-right: 0;
	text-align: left;
}

.no-js #navigation {
	display: block;
}

#signature-left-margin {
	width: auto;
	border-bottom: 1px solid #FF3300;
}

#signature-right-margin {
	width: auto;
}

#content {
	margin-right: auto;
	margin-left: auto;
}

} /* media screen and (max-width: 799px) */


@media screen and (max-width: 520px) {

body {
	font-size: 93.75%;
}

body, table, td, th {
	line-height: 1.4em;
}

h1, p, ul, ol {
	margin-bottom: 1.4em;
}

form label[for=consent],
form input[type=text],
form textarea {
	width: 100%;
}

div.error-message,
div.success-message {
	margin-bottom: 1.4em;
	padding: 1.4em 10px 0;
}

#banner {
	width: auto;
	height: auto;
	margin-left: 10px;
	margin-right: 10px;
	padding-top: 10px;
	padding-bottom: 14px;
}

#navigation {
	width: auto;
	margin-left: 10px;
	margin-right: 10px;
}

#signature-left-margin {
	width: 10px;
}

#signature {
	width: auto;
	height: auto;
}

#signature-right-margin {
	width: 10px;
}

#content {
	width: auto;
	margin-right: 10px;
	margin-left: 10px;
}

} /* media screen and (max-width: 520px) */


@media print {

nav, .inv, #nav-toggle {
	display: none;
}

a {
	text-decoration: none;
}

#banner {
	margin-bottom: 2em;
}

} /* media print */
