/*=============================================================================
 * Public CSS file.
 *
 * This will be copied to /public/stylesheets when running 
 * 'rake substruct:prepare_layout_for_modification'
 *
 * That file is the one that should be modified when customizing your site.
 *
 ============================================================================*/
/* Reset all margins and padding to ensure x-browser compatibility */
* {
	padding: 0px;
	margin: 0px;
}

form {
}
img {
	display:inline;
}
img.floater {
	margin:20px;
	border:1px dotted #C2B2FB !important;
	border:1px solid #9C8FCA;
}
img.floater2 {
	margin-right:10px;
	margin-bottom:10px;
}

td {
	vertical-align: top;
}
input {
}
option {
	padding:0px 4px;
}
input[type=hidden] {
	display:none;
}
ul, ol {
	padding-left:30px;
}
ul {
	list-style-type:disc;
}
ul li {
	padding: 2px 0px;
	list-style-type: square;
}


/* Secondary actions: orders ready to ship, on hold etc */

ul.navigation.secondary {
	float:right;
	margin-top: -30px;
	margin-right: 0px;
}
ul.sortable {
	margin-left: 0px !important;
	padding-left: 0px !important;
}

ul.sortable li {
	cursor: pointer;
	cursor: hand;
	list-style-type: none;
	border-bottom: 1px dotted #ccc;
	margin-bottom: 5px;
	margin-left: 0px !important;
}

ul.sortable li p {
	margin-bottom: 5px;
}

.navigation a, .navigation a:link, .navigation a:visited {
}
.navigation.secondary a, .navigation.secondary a:link, .navigation.secondary a:visited {
	color: #5272E0;
}
.navigation.tertiary a, .navigation.tertiary a:link, .navigation.tertiary a:visited {
	color: #000;
	padding: 4px;
}
.navigation.tertiary li {
	background-color: #ccc;
	padding-left: 4px;
	padding-right: 4px;
}
.navigation.tertiary li.active {
	background-color: #fff;
	border: 1px solid #ccc;
	border-bottom: 0px;
}
#subnav {
	border-bottom: 1px solid #ccc !important;
	border-bottom: 0px;
	height: 18px;
}

img {	border: 0px; }


h1 .info {
	font-size: 14px;
	font-style: normal;
	color: #B8B3AD;
}

h1.border {
	border-bottom: 1px dotted #806a53;
}

h1 a {
	color: #f86d0a;
	font-weight: normal;
	text-decoration: none;
}

h1.important {
	font-size: 1.9em;
	font-style: italic;
	line-height: 1.1em;
}

h1:first-child, h1.first {
	margin-top: 0px;
}

h2, h3, h4 {
	margin-top: 10px;
	margin-bottom: 10px;
	padding-bottom:0px;
}

h2 {
	font-size: 24px;
	line-height: 28px;
	color: #5e5e5e;
	font-weight: normal;
}
h3 {
	margin-top: 0px;
	color: #840018;
	font-size: 18px;
	line-height: 22px;
	font-weight: normal;
}
h4 {
	margin: 0px;
	padding: 0px;
	font-size: 14px;
	color: #8a8075;
	font-weight: normal;
}

div.line {
	border-bottom: 1px dotted #B5B5B5;
	padding:0px;
	margin-top: 10px;
	margin-bottom: 20px;
	height: 1px;
	overflow:hidden;
	clear:both;
}


div.indent {
	padding:0px;
	margin:0px;
	margin-top:-10px;
	padding-left:20px;
}

div.padLeft {
	padding-left:10px;
}

.money {
	color: #466B2E;
	font-style:italic;
}



*.small {
	padding: 1px;
	font-size: 0.9em;
}

*.hover {
	cursor: pointer;
	cursor: hand;
}
.hlt, tr.hlt td, tr.selected td {
	background-color: #FFBC6C !important;
	font-style:italic;
}

