/*
Author Name     : Tobias Herold
Author Site     : http://www.vektorrausch.de
Style Name      : BBF
Style URI       : http://www.bbf-massivhaus.de
Version         : 1.0, August 2008, Stand-26.09.2008
Comments        : 3-Spalter, basierend auf K2 und WP 2.6
*/

@import url('/wp-includes/js/calendar/calendar.css');

/* Struktur
***********************************************************************************************/

body {
	font:75% normal Helvetica, Arial, sans-serif; /* Standardschrift auf 12px */
	text-align:left;
	background:#d7eafa url(bg-body.png) repeat-x top;
}

#page {
	padding:0;
	border:none;
	background:none;
	width:960px !important;
}

#header {
	position:relative;
	height:auto;
	background:none;
}

#header h1 { /* Kostenlose Infoline */
	background:url(infoline.png) no-repeat right top;	
}

#header #katalog { /* Katalog bestellen */
	position: absolute;
	top: 0;
	left: 230px;
}

h1 a {
	position:absolute;
	top:0;
	left:0;
	display:block;
	width:186px;
	height:100px;
	background:url(bbf-logo.png) no-repeat left top;
}

.content {
	float: left;
	height: 100%;
	width: 960px;
	padding:0;
	background:url(bg-content2.gif) repeat-y  left;
}

.content-head {
	float: left;
	width: 960px;
	background:url(bg-content-top2.gif) no-repeat left top;
}

.content-foot {
	float: left;
	padding-bottom: 20px;
	width: 960px;
	background:url(bg-content-btm2.gif) no-repeat left bottom;
}

body.columns-three #primary {
	width:450px;
	margin-left:240px;
	padding:0 0 0 10px !important;
	overflow:hidden;
}

* html body.columns-three #primary {
	margin-top: -4px;
}

body.columns-three #sidebar-1 {
	left: -478px;
	margin-left: -222px;
	width:219px;
	margin-bottom:31px;
	padding:20px 0 40px 0;
	text-align:right;
}

body.columns-three #sidebar-2 {
	float: right;
	width:225px;
	margin-left:20px;
	padding:0;
}

.secondary {
	line-height:130%;
}
	
#sidebar-1 div {
	margin:0 0 40px;
}

#sidebar-2 div {
	margin:0 0 20px;
}
	
.secondary ul {
	margin-top:10px;
}

/* Sidebar-Aktivstatus */
#sidebar-1 li#level1active {
	background: url(sidebar-current-block.png) repeat-y right top;
}

#sidebar-1 li#level2active a#level2current, 
#sidebar-1 li#level1active a#level1current {
	padding: 1px 20px 1px 80px;
	background: url(sidebar-current-block-aktiv.png) repeat-y right top;
}

#sidebar-1 ul#level1 li {
	margin-right: -10px;
	padding-right: 0;
}

#sidebar-1 ul#level1 li a {
	padding-right: 20px;
}

#sidebar-1 ul#level2 li a,
#sidebar-1 ul#level2 li a#level2current {
	padding-right: 30px;
}

#sidebar-1 #unsere-leistungen li#level2active a#level2current, 
#sidebar-1 #unsere-leistungen li#level1active a#level1current {
	padding-left: 30px !important;
}

/* Sidebar-Untermenue-Optik */
#sidebar-1 #hausmodelle ul#level1,
#sidebar-1 #hausmodelle li#level1active a#level1current,
#sidebar-1 #unsere-leistungen li#level1active a#level1current,
#sidebar-1 #unsere-leistungen li#level1active a#level1highlight {
	font-weight: bolder;
}

#sidebar-1 #hausmodelle ul#level2 {
	font-weight: normal;
} 

/* Sidebar-Aktuelles */
#sidebar-1 #aktuelles {
	padding-bottom: 40px;
}

#sidebar-1 #aktuelles li {
	margin-bottom:5px;	
}

/* Sidebar-Adresse */

#sidebar-1 #adresse {
	margin: 100px 0 -10px;
}

#sidebar-1 h4,
#sidebar-1 li,
#sidebar-1 p {
	padding-right: 10px;
}

