/* --------- /stylesheets/scaffold.css --------- */ 
/* Greyville.com - scaffold.css
 *
 */

* {
  padding: 0;
  margin: 0;
}

body {
  color: #eeeeec;
  background-color: #2e3436;
  background-image: url(/images/backgrounds/body.png);
  font-size: 12px;
  font-family: sans-serif;
  line-height: 1.5em;
}

a {
  color: #eeeeec;
}

a img {
  border: none;
  text-decoration: none;
}

img {
  vertical-align: middle;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 16px;
}

h4 {
  font-size: 14px;
}

ul li, ol li {
  margin-left: 20px;
}

pre {
  padding: 5px;
  font-size: 10px;
  color: #2e3436;
  background-color: #eeeeec;
}

.fieldWithErrors {
  width: 100%;
}

.fieldWithErrors * {
  border: 3px solid #cc0000;
}

.fieldWithErrors option {
  border: none;
}

#errorExplanation {
  margin-top: 5px;
  margin-bottom: 5px;
  padding: 5px 5px 10px 5px;
  text-align: left;
  color: #2e3436;
  background-color: #eeeeec;
  border: 4px solid #a40000;
}

#errorExplanation h2 {
  padding: 5px 5px 5px 15px;
  font-size: 14px;
  font-weight: bold;
  color: #eeeeec;
  background-color: #cc0000;
  border: 2px outset #cc0000;
}

#errorExplanation p {
  margin-top: 10px;
  padding: 5px;
  color: black;
}

#errorExplanation ul {
  padding: 5px;
}

#errorExplanation ul li {
  list-style: square;
}
/* --------- /stylesheets/main.css --------- */ 
/* Greyville.com - main.css
 *
 */

/* Layout */

#main_container {
  width: 1170px;
  max-width: 1170px;            /* Max-width of main container */
  margin: 0px auto;             /* Center container on page */
}

#content_wrapper {
  float: left;
  width: 100%;
}

#page {
  width: 100%;
}

.inner_tube {
  margin-top: 5px;              /* Margins for inner DIV inside each column (to provide padding) */
}

#content_column {
  margin: 0px 150px 0px 150px;  /* Margins for content column. Should be "0 RightColumnWidth 0 LeftColumnWidth */
  padding: 0px 5px 0px 5px;
}

#left_column {
  float: left;
  width: 150px;                 /* Width of left column */
  margin-left: -100%;
}

#right_column {
  float: left;
  width: 150px;                 /* Width of right column */
  margin-left: -150px;          /* Set left margin to -(RightColumnWidth) */
}

/* Top Section */

#top_section {
  background-image: url(/images/backgrounds/top_section.png)
}

#top_section #logo {
  margin-top: 15px;
  margin-left: 20px;
}

#top_section #main_menu {
  float: left;
}

/* Bottom Bar */

#bottom_bar {
  float: left;
  clear: left;
  width: 100%;
  margin-top: 5px;
  line-height: 30px;
  text-align: center;
  color: #eeeeec;
  background-color: #555753;
  background-image: url(/images/backgrounds/bar.png);
}

#bottom_bar span.copyright {
  margin-right: 20px;
}

/* Boxes */

div.box div.header {
  padding: 3px;
  margin-top: 5px;
}

div.box div.header {
  text-align: center;
  font-weight: bold;
}

div.box div.form {
  text-align: center;
  padding-top: 3px;
  padding-bottom: 3px;
}

/* Content */

div.content {
  padding: 10px;
  background-color: #555753;
  background-image: url(/images/backgrounds/content.png);
  background-repeat: repeat-x;
  font-size: 14px;
}

/* Rounded Corners */

.rounded {
  -moz-border-radius: 9px;
}

.rounded_top, div.box div.header {
  -moz-border-radius-topleft: 9px;
  -moz-border-radius-topright: 9px;
}

.rounded_bottom {
  -moz-border-radius-bottomleft: 9px;
  -moz-border-radius-bottomright: 9px;
}

/* Messages to User */

.message {
  min-height: 22px;
  padding: 3px;
  margin: 0px 0px 5px 0px;
  font-size: 16px;
  color: #2e3436;
  background-color: #d3d7cf;
  border: 2px outset #babdb6;
}

.message img {
  float: left;
}

.message span.important {
  text-decoration: underline;
  font-weight: bolder;
}

.notice {
  color: #2e3436;
  background-color: #b2ed7a;
  border-color: #73d216;
}

.error {
  color: #eeeeec;
  background-color: #cc0000;
  border-color: #a40000;
}

