/* ======================= */
/* = Baseline Typography = */
/* ======================= */

body {
	color: #ffffff;
	font-size: 12px;
	line-height: 1.5em;
	margin: 0; padding: 0
}

h1 {
	margin: 0;
	font-size: 1.6666666666666667em;
	line-height: 0.9em;
	margin-bottom: 0.9em;
}

h2 {
	margin: 0;
	font-size: 1.5em;
	line-height: 1em;
	margin-bottom: 1em;
}

h3 {
	margin: 0;
	font-size: 1.1666666666666667em;
	line-height: 1.2857142857142858em;
	margin-bottom: 1.2857142857142858em;
}

h4 {
	margin: 0;
	font-size: 1em;
	line-height: 1.5em;
	margin-bottom: 1.5em;
}

p, ul, blockquote, pre, td, th, label {
	margin: 0;
	font-size: 1em;
	line-height: 1.5em;
	margin-bottom: 1.5em;
}

p.small {
	margin: 0;
	font-size: 0.8333333333333334em;
	line-height: 1.8em;
	margin-bottom: 1.8em;
}

table {
	border-collapse: collapse;
	margin-bottom: 1.5em;
}

/* ============== */
/* = Alignments = */
/* ============== */

.align-left {
	text-align: left;
}

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

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

/* ======================= */
/* = Standard Typography = */
/* ======================= */

#page-content h1 {
	background: #333 url(../images/patterns/fabric_dark.jpg);
	color: #FFF;
	padding: .6em;
}

#page-content h2 {
	padding: .6em;
	border: solid #F2F2F2;
	border-width: 0 0 1px 1px;
}

/* Title Links */

.title a {
	color: #fff;
}

/* Generic Buttons */

.button {
	display: inline-block;
	color: #FFF;
	background-color: #50A606;
	padding: 0 .75em;
	vertical-align: middle;
	line-height: 2.2em;
	height: 2.2em;
	white-space: nowrap;
	text-shadow: 0 -1px 0 #285303;
	border: 1px solid #2E6900;
	margin: .25em 0;
	/* Gradient */
	background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,.1)), to(rgba(0,0,0,.1))); /* Saf4+, Chrome */
	background-image: -webkit-linear-gradient(top, rgba(255,255,255,.1), rgba(0,0,0,.1)); /* Chrome 10+, Saf5.1+ */
	background-image: -moz-linear-gradient(top, rgba(255,255,255,.1), rgba(0,0,0,.1)); /* FF3.6 */
	background-image: -ms-linear-gradient(top, rgba(255,255,255,.1), rgba(0,0,0,.1)); /* IE10 */
	background-image: -o-linear-gradient(top, rgba(255,255,255,.1), rgba(0,0,0,.1)); /* Opera 11.10+ */
	background-image: linear-gradient(top, rgba(255,255,255,.1), rgba(0,0,0,.1));
	/* Box shadow */
	-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.3); /* FF3.5+ */
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.3); /* Saf3.0+, Chrome */
	box-shadow: inset 0 1px 0 rgba(255,255,255,.3); /* Opera 10.5, IE9, Chrome 10+ */
	/* Border radius */
	-moz-border-radius: .25em; /* FF1-3.6 */
	-webkit-border-radius: .25em; /* Saf3-4, iOS 1-3.2, Android <1.6 */
	border-radius: .25em; /* Opera 10.5, IE9, Saf5, Chrome, FF4, iOS 4, Android 2.1+ */
	-moz-background-clip: padding;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
}

.button:hover {
	-moz-box-shadow: inset 0 0 .5em rgba(0,0,0,.3); /* FF3.5+ */
	-webkit-box-shadow: inset 0 0 .5em rgba(0,0,0,.3); /* Saf3.0+, Chrome */
	box-shadow: inset 0 0 .5em rgba(0,0,0,.3); /* Opera 10.5, IE9, Chrome 10+ */
}

.button.big,
.button.large {
	font-size: 1.1666666666666667em;
}

.button.massive,
.button.huge {
	font-size: 2em;
}