/* Mainmenue mit Bildern */

ul#mainmenu {
	clear:both;
	display:block;
	height:119px;
	width:954px;
	margin-top:50px;
	background:#eee;
}

ul#mainmenu li {
	list-style:none;
	display:inline;
}

ul#mainmenu li a {
	float:left;
	display:block;
	height:119px;
	background-repeat:no-repeat;
}

li.hausmodelle a { width:231px; background: url(menu-hausmodelle.png);}
li.angebote a { width:252px; background: url(menu-grundstuecke.png); }
li.finanzierung a { width:241px; background: url(menu-baufinanzierung.png);  }
li.karte a { width:230px; background: url(menu-standorte.png); }

ul#mainmenu li a:hover, ul#mainmenu li a:focus {
	background-position: left bottom;
}

/* Mainmenue-Punkt aktiv halten*/

body.page-slug-hausmodelle ul#mainmenu li.hausmodelle a,
body.parent-pageid-3 ul#mainmenu li.hausmodelle a,
body.parent-pageid-164 ul#mainmenu li.hausmodelle a,
body.parent-pageid-165 ul#mainmenu li.hausmodelle a,
body.parent-pageid-166 ul#mainmenu li.hausmodelle a,
body.parent-pageid-167 ul#mainmenu li.hausmodelle a,
body.parent-pageid-170 ul#mainmenu li.hausmodelle a,
body.parent-pageid-174 ul#mainmenu li.hausmodelle a,
body.page-slug-grundstuecke-und-immobilien ul#mainmenu li.angebote a,
body.page-slug-immobilienangebote ul#mainmenu li.angebote a,
body.page-slug-neubauvorhaben ul#mainmenu li.angebote a,
body.page-slug-baufinanzierung ul#mainmenu li.finanzierung a,
body.page-slug-standorte-und-musterhaeuser ul#mainmenu li.karte a { background-position: left bottom;}


/* Breadcrumb Navigation */

div.breadcrumb {
	display:block;
	color:#D7EAFA;
	padding: 10px 7px 17px;
}

div.breadcrumb a:link,
div.breadcrumb a:active,
div.breadcrumb a:hover,
div.breadcrumb a:focus,
div.breadcrumb a:visited {
	padding: 0 5px;
	color:#D7EAFA;
	font-weight: bold;
}

div.breadcrumb a:hover {
	text-decoration: none;
}

div.breadcrumb span {
	padding: 0 5px;	
}

/* Content-Bereich */

div.page-head {
	margin-top: 15px;
}

.entry-content {
	line-height:130%;
	text-align:left;
	color:#444;
}

div.entry-date abbr,
div.entry-categories {
	color:#bbb !important;
}

.chronodata {
	padding:2px 0;
	background:none;
}

.hentry {
	position:relative;
	margin:0;
	padding:5px 0 25px;
}
body.blog div.hentry {
	margin-top: -25px;
}	

#rollingarchives, body.smartposition #rollingarchives { /* Blaetterfunktion */
	width:450px;
}

div.navigation {
	padding-top: 20px;
	margin-bottom: 20px;
}

div.entry-content img {
	padding: 2px;
}

div.entry-content table {
	margin-bottom: 20px;
}

/* Footer */

#footer {
	display:block;
	width:100%;
	height:315px;
	padding:0;
	background:url('bg-footer.gif') repeat-x right bottom;
}

#footerwrapper {
	position:relative;
	display:block;
	width:100%;
	height:315px;	
	background:url('bg-footer-lighthouse.gif') no-repeat right bottom;	
}

#footer ul {
	display:block;
	margin:0 auto;
	padding-top:285px;
	width:960px;
	text-align:left;
}

#footer li { 
	display:inline;
	list-style:none;
	margin: 0 1em;
}

p.vr {
	position:absolute;
	top:285px;
	right:15px;
}

br.clear { line-height:0; }


/* Fonts
***********************************************************************************************/

h1, h2, h3, h4, h5 {
	font-family:Helvetica, Arial, Verdana, sans-serif;
	font-weight:normal !important;
	letter-spacing:0 !important;
	text-align:left;
	color: #0077bd;
}

