/*  
Theme Name: Ernsthausen.de
Theme URI: http://www.ernsthausen.de/
Description: WordPress-Theme für Ernsthausen.de
Version: 1.0
Author: seitenblick interaktive medien gmbh
Author URI: http://seitenblick.de/
*/

/**
 * CSS-STYLESHEET FUER ERNSTHAUSEN.DE
 */

/*/
 * ALLGEMEINE DEFINITIONEN
 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
 margin: 0;
 padding: 0;
 border: none;
 font-size: 1em;
 vertical-align: baseline;
}

html {
 background: url(i/bg_html.gif) center repeat-y;
 color: #48452d;
}

body {
 font-family: Verdana, Helvetica, Sans-Serif;
 font-size: 100.01%;
}

code {
 font-family: "Courier New", Monospace;
}

label {
 cursor: pointer;
}

h1 {
 color: #726d47;
 font-family: Georgia, Serif;
 font-size: 1.75em;
 font-weight: normal;
}

h1 a:link,
h1 a:visited {
 color: #726d47;
 text-decoration: none;
}

h1 a:hover,
h1 a:focus {
 color: #db630b;
 text-decoration: underline;
}

h2 {
 color: #726d47;
 font-family: Georgia, Serif;
 font-size: 1.125em;
 font-weight: normal;
}

p {
 font-size: 0.75em;
 line-height: 1.5;
}

ol, ul {
 font-size: 0.75em;
 list-style: none;
}

table {
 font-size: 0.75em;
}

table th {
 padding: 2px 10px 2px 0;
 text-align: left;
}

table td {
 padding: 2px 10px 2px 0;
}

a:link,
a:visited {
 color: #db630b;
 outline: none;
 text-decoration: none;
}

a:hover,
a:focus {
 text-decoration: underline;
}





/**
 * ALLGEMEINE KLASSEN
 */
.c {
 clear: both;
}

.x {
 display: none;
}

.input170 {
 background: url(i/bg_input170.gif) no-repeat;
 padding: 4px 5px 3px 5px;
}

.input170 input {
 background: transparent;
 border: none;
 font-family: Verdana, Helvetica, Sans-Serif;
 font-size: 0.6875em;
 width: 160px;
}

.textarea442{
 background: url(i/bg_textarea442.gif) no-repeat;
 padding: 5px 5px;
}

.textarea442 textarea {
 background: transparent;
 border: none;
 font-family: Verdana, Helvetica, Sans-Serif;
 font-size: 0.6875em;
 height: 162px;
 width: 432px;
}

.divider {
 background: url(i/bg_divider.gif) right center no-repeat;
 border: 1px solid #a4a06b;
 border-left: none;
 font-family: Arial, Verdana, Sans-Serif;
 font-size: 0.75em;
 font-weight: bold;
 margin: 0 0 15px 0;
 padding: 2px 0 1px 0;
}

.morelink {
 font-size: 0.6875em;
}

.morelink.float {
 float: left;
}

.txtcenter {
 text-align: center;
}

.txtright {
 text-align: right;
}

.nofloat {
 float: none !important;
}

.noborder {
 border: none !important;
}

.nomargin {
 margin: 0 !important;
 padding: 0 !important;
}





/**
 * WRAPPER
 */
#wrapper {
 background: url(i/bg_wrapper.gif);
 margin: 0 auto 100px auto;
 padding: 0 3px;
 width: 764px;
}





/**
 * HEADER
 */
#header {
 height: 155px;
 position: relative;
}

#header #logo {
 left: 10px;
 position: absolute;
 top: 30px;
}

#header #search {
 position: absolute;
 right: 10px;
 top: 50px;
 width: 242px;
}

#header #search .input170,
#header #search .btn {
 float: left;
 margin: 0 0 0 4px;
}

/* Navigation */
#header #nav {
 background: url(i/bg_nav.gif) left bottom repeat-x;
 font-size: 1.0625em;
 padding: 0 0 20px 0;
 position: absolute;
 right: 0;
 top: 83px;
}

#header #nav li {
 float: left;
}

#header #nav a:link,
#header #nav a:visited {
 color: #fff;
 display: block;
 font-family: Georgia, Serif;
 height: 24px;
 padding: 5px 0;
 text-align: center;
}

#header #nav a:hover,
#header #nav a:focus {
 background-position: 0 -34px;
 text-decoration: none;
}

#header #nav a:active {
 background-position: 0 -68px;
}

#header #nav a.act {
 background-position: 0 -102px;
 color: #d5cd88;
}

#header #nav_startseite {
 background: url(i/bg_nav_startseite.gif) no-repeat;
 width: 110px;
}

#header #nav_700jahre {
 background: url(i/bg_nav_700jahre.gif) no-repeat;
 width: 119px;
}

#header #nav_geschichte {
 background: url(i/bg_nav_700jahre.gif) no-repeat;
 width: 119px;
}

#header #nav_vereine {
 background: url(i/bg_nav_vereine.gif) no-repeat;
 width: 99px;
}

#header #nav_veranstaltungen {
 background: url(i/bg_nav_veranstaltungen.gif) no-repeat;
 width: 170px;
}

