/*
 * S2B-Base
 * base stylesheet
 *
 * (c) 2008 S2B-Project
 * http://www.s2b-project.de
 */

/*
 * GENERIC
 */
body {
	font-family: Verdana, Tahoma, sans-serif;
	font-size: 0.8em;
	line-height: 1.2em;
	margin: 1em;
}

/* anchors */
a {
	color: #214FA1;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

/* typography */
acronym, abbr, dfn {
	border-bottom: 1px #000 dashed;
	cursor: help;
}

samp, em {
	font-style: italic;
}

strong {
	font-weight: bold;
}

sub, sup {
	font-size: 0.75em;
}

.small {
	font-size: 0.85em;
}

.nowrap {
	white-space: nowrap;
}

/* code */
pre, code {
	font-family: "Courier New", Courier, serif;
}

/* horizontal line */
hr {
	margin: 0 1em;
	border: none;
	border-top: 1px #000 solid;
}

/* tables */
th, td {
	padding: 2px 3px;
}

th {
	font-weight: bold;
}

/* lists */
ul.inline li, ol.inline li, dl.inline dt, dl.inline dd {
	display: inline;
}

/* headings */
h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
	line-height: 1.3em;
}

h1 {
	font-size: 1.9em;
}

h2 {
	margin-bottom: 0.8em;
	font-size: 1.6em;
}

h3, h4 {
	margin-bottom: 0.6em;
	font-size: 1.3em;
}

h5, h6 {
	margin-bottom: 0.8em;
	font-size: 1em;
}

/* paragraphs */
p {
	margin-bottom: 0.8em;
}

.ps {
	margin-bottom: -0.8em;
}

/* aligns */
.left {
	text-align: left !important;
}

.center {
	text-align: center !important;
}

.right {
	text-align: right !important;
}

.top {
	vertical-align: top !important;
}

.middle {
	vertical-align: middle !important;
}

.bottom {
	vertical-align: bottom !important;
}

.l {
	float: left;
}

.c {
	margin-left: auto;
	margin-right: auto;
}

.r {
	float: right;
}

/* align box */
.lr .l, .lr .r {
	display: block;	
}

.lr .r {
	float: none;
	text-align: right;
}

.lr .clear {
	clear: left;
}

/* clearing */
.clear {
	clear: both;
}

.clearfix {
	overflow: hidden;
}

/* space */
.space, .space_top {
	margin-top: 1em !important;
}

.space, .space_bottom {
	margin-bottom: 1em !important;
}

.space05, .space05_top {
	margin-top: 0.5em !important;
}

.space05, .space05_bottom {
	margin-bottom: 0.5em !important;
}

.space2, .space2_top {
	margin-top: 2em !important;
}

.space2, .space2_bottom {
	margin-bottom: 2em !important;
}

ul.space_each li, ol.space_each li {
	margin-top: 1em;
	margin-bottom: 1em;
}

.indent0 {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.indent, .indent_left {
	margin-left: 4em !important;
}

.indent, .indent_right {
	margin-right: 4em !important;
}

.indent2, .indent2_left {
	margin-left: 2em !important;
}

.indent2, .indent2_right {
	margin-right: 2em !important;
}

/*
 * FORMS
 */

/* form elements */
select, textarea, input {
	font-family: inherit;
	font-size: 0.9em;
}

label, select, input[type="checkbox"], input[type="radio"], input[type="submit"], input[type="reset"], input[type="button"] {
	cursor: pointer;
}

select, input[type="text"], input[type="password"], textarea {
	border: 1px #959595 solid;
	background-color: #FFF;
}

select {
	border-right: none;
}

option {
	margin-right: 10px;
	padding: 2px 1px;
	background-color: #FFF;
	color: #000;
}

option[selected] {
	font-style: italic;
}

option[disabled] {
	
}

input[type="text"], input[type="password"], textarea {
	padding: 2px !important;
}

input.max, textarea {
	width: 100%;
}

textarea.min {
	width: auto;
}

/* buttons */
input[type="submit"], input[type="reset"], input[type="button"],
input.default, input.ok, input.confirm, input.cancel,
a.input {
	padding: 0.3em 1.0em 0.4em;
	border: 1px #959595 solid;
	background-color: #BFBFBF;
	background-image: url(images/button.png);
	background-position: center;
	background-repeat: repeat-x;
	color: #000;
	font-size: 0.85em;
}

input.default, input.ok, input.confirm, input.cancel,
a.input.default, a.input.ok, a.input.cancel {
	font-weight: bold;
}

input.ok, input.confirm, a.input.ok {
	background-color: #b8cc49;
	background-image: url(images/button_ok.png);
	color: #151803;
}

input.cancel, a.input.cancel {
	background-color: #fca0a0;
	background-image: url(images/button_cancel.png);
	color: #1e0b0a;
}

a.input:hover {
	text-decoration: none;
}

/* fieldset */
fieldset, div.fieldset {
	margin: 1em 0;
	padding: 0.5em;
	border: 1px #C1D7F1 solid;
	background-color: #D3E5F6;
}

legend {
	font-size: 1.3em;
	font-weight: bold;
}

fieldset.buttons {
	background-color: #C1D7F1 !important;
	text-align: center;
}

fieldset.buttons legend {
	display: none;
}

/* single fieldset */
fieldset.single {
	margin-bottom: 0;
	border-bottom-width: 0;
}

fieldset.single + fieldset.buttons {
	margin-top: 0;
	border-top-width: 0;
}

/*
 * INVISIBLE
 */
.hidden {
	display: none;
}

h2.sem, h3.sem, h4.sem, h5.sem, h6.sem, p.sem {
	margin-bottom: 0;
}

ul.sem, ol.sem, dl.sem {
	list-style-type: none;
}

legend.sem, hr.sem {
	display: none;
}

fieldset.sem {
	margin: 0;
	padding: 0;
	border: none;
	background-color: transparent;
}

/*
 * SPECIFIC
 */

/* messages, dialogs */
div.message {
	padding: 0.6em 0;
	border: 2px #959595 solid;
	background-color: #E3E3E3;
	text-align: center;
}

#message, #dialog {
	width: 75%;
	margin: auto;
}

