/*  ALLGEMEINE STYLES
--------------------------------------------------------------------------------------- */

* {
	padding: 0;
	margin: 0;
	border-width: 0;
}

body {
	background-color: #F2F0D6;
	font: 75% Verdana, Arial, Helvetica, sans-serif;
}


/* Navigationslistenstyles */

ul.nav {
	list-style-type: none;
}

ul.nav li {
	float: left;
}

/* Allgemeine Linkstyles */

a {
	text-decoration: none;
	color: #204A91;
}

a:hover, a:active {
	color: #B9002E;
}




/* KOPFBEREICH
--------------------------------------------------------------------------------------- */

#top {
	height: 84px;
	width: 997px;
	background: #B9002E url(../img/kopf-hinten.gif) no-repeat 352px 10px;
	border-right: 1px solid #666600;
	border-bottom: 1px solid #204a91;
	position: relative;
}

#logout {
	position: absolute;
	right: 16px;
	bottom: 12px;
	font-size: 90%;
	color: #fff;
}

#logout a {
	display: block;
	color: white;
	font-weight: bold;
}

#logout a:focus, #logout a:hover {
	color: #ebeeab;
}

#logo {
	padding-top: 20px;
	padding-left: 31px;  						/* eigentlich 32px - komischer 1px bug bei der tagline */
	width: 500px;
	color: #D8F3D3;
	font-weight: bold;
}

#logo a, #logo a:hover, #logo a:active {
	color: #D8F3D3;
}

#logo img.logo {
	border-width: 0;
	font-family: Arial, sans-serif;
	color: #EBEEAB;
	font-size: 2em;
	font-weight: bold;
	padding-left: 1px; 							/* s. #logo */
}


/* Sysnav */

#sysnav {
	float: right;
	color: #fff;
	font-weight: bold;
	margin-top: 12px;
	margin-right: 16px;
}

#sysnav li {
	border-right: 1px solid white;
	padding: 0 8px;
}

#sysnav li.last-child {
	border: none;
	padding-right: 0;
}

#sysnav a {
	color: #fff;
	padding-bottom: 1px;
}

#sysnav a:hover {
	border-bottom: 1px solid #fff;
}



/* HAUPTNAVIGATION
--------------------------------------------------------------------------------------- */

#topnav {
	width: 996px;
	height: 25px;														/* 23px statt 24px wegen border in #topredarea */
	position: absolute;
	top: 0;
	left: 0;
	margin-top: 85px;
	z-index: 10;
}

#topnav ul {
	color: #fff;
	font-weight: bold;
	margin-top: 4px;
	margin-right: 16px;
	padding-left: 8px;
	font-size: 0.9em;
}

#topnav li {
	padding: 0 8px;
}

#topnav a {
	color: #fff;
}

#programmnav {
	float: left;
	background: url(../img/programmnav-bg.png) no-repeat right top;
	height: 35px;
}

#programmnav ul li a:hover, #programmnav ul li a:focus {
	color: #CCD8F4;
}

#topnav #nav ul li.active-path {
	background: url(../img/nav-li-active-bg.png) no-repeat center bottom;
	padding-bottom: 11px;
}

#topnav #programmnav ul.nav li.active-path {
	background: url(../img/programmnav-li-active-bg.png) no-repeat center bottom;
	padding-bottom: 13px;
}

#programmnav ul {
	margin-left: 16px;
}

#nav {
	float: left;
	background: url(../img/nav-bg.png) no-repeat right top;
	height: 32px;
}

#nav a {
	padding-bottom: 1px;
}

#nav ul li a:hover, #nav ul li a:focus {
	color: #1A3D78;
}



/* INHALTSBEREICH
--------------------------------------------------------------------------------------- */

/* #ontainer enthält #main und #features */
#container {
	float: left;
	width: 980px;
	background: #fff url(../img/content-bg.png) right repeat-y;
	margin-left: 16px;
	padding-top: 50px;
	padding-bottom: 30px;
	border-left: 1px solid #BFB519;
	border-right: 1px solid #BFB519;
}

/* #main enthält #subnavigation und #wrapper */
#main {
	float: left;
}

