/* Suggested order (by http://www.mozilla.org/css/base/content.css):
 * display
 * list-style
 * position
 * float
 * clear
 * width
 * height
 * margin
 * padding
 * border
 * background
 * color
 * font
 * text-decoration
 * text-align
 * vertical-align
 * white-space
 * other text
 * content
 *
 */

/* general */

* {
	margin: 0;
	padding: 0;
	font-family: Verdana, Arial, sans-serif;
}

html, body {
	width: 100%;
}
body {
	background: #FFFFFF url(/img/bg.jpg) repeat-x;
	padding-bottom: 12px;
	font-size: 16px;
}

img {
	border: none;
}

a {
	outline: none;
}

/* Layout */

#container {
	width: 820px;
	margin-top: 15px;
	margin-left: auto;
	margin-right: auto;
	padding-right: 6px;
	background-color: #DCE5EF;
	background-image: url(/img/container-bg.png);
	background-repeat: repeat-y;
	background-position: 820px 0;
}

#footer {
	width: 100%;
	height: 6px;
	padding-right: 6px;
	line-height: 0px;
	background: #DCE5EF url(/img/footer-bg.png) no-repeat;
	clear: both;
	overflow: hidden;
}

#header {
	width: 100%;
	padding-right: 6px;
	background: #FFF url(/img/header-bg.png) no-repeat 820px 0;
}
#logo {
	width: 272px;
	float: left;
	line-height: 0px;
}
#menu-top {
	width: 547px;
	min-height: 5.5em;
	float: left;
	border-left: 1px solid #D8D7D7;
	font-size: 0.8em;
/* 	font-size: 12px; */
	color: #545454;
	position: relative;
}
#menu-top ul.top-1 {
	position: relative;
	float: left;
	list-style: none;
	width: 396px;
	border-right: 1px solid #D8D7D7;
	margin-left: -1px;
}
#menu-top ul.top-1 li {
	float: left;
	border-left: 1px solid #D8D7D7;
	margin-right: 0px;
}
#menu-top ul li a,
#menu-top ul li a:visited {
	display: block;
	min-height: 6em;
	padding: 0.57em;
	text-decoration: none;
	color: #545454;
	background: #fff;
}
#menu-top ul.top-1 li a:hover,
#menu-top ul.top-1 li a.active {
/* 	margin-top: -1px; */
	background: #fff url(/img/top-menu-1-bg.png) repeat-x;
}

#menu-top ul.top-2 {
	list-style: none;
	margin-top: -1px;
	width: 151px;
	position: absolute;
	top: 0;
	right: 0;
}
#menu-top ul.top-2 li {
	border-top: 1px solid #D8D7D7;
	text-align: right;
	min-height: 1.8em;
}
#menu-top ul.top-2 li a,
#menu-top ul.top-2 li a:visited,
#menu-top ul.top-2 li#size span {
	display: block;
	min-height: 0.8em;
	padding: 0.5em;
}
#menu-top ul.top-2 li a:hover {
	background: #fff url(/img/top-menu-2-bg.png) repeat-x;
}

#menu-top ul.top-2 li a.size {
	padding: 0;
	display: block;
	float: left;
	width: 11px !important;
	height: 11px !important;
	text-indent:-9999px !important;
	text-align: left;
	overflow: hidden !important;
	margin-right: 8px;
	line-height: 0;
	font-size: 1px;
}

#menu-top ul.top-2 li a.plus {
	background: url(/img/plus-minus.png) no-repeat 0 0;
}
#menu-top ul.top-2 li a.plus:hover {
	background: url(/img/plus-minus.png) no-repeat 0 -11px;
}
#menu-top ul.top-2 li a.minus {
	background: url(/img/plus-minus.png) no-repeat -11px 0;
}
#menu-top ul.top-2 li a.minus:hover {
	background: url(/img/plus-minus.png) no-repeat -11px -11px;
}

li#size {
	border-top: none !important;
}

li#size span {
	padding-right: 50px !important;
}

li#size div {
	position: absolute;
	top: 10px;
	right: 0px;
}

li#print a img {
	margin-bottom: -1px;
}