.add-to-cart span.price {
	background-color: #387404;
	display: inline-block;
	margin: 0 .5em 0 -0.75em;
	padding: 0 .75em;
	border-right: 1px solid #2E6900;
}

/* ========= */
/* = Forms = */
/* ========= */

fieldset,
#page-content .section {
	border: 1px solid #E5E5E5;
	border-top: none;
	margin: 0 0 1em 0;
}

#page-content .section .content {
	padding: 1em;
}

fieldset legend {
	margin: 1em;
	font-size: 1.1666666666666667em;
	line-height: 1.2857142857142858em;
	padding: .5em 1em;
	background-color: #696969;
	border: 1px solid #E5E5E5;
	font-weight: bold;
}

fieldset h3,
.section h3 {
	margin: 0;
	padding: 1em;
	border-top: 1px solid #E5E5E5;
}

fieldset p,
fieldset .form-row,
.section .form-row,
fieldset #recaptcha {
	margin: 0;
	padding: 1em 1.25em;
	background-color: #444;
	border-top: 1px solid #E5E5E5;
	-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.5); /* FF3.5+ */
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.5); /* Saf3.0+, Chrome */
	box-shadow: inset 0 1px 0 rgba(255,255,255,.5); /* Opera 10.5, IE9, Chrome 10+ */
	vertical-align: middle;
}

fieldset p.title {
	font-weight: bold;
	background-color: #696969;
}

fieldset label {
	width: 10em;
	display: inline-block;
	vertical-align: middle;
	margin: 0;
	font-weight: bold;
}

fieldset p img,
fieldset div.form-row img {
	vertical-align: middle;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea {
	width: 14em;
	padding: .5em;
	vertical-align: middle;
	border: 1px solid #B2B2B2;
	-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 .5em .5em rgba(0,0,0,.1); /* FF3.5+ */
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 .5em .5em rgba(0,0,0,.1); /* Saf3.0+, Chrome */
	box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 .5em .5em rgba(0,0,0,.1); /* Opera 10.5, IE9, Chrome 10+ */
}

input[type="number"] {
	width: 4em;
	/* font-size: 1.2em; */ /* Uncomment when using a large add-to-cart button */
}

fieldset p.invalid {
	background-color: #FFEFEF;
}

input:valid,
textarea:valid {
	/* Add validation styles */
}

input:invalid,
textarea:invalid {
	/* Add validation styles */
}

.ui-state-error {
	border: 1px solid red !important;
}

input:focus,
textarea:focus {
	outline: none; /* Kill Webkit's blue box shadow on focus */
}

select {
	padding: .5em;
}

/* Recaptcha */

#recaptcha > label {
	float: left;
}

#recaptcha_image {
	background: #FFF;
	border: 1px solid #B2B2B2;
	margin-bottom: 1em;
	padding: 1em;
	width: 200px !important;
	height: 38px !important;
}

#recaptcha_image img {
	width: 100% !important;
	height: auto !important;
}

/* ========== */
/* = Tables = */
/* ========== */

table {
	width: 100%;
	border: 1px solid #CCC;
	text-align: center;
}