/* #wrapper enthält #breadcrumbs und #content */
#wrapper {
	float: left;
	width: 560px;
	position: relative;
}



/* Unternavigation */

#subnav {
	float: left;
	width: 112px;
	margin-left: 16px;
	margin-right: 22px;
}

#subnav.empty {
	height: 1em;
}

#subnav ul.nav li {
	float: none;
	display: block;
	font-size: 0.8em;
	margin-left: -32px;
	padding-left: 32px;
}

#subnav ul.nav li:hover, #subnav ul.nav li.hover {
	background: url(../img/subnav-top-bg.png) top right no-repeat;
}

#subnav a:link, #subnav a:visited {
	display: block;
	margin-left: -32px;
	padding: 8px 4px 8px 32px;
}

#subnav ul.nav li a:hover {
	background: url(../img/subnav-bottom-bg.png) bottom right no-repeat;
}

#subnav ul.nav li.active-path {
	background-image: none;
}

#subnav ul.nav li.active-path a {
	font-weight: bold;
}

#subnav ul.nav li.active-path a:focus, #subnav ul.nav li.active-path a:hover {
	background: none;
}

#subnav ul.nav li.active-path span.a {
	/*background: url(../img/subnav-bottom-bg.png) bottom right no-repeat;*/
	display: block;
	margin-left: -32px;
	padding: 8px 4px 8px 32px;
	color: #204A91;
	font-weight: bold;
}



/* Hauptinhalte */

#content h1 {
	font-size: 1.4em;
	margin-top: 1em;
	margin-bottom: 1.5em;
}

#wrapper h2 {
	font-size: 1.2em;
	font-weight: bold;
	margin: 1em 0;
}

#content h3 {
	font-size: 1.0em;
	font-weight: bold;
	margin: 1em 0;
}

#content p {
	line-height: 1.5em;
	margin-bottom: 1.5em;
	line-height: 1.5em;
}

#content span.imageframe {
	margin: 3px 10px 10px 10px;
}

#content span.imageframe.left {
	margin-left: 0;
	float: left;
}

#content span.imageframe.right {
	margin-right: 0;
	float: right;
}

#content span.imageframe span {
	display: block;
	padding-top: 10px;
	font-size: 80%;
}

#content p a {
	text-decoration: underline;
}

#content ul, #content ol {
	margin-left: 2em;
}

#content li {
	line-height: 1.5em;
}

#content div.curvyCorner {
	border: 1px solid #BFB519;                 /* border mit JS (runde Ecke) */
}

#content img.curvy {
	border: 1px solid #BFB519; 					/* border ohne JS */
}

#content img.large.right {
	float: right; margin: 12px 0 12px 12px;
}

#content img.small.left {
	float: left;
	margin: 4px 12px 12px 0;
}


/* Breadcrumbs */

div#breadcrumbs-div {
	font-size: 0.8em;
	border-bottom: 1px solid #204A91;
	padding-bottom: 2px;
	margin-bottom: 20px;
}

#breadcrumbs-div ol {
	list-style-type: none;
	padding-top: 4px;
	margin: 0;
}

#breadcrumbs-div li {
	display: inline;
	padding-left: 8px;
	margin-right: 6px;
	background: url(../img/breadcrumbs-bg.png) no-repeat left center;
}

#breadcrumbs-div li.first-child {
	background: none;
	padding-left: 0;
}


/* Extras */

ul.extras {
	position: absolute;
	top: 0;
	right: 0;
	list-style-type: none;
}

ul.extras li {
	float: left;
	padding-left: 4px;
}

ul.extras li a.printpage {
	cursor: pointer;
}



/* Tabellen */

table {
	float: left;
	width: 560px;
	border-collapse: collapse;
	margin-bottom: 2.5em;
}

th, td {
	padding: 10px 10px 15px 10px;
	margin: 0 5px;
	text-align: left;
	line-height: 1.25em;
	vertical-align: top;
	border-left: 1px solid #fff;
}

th {
	font-size: 1.1em;
}

