/**
 * @package WordPress
 * @subpackage Baecker_Baier_Theme
 */

/*
Theme Name: Bäcker Baier
Theme URI: http://www.baecker-baier.de/
Description: WordPress theme for baecker-baier.de
Version: 0.6
Author: SF eBusiness GmbH
Author URI: http://www.sfebusiness.com/
*/

/*
 * Reset
 */
* { margin: 0; padding: 0; }
body { font: 13px/1.385 Arial, Helvetica, sans-serif; }
h1, h2, h3, h4, h5, h6 { font-size: 1em; }
img, object, embed { display: block; border: 0; }
ul, ol { list-style: none; }
address, cite { font-style: normal; }
input { font: 1em/1.5 Arial, Helvetica, sans-serif; }

html, body { height: 100%; }
body { background: #ffffff; }
body { color: #cccccc; }
a { color: #cccccc; text-decoration: none; }


/*
 * CSS Sprites
 */
#header,
#footer {
	background: url(images/header-footer.jpg) no-repeat;
}
#logo h1 a,
#searchsubmit,
.widget_address h3,
#footer .facebook a,
#footer .twitter a {
	background: url(images/sprite.png) no-repeat;
}


#page {
	overflow: hidden;
	min-height: 100%;
	width: 1273px;
	background: #261a12 url(images/hintergrund.jpg) repeat-y 0 118px;
}
	#header {
		width: 100%;
		height: 118px;
		background-color: #fdfdfd;
	}
		#logo {
			width: 320px;
			margin: 0 auto;
		}
			#logo h1 {
				padding-top: 13px;
			}
				#logo h1 a {
					display: block;
					height: 87px;
					background-position: -171px top;
					color: #434343;
					font-size: 36px;
					font-weight: normal;
					text-indent: -9000px;
					text-transform: uppercase;
				}
	#main {
		float: left;
		position: relative;
		min-height: 635px;
		width: 1273px;
		padding-top: 30px;
		background: url(images/home-bild-1.jpg) no-repeat right top;
	}
	.single #main,
	.bildergalerie #main {
		background-image: none;
	}
		#sidebar {
			float: left;
			width: 140px;
			margin: 0 0 37px 18px;
		}
			#searchform {
				width: 165px;
				margin: 0 -25px 20px 0;
			}
				#searchform label {
					display: none;
				}
				#s {
					width: 134px;
					height: 16px;
					padding: 2px;
					border: 1px solid #434343;
					color: #434343;
					line-height: 16px;
					vertical-align: top;
				}
				#searchsubmit {
					width: 20px;
					height: 20px;
					background-position: 4px 4px;
					border: 0;
					line-height: 20px;
					text-align: left;
					text-indent: -9000px;
					vertical-align: top;
					overflow: hidden;
				}
			#subNavi {
				margin-bottom: 24px;
			}
				#subNavi li {
					display: inline;
				}
					#subNavi a {
						display: block;
					}
					#subNavi a:hover,
					#subNavi .current-cat a,
					#subNavi .current-cat-parent a,
					#subNavi .current-cat-ancestor a {
						color: #ffffff;
					}
					#subNavi li ul {
						display: none;
						margin: 2px 0 5px 10px;
						line-height: 1.2;
					}
					#subNavi .current-cat ul,
					#subNavi .current-cat-parent ul,
					#subNavi .current-cat-ancestor ul {
						display: block;
					}
						#subNavi li ul a {
							margin-bottom: 3px;
						}
						#subNavi .current-cat ul a,
						#subNavi .current-cat-parent ul a,
						#subNavi .current-cat-ancestor ul a {
							color: #cccccc;
						}
						#subNavi .current-cat ul a:hover,
						#subNavi .current-cat-parent ul a:hover,
						#subNavi .current-cat-ancestor ul a:hover,
						#subNavi .current-cat-parent .current-cat a,
						#subNavi .current-cat-ancestor .current-cat-parent a {
							color: #ffffff;
						}
						#subNavi .current-cat ul ul,
						#subNavi .current-cat-parent ul ul,
						#subNavi .current-cat-ancestor ul ul {
							display: none;
						}
						#subNavi .current-cat-ancestor .current-cat-parent ul,
						#subNavi .current-cat-parent .current-cat ul {
							display: block;
						}
							#subNavi .current-cat-parent .current-cat ul a,
							#subNavi .current-cat-ancestor .current-cat-parent ul a {
								color: #cccccc;
							}
							#subNavi .current-cat-parent .current-cat ul a:hover,
							#subNavi .current-cat-ancestor .current-cat-parent ul a:hover,
							#subNavi .current-cat-ancestor .current-cat-parent .current-cat a {
								color: #ffffff;
							}
			#accordion {
				margin-bottom: 24px;
			}
				.widget_address h3 {
					height: 20px;
					padding: 0 10px;
					background-color: #96030f;
					background-position: 120px -108px;
					color: #ffffff;
					line-height: 20px;
					cursor: default;
				}
				.widget_address h3.ui-state-active {
					background-color: #ffffff;
					background-position: 120px -52px;
					color: #96030f;
				}
				.widget_address h3:focus {
					outline: 0;
				}
				.widget_address .vcard {
					padding: 6px 10px 4px;
					background: #ffffff;
					color: #6b6b6b;
					font-size: 11px;
				}
					.widget_address .vcard span,
					.widget_address .vcard .adr .street-address {
						display: block;
					}
					.widget_address .vcard .org {
						display: none;
					}
						.widget_address .vcard .adr span {
							display: inline;
						}
					.widget_address .vcard a {
						color: #6b6b6b;
					}
					.widget_address .vcard a:hover {
						color: #96030f;
					}
				.widget_recent_comments h2 {
					margin-bottom: 11px;
				}
			#moreWidgets .ctc {
				margin-bottom: 24px;
			}
			#moreWidgets li.recentcomments {
				color: #949494;
				font-size: 11px;
			}
		#content {
			float: left;
			width: 402px;
			margin-left: 53px;
			padding-bottom: 37px;
		}
			.wp-smiley {
				display: inline;
				vertical-align: top;
			}
			.block {
				display: block;
				margin-bottom: 11px;
				padding-bottom: 13px;
				border-bottom: 1px solid #7c7c7c;
			}
			.block:after {
			   display: block;
			   visibility: hidden;
			   clear: both;
			   height: 0;
			   content: ".";
			}
			.bildergalerie .block {
				border: 0;
			}
				.block h2 {
					margin-bottom: 1px;
					color: #e9e9e9;
					font-size: 20px;
					font-weight: normal;
				}
					.block h2 a {
						color: #e9e9e9;
					}
				.post-content {
					color: #c1c1c1;
				}
					.post-content p {
						margin-bottom: 1em;
					}
						.post-content p a {
							text-decoration: underline;
						}
					.post-content ul {
						margin-left: 1em;
						padding-left: 1em;
						list-style: disc;
					}
					.post-content .more-link {
						color: #ffffff;
					}
				.post-tags {
					color: #cd2246;
				}
					.post-tags a {
						color: #cd2246;
					}
				.post-image {
					position: absolute;
					right: 0;
					top: 0;
				}
					.post-image .caption {
						padding-right: 3px;
						font-size: 11px;
						text-align: right;
					}
				#comments h2 {
					margin-bottom: 11px;
					color: #e9e9e9;
				}
				.commentlist {
					margin-bottom: 11px;
					border-bottom: 1px solid #7c7c7c;
					/*font-size: 11px;*/
				}
					.commentlist li {
						padding-bottom: 13px;
					}
						.commentlist .comment-author {
							margin-bottom: 1em;
							font-size: 11px;
						}
				#commentform p {
					clear: left;
					margin-bottom: 6px;
				}
					#commentform label {
						margin-left: 3px;
						/*font-size: 11px;*/
					}
					#commentform textarea {
						width: 100%;
					}
					#comment {
						margin-top: 11px;
					}
			.paging {
				margin-bottom: 11px;
				padding-bottom: 13px;
			}
			body.category-unsere-backwaren .paging {
				/*font-size: 11px;*/
			}
				.newerPosts {
					float: left;
				}
				.olderPosts {
					float: right;
				}
					.newerPosts a:hover,
					.olderPosts a:hover {
						color: #ffffff;
					}
