/* Initial reset
---------------------------------------------------------- */
html, body, h1, h2, h3, h4, h5, h6, ul, ol, li, dt, dd, p, blockquote, form, fieldset, legend {
    margin: 0;
    padding: 0;
    font: 100% / 120% Verdana, Arial, Helvetica, sans-serif;
}

ol, ul {
    list-style: none;
}

fieldset, img {
    border: 0;
}

input, select, textarea {
    font-size: 100%;
}

/* General
---------------------------------------------------------- */
html {
    font-size: 100.01%;
    background: #ffd700;
    height: 100%;
}

body {
    background: #ffd700;
    font-size: 12px;
    color: #000;
    height: 100%;
}

.wrapper {
    width: 960px;
    margin: 0 auto;
}

a {
    color: #0000ee;
}

a:hover {
    color: #073582;
}

/* Header
---------------------------------------------------------- */
#header {
    overflow: hidden;
    height: 100%;
    margin-bottom: 14px;
}

h1 {
    float: left;
    background: url(../img/fly-print-logo.png) no-repeat;
    margin-top: 18px;
}

h1 a {
    text-indent: -9000px;
    display: block;
    width: 382px;
    height: 100px;
}

#slogan {
/* image replacement for SEO purposes */
    float: right;
    background: url(../img/slogan.gif) no-repeat;
    text-indent: -9000px;
    display: block;
    width: 268px;
    height: 63px;
    margin: 54px 54px 0 0;
}

#logout {
    float: right;
    display: block;
    width: 268px;
}

/* Top navigation
---------------------------------------------------------- */
#top-navigation {
    overflow: hidden;
    height: 100%;
}

#top-navigation ul {
    position: relative;
    float: right;
    overflow: hidden;
    background: url(../img/top-navigation-bg.gif) no-repeat left top;
    padding-left: 24px;
}

#top-navigation ul li {
    float: left;
    padding: 0 36px 0 4px;
    position: relative;
    background: #073582;
}

#top-navigation ul li a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 1px 0 3px 0;
}

#top-navigation ul li a:hover {
    color: #ff0000;
}

/* Order
---------------------------------------------------------- */
#order {
    margin-top: 2px;
    text-align: right;
    padding: 1px 0 3px 0;
}

#order p.red {
    color: #fff;
    background: #e60002 url(../img/order-bg.gif) no-repeat left top;
}

#order p {
    font-size: 14px;
    display: inline;
    padding: 1px 12px 3px 32px;
}

#order p.red a {
    color: #fff;
}

#order p a {
    text-decoration: none;
}

#order p.normal span.login {
    background: #fff;
    padding: 2px;
    border: black solid thin;
    margin-right: 1em;
}

#order p.normal {
    margin-right: 4em;
}

a.button {
    padding: 2px;
    border: black outset thin;
    text-decoration: none;
    background: #00008b;
    color: #fff;
}

/* Contents
---------------------------------------------------------- */
#contents {
    overflow: hidden;
    height: 100%;
    padding-top: 2px;
}

p {
    line-height: 150%;
    padding-bottom: 12px;
}

/* Sidebar
---------------------------------------------------------- */
#sidebar {
    float: left;
    width: 160px;
    margin-right: 20px;
}

/* Left navigation
---------------------------------------------------------- */
#left-navigation ul li {
    text-align: right;
}

#left-navigation ul li a {
    color: #000;
    text-decoration: none;
    display: block;
    padding: 1px 3px 1px 0;
    height: 100%; /* to avoid EI6 bug */
}

#left-navigation ul li a:hover {
    color: #fff;
    background: #073582;
}

#left-navigation ul li span.heading {
    font-style: italic;
    font-weight: bold;
    color: #fff;
    background: #073582;
    padding: 1px 3px 3px 0;
    margin-top: 14px;
    display: block;
}

#left-navigation ul.third-level {
    border-top: 1px solid #073582;
    border-left: 1px solid #073582;
    margin-bottom: 12px;
}

#left-navigation ul.third-level li {
    font-style: italic;
    padding-right: 6px;
}

/* Main-content
---------------------------------------------------------- */
#main-content {
    float: right;
    width: 780px;
}

/* Sub navigation
---------------------------------------------------------- */
#sub-navigation {
    background: #e60002 url(../img/sub-navigation-bg.gif) no-repeat left top;
    padding-top: 3px;
}

#sub-navigation .menu {
    text-align: right;
    padding: 1px 0 3px 0;
}

#sub-navigation .menu p {
    font-size: 10px;
    font-weight: bold;
    color: #fff;
    background: #073582 url(../img/menu-bg.gif) no-repeat left top;
    display: inline;
    padding: 0 12px 0 48px;
}

#sub-navigation .menu p a {
    color: #fff;
    text-decoration: none;
}

#sub-navigation .menu p a:hover {
    color: #ff0000;
}

/* Inner content
---------------------------------------------------------- */
#inner-content {
    position: absolute;
    border-left: 2px solid #073582;
    padding: 16px;
    width: 748px;
    overflow: visible;
}

#inner-content h2 {
    font-size: 3em;
    font-weight: bold;
    color: #073582;
    margin-bottom: 0.5em;
}

#inner-content h3 {
    font-size: 1.5em;
    font-weight: bold;
    color: #073582;
    margin-bottom: 0.5em;
}