#photos {
	width: 100%;
	height: 200px;
	float: left;
	position: relative;
}
#photos img.photo1 {
	margin-right: 6px;
}

#menu-main {
	width: 100%;
	background-color: #2D4980;
	border-top: 1px solid #2D4980;
	border-bottom: 1px solid #2D4980;
	font-size: 0.8em;
	font-weight: bold;
}
#menu-main ul {
	list-style: none;
}
#menu-main ul li {
	float: left;
	position: relative;
	margin-left: 0.7em;
	color: #fff;
/* 	background: #2D4980; */
}
#menu-main ul li a,
#menu-main ul li a:visited {
	display: block;
	color: #fff;
	text-decoration: none;
	padding: 0.4em;
}
#menu-main ul li.hover {
	z-index: 40;
}
#menu-main ul li:hover a,
#menu-main ul li.hover a,
#menu-main ul li a:hover,
#menu-main ul li a.active {
	color: #2D4980 !important;
	background: #fff;
}

#menu-main li ul {
	float: none;
	top: -999em;
	position: absolute;
	border-top: 1px solid #2D4980;
	border-left: 1px solid #2D4980;
	border-right: 1px solid #2D4980;
	min-width: 16em;
	clear: left;
	background: #fff;
}
#menu-main li:hover ul, /* pure CSS hover is removed below */
#menu-main li.hover ul {
	left: -1px;
	top: 2em;
	z-index: 40;
}
#menu-main li ul li {
	padding: 0 0;
	width: 16em;
	background: #fff;
	margin-left: -1px;
	border-left: 1px solid #2D4980;
	border-bottom: 1px solid #2D4980;
	float: left;
	clear: none;
}
#menu-main li ul li a {
	color: #2D4980 !important;
}
#menu-main li ul li a.elisabethenheim-muellheim:hover {
	background: #EDDDF0;
}
#menu-main li ul li a.bethesda-badenweiler:hover {
	background: #FAEFBF;
}
#menu-main li ul li a.pflegeheim-sulzburg:hover {
	background: #EAEED4;
}

#news {
	width: 213px;
	border: 1px solid #2D4980;
	border-bottom: 10px solid  #2D4980;
	background: #6E84AA;
	float: left; 
	margin: 35px 25px;
}

#content {
	width: 510px;
	float: left;
	margin: 40px 0 40px 10px;
	position: relative;
}


#news h1  {
	font-size: 0.9em;
	border-bottom: 1px solid #2D4980;
}
#news h1 a,
#news h1 a:visited {
	border: 2px solid #fff;
	text-decoration: none;
	display: block;
	padding: 0.2em 0.4em;
	color: #2D4980;
	background: #fff;
}
#news h1 a:hover,
#news h1 a.active {
	color: #fff;
	background: #2D4980;
}
#news h2 {
	font-size: 0.8em;
	margin: 0.5em 0.5em 0 0.5em;
	color: #fff;
}
#news p, #news ul, #news ol {
	font-size: 0.8em;
	margin: 0em 0.5em 0.5em 0.5em;
	color: #fff;
}
#news ul, #news ol, #content ul, #content ol {
	margin-left: 1.7em;
}
#news p.more {
}
#news p.more a,
#news p.more a:visited {
	padding-left: 15px;
	background: url(/img/more.png) no-repeat 0 0.2em;
	text-decoration: none;
	color: #fff;
}
#news p.more a:hover {
	text-decoration: underline;
}
#news hr {
	border: none;
	border-top: 1px dashed #000;
	margin: 0.7em 0.4em 0.5em 0.4em;
}


