/* Add your custom CSS here */
html {
    background: #8da990;
}
body { 
	height: 100%;
    background: #8da990;
    background: #8da990 url("../images/bg.png") repeat-x;
}

body, select, input, textarea { 
	color: #4d5b5c;
	font-family: Arial, Verdana, sans-serif;
	font-size: 14px;
	line-height: 16px;
}

h1,h2,h3,h4,h5,h6 {
	font-weight: bold;
}

a, a:active, a:visited {
	color: #008a71;
	text-decoration: none;
}
a:hover {
	color: #008a71;
}
a span {
	color: #ff0000;
}
.arrowLink {
	font-weight: bold;
    color: #008A71;
}
.arrowLink span.pfeil {
	font-weight: bold;
    color: #ff0000;
}
ul {
	margin-left: 12px;
}

article .content .field-name-morelink {
    margin-top: 10px;
}
    article .content .field-name-morelink ul {
        margin: 0;
        padding: 0;
    }
    article .content .field-name-morelink ul li {
        margin: 0;
        padding: 0;
    }
    article .content .field-name-morelink ul li a {
        font-size: 12px;
        font-weight: bold;
        margin: 0;
        padding: 0;
    }

ol {
	margin-left: 20px;
	margin-bottom: 20px;
}
hr {
	border: 0px none;
	border-bottom: 1px solid #d9d9d9;
}
hr.big {
	border: 0px none;
	border-bottom: 8px solid #d9d9d9;
}
td {
	vertical-align: top;
}
p {
	padding-bottom: 10px;
}
#main p {
	padding-bottom: 20px;
}
	#main p:last-child {
		padding-bottom: 0px;
	}
.clearer {
	clear: both;
}

#page {
	width: 950px;
	margin: auto;
	/*overflow: hidden;*/
}

#header {
    height: 115px;
}
	#header #logo {
	    position: absolute;
	    margin-top: 0px;
	    margin-left: 85px;
	}
	#header .region-header {
		float: right;
		height: 37px;
		margin-right: 6px;
		    background: #b9cabb;
			background: -webkit-gradient(linear, left top, left bottom, from(#d2dbd3), to(#b6c8b8));
			background: -moz-linear-gradient(top, #d2dbd3, #b6c8b8);
			background: linear-gradient(top, #d2dbd3, #b6c8b8);
			filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#d2dbd3, endColorstr=#b6c8b8);
			zoom: 1;
			-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#d2dbd3, endColorstr=#b6c8b8)";
		border: 1px solid #ffffff;
		border-top: 0px none;
			-webkit-box-shadow: 10px 10px 5px #888;
			box-shadow: 10px 10px 5px #888;
			-moz-box-shadow: 3px 3px 5px #888;
	}
		#header .region-header #block-menu-menu-service {
			float: left;
			margin-left: 20px;
			margin-right: 20px;
			margin-top: 14px;
		}
			#header .region-header #block-menu-menu-service ul {
				margin-left: 0px;
			}
			#header .region-header #block-menu-menu-service ul li {
				float: left;
				list-style: none;
				margin: 0px;
				padding: 0px;
			}
			#header .region-header #block-menu-menu-service ul li a {
				display: block;
				padding-right: 10px;
				margin-right: 10px;
				color: #4d5b5c;
				font-size: 12px;
				border-right: 1px solid #4d5b5c;
			}
			#header .region-header #block-menu-menu-service ul li:last-child a {
				border-right: 0px none;
			}
			#header .region-header #block-menu-menu-service ul li a.active {
				color: #ff0100;
			}
		#header .region-header #block-search-form {
			float: left;
			margin-top: 8px;
		}
			#header .region-header #block-search-form .form-item input {
				width: 140px;
				height: 20px;
				font-size: 12px;
				border: 0px solid red;
			}
			#header .region-header #block-search-form .form-actions input {
				width: 7px;
				height: 20px;
				background: url(/sites/default/themes/vbbd/images/arrow_right.png) no-repeat 0px 7px;
				border: 0px none;
				cursor: pointer;
			}
		#header .region-header #block-user-login {
			float: left;
			margin-top: 8px;
			margin-left: 20px;
		}
			#header .region-header #block-user-login .form-item {
				float: left;
				margin: 0px;
				margin-right: 5px;
			}
			#header .region-header #block-user-login .form-item input {
				width: 90px;
				height: 20px;
				font-size: 12px;
				border: 0px solid red;
			}
			#header .region-header #block-user-login .form-actions {
				float: left;
				margin: 0px;
			}
			#header .region-header #block-user-login .form-actions input {
				width: 7px;
				height: 20px;
				background: url(/sites/default/themes/vbbd/images/arrow_right.png) no-repeat 0px 7px;
				border: 0px none;
				cursor: pointer;
			}
			#header .region-header #block-user-login a.logout {
				font-size: 12px;
				display: block;
				margin-top: 4px;
				margin-right: 4px;
			}
			#header .region-header #block-user-login a.logout .pfeil {
				font-size: 10px;
			}
		