h2 { font-size:150%; }
h3 { font-size:130%; }
h4 { font-size:120% !important; }

.secondary div h4 { 
	font-size:150% !important;
}

#sidebar-1 h4 {
	padding-bottom: 8px;
	text-align: right;
	background: url(sidebar-line.png) no-repeat right bottom;
}

h2,
h3.entry-title {
	padding: 0 0 6px 10px;
	margin-left:-11px !important;
	font-size:150%;
	background: url(content-line.png) no-repeat left bottom;
}

* html h2,
* html h3.entry-title {
	border-bottom: 1px solid #fff;
}

*+ html h2,
*+ html h3.entry-title {
	padding-bottom: 4px; 
	border-bottom: 1px solid #fff;
}

body.page-slug-home h3.entry-title {
	font-size: 130%;
	background: none !important;
	margin-top: 20px;
}

body.blog h3.entry-title {
	font-size: 130%;
	background: none !important;
	margin-top: 20px;
}

div.entry-content h4 {
	margin-top:20px;
	padding-top:0 !important;
}

h5 { 
	margin-top:0em;
	padding-top:0.8em;
	margin-bottom:0.8em;
    font-size:150%;
}

div.entry-content { font-size:100%;}

body.page-slug-energie-sparen div.entry-content span {
	border-bottom: 1px solid #444;
}

body.page-slug-die-bbf-2-liter-haeuser div.entry-content {
	margin-top: -15px;
}

/* Links
***********************************************************************************************/
a:link, a:visited {
	color:#333;
	text-decoration:none;
}
  
a:hover, a:active, a:focus {
	color:#333;
	text-decoration:underline;
}

.entry-content a:link,
.entry-content a:hover,
.entry-content a:visited,
.entry-content a:active,
.entry-content a:focus {
	color:#0077bd;
}
  
.entry-content a:visited {
	color:#71aeda;
}

#footer a:link, #footer a:visited {
	font-weight:normal;
	color:#fff;
	border:none;
}

#footer a:hover, #footer a:focus {
	color:#0077bd;
	text-decoration:underline;
}

h2 a:link, h2 a:visited,
h3 a:link, h3 a:visited {
	color:#0077bd;
	text-decoration:none;
}

h2 a:hover, h2 a:focus, h2 span a:hover,
h3 a:hover, h3 a:focus {
	color:#0077bd !important;
	text-decoration:none !important;
	cursor: text;
}

.secondary div .feedlink img { /* On the sidebar */
	height:18px;
	width:18px;
	margin:0;
	border:none;
}

a.more-link {
	display:block;
	height:20px;
	margin-top:1em;
	line-height:22px;
	text-align:right;
	padding-right:25px;
	background:url(more.gif) no-repeat right top;
}

a.feedlink {
	background:url('rss-icon.gif')  no-repeat right center;
}

/* Hauptmenue
***********************************************************************************************/

ul.menu {
	top:10px;
	left:auto;
	right:0;
	width:680px;
	height:3em;
	text-align:right;
}

ul.menu li {
	display:inline;
	margin:0;
}

ul.menu li a {
	padding: 5px 10px 6px 10px;
}
		
.admintab {
	position:static;
}

ul.menu li a:link,
ul.menu li a:visited {
	color:#d7eafa;
}

ul.menu li a:hover,
ul.menu li a:focus {
	background: none;
	color:#d7eafa !important;
	text-decoration:underline;
}
  
ul.menu li.current_page_item a:link, ul.menu li.current_page_item a:visited,
ul.menu li.current_page_item a:hover,
ul.menu li.current_page_parent a:link, ul.menu li.current_page_parent a:visited,
ul.menu li.current_page_parent a:hover { 
	color:#fff !important;
	font-weight:bold;
	background:none !important;
}

/* Formulare
***********************************************************************************************/

input[type=text]:focus, textarea:focus {
	background:#fff;
	color:#333;
	border-color:#167f00;
}

/* Suche */

#searchbox {
	position:absolute;
	top:250px;
	right:0;
	display:inline;
	width:225px;
	overflow: hidden;
}