#content h1 {
	font-size: 1.1em;
	color: #2D4980;
	margin-bottom: 0.8em;
}
#content h1 span.submenu {
	font-size: 0.8em;
	color: #000;
}
#content h1 span.submenu a,
#content h1 span.submenu a:visited {
	text-decoration: none;
}
#content h1 span.submenu a:hover,
#content h1 span.submenu a.active {
	color: #c40000;
	text-decoration: none;
}
#content h2 {
	font-size: 0.9em;
	color: #000;
	margin-bottom: 0.8em;
}
#content h2.u {
	border-bottom: 1px solid #2d4980;
	padding-bottom: 0.2em;
}
#content h2 a,
#content h2 a:visited {
	text-decoration: none;
}
#content h3 {
	font-weight: bold;
}
#content p, #content ul, #content ol, #content h3 {
	font-size: 0.8em;
	color: #000;
	margin-bottom: 1em;
	line-height: 1.4em;
}
#content ul {
	margin-left: 1.5em;
}
#content ul.links,
#content ul.downloads {
	margin-left: 1.3em;
	margin-top: -0.5em;
	line-height: 1.5em;
}
#content ul.links {
	list-style-image:url(/img/link-icon.png);
}
#content ul.downloads {
	list-style-image:url(/img/download-icon.png);
}
#content ul.links a,
#content ul.downloads a {
	margin-left: -0.3em;
}
#content p span.street {
	display: block;
	float: left;
	width: 11em;
}
#content hr {
	border: none;
/* 	border-top: 1px dashed #000; */
/* 	margin: 0.7em 0.4em 0.5em 0.4em; */
	margin-top: 2em;
}
#content a,
#content a:visited {
	color: #000;
	text-decoration: underline;
}
#content a:hover {
	color: #000;
}


#photos div.fade {
	position: absolute;
	bottom: 0;
	left: 565px;
	width: 215px;
	height: 0px;
}

#photos div.elisabethenheim-muellheim {	background: url(/img/logo-fade-eli.png); }
#photos div.bethesda-badenweiler {	background: url(/img/logo-fade-baden.png);}
#photos div.pflegeheim-sulzburg {	background: url(/img/logo-fade-sulz.png);}






#content form fieldset {
	border: none;
	width: 100%;
}
#content form label {
	display: block;
	margin-bottom: 0.2em;
}
#content form ol {
	list-style: none;
	margin: 0;
}
#content form ol li {
	margin-bottom: 0.5em;
	float: left;
	width: 50%;
}
#content form ol li.submit,
#content form ol li.textarea {
	width: 100%;
}
#content form input,
#content form textarea {
	padding: 0.2em 0.5em;
	font-size: 1em;
	width: 90%;
	color: #000;
	border: 1px solid #2d4980;
	background: #fff;
}
#content form textarea {
	width: 95%;
	height: 10em;
}

#content form .submit input {
	width: 10em;
	margin-top: 1em;
	color: #2d4980;
	font-weight: bold;
}
#content form .submit input:hover,
#content form .submit input.focus,
#content form .submit input:focus {
	background: #2d4980;
	color: #fff;
}

#content form input.form-error,
#content form textarea.form-error {
	background: #c40000;
}
#content form input:focus,
#content form input.focus,
#content form input:hover,
#content form textarea:focus,
#content form textarea.focus,
#content form textarea:hover {
	background: #ffffff;
}


div#gmap {
	border: 1px solid #2d4980;
	margin-top: 1em;
}
div#gmap {
	font-size: 0.8em;
}

#getreader {
	position: absolute;
	top: -1.1em;
	right: 0;
}

#nemata-logo {
	background:transparent url(/img/nemata-logo.png) repeat scroll 0 50%;
	display:block;
	height:47px;
	margin-top:10px;
	margin-bottom: 5px;
	position:relative;
	text-indent:-9000px;
	width:153px;
}


div#offline-warning {
    position: absolute;
    right: 0;
    top: 0;
    width: 200px;
    padding: 2px;
    /*border: 1px solid #F7E832;
    background: #fdf9cc;*/
    border: 1px solid #E32118;
    background: #f8c5c5;
    font-size: 1em;
    font-weight: bold;
    z-index: 20;
}



/* Hacks */
/* http://www.456bereastreet.com/archive/200603/new_clearing_method_needed_for_ie7/ */
.clearfix:after {
	content:".";
	display:block;
	height:0;
	clear:both;
	visibility:hidden;
}
.clearfix {display:inline-block;}
/* Hide from IE Mac \*/
.clearfix {display:block;}
/* End hide from IE Mac */