#main-wrapper {
    margin: 0px;
    width: 942px;
    margin-bottom: 10px;
    /*overflow: hidden;*/
    background: #ffffff;
    border: 1px solid #ffffff;
	-webkit-box-shadow: 10px 10px 5px #888;
	box-shadow: 10px 10px 5px #888;
	-moz-box-shadow: 3px 3px 5px #888;
}
	#main-head {
		clear: both;
		margin-bottom: 7px;
	}
	#main-head .headpic {
		clear: both;
		float: left;
		display: block;
		border: 0px solid red;
	}
	#logo_2013-11-18 {
	    position: absolute;
	    margin-left: 687px;
	    margin-top: 70px;
	}
    #logo_2014-06-17 {
        position: absolute;
        margin-left: 422px;
        margin-top: 37px;
    }
	
	
	.headcontent {
	line-height: 14px;
	}
		.region-headcontent1 h1,
		.region-headcontent2 h1,
		.region-headcontent3 h1,
		.region-headcontent4 h1 {
			color: #005a41;
			font-size: 14px;
			line-height: 14px !important;
			font-weight: bold;
			margin-bottom: 15px;
		}
		.headcontent #headcontent1_wrapper {
			float: left;
			width: 215px;
		}
		.headcontent .region-headcontent1 {
			float: left;
			width: 215px;
			height: 160px;
			font-size: 12px;
			padding-bottom: 14px;
			border-bottom: 8px solid #ace3b0;
		}
		.headcontent #headcontent2_wrapper,
		.headcontent #headcontent3_wrapper {
			float: left;
			width: 215px;
			margin-left: 10px;
		}
		.headcontent .region-headcontent2  {
			float: left;
			width: 215px;
			height: 160px;
			font-size: 12px;
			padding-bottom: 14px;
			border-bottom: 8px solid #64c975;
		}
		.headcontent .region-headcontent3  {
			float: left;
			width: 215px;
			height: 160px;
			font-size: 12px;
			padding-bottom: 14px;
			border-bottom: 8px solid #48af5b;
		}
		.headcontent .region-headcontent4  {
			float: left;
			width: 215px;
			height: 160px;
			font-size: 12px;
			padding-bottom: 14px;
			margin-top: -1px;
			border-bottom: 8px solid #418f4e;
		}
		.headcontent .view article header h1 {
			margin-bottom: 0px !important;
		}
		.headcontent .view article header h1 a, 
		.headcontent .view article header h1 a span {
			color: #005a41;
			font-size: 12px;
			font-weight: bold;
		}
		.headcontent .view article header h1 a .field-name-field-datum {
			float: left;
		}
		.headcontent .view article header h1 span.textcrop {
			display: block;
			float: left;
			/*width: 140px;*/
			width: 210px;
			overflow: hidden;
		}
		.headcontent .view article.node-termin header h1 span.textcrop {
			width: 140px;
		}
		.headcontent .view article div.multiline {
			display: block;
			float: left;
			width: 215px;
			height: 40px;
			overflow: hidden;
		}
		.headcontent .view article header h1 span.textcrop span,
		.headcontent .view article div.multiline span {
			color: #ff0000;
			font-size: 10px;
		}
		.headcontent .view article footer {
			display: none;
		}
		
	
	#main {
		clear: both;
	    float: left;
	    width: 670px;
	    line-height: 20px;
	    min-height: 250px;
	    margin-left: 25px;
	}
		#main h1 {
			color: #4d5b5c;
			font-size: 24px;
			line-height: 24px;
			font-weight: normal;
			margin-bottom: 15px;
		}
		#main h1 a {
			color: #4d5b5c;
		}
		#main h2, 
		#main h2 {
			color: #005a41;
			font-size: 14px;
			line-height: 20px;
			font-weight: bold;
			margin-bottom: 15px;
		}
		#main h3, 
		#main h4, 
		#main h5 {
			color: #4d5b5c;
			font-size: 14px;
			line-height: 14px;
			font-weight: bold;
		}
		#main #content {
			margin-top: 25px;
			padding-right: 20px;
		}
		#main #content section article {
			padding-bottom: 10px;
			border-bottom: 8px solid #d8d8d8;
			margin-bottom: 10px;
		}
		#main #content section .views-row article {
			padding-bottom: 10px;
			border-bottom: 0px solid #d8d8d8;
			margin-bottom: 10px;
		}
		#main #content section .views-row:last-child article {
			padding-bottom: 10px;
			border-bottom: 8px solid #d8d8d8;
			margin-bottom: 10px;
		}
		
		#main #content section .views-row:last-child article#node-298 {
			border-bottom: 0px solid #d8d8d8;
		}
			#main section#block-views-nachrichten-block,
			#main section#block-views-nachrichten-block-1,
			#main section#block-views-nachrichten-block-2 {
				border-bottom: 0px none;
			}
		#main .pager {
			font-size: 10px;
			margin-left: 240px;
			margin-top: 10px;
			border: 0px solid red;
		}
		#main .pager .pager-first {
			position: absolute;
			margin-top: -20px;
			margin-left: -150px;
		} 
		#main .pager .pager-previous {
			position: absolute;
			margin-top: -20px;
			margin-left: -80px;
		}
		#main .pager .pager-next {
			position: absolute;
			margin-top: -20px;
			margin-left: -8px;
		}
		#main .pager .pager-last {
			position: absolute;
			margin-top: -20px;
			margin-left: 75px;
		}
		#main .pager .pager-item,
		#main .pager .pager-current {
			margin-left: 0px;
		}
	
	#main infobox {
		position: absolute;
		display: block;
		float: left;
		width: 200px;
		min-height: 100px;
		padding: 7px;
		padding-top: 0px;
		font-size: 12px;
	    background: #8da990;
		/* Für WebKit (Safari, Chrome, etc.) */
			background: -webkit-linear-gradient(#ffffff 70%, #e6ebe6);
		/* Für Mozilla/Gecko (Firefox etc) */
			background: -moz-linear-gradient(top, #ffffff 70%, #e6ebe6);
		/* aktueller W3C working draft */
			background: linear-gradient(top, #ffffff 70%, #e6ebe6);
		/* Für Internet Explorer 5.5 - 7 */
			filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#ffffff, endColorstr=#e6ebe6);
			zoom: 1;
		/* Für Internet Explorer 8 */
			-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#ffffff, endColorstr=#e6ebe6)";
		border: 1px solid #c3cdc5;
		border-top: 8px solid #ace2b1;
		
	}
		#main infobox h1 {
			font-size: 14px;
			font-weight: bold;
			color: #008a71;
			margin: 0px;
		}
		#main #content infobox .field-item article {
			width: 200px;
			padding-bottom: 0px;
			border-bottom: 1px solid #c3ccc5;
			margin-bottom: 7px;
		}
		#main #content infobox .field-item article header, 
		#main #content infobox .field-item article .content {
			clear: both;
		}
		#main #content infobox .field-item article header .date-display-end {
			float: left;
		}
		#main #content infobox .field-item article header h1,
		#main #content infobox .field-item article header h1 a,
		#main #content infobox .field-item article header h1 span {
			font-weight: bold;
			font-size: 12px;
			color: #4d5b5c;
			margin-bottom: 0px;
		}
		#main #content infobox .field-item article header .field-name-field-datum {
			width: 104px;
		}
		#main #content infobox .field-item article header h1 a div {
			float: left;
		}
		#main #content infobox .field-item article .field-name-field-datum {
			font-style: italic;
			font-size: 10px;
		}
		#main #content infobox .field-item article .multiline {
			height: 50px;
			overflow: hidden;
		}
		#main #content infobox .field-item article .multiline p {
			padding-bottom: 5px;
		}

	#sidebar {
		float: right;
		width: 215px;
	    min-height: 250px;
	    margin-right: 25px;
		font-size: 12px;
	}
		#sidebar h1,
		#sidebar h2,
		#sidebar h3, 
		#sidebar h4, 
		#sidebar h5 {
			color: #4d5b5c;
			font-size: 12px;
			font-weight: bold;
		}
		#sidebar .section {
			margin-top: 5px;
		}
		#sidebar section {
			border-bottom: 8px solid #d8d8d8;
			margin-bottom: 16px;
		}
			#sidebar section#block-views-termine-block {
				border-bottom: 0px none;
			}
	#main-wrapper-bottom {
		clear: both;
		display: block;
		height: 27px;
		border-top: 20px solid white;
		/* Für WebKit (Safari, Chrome, etc.) */
			background: -webkit-gradient(linear, left top, left bottom, from(#d0d9d1), to(#b7c7ba));
		/* Für Mozilla/Gecko (Firefox etc) */
			background: -moz-linear-gradient(top, #d0d9d1, #b7c7ba);
		/* aktueller W3C working draft */
			background: linear-gradient(top, #d0d9d1, #b7c7ba);
		/* Für Internet Explorer 5.5 - 7 */
			filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#d0d9d1, endColorstr=#b7c7ba);
			zoom: 1;
		/* Für Internet Explorer 8 */
			-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#d0d9d1, endColorstr=#b7c7ba)";
	}

#footer {
	color: #ffffff;
	font-size: 12px;
	font-weight: bold;
	padding-top: 10px;
	padding-bottom: 30px;
}
	#footer a {
		color: #ffffff;
		font-size: 12px;
		font-weight: bold;
	}
	
#socialbar {
	position: fixed;
	right: 0px;
	top: 115px;
	padding: 4px;
	background: #fff;
	border: 1px solid #98b299;
	border-right: 0px none;
}
#socialbar ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
}