.notice, .error {
  font-weight: bold;
}

/* Status */

span.status {
  color: #fce94f;
  font-weight: bold;
}

/* Hint */

p.hint {
  margin-top: 8px;
  color: #a8ea68;
}

/* AJAX Loading Message */

div.loading_message {
  text-align: center;
  padding-top: 5px;
  padding-bottom: 5px;
}

#top_section div.loading_message {
  color: #2e3436;
  background-color: #babdb6;
  border: 2px solid #2e3436;
}

#page_loading_message {
  width: 130px;
  z-index: 1;
  position: fixed;
  top: 5px;
  right: 5px;
  float: right;
}

/* Browser Fixes */

.clear {
  clear: both;
}

br.clear {
  height: 0px;
}

/* Feed List */

#feed_list {
  background-color: #888a85;
}

#feed_list div.header {
  color: #eeeeec;
  background-color: #555753;
}

#feed_list ul {
  list-style-type: none;
  font-weight: bold;
  font-size: 11px;
}

#feed_list li {
  margin-left: 5px;
  padding: 5px;
  list-style-type: none;
}

#feed_list a {
  padding: 5px;
  list-style-type: none;
}

#feed_list a:hover {
  color: #2e3436;
  background-color: #babdb6;
}

/* Tweets */

#tweets {
  background-color: #888a85;
}

#tweets div.header {
  color: #eeeeec;
  background-color: #555753;
}

#tweets div.body {
  padding: 3px;
  text-align: center;
}

#tweets ul {
  margin-bottom: 3px;
  line-height: 15px;
  text-align: left;
  border-bottom: 1px dashed #555753;
}

#tweets li {
  margin-left: 15px;
  list-style-type: square;
}

#tweets li a {
  color: #73d216;
}

#tweets li a:hover {
  color: #4e9a06;
  background-color: #73d216;
}

#tweets span.created_at {
  color: #fcaf3e;
  font-size: 10px;
}

/* Header */

#content_column .header {
  overflow: hidden;
  background-image: url(/images/backgrounds/headers/aluminium.png);
  background-position: top left;
  height: 45px;
  line-height: 45px;
  padding-left: 10px;
}

#content_column .split {
  margin-top: 5px;
}

#content_column .aluminium {
  background-image: url(/images/backgrounds/headers/aluminium.png);
  background-position: top left;
}

#content_column .butter {
  background-image: url(/images/backgrounds/headers/butter.png);
  background-position: top left;
}

#content_column .chameleon {
  background-image: url(/images/backgrounds/headers/chameleon.png);
  background-position: top left;
}

#content_column .orange {
  background-image: url(/images/backgrounds/headers/orange.png);
  background-position: top left;
}

#content_column .plum {
  background-image: url(/images/backgrounds/headers/plum.png);
  background-position: top left;
}

#content_column .scarlet {
  background-image: url(/images/backgrounds/headers/scarlet.png);
  background-position: top left;
}

#content_column .sky {
  background-image: url(/images/backgrounds/headers/sky.png);
  background-position: top left;
}

#content_column h1, h2, h3 {
  overflow: hidden;
}

#content_column h2 span {
  vertical-align: middle;
}

#content_column h2 span.product_name {
  font-size: 22px;
}

#content_column h2 span.product_variance {
  font-size: 16px;
  color: #d3d7cf;
}

#content_column h2 span.product_code {
  font-size: 12px;
  color: #fce94f;
}

#content_column h2 span.product_legacy_code {
  font-size: 12px;
  color: #c4a000;
}

#content_column h3.half {
  height: 30px;
  line-height: 30px;
  overflow: hidden;
  font-size: 14px;
}

#content_column h3 span.detail {
  color: #edd400;
}

#content_column h3 span.product_detail {
  color: #d3d7cf;
}

/* Logo */

div.logo {
  padding: 5px;
  text-align: center;
  border: 3px outset #babdb6;
}

/* Images */

table td.thumb_image {
  width: 64px;
  height: 64px;
  border: 2px solid #73d216;
}

table td.medium_image {
  width: 288px;
  height: 288px;
}

table td.thumb_image, table td.medium_image {
  background-color: white;
}

/* Tags */

span.tag {
  padding: 2px;
  text-align: center;
  font-size: 10px;
  font-weight: bold;
  color: #eeeeec;
  cursor: default;
}

/* Stock Status */

span.stock_status {
  border: 2px solid;
}

span.in_stock {
  background-color: #4e9a06;
  border-color: #3a7503;
}