#header #nav_galerien {
 background: url(i/bg_nav_galerien.gif) no-repeat;
 width: 113px;
}

#header #nav a.over {
 color:#CCC271;
 background-position:0pt -102px;
}

/* Metanavigation */
#header #metanav {
 font-size: 0.6875em;
 line-height: 1;
 position: absolute;
 right: 10px;
 top: 7px;
}

#header #metanav li {
 border-right: 1px solid #7e794e;
 float: left;
 padding: 0 18px;
}

#header #metanav li.last {
 border: none;
 padding: 0 0 0 18px;
}

#header #metanav a {
 color: #7e794e;
}





/**
 * CONTENT
 */
#content {
 float: left;
 padding: 0 30px 50px 30px;
 width: 445px;
}

#content p {
 margin: 0 0 10px 0;
}

#content table {
 margin: 0 0 10px 0;
}

#content ul {
 line-height: 1.5;
 margin: 0 0 10px 5px;
}

#content ol {
 line-height: 1.5;
 list-style: decimal;
 margin: 0 0 10px 23px;
}

#content ul li {
 background: url(i/bg_li.gif) 0 6px no-repeat;
 padding: 0 0 0 15px;
}

#content blockquote {
 background: url(i/bg_blockquote.gif) 0 2px no-repeat;
 color: #716c46;
 font-style: italic;
 padding: 0 0 0 20px;
}

#content blockquote p {
 background: none !important;
 text-indent: 0 !important;
}

#content .article {
 margin: 0 0 15px 0;
}

#content .article .date {
 color: #a4a06b;
 font-size: 0.6875em;
 margin: 0 0 5px 0;
}

#content .article h1 {
 margin: 10px 0 20px 0;
}

#content .article.list h1 {
 font-size: 1.125em;
}

#content .article h2 {
 margin: 15px 0 10px 0;
}

#content .article.list .divider {
 margin: 0 0 5px 0;
}

#content .article img {
 border: 1px solid #726d47;
 float: right;
 margin: 3px 0 15px 15px;
 padding: 1px;
}

#content .article .comments {
 font-size: 0.6875em;
 margin: 10px 0 0 0;
 text-align: right;
}

/* Galerie */
#content .article.gallery img {
 border: none;
 float: left;
 margin: 4px 15px 5px 0;
 padding: 0;
}

#content .article.gallery p {
 background: none;
 text-indent: 0;
}

#content .gallery_detail {
 background: url(i/bg_article.gif) left bottom repeat-x;
 margin: 0 0 10px 0;
}

#content .gallery_detail a:link, #content .gallery_detail a:visited { border: 
1px solid #d1cfb5; float: left; margin: 0 20px 30px 0; padding: 1px; }

#content .gallery_detail a:hover,
#content .gallery_detail a:focus {
 border: 1px solid #726d47;
}

#content .gallery_detail a.last {
 margin: 0 0 30px 0;
}

/* Jumplist */
#content .jumplist {
 font-size: 0.6875em;
 position: relative;
 text-align: center;
}

#content .jumplist .back {
 left: 0;
 position: absolute;
 top: 0;
}

#content .jumplist .next {
 position: absolute;
 right: 0;
 top: 0;
}

#content .jumplist .act {
 color: #db630b;
 font-weight: bold;
 text-decoration: underline;
}

/* Kommentare */
#content .comment {
 padding: 0 0 20px 0;
}

#content .comment .author {
 font-size: 0.6875em;
}

#content #comments_form {
 margin: 20px 0 0 0;
}

#content #comments_form .input170,
#content #comments_form .textarea442 {
 float: left;
 margin: 0 0 10px 0;
}

#content #comments_form span {
 float: left;
 font-size: 0.6875em;
 padding: 3px 0 0 10px;
}

#content #comments_form .left {
 float: left;
 font-size: 0.6875em;
 padding: 7px 0 0 0;
 width: 300px;
}

#content #comments_form .right {
 float: right;
 width: 67px;
}

#content #comments_form button {
 background: none;
 border: none;
 height: 25px;
 width: 67px;
}

#content #comments_form button img {
 border: none;
 float: none;
 margin: 0;
 padding: 0;
}

/* Rahmen oben bzw. unten */
#content .border-top {
 background: url(i/bg_article.gif) repeat-x;
 padding-top: 9px;
}

#content .border-bottom {
 background: url(i/bg_article.gif) bottom repeat-x;
 padding-bottom: 35px;
}

/* Google Maps */
#content #gmaps {
 height: 300px;
 width: 442px;
}





/**
 * SIDEBAR
 */
#sidebar {
 float: left;
 padding: 0 11px 50px 8px;
 width: 240px;
}

#sidebar p,
#sidebar ul,
#sidebar ol {
 font-size: 0.6875em;
 line-height: 1.4;
}

#sidebar li {
 background: url(i/bg_li.gif) 0 5px no-repeat;
 padding: 0 0 10px 20px;
}

#sidebar .divider {
 margin: 15px 0;
}

#sidebar .galerie_teaser a {
 float: left;
 margin: 7px 23px 13px 0;
}