#inner-content h4 {
    font-size: 1.3em;
    font-weight: bold;
    color: #073582;
    margin-bottom: 0.2em;
}

/* Footer
---------------------------------------------------------- */
#footer {
    border-top: 2px solid #073582;
    margin-top: 24px;
    padding-top: 12px;
}

#footer p {
    text-align: center;
}

/* FBA
---------------------------------------------------------- */
#left-navigation ul.third-level, ul.second-level, .option_reference.default input, .description_line {
    display: none;
}

a:active, a:focus {
    outline-style: none;
}

thead {
    background: #073582;
    color: white;
}

.error {
/*color: red;*/
}

.error_div {

    padding: .8em;
    margin-bottom: 1em;
    border: 2px solid #ddd;
    background: #FBE3E4;
    color: #8a1f11;
    border-color: #FBC2C4;
}

#inner-content div.news_cell h3 {
    color: white;
    padding: 0.1em 0.3em;
    font-weight: bold;
    text-align: left;
    font-size: 1.2em;
}

#inner-content div.news_cell p {
    padding: 2px 5px;
    height: 100%;
    font-size: 1em;
}

fieldset {
    border: #073582 thin ridge;
    margin: 1em;
    padding: 0.5em;
}

fieldset legend {
    background: #073582;
    color: white;
    padding: 0.3em 3em;
    font-weight: bold;
}

fieldset label {
    font-weight: bold;
    float: left;
    width: 40%;
    text-align: right;
    clear: left;
    display: block;
}

#delivery_address_select, #company_select {
    float: left;
    width: 70%;
    clear: left;
    display: block;
    margin: 0 15% 1em 15%;
}

#copy_delivery_to_invoice {
    float: left;
    width: 50%;
    clear: left;
    display: block;
    margin: 0 25% 1em 25%;
}

fieldset input, fieldset select {
    padding-left: 0.2em;
    margin-left: 0.5em;
}

div#products_top {
    display: none;
    position: absolute;
    top: -999px;
    left: -999px;
    background-color: gold;
    border: #073582 solid thin;
    z-index: 100;
}

div#products_top > ul > li {
    padding: 0;
    margin: 0;
}

div#products_top  ul  li {
    color: black;
    font-weight: bold;
    font-size: small;
    padding: 0;
    margin: 0;
}

div#products_top  ul {
    padding: 0;
    margin: 0;
}

div#products_top  ul  li a {
    display: block !important;
    display: inline;
    text-indent: 1em;
    padding: 0;
    margin: 0;
    color: #073582;
    text-decoration: none;
}

div#products_top  ul  li a:hover {
    background-color: white;
    color: #073582;
}

div#products_top  ul  li  ul  li a {
    color: black;
    text-decoration: none;
    font-weight: normal;
    font-size: small;
    padding: 0;
    margin: 0;
}

div#products_top  ul  li  ul  li a:hover {
    color: black;
    background-color: white;
    padding: 0;
    margin: 0;
}

#inner-content div#time_line {
    margin-bottom: 20px;
}

#inner-content div#time_line table {
    border-collapse: separate;
    padding: 0;
    margin: 0;
    width: 800px;
    border-spacing: 0;
    *border-collapse: collapse; /* hack is needed for IE7 also */
}

#inner-content div#time_line td {
    font-size: 18px;
    *font-size: 15px;
    text-align: center;
    vertical-align: middle;
    background-color: transparent;
    padding: 0;
    *position: relative;
}

#inner-content div#time_line td.first_current {
    background: url("../img/time_first.png") no-repeat;
}

#inner-content div#time_line td.first {
    background: url("../img/time_first1.png") no-repeat;
}

#inner-content div#time_line td.midl_current {
    background: url("../img/time_midl.png") no-repeat;
}

#inner-content div#time_line td.midl {
    background: url("../img/time_midl1.png") no-repeat;
}

#inner-content div#time_line td.last_current {
    background: url("../img/time_last.png") no-repeat;
}

#inner-content div#time_line td.last {
    background: url("../img/time_last1.png") no-repeat;
}

#inner-content div#time_line span.text {
    color: white;
    font-weight: bold;
    text-decoration: none;
}

#inner-content div#time_line td.first_current span.text, #inner-content div#time_line td.midl_current span.text, #inner-content div#time_line td.last_current span.text {
    color: red;
}

fieldset.job_fieldset {
    margin: 0.1em 0;
    padding: 0.1em;
}

#end_line {
    background: #eeeeff;
    width: 100%;
    margin: 1em .2em;
    padding: 1em 0.2em;
    float: none;
    overflow-y: hidden;
}

#delivery_date {
    background: #eeeeff;
    float: right;
    width: 70%;
    margin: 0;
    padding: 0;
}

#delivery_date_empty {
    background: #eeeeff;
    float: right;
    width: 70%;
    margin: 0;
    padding: 0;
}

#confirm_order {
    background: #eeeeff;
    width: 30%;
    float: right;
    margin: 0;
    padding: 0;
    text-align: right;
}

.left, .right {
    width: 100%;
    margin: 1em 0;
    padding: 1em 0;
    overflow-y: hidden;
}

.left input {
    float: left;
    padding-left: .2em;
}

.right input {
    float: right;
    padding-right: .2em;
}

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

.hidden {
    display: none;
}

iframe {
    border: none;
}