p {
    margin-bottom: 10px;
    font-size: 14px;
}

h1 {
    font-weight: bold;
    font-size: 26px;
    color: #31566E;
    padding: 20px 0;
    margin-top: 0 !important;
}
h2 {
    font-weight: bold;
    font-size: 20px;
    color: #31566E;
    padding: 15px 0;
}
h3 {
    font-weight: bold;
    font-size: 16px;
    color: #31566E;
    padding: 10px 0;
}
em {
    font-style: italic;
}
strong {
    font-weight: bold;
}
.hidden {
    display: none;
}
body {
    position: relative;
    background-image: url(../images/background.jpg);
    background-position: left top;
    background-repeat: repeat-x;
    background-color: #32566E;
    background-attachment: fixed;
    font-family: Arial, Helvetica, sans-serif;
    color: #000;
    background-size: contain;
}
.orange {
    color: #F68412;
}

.pagination {
    font-size: 14px;
}

.pagination a {
    color: #333;
}

.pagination span.selected {
    color: red;
}

/************************ Header ************************/
#header {
    position: relative;
    width: 100%;
    height: 154px;
    background-image: url(../images/header.png);
    background-position: center top;
    background-repeat: no-repeat;

}

#header1000 {
    position: relative;
    width: 1400px;
    height: 154px;
    left: 50%;
    margin: 0px 0px 0px -700px;
    padding: 0px;
}

#homeLink {
    float: left;
    height: 100px;
    width: 330px;
    text-align: right;
}
#homeLink a {
    display: block;
    height: 100px;
    width: 330px;
    outline: none;
}

/*** Navigation ****/

#nav {
    position: absolute;
    width: 545px;
    height: 25px;
    top: 94px;
    left: 398px;
    font-size: 12px;
    color: white;
    font-weight: bold;

}

#nav .nav_item {
    float: left;
    margin-top: 5px;

    background-image: url(../images/nav_divider.png);
    background-position: right;
    background-repeat: no-repeat;
    padding: 0 10px;
}

.nav_item a {
    color: #FFF;
    text-decoration: none;
}

.nav_item a:hover {
    color: #EEE;
}


#last_nav_item {
    float: left;
    margin-top: 5px;
    padding: 0 11px;
}


#subnav {
    clear: both;
    width: 1400px;
    position: relative;
    top: 20px;

    margin: 0;
    padding: 10px;
    background: #666;
    height: auto;
    color: #FFF;
    min-height: 80px;
}

#subnav ul {
    min-height: 50px;
    float: left;
    margin: 0;
    padding: 0;
    width: 100%;
    list-style-type: none;
}

#subnav ul li {
    float: left;
    border-right: 1px solid rgba(100%, 100%, 100%, 0.5);
    margin: 0 0 5px 0;
}

#subnav ul li:last-child {
    border: none;
}

#subnav a {
    color: #FFF;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    display: block;
    padding: 5px 8px;
}


#subnav a:hover {
    color: #EEE;
}

#subnav #sign_stock_level {
    float: right;
    padding:  0 20px 0 0;
    margin: -5px 10px 0 0;
    border-right: 1px dotted #FFF;
    font-weight: bold;
    font-size: 14px;
}

#subnav #sign_stock_level #the_number {
    font-size: 24px;
    padding-left: 10px;
}

/************************ Middle ************************/

#middle {
    width: 1400px;
    margin: auto;
    background: white;
    color: #31566E;
}


#middle #middle_liner {
    width: 1360px;
    margin: auto;
    padding-top: 50px;
}

#middle #middle_liner #feedback {
    padding: 0 20px;
    font-size: 16px;
    font-weight: bold;
    color: red;
    background-color: yellow;
}

#middle #middle_liner #feedback ul {
    list-style: disc;
    margin: 5px 0 0 20px;
}

#login_notice {
    background-image: url(../images/login_notice_bg.jpg);
    background-repeat: repeat-y;
}

#login {
    float: left;
    width: 347px;
    height: 153px;
    background-image: url(../images/members_login.png);
    position: relative;
    margin: 5px 0 7px 5px;
}

#login form {
    position: absolute;
    left: 13px;
    top: 80px;
}

#login_err_message {
    color: red;
    font-size: 12px;
    position: absolute;
    left: 10px;
    top: 20px;

    display: none;
}

#login form #user, #login form #password {
    width: 120px;
    margin-left: 3px;
}

#logout {
    display: block;
    float: right;
    font-weight: bold;
    margin-top: -5px;
}

