body {
	background: url('../images/background-top.gif') repeat-x top #495c7e;
	
	font-family: Verdana, Helvetica, Sans, sans-serif;
	font-size: 8pt;
}

h1, h2, h3, h4, h5, h6, h7 {
	font-family: "Trebuchet MS", Helvetica, Sans, sans-serif;
}

h1 {
	color: #900;
}

h2 {
	color: #039;
}

a {
	color: #36c;
}

a:hover {
	color: #039;
}

a img {
	border: none;
}

fieldset {
	border: none;
}

input, select, textarea {
	background: #ff9;
	border: 1px solid #900;
	color: #000;
}

input[type=button], input[type=submit] {
	border: 1px solid #039;
	color: #039;
	height: 40px;
	width: 190px;
	background: #cff;
	font-size: 12pt;
}

input[type=button]:hover, input[type=submit]:hover {
	color: #36c;
	text-shadow: 1px 1px 0 #699;
}

table {
	text-align: center;
}

/**** Left buttons ****/

div#share {
	position: absolute;
	top: 150px;
	left: 50%;
	margin-left: -502px;
	z-index: 2;
}

div#share a {
	display: block;
}

/**** General Layout ****/

div#main_block {
	width: 850px;
	margin: 10px auto;
	background: url('../images/page-corner.png') no-repeat top right #fff;
	border: 2px solid #000;
	padding: 15px;
}

div.clear {
	clear: both;
}

p.quote-button {
	margin-top: 55px;
}

p.quote-button:hover {
	margin-top: 60px;
}

/*** Navigation ***/

div#header ul {
	padding: 0;
	height: 130px;
}

div#header li {
	list-style: none;
	display: inline;
}

div#header li a:hover {
	padding-top: 5px;
}

div#header a, div#header ul {
	display: block;
	float: left;
}

/*** left block with content ***/

div#content, div#cart div {
	border: 8px solid #000;	
	background: url('../images/background-content.gif') no-repeat bottom left #fdf7ce;
	padding: 15px;
	margin-bottom: 10px;
	position: relative;
}

div#content {
	width: 550px;
	float: left;
}

/*** right blocks ***/

div#cart {
	width: 245px;
	float: right;
	
	padding: 0;
	
	text-align: center;
}

/*** Footer ***/

div#footer {
	margin-top: 10px;
	text-align: center;
}

/*** Slideshow ***/

a#slideshowHolder {
	display: block;
	float: left;
	margin: -15px 10px 0 -15px;
}

/*** Catalog ***/

div#catalog div {
	float: left;
	width: 250px;
	height: 250px;
	margin: 5px;
	text-align: center;
	background: #fff;
	border: 1px solid #333;
}

div#catalog a {
	text-decoration: none;
}

div#catalog div div { /* size submenu */
	display: none;
	position: absolute;
	z-index: 1;
	background: #fff;
	border: 1px solid #666;
	height: 100px;
	width: 240px;
	margin-top: -100px;
}

div#catalog div.clear {
	float: none;
	height: 0;
	width: 0;
	margin: 0;
	padding: 0;
	clear: both;
	border: none;
}

/*** Order forms ***/

div.submit-box {
	text-align: center;
}

div.submit-box input, div.submit-box  input {
	width: 250px;
}

div.order_line {
	border: 1px solid #333;
	background: #666;
	color: #fff;
	padding: 2px;
	margin: 2px 0;
}

div.order_line div, div.order_line input {
	float: left;
	margin: 0 5px;
}

div.order_line input {
	width: 30px;
}

div.order_item {
	width: 300px;
}

div.order_line div.clear {
	float: none;
	margin: 0;
}

fieldset#coords label, fieldset#coords input {
	display: block;
	float: left;
}

fieldset#coords label {
	width: 150px;
}

span.imperative {
	font-weight: bold;
	color: #f00;
}

div.error_message {
	margin: 10px;
	padding: 10px;
	color: #f00;
	background: #fee;
	border: 1px solid #f00;
}

/*** Admin ***/

body > div#admin {
	width: 90%;
	padding: 20px;
	background: #fff;
	margin: 0 auto;
}

div#admin table {
	width: 100%;
}

div#admin th {
	background: #333;
	padding: 10px;
	text-align: center;
	color: #ccc;
}

div#admin td {
	background: #fff;
	padding: 10px;
}