#message, #dialog > div.content, #dialog > fieldset {
	margin-top: 0;
	margin-bottom: 0;
	border: none;
}

#message, #dialog > div.content {
	padding: 1em;
	text-align: center;
}

#form, #dialog > div.content, #dialog > fieldset {
	background-color: #E3F2FF;
	border: 1px #DDECF9 solid;
}

/* message colors */
div.message.success, #message.success {
	border-color: #76A57A;
	background-color: #D4E8D6;
}

div.message.warning, #message.warning {
	border-color: #E78D32;
	background-color: #FFD69F;
}

div.message.error, #message.error {
	border-color: #BE5F5C;
	background-color: #FFC6C3;
}

/* form field */
dl.field {
	clear: left;
	margin: 0 0.5em;
	padding-right: 6px;
}

dl.field dt {
	float: left;
	width: 40%;
	padding: 5px 0 3px;
	text-align: left;
}

dl.field dd {
	float: none;
	margin-left: 40%;
	padding: 5px 0 3px 3px;
	text-align: left;
}

dl.field.right {
	text-align: left;
}

dl.field.right dt {
	text-align: right;
}

dl.field.right dd {
	padding-left: 5px;
}

dl.field select, dl.field input, dl.field textarea {
	margin-bottom: 2px;
}

div.field {
	padding-right: 6px;
}

/* Data list */
dl.data {
	clear: left;
	margin: 0 0.5em;
}

dl.data dt {
	float: left;
	width: 25%;
	padding: 5px 0 3px;
	text-align: left;
}

dl.data dd {
	margin-left: 25%;
	padding: 5px 0 3px;
	text-align: left;
}

/* Content box */
.content_box {
	max-width: 800px;
	line-height: 1.5em;
}

/*
 * PAGE-SPECIFIC
 */
/* Items list */
ul.items {
	margin-bottom: -1em;
}

ul.items li.item, div.box {
	padding: 0.6em;
	margin-bottom: 1em;
	background-color: #D3E5F6;
	border: 1px #C1D7F1 solid;
	list-style-type: none;
}

ul.items li.item div.l {
	min-width: 250px;
}

ul.items li.item div.r {
	float: none;
	margin-bottom: 0.5em;
	padding-left: 1em;
	overflow: hidden;
}

ul.items li.item div.r dl {
	margin-top: 1em;
	clear: left;
}

ul.items li.item div.r dt {
	float: left;
	width: 40%;
}

ul.items li.item div.r dd {
	margin-left: 40%;
}

ul.item_images li {
	float: left;
	padding: 0.5em 0;
	list-style-type: none;
}

ul.item_images img, div.item_images img {
	display: block;
	margin: auto;
}

div.items_desc {
	padding: 0.3em 0.4em;
}

/* Items table (cart) */
table.items {
	background-color: #D3E5F6;
	border: #C1D7F1 solid;
	border-width: 0 1px;
}

table.items td, table.items th {
	margin: 1em;
	padding: 0.6em;
	border: #C1D7F1 solid;
	border-width: 1px 0;
}

table.items tr.head td, table.items tr.head th, table.items tr.foot td, table.items tr.foot th {
	background-color: #C1D7F1;
}

/* Rating stars */
a.rate {
	float: left;
	display: block;
	height: 20px;
	width: 22px;
	background: url(images/star.png) left 0;
}

a.rate_off {
	background-position: left 20px;
}

a.rate_selected, a.rate:hover {
	background-position: left 40px;
}

/*
 * STRUCTURE
 */
#header {
	padding: 0.5em 1em 0.8em;
	background-color: #C1D7F1;
	line-height: 1.5em;
}

#menu {
	margin-top: 0.8em;
}

#content {
	margin: 2em 0;
}

#sidebar {
	width: 20%;
	min-width: 200px;
	padding: 0.6em;
	background-color: #fffd84;
}

#sidebar.l {
	margin-right: 1em;
}

#sidebar.r {
	margin-left: 1em;
}

#sidebar h3 {
	margin-bottom: 0;
}

#sidebar ul {
	margin: 0.5em 0 0.5em 1em;
	list-style-type: none;
}

#sidebar li {
	list-style-type: none;
	margin-bottom: 0.2em;
}

#sidecontent {
	padding: 0.8em 1em 1.5em;
	border: 1px #DDECF9 solid;
	background-color: #E3F2FF;
	overflow: hidden;
}

#footer {
	clear: both;
	padding: 0.8em 1em;
	background-color: #C1D7F1;
	font-size: 0.85em;
	line-height: 1.2em;
}

#debug_queries {
	margin-top: 1em;
	list-style-type: none;
	text-align: center;
}

#tooltip {
	display: none;
}

