/* Main */

* {
	margin: 0;
	padding: 0;
}

a {
	color: #333;
}

/*
a:visited {
	color: #666;
}
*/

td {
    padding: .1em .5em;
}

img {
	border: none;
}

body {
	background: url(../images/greenshade/bg.gif) repeat-x #ffffff;
	font-family: Arial,Helvetica,sans-serif;
}

div#top {
	text-align: center;
	margin: 1em 2em;
}

div#sidebar {
	float: left;
	width: 180px;
	padding: 1em 2em;
}

div#content {
	float:left;
	width: 60%;
	border: solid #000000 2px;
	margin: 1em 1em;
	padding: .5em 1em;
	text-align: justify;
}

div#content li {
	margin-left: 20px;
	margin-top: 5px;
	list-style: url(../images/greenshade/dot.png);
}

div#content ul {
	margin: 10px 0px;
}

div#content div#management {
	padding: 5px;
	margin: -10px 0 5px 5px;
	border-bottom: dotted 1px #000000;
}

div#content div#management span {
	font-weight: bold;
}

div#content h1 {
	font-size: 175%;
	color: #3d663e;
	margin: 0 0 .5em 0;
}

div#content h2 {
	font-size: 150%;
	color: #3d663e;
	margin: .2em 0;
}

div#content h3 {
	font-size: 130%;
	color: #3d663e;
}

div#content h4 {
	font-size: 120%;
	color: #3d663e;
}

input.text {
	border: solid 1px #3d663e;
}

/*** Redcloth styles */

div.redcloth p {
	margin-bottom: .5em;
}

div.redcloth h1,
div.redcloth h2,
div.redcloth h3,
div.redcloth h4 {
	margin-bottom: .3em;
}

div.redcloth table {
	border: solid 1px #000;
	margin: 1em 1em 1em 4em;
}

div.redcloth table th {
	background-color: #ddd;
}

div.redcloth table td {
	padding: .2em;
}

/*** Menü */

div#menu {
    border: 2px solid #000000;
}

div#menu p {
    background-color: #3d663e;
    color: #ffffff;
    font-weight: bold;
    font-size: 16pt;
    padding: .5em;
}

div#menu ul {
	list-style-type: none;
}

div#menu ul li {
	display: block;
	padding: 5px 10px;
	border-top: solid 2px #888888;
}

div#menu ul li.active {
	background-color: #3d663e;
    color: #ffffff;
}

div#menu ul li#first {
	border-top: 2px solid #000;
}

div#menu ul li a {
	color: #3d663e;
	font-size: 11pt;
	text-decoration: none;
}

div#menu ul li.active a {
    color: #ffffff;
}

div#menu ul li a:hover {
	color: #ff660b;
}

div.applet {
    border: 2px solid #000000;
	padding: 10px 20px;
    margin: 1em 0px;
}

div.applet a {
	color: #3d663e;
	text-decoration: none;
    font-weight: bold;
}

/*** Account applet */

div#accountapplet {
	border: 1px dotted #aaa;
}

div#accountapplet p {
	color: #aaa;
	font-size: 8pt;
}

div#accountapplet a {
	color: #aaa;
	font-weight: bold;
}

div#accountapplet a:hover {
	color: #3d663e;
	font-weight: bold;
}

/*** Page controller */

div#editpage form textarea {
	border: solid 1px #3d4e6b;
	width: 100%;
	height: 300px;
}

div#editpage form textarea.small-box {
	border: solid 1px #3d4e6b;
	width: 100%;
	height: 100px;
}

div#editpage div#preview {
	border: dotted 1px #000;
	padding: .5em;
	margin-bottom: 1em;
}

div#editpage div#preview strong {
	color: #ff0000;
}

input.submit {
	border: solid 2px #3d663e;
	background-color: #ffffff;
	color: #3d663e;
	margin: 5px 5px;
}

input.submit:hover {
	border: solid 2px #ff6600;
}

/*** Product controller */

div.productcontainer {
    padding: 5px;
    margin: 1em 0px;
    clear: both;
}

div.productcontainer img.preview {
    width: 180px;
    height: 120px;
    float: left;
    margin: 0px .5em;
}

div.productcontainer p.title {
    font-size: 120%;
    margin-bottom: .3em;
}

div.productcontainer div.description {
    margin-left: 200px;
}

div#buyit {
	width: 140px;
	height: 7em;
	background-color: #DDD;
	float:right;
	padding: 10px 0px 0px 10px;
	margin: 0px 0px 5px 20px;
}

div#buyit p {
    margin-bottom: .5em;
}

div#buypanel { 
	position: relative; 
	left: -280px;
	width: 400px; 
	background-color: #ddd; 
	padding: 10px;
	border: 1px solid #000;
}

div#buypanel b {
	padding-bottom: .7em;
}
 
/*** Shop controller */

div#cart table {
 	border: 1px #000 solid;
 	margin: 1em;
 	width: 90%;
}

div#cart table thead tr, div#cart table tfoot tr {
	background-color: #eee;
}

div#cart table td, div#cart table th {
	padding: .2em .5em;
}

div#cartapplet p {
    color: #3d663e;
    font-weight: bold;
}

div#cartapplet {
    font-size: 80%;
}

/*** Album list */

div.albumcontainer {
	clear: both;
	margin-bottom: 1em;
	background-color: #DDD;
	height: 135px;
	padding: 7px;
}

div.albumcontainer p.title {
    font-size: 12pt;
    font-weight: bold;
	float: left;
	margin-bottom: .5em;
}

div.albumcontainer p.description {
    font-size: 10pt;
	clear: left;
}

div.albumcontainer img.preview {
	float: right;
	margin: 7px;
}

/*** Version history */
ul.versions {
	border: dotted 1px #696;
	list-style: none;
	padding: .5em 1em;
}

ul.versions li {
	margin-left: 10px;
}

ul.versions li span {
	color: #ff660b;
}

table#refresh {
	border: solid 1px #000;
	margin: 1em 1em 1em 1em;
}

table#refresh th {
	background-color: #ddd;
	padding: 3px;
}

table#refresh td {
	padding: .2em;
}

/*** Customer data entry */
#customerdata .errormessage {
    color: red;
}

#customerdata label {
    width: 20em;
    float: left;
}

#customerdata p {
    clear: both;
}

#customerdata .fieldWithErrors input {
    border: solid 2px red;
}

/*** Data table */

table.data {
	border: solid 1px gray;
	padding: 5px;
	width: 90%;
	border-collapse: collapse;
	margin: 0.7em auto;
}

table.data td, table.data th {
	padding: 2px;
}

table.data thead {
	background-color: #ccc;
}