span.out_of_stock {
  background-color: #cc0000;
  border-color: #a40000;
}

/* Prices */

div.prices div.cell {
  float: left;
}

div.prices div.mode_3 {
  font-size: 12px;
}

div.prices div.mode_2,
div.prices div.mode_1 {
  font-size: 14px;
}

div.prices div.mode_0 {
  font-size: 16px;
}

div.prices div.mode_3 div.cell {
  width: 33%; /* Should be 33.3% */
}

div.prices div.mode_2 div.cell,
div.prices div.mode_1 div.cell {
  width: 49.5%; /* Should be 50% */
}

div.prices div.mode_0 div.cell {
  width: 100%;
}

div.prices p {
  display: inline;
  padding: 1px;
  font-weight: bold;
  color: white;
  border: 2px solid;
  cursor: default;
}

div.prices p.cost_price {
  background-color: #555753;
  border-color: #2e3436;
}

div.prices p.trade_price {
  background-color: #204a87;
  border-color: #142f57;
}

div.prices p.retail_price {
  background-color: #cc0000;
  border-color: #a40000;
}

/* Brands */

a.brand {
  padding: 5px;
}

a.brand:hover {
  background-color: #ef2929;
}

/* Panel */

div.panel {
  clear: both;
  padding: 2px;
  background-color: #3e3e3e;
  border-top: 2px solid #555753;
}

/* Actions */

div.actions {
  line-height: 28px;
  text-align: center;
  background-color: #888a85;
  border-bottom: 1px solid #555753;
}

div.actions a {
  margin-right: 5px;
}

/* Status */

p.status {
  font-weight: bold;
}

/* Lists */

div.list {
  clear: both;
  width: 100%;
  background-color: #2e3436;
  background-image: url(/images/backgrounds/listing.png);
}

/* Core */

div.core {
  cursor: pointer;
}

/* Sortable */

img.handle {
  cursor: pointer;
}
/* --------- /stylesheets/application/list.css --------- */ 
/* Greyville.com - application/list.css
 *
 */

div.filter {
  padding: 8px;
  text-align: center;
}

table.list {
  width: 100%;
  background-color: #2e3436;
  border-collapse: separate;
  border-spacing: 1px;
}

table.list th {
  background-color: #555753;
  border-bottom: 5px solid #888a85;
}

table.list tr, table.list td {
  height: 32px;
}

table.list td {
  text-align: center;
}

table.list td a {
  color: #2e3436;
}

table.list th.actions {
  width: 15%;
}

table.list td.default {
  color: #2e3436;
  background-color: #e9b96e;
}

table.list tr.show {
  color: #2e3436;
  background-color: #d3d7cf;
}

table.list tr.new {
  color: #2e3436;
  background-color: #fce94f;
}

table.list tr.add {
  color: #2e3436;
  background-color: #edd400;
}

table.list tr.edit {
  color: #eeeeec;
  background-color: #ad7fa8;
}

table.list tr.destroy {
  color: #eeeeec;
  background-color: #cc0000;
  font-weight: bold;
}

table.list tr.destroy td {
  text-decoration: line-through;
}

table.list td.line-through {
  color: #cc0000;
  text-decoration: line-through;
}

table.list tr.updated {
  background-color: #5c3566;
}

/* Empty Lists || Not Found */

.empty_list, .not_found {
  padding: 10px;
  font-size: 16px;
  text-align: center;
  color: #eeeeec;
  background-color: #555753;
}

p.empty_list, p.not_found {
  border-color: #555753;
  border-style: solid;
  border-width: 1px;
}
/* --------- /stylesheets/application/show.css --------- */ 
/* Greyville.com - application/show.css
 *
 */

table.show {
  width: 100%;
  background-color: #555753;
  border-collapse: collapse;
}

table.show th {
  width: 25%;
  border-right: 1px solid #888a85;
}

table.show td {
  padding: 8px;
}

span.important {
  font-weight: bold;
}

/* More */

div.more {
  clear: left;
  font-size: 14px;
  text-align: right;
  padding-right: 10px;
}

div.more a {
  padding: 5px;
  font-weight: bold;
}

div.more a:hover {
  background-color: #555753;
}

/* User */

span.user {
  padding: 5px;
  color: #eeeeec;
  background-color: #3465a4;
  border: 1px outset #204a87;
}

/* Account type */

span.account_type {
  padding: 5px;
  font-weight: bold;
  border: 1px outset;
}

span.credit {
  background-color: #4e9a06;
  border-color: #4e9a06;
}