thead th a {
	color: #000;
	padding-left: 12px;
	background: url(../img/th-unsorted.png) no-repeat left 0.25em;
	margin-right: 10px;
}

thead th a:focus, thead th a:hover {
	border-bottom: 1px solid #000;
	color: #000;
}

thead th a.sorted-asc {
	background-image: url(../img/th-asc.png);
	background-position: left 0.5em;
}

thead th a.sorted-desc {
	background-image: url(../img/th-desc.png);
	background-position: left 0.5em;
}

thead th.last-child {
	border-right: 0;
}

tbody th {
	border-top: 1px solid #d2d2d2;
	color: #333;
}

td {
	border-top: 1px solid #d2d2d2;
}

tr:hover, tr.hover {
	background-color: #f4f4f9;
}



/* Search-result-pager */

.search-result-pager {
	width: 100%;
	float: left;
}

#content .search-result-pager ul.pager {
	padding-left: 0;
	margin-left: 0;
	width: 100%;
	float: left;
	list-style-type: none;
	margin-bottom: 2em;
}

.search-result-pager ul.pager li {
	background: none;
	padding-left: 0;
	float: left;
	margin-right: 1em;
}

.search-result-pager ul.pager li a.first, .search-result-pager ul.pager li a.back {
	background-position: left center;
	background-repeat: no-repeat;
	padding-left: 15px;
}
.search-result-pager ul.pager li a.forward, .search-result-pager ul.pager li a.last {
	background-position: right center;
	background-repeat: no-repeat;
	padding-left: 0;
	padding-right: 15px;
}

.search-result-pager ul.pager li a.first {
	background-image: url(../img/pager-first.png);
}

.search-result-pager ul.pager li a.first:focus, .search-result-pager ul.pager li a.first:hover {
	background-image: url(../img/pager-first-hover.png);
}

.search-result-pager ul.pager li a.forward {
	background-image: url(../img/pager-forward.png);
}

.search-result-pager ul.pager li a.forward:focus, .search-result-pager ul.pager li a.forward:hover {
	background-image: url(../img/pager-forward-hover.png);
}

.search-result-pager ul.pager li a.back {
	background-image: url(../img/pager-back.png);
}

.search-result-pager ul.pager li a.back:focus, .search-result-pager ul.pager li a.back:hover {
	background-image: url(../img/pager-back-hover.png);
}

.search-result-pager ul.pager li a.last {
	background-image: url(../img/pager-last.png);
	margin-right: 3em;
}

.search-result-pager ul.pager li a.last:focus, .search-result-pager ul.pager li a.last:hover {
	background-image: url(../img/pager-last-hover.png);
	margin-right: 3em;
}


/* Downloads */

.downloads h2.download-category {
	float: left;
	margin: 1.5em 0;
	width: 100%;
	padding-top: 0.5em;
}

.downloads div.download {
	border-top: 1px solid #ccc;
	margin-bottom: 3em;
	padding-top: 1.5em;
	float: left;
	width: 100%;
}

.downloads div.download a {
	background: none;
	float: left;
}

.downloads div.download a.wfd-download-view.thumb {
	padding: 7px 0 0 0;
	margin-right: 1em;
	width: 91px;
}

.downloads div.download a img {
	margin: 5px;
	padding: none;
}

.downloads div.download .downloadtext {
	margin-left: 115px;
}

.downloads #content div.download .downloadtext h3 {
	margin: 0;
	padding: 0;
}

.downloads div.download .downloadtext p {
	font-size: 0.917em;
	line-height: 1.25em;
	margin: 0.5em 0;
}

.downloads div.download .downloadtext p .fileinfo {
	font-style: italic;
}

.downloads div.download .downloadtext p.description {
	font-style: normal;
	font-size: 1.091em;
	margin-bottom: 1em;
}

.downloads div.download input.order, .downloads div.download a.download {
	border: 1px solid #d2d2d2;
	color: #333;
	font-weight: normal;
	padding: 2px 3px !important;
	margin-top: 0.5em;
	margin-right: 7px;
	font-size: 0.867em;
	text-transform: uppercase;
	text-align: center;
	background-color: #f2f0d6;
}