#sidebar .galerie_teaser a.last {
 margin: 7px 0 13px 0;
}
 
#sidebar .linkcat h2 {
	visibility:hidden;
    list-style-type:none;
}

#sidebar .linkcat {
    list-style-type:none;
}

#sidebar .linkcat ul li {
	margin-left: -20px;
}

#sidebar .linkcat ul {
	margin-top:-26px;
}

#sidebar #linkliste{
 font-size: 1.0em;
}

#sidebar #linkliste li{
 background:none;
}

#sidebar #linkliste ul li{
 background: url(i/bg_li.gif) 0 5px no-repeat;
 padding: 0 0 10px 20px;
}

/**
 * FOOTER
 */
#footer {
 background: url(i/bg_footer.gif) repeat-x;
 clear: both;
 height: 27px;
 width: 100%;
}

#footer ul {
 font-size: 0.6875em;
 line-height: 1;
 float: right;
 margin: 9px 10px 0 0;
}

#footer li {
 border-right: 1px solid #fff;
 float: left;
 padding: 0 10px;
}

#footer li.last {
 border: none;
 padding: 0 0 0 10px;
}

#footer a {
 color: #fff;
}





/**
 * THICKBOX
 */
/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
*{padding: 0; margin: 0;}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_window {
	font: 12px Arial, Helvetica, sans-serif;
	color: #333333;
}

#TB_secondLine {
	font: 10px Arial, Helvetica, sans-serif;
	color:#666666;
}

#TB_window a:link {color: #666666;}
#TB_window a:visited {color: #666666;}
#TB_window a:hover {color: #000;}
#TB_window a:active {color: #666666;}
#TB_window a:focus{color: #666666;}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_overlay {
	position: fixed;
	z-index:100;
	top: 0px;
	left: 0px;
	height:100%;
	width:100%;
}

.TB_overlayMacFFBGHack {background: url(macFFBgHack.png) repeat;}
.TB_overlayBG {
	background-color:#000;
	filter:alpha(opacity=75);
	-moz-opacity: 0.75;
	opacity: 0.75;
}

* html #TB_overlay { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_window {
	position: fixed;
	background: #ffffff;
	z-index: 102;
	color:#000000;
	display:none;
	border: 4px solid #525252;
	text-align:left;
	top:50%;
	left:50%;
}

* html #TB_window { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TB_window img#TB_Image {
	display:block;
	margin: 15px 0 0 15px;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-top: 1px solid #666;
	border-left: 1px solid #666;
}

#TB_caption{
	height:25px;
	padding:7px 30px 10px 25px;
	float:left;
}

#TB_closeWindow{
	height:25px;
	padding:11px 25px 10px 0;
	float:right;
}

#TB_closeAjaxWindow{
	padding:7px 10px 5px 0;
	margin-bottom:1px;
	text-align:right;
	float:right;
}

#TB_ajaxWindowTitle{
	float:left;
	padding:7px 0 5px 10px;
	margin-bottom:1px;
}

#TB_title{
	background-color:#e8e8e8;
	height:27px;
}

#TB_ajaxContent{
	clear:both;
	padding:2px 15px 15px 15px;
	overflow:auto;
	text-align:left;
	line-height:1.4em;
}

#TB_ajaxContent.TB_modal{
	padding:15px;
}

#TB_ajaxContent p{
	padding:5px 0px 5px 0px;
}

#TB_load{
	position: fixed;
	display:none;
	height:13px;
	width:208px;
	z-index:103;
	top: 50%;
	left: 50%;
	margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
}

* html #TB_load { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TB_HideSelect{
	z-index:99;
	position:fixed;
	top: 0;
	left: 0;
	background-color:#fff;
	border:none;
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
	height:100%;
	width:100%;
}

* html #TB_HideSelect { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_iframeContent{
	clear:both;
	border:none;
	margin-bottom:-1px;
	margin-top:1px;
	_margin-bottom:1px;
}



/* 700 Jahre Overlay */
#siebenhundert_bg {
 position:absolute;
 left:0;
 top:0;
 width:100%;
 height:100%;
 background-color:#000;
 filter:alpha(opacity=75);
 -moz-opacity: 0.75;
 opacity: 0.75;
}

#siebenhundert_content {
 position:absolute;
 top:0px;
 left:150px;
 margin: 50px 0 0 0;
 padding: 15px 15px 15px 15px;
 font-size:0.8em;
 background:#FFF;
 border: 4px solid #525252;
 color: #000;
}

#siebenhundert_content p a {
 color:#000;
}

#siebenhundert_infobox {
	position:absolute;
	top:75px;
	padding: 5px 5px 5px 5px;
	background-color:#EEEEEE;
	border:1px solid #000;
	font-size: 0.8em;
	.font-weight:bold;
}

#siebenhundert_subnav {
	margin: 5px 0px 10px 10px;
	padding: 10px 10px 10px 10px;
	width: 130px;
	border: 1px solid #726D47;
	font-size:0.8em;
	float:right;
}

#siebenhundert_subnav li {
	padding: 0px 0 5px 10px;
	list-style-type: none;
	background: transparent url(i/bg_li.gif) no-repeat scroll 0pt 5px;
}
