/* GENERAL */

body {
    padding:0;
    margin:0;
    font-family:'Helvetica', 'Arial', sans-serif;
    font-size: 12px;
}

h1 {
    color:#0656b0;
    font-size:24px;
    padding:0;
    margin:0;
}

a {
    text-decoration: none;
    color:#0044FF;
}

img {
    border:none;
}

.center {
    text-align:center;
}

.right {
    text-align:right;
}

.left {
    text-align:left;
}

.error_symbol{
    color:red;
    font-size:35px;
    font-weight: bold;
    vertical-align: top;
    margin:10px;
    display:inline-block;
}

td.errors {
    color:red;
    background:#EEEEEE;
    border:1px solid red;
    padding:3px 10px;
    margin:0 0 10px 0;
    text-align: center;
    font-size: 14px;
}
p.errors{
    text-align: left;
    display: inline-block;
}

.pagination  {
    padding:0 15px;
    float:right;
}

.pagination .current {
    font-weight:bold;
}

.pagination .disabled {
    display:none;
}

/* SECTIONS */

/* HEADER */

#header {
    width:900px;
    margin:0 auto;
    clear:both;
}

#header table {
    padding:10px 0 0 0;
    margin:0 auto;
    width:100%;
}

#logo {
    float:left;
    padding:10px 0;
    width:600px;
    max-height:180px;
}

#logo img {
    max-width:600px;
    max-height:180px;
}

#logo a {
    text-decoration:none;
}

#userPanel {
    float:right;
    font-size:13px;
    font-weight:bold;
    text-align:right;
}

#userPanel a {
    color:#0656b0;
    text-decoration:none;
}

#userPanel a:hover {
    text-decoration:underline;
}

/* SEARCH BAR */

#searchForm {
    width:900px;
    margin:0px auto 20px auto;
    background:#0656b0;
}

#searchForm table {
    width:900px;
    margin:0 auto;
}

#searchForm table h2 {
   color:#fff;
   padding:5px 0;
   margin:0;
   font-size:18px;
}

/* CONTENT */

#content {
    padding:0;
    margin:0 auto;
    width:900px;
}

/* SIDEBAR */

#sidebar {
    font-size:12px;
    width:150px;
    margin-top:-5px;
    float:left;
}

#sidebar ul {
    list-style:none;
    padding:0 0 5px 5px;
}

#sidebar ul.filters {
    padding:0px;
}

#sidebar h1 {
    font-size:12px;
    color:#0656b0;
}

#sidebar ul li a {
    color:#020202;
    text-decoration:none;
}

#sidebar ul li h1 a {
    color:#0656b0;
}

#sidebar ul li a:hover {
    text-decoration:underline;
}

#sidebar ul li a.selected {
    font-weight:bold;
    color:#f60;
}

/* MAIN CONTENT */

#home_content {
    float:right;
    width:750px;
    margin-top:-15px;
    margin-right:-10px;
    margin-bottom:5px;
}

/* SKU LISTINGS */

#skus {
    font-size:12px;
    padding:5px 0 0 20px;
    width:730px;
}

#skus .sku ul {
    list-style:none;
    padding:0 0 0 10px;
}

#skus a, #related-items a, #alternates a { color:#0656b0; }

#skus a:hover { text-decoration:underline; }


div.mini_sku{
    height:185px;
    width:100px;
    float:left;
    margin:0 10px 10px 0;
    font-size: 10px;
}

div.mini_sku span.code{
    font-weight: bold;
    font-size: 12px;
}
div.mini_sku img{
    width:100%;
}

/* BRANDS */
#brands{
    padding:0 0 0 40px;
}

/* MILLS */

ul.mills {
    list-style-type: none;
    float: right;
    clear: none;
    width: 100%;
    max-width: 720px;
    margin: 0 auto 8px;
    padding: 0 0 8px;
    box-sizing: border-box;
}

li.mill {
    position: relative;
    float: left;
    clear: none;
    width: 25%;
    width: 160px;
    height: 160px;
    margin: 10px;
    border: 1px solid #DDD;
    border-radius: 5px;
    -webkit-box-sizing: border-box; /* Safari 3.0 - 5.0, Chrome 1 - 9, Android 2.1 - 3.x */
    -moz-box-sizing: border-box;    /* Firefox 1 - 28 */
    box-sizing: border-box;
    -webkit-transition: border-color 300ms;
    transition: border-color 300ms;
}

li.mill:hover {
    border-color: #003067;
}

li.mill a {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 16px;
}

div.mill_image_outer {
    display: table;
    width: 100%;
    height: 100%;
}

div.mill_image_inner {
    display: table-cell;
    vertical-align: middle;
}

div.mill_image_inner img {
    display: block;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
}

/* FOOTER */

#footer {
    width:900px;
    height:15px;
    padding:5px 0;
    margin:20px auto;
    clear:both;
    background:#0656b0;
}