#searchbox input {
	padding: 2px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 100%;
	border:1px solid #0077bd;
	background: #71aeda;
}

#searchbox input#s {
	width: 175px;
}

#searchbox input#searchsubmit {
	padding:1px 2px;
}

#searchbox input#searchsubmit:hover {
	color: #fff;
	background: #0077bd;
}

#searchform {
	display: inline;
	width:175px;
	overflow: hidden;
}

#searchreset {
	position:absolute;
	left:auto !important;
	right:0px;
	top:0px;
	height:19px;
	width:20px;
	background:url('more.gif') no-repeat right center;
}

#searchload {
	position:absolute;
	left:auto !important;
	right:0;
	top:0;
	height:18px;
	width:18px;
	background:url('more-white.gif') center center no-repeat;
}

#s.livesearch {
	top: 155px;
	left: 0;
    width:212px;
	padding:2px;
	font:100% normal Arial, Helvetica, sans-serif;
	color:#d7eafa;
    border: 1px solid #0077bd;
	background:url('bg-input.gif') 0 0 no-repeat; 
}

/* Search Hilite */

.hilite {
	color: #fff;
	background: #51AE12;
}
.hilite1 {
	color:#fff;
	background:#51AE12;
}
.hilite2 {
	color:#fff;
	background:#51AE12;
}
.hilite3 {
	color:#fff;
	background:#51AE12;
}

/* Kontaktformular */

span.required {
	color: #ff0000;
	margin-left: 125px;
}

form.ddfm {
	padding: 0 !important;
	margin-left: 0 !important;
	margin-bottom: 30px;
}

body.page-slug-katalog-anfordern form.ddfm {
	margin-top: 30px !important;
}

form.ddfm div.fmcheck {
	margin: 0 !important;
}

form.ddfm div.fmcheck p {
	width: 350px !important;
}

form.ddfm input {
	margin-right: 10px !important;
}

form.ddfm select.fmselect {
	width: 200px !important;
	margin: 5px 0 0 !important;
	padding: 0 !important;
} 

form.ddfm textarea#fm_anfrage {
	margin-top: 10px !important;	
}

form.ddfm label {
	margin-top: 5px !important;
}

form.ddfm span.required {
	margin: 0 !important;
	padding-left: 1px !important;
}

form.ddfm div.fmfullblock {
	width: 98% !important;
	margin-bottom: 0 !important;	
}

form.ddfm div.fmradio {
	margin-top: 10px !important;
}

form.ddfm textarea#fm_verbesserungen {
	margin: 0 0 20px 120px !important;	
}

form.ddfm div.fmhalfblock {
	margin: 0 0 30px !important;
}

form.ddfm p.fieldwrap {
	clear: both;
}

form.ddfm input#fm_terminwunsch {
	width: 55% !important;
}

form.ddfm div.fmcal img#fmcal1 {
	position: absolute;
	top: 198px;
	right: 52px;
}

/* Startseite
***********************************************************************************************/

body.page-slug-home div.entry-content {
	margin-top: -5px;
}

body.page-slug-home div.ngg-galleryoverview {
	margin: 0;
}

body.page-slug-home div.slideshow {
	margin: 0;
}

body.page-slug-home div.entry-content div.slideshowlink {
	display: none;
}

/* iFrame-Seiten
***********************************************************************************************/
/* Baufinanzierung */
#iframe-navi {
	clear: both;
	display: block;
	height: 20px;
	width: 660px;
	margin: 15px 0 10px -11px;
	padding: 0 0 9px 10px;
	background: url(content-line.png) no-repeat left bottom;
}

*html #iframe-navi { margin-top: 20px; padding-bottom: 2px; }

#iframe-navi a {
	float: left;
	display: block;
	height: 25px;
	margin: 0;
	padding: 0 6px;
	font-size: 120%;
	color:#71aeda;
	line-height: 25px;
}

#iframe-navi a#iframe-current {
	color:#0077bd;
	border: 1px solid #A8CBEC;
	border-bottom: 1px solid #fff;
	background: #fff;
}