#submit {
    position: absolute;
    background-image: url(../images/login_btn.png);
    border: none;
    width: 53px;
    height: 20px;

    left: 255px;
    top: 0px;

}

#submit:hover {
    cursor: pointer;
}

#forgot {
    position: absolute;
    top: 120px;
    left: 20px;
    width: 298px;
    height: 24px;
    background-image: url(../images/orange_btn_up.png);
    border: none;
    color: white;
    font-weight: bold;
}

#forgot:hover {
    background-image: url(../images/orange_btn_over.png);
    cursor: pointer;
}

#forgot a {
    color: #FFF;
    text-decoration: none;
}

/************************ Footer ************************/

#footer {
    position: relative;
    width: 1400px;
    margin:  -20px auto 0 auto;
    height: 60px;
    background: #DDD;
    font-size: 12px;
    text-align: center;
    padding-top: 22px;
    border-radius: 0 0 20px 20px;
}




/*** Index Page Styles ***/

#login_notice {
    background-image: url(../images/login_notice_bg.jpg);
    background-repeat: repeat-y;
}


#notice {
    float: left;
    height: 153px;
    width: 582px;
    background-image: url(../images/notice_box_bg.png);
    margin: 5px 0 7px 20px;
}

#notice h1 {
    padding: 5px 0;
}

#notice h2 {

}

#login {
    float: left;
    width: 347px;
    height: 153px;
    background-image: url(../images/members_login.png);
    margin: 5px 0 7px 5px;
}

#left {
    width: 355px;
    margin-top: 1px;
    height: 550px;
    background-image: url(../images/left_box_bg.jpg);
    background-repeat: no-repeat;
    background-position: top right;
    float: left;
}

#left #not_reg_box {
    width: 348px;
    height: 91px;
    background-image: url(../images/not_reg_box_bg.png);
    background-repeat: no-repeat;
    background-position: top;
    margin-top: 10px;
}

#left #left_box_content {
    margin-left: 40px;
    margin-right: 50px;
}



#right {
    float: left;
    width: 490px;
    height: 500px;
    padding-left: 45px;
    padding-right: 45px;
    padding-top: 50px;
    margin-top: 1px;
    background-image: url(../images/right_box_bg.jpg);
    background-repeat: no-repeat;
}

#left #not_reg_box a {
    text-decoration: none;
}

#left #not_reg_box #register_btn {
    position: relative;
    top: 57px;
    left: 23px;
    width: 298px;
    height: 19px;
    background-image: url(../images/orange_btn_up.png);
    border: none;
    color: #FFF;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    padding-top: 5px;
}

#left #not_reg_box #register_btn:hover {
    background-image: url(../images/orange_btn_over.png);
    cursor: pointer;
}


/**** Agent Sidebar ***/

#place_order_btn {
    color: white;
    width: 176px;
    height: 33px;
    background: url(../images/place_order_btn_bg.png) no-repeat top center;
}

#side_menu a {
    display: block;
    width: 176px;
    height: 33px;
    text-decoration: none;
    color: #355a72;
    font-weight: bold;
    font-size: 20px;
    line-height: 20px;
    padding: 6px 0 7px 10px;
}

#side_menu a:hover {
    color: #FFF;
    background: url(../images/sidenav-rollover.png) no-repeat top left;
}

#place_order_btn a:hover {
}

#notice_text p {
    font-size: 10px;
}



/*** Registration Form ***/

#registration_form {

}

#registration_form table  {
    width: 700px;
    margin: 20px auto;
}

#registration_form table td:first-child {
    width: 250px;
}

#registration_form table td {
    padding: 10px;

}

label[class=error] {
    color: red;
    font-style: italic;
    font-size: 12px;
    margin-left: 10px;
}

.dropshadow {
    border: 1px solid #999;
    border-radius: 10px;
    box-shadow: -5px 5px 5px #999;
}


#pass_reset_form table {}
#pass_reset_form table td {
    padding: 10px;
}

#general_account_form  table {}
#general_account_form  table td {
    padding: 10px;
}


/*** Order History ***/

.orders_table {
    width: 100%;
    font-size: 12px;
    color: #31566E;
}

.orders_table th {
    font-weight: bold;
    font-size: 14px;
    border-bottom: 1px solid #333;
    padding: 5px;
    text-align: center;
    background-color: #BBB;
}

.sortable th:hover {
    cursor: pointer;
    background: #EFEFEF;
}