.notes {
	padding: 10px;
	background-color: #eeeeee;
	border: 1px solid #999999;
	margin-bottom: 10px;
	width: 400px;
}

.notesEdit {
	padding: 10px;
	width: 400px;
}

.clear {
	clear: both;
	height: 0px;
	overflow: hidden;
}

div.float, div.floatHalf {
	float:left;
	margin-right:10px;
}
div.floatHalf {
	width:45%;
}

/* MAIN TRI FLOATS */

div.floatTri {
	float: left;
	width: 31%;
	margin-right: 20px;
	background-image: url(/plugin_assets/substruct/images/public-ui/column-fade-middle.gif);
	background-repeat: repeat-x;
}
div.floatTri h2 {
	text-align: center;
	margin-bottom: 10px;
}

div.floatTri h4 {
	margin-left: 20px;
}

div.floatTri p {
	margin-top: 0px;
	margin-left: 20px;
	margin-right: 20px;
}
div.floatTri form {
	margin-left: 20px;
	margin-right: 20px;
}

.floatTri .left {
	float: left;
	background-image: url(/plugin_assets/substruct/images/public-ui/column-fade-left.gif);
	background-repeat: no-repeat;
	width: 10px;
	height: 150px;
}
.floatTri .right {
	float: right;
	background-image: url(/plugin_assets/substruct/images/public-ui/column-fade-right.gif);
	background-repeat: no-repeat;
	width: 10px;
	height: 150px;
}
.floatTri .middle {
	padding-top: 20px;
}

/* /MAIN TRI FLOATS */


.content_pad {
	padding: 20px;
	padding-top: 0px;
}

.fieldWithErrors input, .fieldWithErrors * option, .fieldWithErrors * {
  background-color: #dddddd;
}

.formError {
	color: red;
	font-style: italic;
	padding-bottom: 5px;
	padding-left: 10px;
}

#ErrorExplanation {
  width: 400px;
  border: 2px solid red;
  padding: 7px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  background-color: #f0f0f0;
}

#ErrorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: -7px;
  background-color: #c00;
  color: #fff;
}

#ErrorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 5px;
}

#ErrorExplanation ul li {
  font-size: 12px;
  list-style: square;
}

.inline {
	display:inline;
	clear:none;
	margin-bottom:0px;
}

div.error {
	margin:10px;
	background-color:#FFFF99;
	border:1px solid #804D68;
	font-weight: bold;
	padding: 20px;
	text-align:center;
	color: #804D68;
}
input.error {
	background-color: #FFD3E3;
}

.textInput, .textArea {
	border: 1px solid #7d6a55;
	padding: 4px;
}
.textInput.big {
	border: 2px solid #7d6a55;
	height: 25px;
	color: #8a8075;
	font-size: 18px;
	line-height: 28px;
	padding-top: 7px;
	background-image: url(/plugin_assets/substruct/images/public-ui/input-bg.gif);
	background-repeat: repeat-x;
}


/* CLASSES */
.minor_callout {
	margin-bottom: 20px;
}
.minor_callout p {
}
.main_block {
	margin-bottom: 20px;
	margin-left: 10px;
	margin-right: 10px;
}
.form_block {
	margin: 10px 0px 20px 0px;
	padding: 20px;
}
.form_block h2 {
	margin-bottom: 10px;
}
.blog_entry {
	padding: 10px;
}
.blog_entry.even {
	background-color: transparent;
	background-image: url(/plugin_assets/substruct/images/public-ui/column-fade-middle.gif);
}