th {
	text-shadow: 0 1px 0 #FFF;
	background-color: #EEE;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#696969), to(#DDD)); /* Saf4+, Chrome */
	background-image: -webkit-linear-gradient(top, #696969, #DDD); /* Chrome 10+, Saf5.1+ */
	background-image: -moz-linear-gradient(top, #696969, #DDD); /* FF3.6 */
	background-image: -ms-linear-gradient(top, #696969, #DDD); /* IE10 */
	background-image: -o-linear-gradient(top, #696969, #DDD); /* Opera 11.10+ */
	background-image:  linear-gradient(top, #696969, #DDD);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#696969', EndColorStr='#DDDDDD'); /* IE6–IE9 */
	border-bottom: 1px solid #CCC;
}

.tbl-headings-left th {
	border-right: 1px solid #CCC;
}

th,
td {
	padding: 1em;
	vertical-align: middle;
}

td {
	border-bottom: 1px solid #E5E5E5;
}

tbody tr:last-child td,
tbody tr:last-child th {
	border-bottom: none;
}

tfoot {
	text-shadow: 0 1px 0 #FFF;
	background: #696969;
	-moz-box-shadow: inset 0 .25em .25em rgba(0,0,0,.05); /* FF3.5+ */
	-webkit-box-shadow: inset 0 .25em .25em rgba(0,0,0,.05); /* Saf3.0+, Chrome */
	box-shadow: inset 0 .25em .25em rgba(0,0,0,.05); /* Opera 10.5, IE9, Chrome 10+ */
}

tfoot td {
	border-bottom: none;
	border-top: 1px solid #CCC;
}

#page-content tfoot .pagination ul {
	margin-bottom: 0;
	text-align: right;
}

/* ========================= */
/* = Notification Messages = */
/* ========================= */

.message {
	position: relative;
	padding: 1em;
	color: #312828;
	background: #F2F2F2;
	border: 1px solid #E5E5E5;
	margin-bottom: 1em;
	text-shadow: 0 1px 0 rgba(255,255,255,.3);
	-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.3); /* FF3.5+ */
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.3); /* Saf3.0+, Chrome */
	box-shadow: inset 0 1px 0 rgba(255,255,255,.3); /* Opera 10.5, IE9, Chrome 10+ */
}

.message .title {
	font-weight: bold;
	font-size: 1.1666666666666667em;
}

.message ul {
	margin: 1em 0 0 1.5em;
	list-style-type: square;
}

.message.error {
	background-color: #F8C6C3;
	border-color: #A55C58;
}

.message.warning {
	background-color: #F0E19F;
	border-color: #9D8824;
}

.message.success {
	background-color: #dcffbe;
	border-color: #50A606;
}

.message.information {
	background-color: #C3E2EF;
	border-color: #5D8A9B;
}

/* ====================== */
/* = Content Typography = */
/* ====================== */

#page-content .content h2,
#page-content .content h3,
#page-content .content h4 { /* Headings */
	padding: 0;
	border: none;
}

#page-content .content ul,
#page-content .content ol { /* Lists */
	padding-left: 1.5em;
	margin-bottom: 1.5em;
}

#page-content .content em { /* Emphasized Text */
	font-family: Georgia, "Times New Roman", Times, serif;
	font-style: italic;
}

#page-content .content .highlight { /* Highlighted Text */
	background-color: #F0E19F;
	border-bottom: 1px solid #9D8824;
	padding: 0 .25em;
	color: #312828;
}

#page-content .content .highlight.red {
	background-color: #F8C6C3;
	border-bottom-color: #A55C58;
}

#page-content .content .message { /* Message Boxes */
	margin-bottom: 1.5em;
}

#page-content .content p img { /* Inline Images */
	margin: 1.5em;
}

#page-content .content p img[align="left"] {
	margin-left: 0;
}

#page-content .content p img[align="right"] {
	margin-right: 0;
}

#page-content .content p:last-child { /* Remove bottom margin for last paragraph */
	margin-bottom: 0;
}

/* ====================== */
/* = Horizontal Spacers = */
/* ====================== */

#page hr {
	height: 10px;
	border: none;
	background: url(../images/patterns/stripe_small_transparent_20.png) repeat;
	margin: 1em auto;
}

.ie7 #page hr {
	display : list-item;
	list-style : url(../images/patterns/stripe_small_transparent_20.png) inside;
	filter : alpha(opacity=0);
	margin-left: -10px;
	width : 100%;
}

/*
div.related_products {
	float: left;
	margin-top: 1px; 
	margin-bottom: 10px; 
	background: #FFFFFF;
}
div.related_product {
	float: left;
	position: relative;
	margin: 5px 15px;
	height: 235px;
	padding: 0px;
	width: 157px;
}
div.related_product p.image {
	border: 1px solid #D7D7D7;
	margin-bottom:5px;
	height: 138px;
	padding: 8px;
	text-align: center;
}
div.related_product p.title {
	height: 28px;
}
div.related_product p.price {
	font-weight: bold;
	text-align: right;
	clear: both;
}
div.related_product p.actions {
	margin-top: 5px;
}
*/