/**/
/* Forum */
/**/
	#main .block-phpbbforum {
		font-size: 12px;
		padding-bottom: 10px;
		border-bottom: 8px solid #D8D8D8;
		margin-bottom: 10px;
	}
	#main .block-phpbbforum table {
		width: 100%;
	}
	#main .block-phpbbforum th {
		text-align: center;
		vertical-align: bottom;
		height: 10px;
		overflow: hidden;
		padding: 2px;
		border: 1px solid silver;
	}
	#main .block-phpbbforum td {
		padding: 2px;
		text-align: center;
		border-right: 1px solid silver;
	}
	#main .block-phpbbforum th:first-child {
		text-align: left; 
	}
	#main .block-phpbbforum td:first-child {
		border-left: 1px solid silver;
		text-align: left;
	}
	/**/
	/* Forum in Sidbar */
	/**/
	#sidebar .block-phpbbforum {
		margin-top: 15px;
	}
	
	
	
/**/
/* Views */
/**/
	.not-front #main #content .views-row article {
		float: right;
		width: 410px;
		font-size: 14px;
		line-height: 17px;
		color: #4d5b5c;
		margin-bottom: 0px;
	}
	.not-front #main #content .views-row article header h1,
	.not-front #main #content .views-row article header h1 a,
	.not-front #main #content .views-row article header h1 span {
		font-weight: bold;
		font-size: 14px;
		line-height: 16px;
		color: #4d5b5c;
		margin-bottom: 3px;
	}
	.not-front #main #content .views-row article header h1 a div {
		float: left;
	}
	.not-front #main #content .views-row article .multiline {
		height: 44px;
		overflow: hidden;
		font-size: 12px;
		line-height: 12px;
		border: 0px solid red;
		margin-bottom: 2px;
	}
	.not-front #main #content .views-row article .multiline p {
		padding-bottom: 0px;
	}
	.not-front #main #content .views-row article footer {
        /*margin-top: -10px;*/ /*2015-06-03-PE*/
	}
	.not-front #main #content #block-views-nachrichten-block-3 .views-row article footer {
        /*margin-top: -20px;*/ /*2015-06-03-PE*/
	}
	.not-front #main #content .views-row article footer ul, 
	.not-front #main #content .views-row article footer ul li, 
	.not-front #main #content .views-row article footer ul li a {
		margin: 0px;
		padding: 0px;
		font-size: 12px;
		font-weight: bold;
	}