downloads div.download input.order {
	font-family: Arial, Helvetica, Sans-Serif;
	width: auto;
	padding: 1px 3px!important;
}

.downloads div.download input.order:hover, .downloads div.download a.download:hover,
.downloads div.download input.order:focus, .downloads div.download a.download:focus {
	text-decoration: none;
	color: #fff;
	background-color: #b9002e;
	border-color: #b9002e;
}


/* Formulare */

form input.button, #content .form input.submit {
	background-color: #98a4cc;
	color: #fff;
	padding: 2px 3px;
}

form.new div.row div.field input, form.new div.row select {
	width: 80%;
}

form div.field input.text,
div.field input.password,
div.field textarea,
div.field select,
div.field input.upload,
div.field input.comment {
	border: 1px solid #666600;
}

form.new div.row div.field input.button,
form input.submit {
	width: auto;
	border: 1px solid #666666;
	margin-left: 183px;
}

form.new div.row label {
	text-align: left;
	width: 25%;
}

form.new div.row {
	margin: 5px 0;
	padding-left: 10px;
	margin-right: -10px;
}

form.new div.row div.field {
	width: 70%;
}

form input.button:focus, form input.button:hover, form input.button.hover, #content .form input.submit:focus, #content .form input.submit:hover, #content .form input.submit.hover {
	background-color: #1f4990;
	cursor: pointer;
}

#content .userUIForm {
	background-color: #f4f4f9;
	border: 1px solid #98a4cc;
	float: left;
	padding: 10px;
	width: 540px;
	margin: 0;
	margin-bottom: 3em;
}

div.userUIForm .form .element input.text {
	width: 300px;
}

.gefoerderteprojekte form {
	background-color: #f4f4f9;
	border: 1px solid #98a4cc;
	float: left;
	padding: 10px;
	width: 540px;
	margin: 0;
}


/* Tell-A-Friend */

.tellAFriendWrapper {
	background-color: #E5E5F1;
	border: 1px solid #204a91;
	width: 150px;
	padding: 10px 15px;
	z-index: 1;
}

.tellAFriendWrapper .tellafriend.form form {
	width: 130px;
	padding: 0;
	background: none;
	border: none;
}

.tellAFriendWrapper .tellafriend.form form div {
	margin-bottom: 10px;
}

.tellAFriendWrapper .tellafriend.form form div label {
	display: block;
}

.tellAFriendWrapper .tellafriend.form form div input, .tellAFriendWrapper .tellafriend.form form div textarea {
	margin-top: 3px;
	border: 1px solid #204a91;
	width: 130px;
}

.tellAFriendWrapper .tellafriend.form form div input.submit {
	background-color: #98a4cc;
	color: #fff;
	padding: 2px 3px;
	width: 132px;
}

.tellAFriendWrapper .tellafriend.form form div input.submit:focus, .tellAFriendWrapper .tellafriend.form form div input.submit:hover, .tellAFriendWrapper .tellafriend.form form div input.submit.hover {
	background-color: #1f4990;
	cursor: pointer;
}


/* Blog */

.blogpost.list {
	padding-bottom: 1em;
	margin-bottom: 1em;
	border-bottom: 2px solid #DFDCA9;
}

.blogpost.list span.imageframe {
	float: right;
	margin-top: 12px;
	margin-left: 10px;
}

.blogpost .date {
	font-size: 0.9em;
}

.blogpost div.teaser {
	font-style: italic;
}

.blogpost div.footer {
	margin-top: 0;
	padding-bottom: 20px;
}

.blogpost div.footer div {
	margin: 0;
	display: inline;
}

#content .blogpost .categories ul,
.blogpost .categories li {
	margin: 0;
	padding: 0;
	display: inline;
	list-style-type: none;
}

.blogpost .categories li {
	margin-right: 10px;
	padding-left: 10px;
	border-left: 1px solid #dfdca9;
}

.blogpost .categories li.first {
	border-width: 0;
}

/* Comments */

div.footer div.commentlink {
	display: block;
	margin-top: 0.5em;
}