/*
 * http://matthewjamestaylor.com/blog/beautiful-css-centered-menus-no-hacks-full-cross-browser-support
 */
#footer {
	position: fixed;
	bottom: 0;
	width: 100%;
	min-width: 960px;
	max-width: 1273px;
	background-color: #96030f;
	background-position: bottom;
	color: #ffffff;
	text-align: center;
}
	#footer ul {
		float: left;
		clear: left;
		position: relative;
		left: 50%;
	}
		#footer li {
			float: left;
			position: relative;
			right: 50%;
		}
			#footer a {
				float: left;
				margin: 0 13px 0 12px;
				padding: 7px 0;
				line-height: 20px;
				border-bottom: 3px solid #96030f;
				color: #ffffff;
				text-transform: uppercase;
			}
			#footer a:hover {
				border-color: #ffffff;
			}
			#footer .facebook a,
			#footer .twitter a {
				height: 20px;
				text-indent: -9000px;
				text-transform: none;
			}
			#footer .facebook a {
				width: 60px;
				margin-left: 42px;
				background-position: -65px 6px;
			}
			#footer .twitter a {
				width: 65px;
				background-position: -65px -45px;
			}

/**
 * Contact Form 7
 */
.wpcf7 {
	margin-top: 1em;
}
	.wpcf7 div {
		float: left;
		width: 100%;
		margin-bottom: 1em;
	}
	.wpcf7 .submit {
		margin-bottom: 0;
	}
	.wpcf7 .wpcf7-response-output {
		margin-bottom: 0;
		color: #ffffff;
	}
		.wpcf7 label,
		.wpcf7 span {
			float: left;
		}
		.wpcf7 label {
			width: 33%;
		}
		.wpcf7 span {
			width: 66%;
		}
			.wpcf7 span span {
				width: 99%;
				color: #ffffff;
			}
			.wpcf7 .wpcf7-form-control-wrap input,
			.wpcf7 textarea {
				width: 98%;
				padding: 2px;
				border: 1px solid #434343;
				color: #434343;
			}
			.wpcf7 textarea {
				height: 6em;
			}
			.wpcf7 .submit input {
				margin-left: 33%;
			}