iframe {
	display: block;
	margin: 0 0 50px -11px;
	width: 700px;
	border:none;
	overflow:hidden;
}

body.page-slug-baufinanzierung iframe { height:1000px; margin: 10px 0 0 0 !important;}
body.page-slug-grundstuecke-und-immobilien iframe { height:1900px; }
body.page-slug-immobilienangebote iframe { height:2400px; } 
body.page-slug-neubauvorhaben iframe { height:2000px; }

body.page-slug-baufinanzierung div.content,
body.page-slug-grundstuecke-und-immobilien div.content,
body.page-slug-immobilienangebote div.content,
body.page-slug-neubauvorhaben div.content {
	background:url(bg-content-iframe.gif) repeat-y left;
}

body.page-slug-baufinanzierung div.content-head,
body.page-slug-grundstuecke-und-immobilien div.content-head,
body.page-slug-immobilienangebote div.content-head,
body.page-slug-neubauvorhaben div.content-head {
	background:url(bg-content-top-iframe.gif) no-repeat left top;
}

body.page-slug-baufinanzierung div.content-foot,
body.page-slug-grundstuecke-und-immobilien div.content-foot,
body.page-slug-immobilienangebote div.content-foot,
body.page-slug-neubauvorhaben div.content-foot {
	background:url(bg-content-btm-iframe.gif) no-repeat left bottom;
} 

body.page-slug-baufinanzierung h2 {
	margin-top: 20px;
}

body.page-slug-baufinanzierung #primary,
body.page-slug-grundstuecke-und-immobilien #primary,
body.page-slug-immobilienangebote #primary,
body.page-slug-neubauvorhaben #primary,
body.page-slug-standorte-und-musterhaeuser #primary {
	overflow:visible;
	width:700px;
}

body.page-slug-baufinanzierung #sidebar-1,
body.page-slug-grundstuecke-und-immobilien #sidebar-1,
body.page-slug-immobilienangebote #sidebar-1,
body.page-slug-neubauvorhaben #sidebar-1,
body.page-slug-standorte-und-musterhaeuser #sidebar-1 {
	float:left;
	left:-728px;
} 

body.page-slug-baufinanzierung #sidebar-2,
body.page-slug-grundstuecke-und-immobilien #sidebar-2,
body.page-slug-immobilienangebote #sidebar-2,
body.page-slug-neubauvorhaben #sidebar-2,
body.page-slug-standorte-und-musterhaeuser #sidebar-2 {
	display:none;
} 

/* Hausmodelle-Seiten
***********************************************************************************************/

body.page-slug-hausmodelle div.entry-content p {
	margin: 0 0 20px 10px;
}

body.page-slug-hausmodelle div.entry-content img {
	padding: 0;
	border: 2px solid #fff;
}

body.page-slug-hausmodelle div.entry-content a img:hover {
	border-color: #e3330a;
}


/* Standorte-Seite
***********************************************************************************************/

body.page-slug-standorte-und-musterhaeuser div.content {
	background:url(bg-content-iframe.gif) repeat-y left;
}

body.page-slug-standorte-und-musterhaeuser div.content-head {
	background:url(bg-content-top-iframe.gif) no-repeat left top;
}

body.page-slug-standorte-und-musterhaeuser div.content-foot {
	background:url(bg-content-btm-iframe.gif) no-repeat left bottom;
}

body.page-slug-standorte-und-musterhaeuser h2 {
	margin-top: 20px;
}

body.page-slug-standorte-und-musterhaeuser div.entry-content p {
	width: 600px;
	margin-bottom: 0;
}

div#gmap {
	margin: 0 0 0 -11px;
}

/* Ausblenden von Elementen
***********************************************************************************************/
div#nav-below,
div.comments,
a.feedlink, #comments,
h1 span, #header p.description, 
ul#mainmenu li a span,
.meta-start, div.entry-date .meta-prep, div.entry-author, span.entry-tags,
.metalinks, .commentslink, #texttrimmer,
p.footerstyledwith,
p.footerpoweredby,
p.footerfeedlinks,
p.footerstats {
	position:absolute;
	left:-10000px;
	top:-10000px;
}