/* @override 
	http://localhost:3000/stylesheets/scaffold.css
	http://www.thestringzone.co.uk/stylesheets/scaffold.css?1228925504
*/

body {
  background: #fff;
  margin: 0;
  padding: 0;
  font-family: verdana, arial, helvetica, sans-serif;
  font-size: small;
}

* html body {
  font-size: x-small; /* for IE5/Win */
  f\ont-size: small; /* for all other IE versions */
}

img {
  border: 0;
  -ms-interpolation-mode: bicubic;
}


.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.clearfix {
	display: inline-block;
}
 
html[xmlns] .clearfix {
	display: block;
}
 
* html .clearfix {
	height: 1%;
}


pre {
  background-color: #eee;
  padding: 10px;
  font-size: 11px;
}

a { color: #47501c; }
a:visited { color: #495431; }
a:hover { color: #851700; text-decoration: none; }

hr {
	height:1px;
	border-bottom:1px solid #98A973;
	border-top:none;
	border-left:none;
	border-right:none;
}

.fieldWithErrors {
  display: inline;
  margin-right: 4px;
}

.fieldWithErrors input, .fieldWithErrors select {
  border: 2px solid red;
}

#errorExplanation {
  width: 450px;
  border: 2px solid red;
  padding: 7px;
  margin: 1.5em auto;
  background-color: #f0f0f0;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 0.4em 0.8em;
  margin: -7px -7px 0 -7px;
  background-color: #c00;
  color: #fff;
}

#errorExplanation p {
  color: #333;
  margin: 7px 0;
}

#errorExplanation ul {
  margin-top: 0.2em;
  margin-bottom: 0.2em;
}

#errorExplanation ul li {
  list-style: square;
}

div.uploadStatus {
  margin: 5px;
}

div.progressBar {
  margin: 5px;
}

div.progressBar div.border {
  background-color: #fff;
  border: 1px solid grey;
  width: 100%;
}

div.progressBar div.background {
  background-color: #333;
  height: 18px;
  width: 0%;
}

#header {
  background-color: #BDE37F;
  padding: 10px;
  padding-bottom: 7px;
  padding-top: 7px;
}

#header .title {
  font-size: 2em;
  font-weight: bold;
  color: white;
  text-shadow: 2px 2px 1px #799151;
}

#top-menu, #bottom-menu {
  background-color: #799151;
  padding: 4px;
  padding-left: 10px;
  color: white;
}

#top-menu a, #bottom-menu a {
  color:white;
  text-decoration: none;
  text-shadow: 1px 1px 2px #4D5D34;
  font-weight: bold;
}

#top-menu a:hover, #bottom-menu a:hover {
  background-color: #4f6878;
}

#top-menu a:active, #bottom-menu a:active {
  background-color: #556738;
}

#bottom-menu {
  font-size: 85%;
  border-bottom: 1px solid #43502d;
}

#bottom-menu form {
  display: inline;
}

#bottom-menu form select {
}

#search {
  background: #e0e5e0;
  padding: 5px;
  border-bottom: 2px solid #799151;
  font-size: 11px;
  padding-left: 10px;
}

#spinner {
  color: #888;
  text-align: center;
  padding: 10px;
  font-style: italic;
}

#results {
  padding: 10px;
}

/*span.prod-desc {
  color: #888;
  font-size: 10px;
}

div.prod-name {
  font-weight: bold;
}

div.prod-name a {
  text-decoration: none;
}*/

td.prod-actions {
  font-size: 10px;
  padding-left: 10px;
}

span.price {
  color: red;
  font-weight: bold;
}

span.awaiting-receive a {
  color: blue;
  font-weight: bold;
}

div.content {
  padding: 12px 10px;
  font: 92%/1.4em Lucida, verdana;
  color: #222;
}

/*div.content a {
  border-bottom: 1px solid #bbb;
  text-decoration: none;
}


div.content a:hover {
  border-bottom: 1px solid #851700;
  text-decoration: none;
}*/

form {
  margin: 0;
}

span.cat-actions a {
  color: #aaa;
  text-decoration: none;
  padding-left: 1px;
  padding-right: 1px;
  border-top: 1px solid white;
}


div.stock-cat-header {
  font-size: 12px;
  font-weight: bold;
  padding: 4px;
  background-color: #799151;
  color: white;
}

div.stock-cat-body {
  padding: 4px;
  border-right: 1px solid #aaa;
  border-left: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  margin-bottom: 15px;
}

div.stock-prod-header {
  font-weight: bold;
  padding: 4px;
  border-bottom: 1px solid #aaa;
  border-top: 1px solid #aaa;
  margin-top: 4px;
  background-color: #eee;
}

div.stock-prod-body {
  padding: 4px;
  margin-bottom: 8px;
}

div.stock-prod-body th {
  font-size: 12px;
  text-decoration: underline;
}

tr.odd {
  background-color: #e5e5e5;
}



/* permutations / supplies */

td.supply-form {
  border: 1px solid #888;
  padding: 2px;
  font-size: 10px;
}



table#stock_adjustments {
  width: 100%;
}

table#stock_adjustments td {
  border-bottom: 1px solid #ddd;
}

#emails .email {
  border: 1px solid #888;
  padding: 0.5em;
  background-color: #eee;
  color: #000;
  margin-bottom: 2em;
  font-family: "Courier New", Courier, mono;
}

h2.supplier a {
  font-size: 90%;
  font-weight: normal;
}

span.stock-indicators {
  white-space: nowrap;
}

.central {
  text-align: center;
}


.progress {
  display: block;
  border: 1px solid #555;
  height: 14px;
  width: 80px;
  float: left;
  margin-right: 0.5em;
  background-color: white;
}

.progress .bar {
  display: block;
  height: 14px;
  background-color: #c7d5af;
  color: #626A54;
  font-size: 11px;
}