/*
 * NextGEN Gallery
 * ImageFlow
 */
body.archive.category-unsere-backwaren #content {
	width: 782px;
}
/*body.single #content {
	width: 402px;
}*/
body.bildergalerie #content {
	width: 1002px;
}
	body.bildergalerie .post-title {
		display: none;
	}
	body.bildergalerie .post-content,
	body.archive.category-unsere-backwaren .posts {
		margin: 0 -17px;
	}
	body.archive.category-unsere-backwaren .posts {
		width: 816px;
	}
	body.bildergalerie .post-content {
		width: 1036px;
	}
	#myImageFlow {
		background: #000000;
	}
		/*.ngg-gallery-thumbnail-box,*/
		body.archive.category-unsere-backwaren .post {
			float: left;
			width: 170px;
			padding: 0 17px 34px;
		}
		/*body.single .post {
			float: none;
			width: auto;
			padding: 0 0 13px;
		}*/
			/*.ngg-gallery-thumbnail,*/
			body.archive.category-unsere-backwaren .post-content {
				width: 154px;
				padding: 8px;
				background: #ffffff;
			}
			/*body.single .post-content {
				width: auto;
				padding: 0;
				background: transparent;
			}*/
				/*.ngg-gallery-thumbnail a,*/
				body.archive.category-unsere-backwaren .post-content a {
					display: block;
					width: 100%;
					height: 128px;
					margin-bottom: 4px;
					line-height: 126px;
					text-align: center;
					overflow: hidden;
				}
				/*body.single .post-content a {
					display: inline;
					width: auto;
					height: auto;
					margin-bottom: 0;
					line-height: inherit;
					text-align: left;
					overflow: visible;
				}*/
					/*.ngg-gallery-thumbnail img,*/
					body.archive.category-unsere-backwaren .post-content img {
						display: inline;
						vertical-align: middle;
					}
					/*body.single .post-content img {
						display: block;
						vertical-align: inherit;
					}*/
				/*.ngg-gallery-thumbnail span,*/
				body.archive.category-unsere-backwaren .post-content span {
					display: block;
					width: 100%;
					height: 26px;
					color: #6b6b6b;
					font-size: 0.9167em;
					line-height: 13px;
				}
				/*body.single .post-content span {
					display: inline;
					width: auto;
					height: auto;
					color: inherit;
					font-size: 1em;
					line-height: inherit;
				}*/
		/*.ngg-navigation,*/
		body.category-unsere-backwaren .paging {
			clear: left;
			margin: 0 0 11px 12px;
			padding-bottom: 13px;
		}
			/*.ngg-navigation span,*/
			body.category-unsere-backwaren .paging span {
				padding: 0 5px;
				color: #ffffff;
				font-weight: bold;
				cursor: default;
			}
			/*.ngg-navigation a,*/
			body.category-unsere-backwaren .paging a {
				padding: 0 5px;
				color: #949494;
			}
			/*.ngg-navigation .next,*/
			body.category-unsere-backwaren .olderPosts {
				margin-left: 15px;
			}
			/*.ngg-navigation .prev,*/
			body.category-unsere-backwaren .newerPosts {
				margin-right: 15px;
			}

/**
 * store-locator
 */

.post-content #sl_div {
    padding: 0;
    margin-top: 10px;
}
.sl_header, #cm_mapTR {
    display: none;
}

/**
 * jQuery lightbox
 */
body.bildergalerie #jquery-overlay {
	z-index: 10090;
}
body.bildergalerie #jquery-lightbox {
	z-index: 10090;
}
body.bildergalerie #jquery-lightbox a img {
	display: inline;
}