/* PRODUCT 'CHIPS' */
.product {
	width: 150px;
	margin-right: 5px;
	float: left;
	background-image: url(/plugin_assets/substruct/images/public-ui/item-middle.gif);
	background-repeat: repeat-y;
}
.product_top {
	width: 150px;
	height: 10px;
	background-image: url(/plugin_assets/substruct/images/public-ui/item-top.gif);
	background-repeat: no-repeat;
}
.product_bottom {
	width: 150px;
	height: 20px;
	background-image: url(/plugin_assets/substruct/images/public-ui/item-bottom.gif);
	background-repeat: no-repeat;
}
.product_main {
	margin-left: 12px;
	margin-right: 20px;
	margin-top: 10px;
	width: 115px;
	overflow:hidden;
	text-align: center;
}
.product_image {
	height: 130px;
	overflow: hidden;
}
.product_title {
	height: 40px;
	margin: 4px 0px;
	overflow: hidden;
}
.product .money {
	display: block;
	background-color: #69bf32;
	color: #fff;
	padding: 2px;
	overflow: hidden;
	-moz-border-radius: 5px;
}
.product .icon {
	position:absolute;
	margin-left: 110px;
	z-index:300;
}


#flash {
	margin: 20px;
	padding: 10px;
	z-index: 100;
}
#flash h2 {
	padding: 5px;
}
#flash div, #flash .action {
	font-size: 1.2em;
	line-height: 1.3em;
}


#container {
	width: 970px;
	margin: 0px auto;
}



#searchbox {
	float:right;
	clear:right;
	margin-right: 10px;
	margin-top: 10px;
	width: 500px;
}

#searchbox .textInput {
	width: 250px;
}

/* Div that comes before the content */
#preContent {
	height: 83px;
	background-image: url('');
	background-repeat: no-repeat;
}


#big_product_image {
	float: left;
	margin: 20px;
	margin-left: 0px;
	margin-top: 0px;
	width: 200px;
	overflow: hidden;
}

#bLeftCol, #bMiddleCol, #bRightCol {
	padding:15px;
	padding-top:20px;
	float:left;
}
#bLeftCol {
	width: 219px !important;
}
#bMiddleCol {
	width: 260px !important;
}
#bRightCol {
	width: 228px !important;
	width:210px;
	overflow:visible !important;
	overflow:hidden;
}

/* Left content container */
#left {
	float:left;
	width: 630px !important;
	width: 610px;
	margin-left: 10px;
	border-right: 1px dashed #bfb4a9;
	padding-right: 20px;
	margin-right: 20px;
	min-height: 500px;
	margin-bottom: 20px;
}

/* Right content */
#right {
	float:left;
	width: 280px;
	padding-bottom: 20px;
}


#right .textInput {
	font-size: 15px;
	line-height: 30px;
	padding-top: 5px !important;
	padding-top: 10px;
	height: 25px;
}

#right h2 {
	color: #5e5e5e;
}
#right h3 {
	color: #8a8075;
	text-align: center;
}


#customer_msg {
	position: absolute;
	margin-left: 390px;
	margin-top: 53px;
	background-color: #eee;
	width: 200px;
	padding: 0px 5px;
	height: 40px;
	overflow: hidden;
	color: #999;
}



#submittingText {
	display:none;
	font-weight:bold;
	font-size:1.3em;
	color: green;
	padding: 10px;
}


/* HOME PAGE */

#main_callout {
	width: 690px;
	height: 310px;
	float: left;
}
#minor_callouts {
	width: 240px;
	float: right;
}

h1#new_sale_header {
	width: 120px;
	height: 180px;
	padding-top: 20px;
	text-align:center; 
	background-image: url(/plugin_assets/substruct/images/public-ui/new-sale-header-bg.gif);
	background-repeat: no-repeat;
	float: left;
	margin: 0px;
	margin-right: 20px;
	color: #f86d0a;
}

/* customers pages */
#customersLeft {
	float:left;
	width: 630px !important;
	width: 610px;
	margin-left: 10px;
	margin-top: 50px;
	border-right: 1px dashed #bfb4a9;
	padding-right: 20px;
	margin-right: 20px;
	min-height: 500px;
	margin-bottom: 20px;
}
#customersRight {
	float:right;
	padding-top:50px;
	width: 200px;
	padding-bottom: 20px;
}