.orders_table th {
    cursor: pointer;
}

.orders_table td {
    padding: 4px;
    vertical-align: middle;
}

.orders_table tr:nth-child(odd) {
    background-color: #DDD;

}

.orders_table tr:nth-child(even) {
    background-color: #EEE;
}


.orders_table tr:hover {
    background-color: #333;
    color: #FFF;
}

.orders_table tr:hover a {
    color: #FFF;
}

.orders_table thead tr:hover {
    background-color: transparent;
    color: #31566E;
}

.orders_table .order_action a {
    color: #333;
    text-decoration: none;
    display: block;
    border: 1px solid #333;
    text-align: center;
    font-size: 12px;
    line-height: 12px;
    font-weight: bold;
    padding: 3px 0;
    border-radius: 3px;
}

.orders_table tr:hover .order_action a {
    color: #FFF;
    border-color: #FFF;
}

.orders_table tr:hover .order_action a:hover {
    background-color: #f69b40;
    color: #FFF;
}

.current_riders_table {
    font-size: 12px;
    font-weight: bold;
    margin: 15px 0 15px 30px;
}

.current_riders_table th {
    font-size: 14px;
    border-bottom: 1px dotted #333;
    text-align: center;
    padding: 5px 10px;
}

.current_riders_table td {
    padding: 5px;
    text-align: center;
    border-bottom: 1px dotted #333;
    border-left: 1px dotted #333;
    border-right: 1px dotted #333;
}

.new_order_line {
    font-weight: bold;
    text-align: center;
    font-size: 16px;
    margin: 30px 0;
}

.new_order_line a {
    text-decoration: none;
    color: #F69B40;
}

.new_order_line a:hover {
    text-decoration: underline;
}

/*** Place Order ***/

#order_form {
    position: relative;
}

#order_form .checkbox{
    width: 62px;
    height: 73px;
}

#order_form #continue_btn {
    display: none;
    margin-top: 220px;
    padding: 15px;
}

#order_form input[type=radio] {
    display: none;
}


/*** install Order ****/
#order_instructions {
    resize: none;
    width: 100%;
    height: 200px;
}

.order_table {
    width: 100%;
    font-size:  12px;
    color: #31566E;
    padding: 30px 0;
}

.order_table input {
    width: 180px;
}

.order_table input[type=radio] {
    width: 30px;
}

.order_table tr {
    border-bottom: 1px dotted #333;
}

.order_table td {
    vertical-align: top;
    padding: 5px 10px;
}

.rider_row {
    background-color: #CCC;
    border-bottom: 1px solid #333;
}



#summary_table {
    margin: 20px auto 20px auto;
    color: #31566E;
}

#summary_table td {
    padding: 10px;
}

#tomorrow_order_count, #today_order_count {
    font-size: 36px;
    font-weight: bold;
}


.add_item_link {
    text-decoration: none;
    display: block;
    float: right;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    margin: 10px 10px 0 0;
    color: #31566E;
}

.add_item_link:hover {
    color: #333;
}

form input.phone {
    width: 140px;
}

.page_link {
    color: #31566E;
    font-weight: bold;
}

.page_link:hover {
    color: #666;
}

#by_type_table {
    color: #31566E;
}

#at_a_glance {
    float: right;
    margin: -60px 40px 0 0;
    font-size: 12px;
    color: #31566E;
}

#at_a_glance table {
    color: #31566E;
}

#at_a_glance td {
    padding: 2px 6px;
}

.odd_row {
    background-color: #DDD;
}

.even_row {
    background-color: #EEE;
}

#make_order_form {
    font-size: 12px;
}

#make_order_form table td {
    vertical-align: middle;
    padding: 0 5px;
}


input.adj_stock {
    width: 50px !important;
    text-align: center;
    margin: auto;
    display: block;
}

.not_completed_link {
    color: #31566E;
}

#check_all {
    margin: 20px 50px 20px 0;
}



/** New Styles - November 2013 **/
a.button {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 12px;
    font-weight: normal;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    color: #fff;
    background-color: #428bca;
    border-color: #357ebd;
    text-decoration: none;
}


table#stock-levels {

}

table#stock-levels tr.updated {
    background: green !important;
    color: #FFF;
    font-weight: bold;
}

table#stock-levels tr.updated td {
    background-color: green !important;
}

table#stock-levels tr.updated td input {
    color: #000;
}

table#stock-levels tr.updated a {
    color: #FFF;
}



ul#old-inventory {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