span.proforma {
  background-color: #a40000;
  border-color: #a40000;
}
/* --------- /stylesheets/application/form.css --------- */ 
/* Greyville.com - application/form.css
 *
 */

fieldset {
  padding: 3px;
  border: 1px solid #888a85;
}

legend {
  padding: 3px;
  color: #eeeeec;
  font-weight: bold;
}

textarea {
  font-family: sans-serif;
  font-size: 14px;
  height: 200px;
}

table.form {
  width: 100%;
  border-collapse: separate;
}

table.form th {
  width: 25%;
  font-size: 10px;
  background-color: #484848;
  border: 1px solid #5c5c5c;
}

table.form th.required {
  background-color: #888a85;
}

table.form td {
  background-color: #484848;
  border: 1px solid #5c5c5c;
  padding: 8px;
}

table.form td.action {
  text-align: center;
}

table.form td.radio {
  text-align: center;
}

div.submit {
  padding: 3px;
  text-align: center;
  background-color: #888a85;
}

div.submit * {
  font-size: 16px;
  vertical-align: middle;
}

/* --------- /stylesheets/application/menu.css --------- */ 
/* Greyville.com: application/menu.css
 *
 */

div.menu {
  clear: both;
  height: 45px;
  line-height: 45px;
  overflow: hidden;
  padding-left: 5px;
  padding-right: 5px;
  border-top: 1px solid #555753;
  border-bottom: 1px solid #555753;
  background-image: url(/images/backgrounds/menu.png);
}

div.menu li {
  float: left;
  margin: 0px;
  margin-left: 5px;
  list-style: none;
  list-style-position: outside;
  list-style-image: none;
  font-weight: bold;
}

div.menu li a {
  display: block;
  margin: 0px;
  padding-right: 3px;
}

div.menu li a:hover {
  background-color: #888a85;
}

div.menu li a.icon {
  margin-top: 12px;
}

div.menu form.finder {
  text-align: right;
}

div.menu form.finder label {
  font-weight: bold;
}
/* --------- /stylesheets/application/markdown.css --------- */ 
/* Greyville.com - application/markdown.css
 *
 */

.markdown p,
.markdown ul {
  margin: 5px;
}

.markdown h1,
.markdown h2,
.markdown h3 {
  margin: 10px 0px 10px 0px;
  padding: 2px;
}

.markdown h4,
.markdown h5 {
  margin: 7px 0px 7px 0px;
}

.markdown blockquote {
  padding: 1px;
  margin-bottom: 5px;
  background-color: #888a85;
  border: 1px solid #2e3436;
}

.markdown pre {
  font-size: 14px;
  color: #eeeeec;
  background-color: #555753;
}

.markdown .left {
  float: left;
  margin-right: 20px;
}

.markdown .right {
  float: right;
  margin-left: 20px;
}

.markdown .left, .markdown .right {
  margin-bottom: 5px;
}

.markdown img {
  border: 1px solid #888a85;
}

.markdown a {
  color: #8ae234;
}

.markdown a:hover {
  color: #4e9a06;
  background-color: #8ae234;
}

.markdown a.button:hover {
  background-color: transparent;
}

.markdown a.button img {
  border: none;
}

.markdown hr {
  border: 1px solid #888a85;
  margin-bottom: 3px;
}

.markdown span.important {
  font-weight: bold;
}
/* --------- /stylesheets/application/pagination.css --------- */ 
/* Greyville.com - application/pagination.css
 *
 */

.pagination {
  clear: left;
  padding-top: 5px;
  padding-bottom: 5px;
  line-height: 25px;
  text-align: center;
  background-color: #555753;
}

.pagination a {
  padding: 2px 5px 2px 5px;
  margin: 2px;
  text-decoration: none;
  color: #204a87;
  background-color: #eeeeec;
  border: 2px solid #3465a4;
}

.pagination a:hover, .pagination a:active {
  color: #000000;
  background-color: #edd400;
  border: 2px solid #c4a000;
}

.pagination span.current {
  padding: 2px 5px 2px 5px;
  margin: 2px;
  font-weight: bold;
  color: #ffffff;
  background-color: #f57900;
  border: 2px solid #ce5c00;
}

.pagination span.disabled {
  padding: 2px 5px 2px 5px;
  margin: 2px;
  color: #888a85;
  border: 2px solid #888a85;
}

.page_entries_info {
  text-align: center;
  background-color: #555753;
}

.pagination, .page_entries_info {
  border-bottom: 1px solid #696b67;
}