/* Views Accordion */
	.ui-accordion h3 {
		margin-bottom: 10px;
	}
	.ui-accordion h3 ul {
		list-style: none;
		margin: 0px;
		padding: 0px;
	}
	.ui-accordion h3 ul li {
		list-style: none;
		margin: 0px;
		padding: 0px;
		font-size: 14px;
		font-weight: bold;
		color: #717d7d;
	}
	.ui-state-default .ui-icon, 
	.ui-state-active .ui-icon {
		background-image: url(/misc/ui/images/ui-icons_cd0a0a_256x240.png);
	}
	.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
		background: none;
	}
	.ui-accordion h3 span.ui-icon-triangle-1-e {
	    background-position: -32px -128px;
	}
	.ui-accordion h3 span.ui-icon-triangle-1-s {
	    background-position: -96px -128px;
	}
	.ui-accordion .ui-accordion-content {
		padding: 0px;
	}
	.ui-accordion .ui-accordion-content-active {
		margin-top: -12px;
		margin-bottom: 10px;
	}
	.ui-accordion .ui-accordion-content .views-row {
		padding: 10px;
		padding-left: 15px;
	}
	.ui-accordion .ui-accordion-content .views-row:hover {
		background: #e4ebe6;
	}
	.ui-accordion .ui-accordion-content .views-row .views-field-title a {
		font-weight: bold;
	}


