body {
	color: black;
	background-image:url('../img/back-wood-04b.png');
	font-family: sans-serif;
	font-size: 11pt;
	text-align: center;
}

h1 { 
	font-weight: bold;	
	font-size:16pt; 
	margin-bottom:1.5em;
	margin-top:2em;
}

h2 { 
	font-weight: bold;	
	font-size:14pt; 
	margin-bottom:1.5em;
}

span.small_note{
	font-size:10pt;
	font-style: italic;
}

/**
 * Main block containing banner, navigation bar, main content...just everything
 */ 
div.main_block {
	background-color:#ffffff;
	margin-left: auto;
	margin-right: auto;
	text-align:center;
	width: 60%;
	border: 1px solid black;
/*	margin: 20pt;	*/
}

/**
 * Block for page contents.
 */
div.main_content {
	margin-top: 40px;
	text-align: center;
	margin-bottom: 40px;
}

/**
 * Navigation bar
 */
div.navi_bar {
	margin-top: 5px;
	margin-right: 5px;
	margin-left: 5px;
	font-size: 12pt;
}

div.navi_bar div.left {
	float: left;
	text-align:left;
}

div.navi_bar div.right {
	float: right;
	text-align:right;
}

/**
 * Styles for comments and ratings.
 */ 
p.activity {
	background-color: #E3E7EA;
	line-height: 1.5em;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 2em;
	width: 80%;
	border-bottom: 2px solid black;
	border-top: 2px solid black;
}

p.activity span.edit {
	display: block;
	width: 40px;
	float:left;
	text-align: left;
	padding-left: 1em;
}

p.activity span.author {
	font-weight: bold;
	display: block;
	width: 70%;
	float:left;
	text-align: left;
	padding-left: 1em;
}

p.activity span.time {
	display: block;
	width: 80%;
	text-align: right;
	margin-left: auto;
	padding-right: 1em;
}

p.activity span.episode {
	display: block;
	text-align: left;
	padding-left: 1em;
}

p.activity span.comment, p.activity span.rating {
	background-color: #F8F8F8;
	display: block;
	font-family: monospace;
	padding: 0.5em 1em;
	border-top: 1px solid black;
	text-align: left;
}

p.activity span.rating:before {
	content: "Bewertung: ";
}

/**
 * Navigation for browsing through pages of overviews.
 */
div.navigation * input {
	margin: 0.5em;
}


div.page_navigation {
	margin: 0.75em 0;
	text-align: center;
}

div.page_navigation img {
	height: 1.5em;
	vertical-align: middle;
}

div.page_navigation span.text {
	margin: 0 3em;
}



/**
 * Banner
 */
div.banner_top_white {
	text-align: right;
	background-color:#ffffff;
	height: 25px;
}


div.banner_top_white input {
	vertical-align: bottom;
	margin-right: 0.5em;
	margin-bottom: 0.5em;
	margin-top: 0.5em;
}

div.banner_top {
	background-color:#2d2e2f;
	height: 180px; background-image:url('../img/banner-back-04.png');
	
	border-top: 1px solid black;
	border-bottom: 1px solid black;
	background-repeat: no-repeat;
	background-position: top center;
}

div.banner_top img {
	height: 180px;
	position: relative;
	left: 30px;
	top: -50px;
	z-index: 1; /* make sure banner image is behind navigation and login fields*/
}

div.banner_bottom {
	background-color:#2d2e2f;
	height: 15px;
	color: #ffffff;
	border-top: 1px solid black;
	border-bottom: 1px solid black;
}

div.banner_bottom_white {
	background-color:#ffffff;
	color: #000000;
	padding: 0.3em;
	height: 25px;	
}

div.banner_bottom_white div.left {
	text-align: left;
	float: left;
	width: 50%;
	line-height: 2em;
}

div.banner_bottom_white div.right {
	text-align: right;
	width: 50%;
	margin-left: auto;	
}

div.banner_bottom_white * img {
	height: 2em;
}

/**
 * Info text at the very end of the page
 **/

.center {
	text-align: left;
}

/** 
 * Rgister table
 */

table.form_table {
	background-color:#ffffff;
	color:#000000;
	margin-left: auto;
	margin-right: auto;
}
table.form_table td {
	padding: 2pt;
}

table.form_table td:nth-child(odd) {
	text-align:right;
}

table.form_table td:nth-child(even) {
	text-align:left;
}



/** 
 * Overview table
 */
 
div.overview_heading {
	color:#000000;
	font-size: 12pt;
	text-align:center;
	margin-bottom: 2em;
}

table.overview_table {
	background-color:#ffffff;
	color:#000000;
	border-top: 2px solid black;
	border-bottom: 2px solid black;
	border-collapse:collapse;
	margin-left: auto;
	margin-right: auto;
}

table.overview_table td, .overview_table th {
	text-align: left;
	padding: 5pt;
}

table.overview_table td:nth-child(6n) {
	width: 7.5em;
}

table.overview_table td:nth-child(6n-5) {
	width: 24em;
}

table.overview_table td:nth-child(5n) {
	width: 8.5em;
}

table.overview_table th {
	border-bottom: 1px solid black;
}

table.overview_table tr:nth-child(even) {
	background-color: #E3E7EA;
}

/**
 * Table for showing wine info.
 */
 

div.wine_img {
	margin-left:5em;
}

table.show_wine_table {
	background-color:#ffffff;
	color:#000000;
	text-align:center;
	margin-left:auto;
	margin-right:auto;
	border-collapse:collapse;
	margin-bottom: 3em;
}

table.show_wine_table td {
	padding: 5pt;
}

table.show_wine_table td:nth-child(odd) {
	font-weight:bold;
	text-align: right;
}

table.show_wine_table td:nth-child(even) {
	text-align: left;
}

table.show_wine_table td:nth-child(3n) {
	text-align: left;
	font-weight: normal;
}

/**
 * LINKS
 */
a:link, a:visited {
	font-weight:normal;
	color: #4E4E4E;
	text-decoration: none;
}
a:focus, a:hover, a:active {
	color: #000000;
}

div.note {
	color: #BB2C28;
	font-size: 10pt;
	margin-left: auto;
	margin-right: auto;
	margin-top: 10pt;
	margin-bottom: 20pt;
	text-align:center;
	width: 85%;
}

/**
 * Image blocks
 */
img.fadenkreuz {
	width: 1.5em;
	height: 1.5em;
}

img.sort {
	height: 0.8em;
}

img.remove {
	height: 1em;
}

img.icon {
	height: 1em;
	margin-left: 1em;
	vertical-align: top;
}

/**
 * Table for adding ratings and comments formulars.
 */
table.add_rating_table {
	background-color:#ffffff;
	color:#000000;
	border-collapse:collapse;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}

table.add_rating_table td {
	padding-left:1em;	
	height: 2em;
	vertical-align: top;	
}

table.add_rating_table td:nth-child(even) {
	text-align:left;
}

table.add_rating_table td:nth-child(odd) {
	text-align:right;
}

table.add_rating_table td:nth-child(3n) {
	text-align:left;
}

/**
 * Add description to episode
 */
div.add_description_source {
	text-align:left;
	margin:auto;
	width:40%;
}


/**
 * Misc
 */

div.block {
	margin-top: 1em;
	margin-bottom: 1em;
}

div.nav_block {
	margin-left:auto;
	margin-right:auto;
	width:70%;
}