#comments ul {
	padding-left: 0;
	margin-left: 0;
	padding-bottom: 1.5em;
	list-style-type: none;
	border-bottom: 1px solid #dfdca9;
}

#comments ul li {
	margin-bottom: 5px;
	padding-top: 5px;
	padding-bottom: 0.5em;
	padding-left: 0;
	border-top: 1px solid #dfdca9;
	background: none;
}

#comments .commenttext {
	padding-left: 11.5em;
}

#comments h3 {
	margin-top: 0;
	margin-bottom: 0.25em;
}

#comments p {
	margin-top: 0;
}

#comments .details {
	float: left;
	width: 9em;
}

#comments .details .comment-user {
	color: #B9002E;
	font-weight: bold;
	margin-bottom: 5px;
}

#comments .details .comment-datetime {
	font-size: 0.834em;
}


/* Pager */

ol.pager {
	list-style-type: none;
	margin: 1em 0 1.5em 0;
	float: left;
	width: 100%;
	padding: 0;
}

ol.pager li {
	float: left;
	padding: 0px 4px;
	border-left: 1px solid #CCC;
}
ol.pager li.first-child {
	border-left: 0;
	padding-left: 0;
}
ol.pager a, #content ol.pager a:hover, #content ol.pager a:focus { text-decoration: none; background-image: none; padding: 0; }
ol.pager li span.a { font-weight: bold; }



/* FEATURES
--------------------------------------------------------------------------------------- */

#features {
	width: 192px;
	float: right;
	padding: 0 16px;
}

#features div.feature {
	background: #fff;
	padding: 8px;
	margin-bottom: 16px;
	font-size: 0.9em;
}

#features div.feature h2 {
	font-size: 1em;
	margin-bottom: 0.1em;
}

#features div.feature h3 {
	font-size: 1em;
	color: #333;
	font-weight: bold;
	font-style: italic;
	margin-bottom: 0.75em;
}

#features div.feature img {
	margin-bottom: 0.5em;
}

#features div.feature p {
	line-height: 1.3em;
}

#features div.feature a {
	font-weight: bold;
	text-decoration: none;
}

#features div.feature ul {
	list-style-type: none;
}

#features div.feature li {
	padding-bottom: 8px;
}

#features div.feature li.last-child {
	padding-bottom: 0;
}

#features div.feature.red {
	border: 1px solid #B9002E;
}

#features div.feature.green {
	border: 1px solid #BFB519;
}

#features div.feature a:hover, #features div.feature a:active {
	text-decoration: underline;
	color: #204A91;
}

#features div.feature.red h2 {
	color: #B9002E;
}

#features div.feature.green h2 {
	color: #BFB519;
}

#features div.feature.logos {
	text-align: center;
}

#features div.feature.logos img {
	margin: 5px 0;
}






/* FUSSBEREICH
--------------------------------------------------------------------------------------- */

#footer {
	float: left;
	background: #B0AE42 url(../img/footer-bg.png) right no-repeat;
	height: 60px;
	border-bottom: 1px solid #666600;
	width: 998px;
}

#footer .main {
	float: left;
	height: 100%;
	background: #BFB519;
	margin-left: 16px;
	padding: 0 32px;
	border-right: 1px solid #666600;
	border-left: 1px solid #666600;
	width: 691px;
	color: #fff;
	font-size: 0.8em;
}

#footer .copyright {
	margin-left: 118px;
}

#footer .footernav {
	background: #DFDCA9;
	padding: 4px 8px;
	margin-bottom: 10px;
	margin-left: 118px;
}

#footer .footernav img {
	padding-right: 8px;
}

#footer .features {
	float: left;
	height: 100%;
	border-right: 1px solid #666600;
	width: 224px;
	background-color: #B0AE42;
}

#footer ul li {
	border-right: 1px solid white;
	margin-right: 5px;
	padding-right: 5px;
}

#footer ul li.last-child {
	border: none;
}

#footer ul li a {
	color: #fff;
	border-bottom: 1px solid #DFDCA9;
}

#footer ul li a:hover, #footer ul li a:focus {
	border-bottom: 1px solid #fff;
}