/**/
/* Panels */
/**/
.node-panel {
	border: 0px solid red;
}
	#main #content section article.node-panel {
		border-bottom: 0px none;
	}
	#main article.node-panel infobox {
		display: none;
	}

/**/
/* IT's */
/**/
.not-front #block-system-main article {
	float: right;
	width: 410px;
}
.not-front #block-system-main .pane-content article.node-teaser {
    float: left;
    width: 100%;
}
.not-front #main #content .view-institutionen article,
.not-front #main article.node-webform {
		float: left;
		width: 665px;
		font-size: 14px;
		line-height: 17px;
		color: #4d5b5c;
		margin-bottom: 0px;
	}
.field-name-body ul {
	padding-bottom: 15px;
}

.node footer ul,
.node footer ul li {
	margin: 0px;
	padding: 0px;
}

/* IT: Nachricht */
.node-nachricht .field-name-field-bilder {
    margin-top: 20px;
}
    .node-nachricht .field-name-field-bilder .field-item {
        float: left;
    }
    .node-nachricht .field-name-field-bilder .field-item img {
        margin-right: 8px !important;
        margin-bottom: 3px;
    }
.node-nachricht .field-name-field-nachrichten-dokumente {
    margin-top: 20px;
}


/**/
/* Institutionen */
/**/
	/* Suche in Box */
	#block-vbbd-institutionssuche .views-exposed-form label {
		float: left;
		font-weight: normal;
	}
	#block-vbbd-institutionssuche #edit-field-plz-txt-value {
		width: 70px;
		font-size: 10px;
		margin-top: -3px;
		margin-left: 5px;
		border: 1px solid #bbd1da;
	}
	#block-vbbd-institutionssuche #edit-submit-institutionen {
		border: 0px none;
		background: none;
		margin: 0px;
		padding: 0px;
		font-size: 11px;
		font-weight: bold;
		color: #008a71;
		cursor: pointer;
	}
	/* Suche in Content */
	.view-filters {
		/*display: none;*/
		padding-bottom: 5px;
		border-bottom: 8px solid #D9D9D9;
		margin-bottom: 20px;
	}
	.view-filters .views-exposed-widget .form-submit {
		margin-top: 18px;
	}
	
	/* Institution */
	.node-institution .leftside  {
		float: left;
	}
	.node-institution .rightside  {
		float: right;
	}
	.node-institution .field-name-body  {
		float: left;
	}
	.node-institution .field-name-field-plz-txt {
		float: left;
		margin-right: 4px;
	}
	
		/* Suchergebnisse */
		.view-institutionen .views-row {
			padding-bottom: 5px;
			border-bottom: 8px solid #d9d9d9;
			margin-bottom: 20px;
		}
		.view-institutionen .views-row img {
			float: right;
		}
		.view-institutionen .views-row a {
			display: block;
			font-weight: bold;
		}
		.view-institutionen .views-row div.field-content {
			margin-top: 5px;
			width: 430px;
		}
		#main .view-institutionen .views-row div.field-content p:last-child {
			padding-bottom: 0px;
		}
	
	/* Person */
	.node-person {
		
	}
		.node-person .field-name-field-passbild {
			float: right;
		}
	
	
	/* Webform */	
	.node-webform .webform-component-radios label {
		margin-bottom: 5px;
	}	
	.node-webform .webform-component-radios .form-type-radio {
		display: inline;
	}
	#webform-component-arbeitsgruppe-sinnvoll .form-radios {
		position: relative;
		top: 16px;
	}
	#webform-component-arbeitsgruppe-sinnvoll .description {
		position: relative;
		top: -20px;
	}


    /*Umfrage-Newsletter 09-2014*/
    #webform-client-form-538 .form-radios {
        clear: both;
        display: block;
        height: 50px;
    }
    #webform-client-form-538 .form-radios .form-item {
        display: block;
        float: left;
        width: 93px;
        height: 40px;
    }
        #webform-client-form-538 #webform-component-1-aktuelle-ereignisse-im-verein .form-item,
        #webform-client-form-538 #webform-component-5-laenge .form-item,
        #webform-client-form-538 #webform-component-6-haufiger .form-item,
        #webform-client-form-538 #webform-component-7-darstellungsprobleme .form-item {
            width: 109px;
        }
    #webform-client-form-538 .form-radios .form-item input {
        width: 100%;
        position: relative;
    }
    #webform-client-form-538 .form-radios .form-item label {
        display: block;
        width: 100%;
        text-align: center;
        padding-left: 5px;
        margin-top: 5px;
        background: #dcf3df;
    }

.forumframe-bodystretch {
	height: 1300px;
}
.forumframe {
	position: absolute;
	z-index: 9;
	top: 420px;
	width: 942px;
	height: 1435px;
	margin-left: -25px;
	background: white;
	border: 0px solid red;
}
.not-logged-in .forumframe {
	top: 355px;
}
	.forumframe iframe {
		width: 942px;
		height: 1435px;
	}




/* Newsletter - Simplenews */
/* see also /themes/vbbd/mail.css -> format for e-mail */

.not-front #block-system-main article.node-simplenews {
    float: left !important;
    width: 100% !important;
}
.not-front #block-system-main article.node-simplenews article {
    float: left !important;
    width: 100% !important;
}
.not-front #block-system-main article.node-simplenews h1,
.not-front #block-system-main article.node-simplenews h2,
.not-front #block-system-main article.node-simplenews h1 span {
    color: #005a41 !important;
    font-size: 14px !important;
    font-weight: bold !important;
    line-height: 20px !important;
    margin-bottom: 15px !important;
}
