
div#bd div.note {
    padding:5px 10px 0;
    margin:10px 0 20px;
    background:#fefbcf;
    font-weight:bold;
    color:#000;
}
    div#bd div.note p {
        padding-bottom:5px;
        margin-bottom:0;
    }

div#bd span.warning {
    color:#ca1111;
}

div#bd a {
    color:#eb7510;
}

div#bd {
    padding-bottom:30px;
    top:26px;
}


div#bd div.orange_buttons {
    margin:3px 0 0;
}

div#bd div.orange_buttons div.button {
    width:340px;
    height:43px;
    margin:0 10px 10px 0;
    position:relative;
    float:left;
    font-size:18px;
    background:#d47233 0 0 no-repeat;
}
    div#bd div.orange_buttons div.last {
        margin-right:0;
    }

div#bd div.orange_buttons div.button a {
    line-height:43px;
    color:#fff;
    font-weight:bold;
    display:block;
    width:100%;
    height:100%;
    background:#d47233 0 0 no-repeat;
    text-indent:-9999px;
    
}

div#bd div.orange_buttons div.button a.place_an_order {
    background:url(a/orange_button_placeanorder.png);
}
div#bd div.orange_buttons div.button a.browse_products {
    background:url(a/orange_button_browseproducts.png);
}
div#bd div.orange_buttons div.button a.check_order_status {
    background:url(a/orange_button_checkorderstatus.png);
}
div#bd div.orange_buttons div.button a.review_invoices {
    background:url(a/orange_button_reviewinvoices.png);
}

div#bd div.orange_buttons div.button a:hover {
    -moz-opacity: 0.75;
    filter: alpha(opacity=75);
    opacity: 0.75;
    
}

div#bd form div.buttons {
    margin-top:20px;
}

div#bd form div.buttons button {
    *margin-left:0.5em !important;
}


div#bd div.box h4 {
    color:#363636;
    font-size:13px;
}

div#bd .no_spacing {
    margin:0;
}

div#bd .important {
    color:#b82137;
}

div#bd div.confirmed {
    border:1px solid #a6bb82;
    background:#ecfbd8;
    margin:5px 0 10px;
    padding:0;
    position:relative;
    _height:60px;
}
div#bd div.confirmed p {
    margin:0;
    padding:12px 10px 12px 60px;
    font-size:18px;
    font-weight:bold;
    color:#31362d;
    background:#ecfbd8 url(a/confirm_circle.png) 10px 50% no-repeat;

}

div#bd div.confirmed p.error {
    margin:0;
    padding:12px 10px 12px 60px;
    font-size:18px;
    font-weight:bold;
    color:#CA1111;
    background:#ecfbd8;

}

div.fade_on_white,
div.fade_on_white span {
    background:url(a/rounded-corner-fade-top-onwhite.png);
}
div.fade_on_grey,
div.fade_on_grey span {
    background:url(a/rounded-corner-white-top-ongrey.png);
}
div.grey_on_white,
div.grey_on_white span {
    background:url(a/rounded-corner-grey-top-onwhite.png);
}
div.white_on_grey,
div.white_on_grey span,
li.selected div.lightgrey_on_grey,
li.selected div.lightgrey_on_grey span {
    background:url(a/rounded-corner-white-top-ongrey.png);
}

div.white_on_grey_no_border,
div.white_on_grey_no_border span {
    background:url(a/rounded-corner-white-top-ongrey_noborder.png);
}
div.white_on_grey_no_border_bottom,
div.white_on_grey_no_border_bottom span {
    background:url(a/rounded-corner-white-bottom-ongrey_noborder.png);
}

div.grey_on_grey,
div.grey_on_grey span {
    background:url(a/rounded-corner-grey-top-ongrey.png);
}
div.lightgrey_on_grey,
div.lightgrey_on_grey span {
    background:url(a/rounded-corner-lightgrey-top-ongrey.png);
}
div.white_on_white_bottom,
div.white_on_white_bottom span {
    background:url(a/rounded-corner-white-bottom-onwhite.png);
}
div.white_on_grey_bottom,
div.white_on_grey_bottom span {
    background:url(a/rounded-corner-white-bottom-ongrey.png);
}

div.green_on_grey_top,
div.green_on_grey_top span {
    background:url(a/rounded-corner-green-top-ongrey.png);
}
div.green_on_grey_bottom,
div.green_on_grey_bottom span {
    background:url(a/rounded-corner-green-bottom-ongrey.png);
}

div.round_top {
    position:absolute;
    top:-1px;
    left:-1px;
    height:4px;
    width:100%;
    z-index:100;
    background-position:0 0;
    background-repeat:no-repeat;
}

div.round_top span,
li.selected div.round_top span {
    display:block;
    height:4px;
    position:absolute;
    right:-2px;
    top:0px;
    background-position: 100% 0;
    width:40px;
    background-repeat:no-repeat;
}

div.round_bottom {
    position:absolute;
    bottom:-1px;
    left:-1px;
    height:4px;
    width:100%;
    z-index:100;
    background-position:0 0;
    background-repeat:no-repeat;
}

div.round_bottom span {
    display:block;
    height:4px;
    position:absolute;
    right:-2px;
    bottom:0px;
    background-position: 100% 100%;
    width:40px;
    background-repeat:no-repeat;
}



div#bd div.sidebar {
    position:relative;
    width:230px;
    float:left;
    z-index:201;
}
div#bd div.main {
    position:relative;
    width:710px;
    float:right;
    background:url(a/surya_logo_main_bg.png) no-repeat 50% 50%;
    _background:url(a/surya_logo_main_bg-ie.png) no-repeat 50% 50%;
    min-height:300px;
    _height:300px;
    z-index:200;
}

div#login_box {
    width:386px;
    margin:0 auto;
    position:relative;
}

div#request_account_box {
    width:710px;
    margin:0 auto;
    position:relative;
}


div#bd div.box {
    border:1px solid #b9b9b9;
    background:#f2f2f2;
    position:relative;
}

    div#bd div.sidebar div.box {
        background:#fff;
        position:relative;
    }
    
    div#bd form {
        position:relative;
        _width:100%;
        
    }
    
    div#bd form div.box {
        _width:100%;
    }
    
    div#bd form div.box div.shipping_details {
        _margin-left:16px;
        _width:690px;
    }

    div#bd form div.shipping_details_page div.shipping_details {
        _margin-left:0px;
        _width:936px;
    }
    
    div#bd div.box div.box {
        background:#fff;
        margin-top:20px;
    }
    
        div#bd div.client_customer_box div.box {
            margin-top:10px;
        }
    
    div#bd div.grey_box, 
    div#bd div.box div.grey_box {
        background:#f1f1f1;
    }
    
    

div#bd div.box div.padding, 
div#bd div.box div.tighter div.padding {
    padding:9px 8px;
    position:relative;
}
    div#bd div#login_box div.padding {
        padding:20px;
    }
    div#bd div.sidebar div.box div.padding, 
    div#bd div.box form div.padding, 
    div#bd div.box div.extra_padding {
        padding:15px;
    }
    
    div#bd div.box div.extra_padding_top_only {
        padding-top:20px;
    }
    
    
    div#bd div.box div.padding_top {
        padding-top:0;
    }
    div#bd div.box div.padding_bottom {
        padding-bottom:0px;
    }
    
    
    div#bd div.sidebar div.box hr {
        margin:0;
        height:1px;
        background:#B9B9B9;
        border:none;
        color:#B9B9B9;
    }
    

div#bd div.box div.header {
    background:#e7e5e6 url(a/header_bg.png) repeat-x;
    border-bottom:1px solid #b9b9b9;
}
    div#bd div.box div.header div.padding,
    div#bd div#login_box div.header div.padding {
        padding:14px 20px 11px;
    }
    div#bd div.box div.box div.header div.padding {
        padding:6px 15px 5px;
    }
    
    div#bd div.sidebar div.box div.header div.padding {
        padding:10px;
    }
    
    div#bd div.box div.under_header div.padding {
        padding:6px 20px;
    }

div#bd div.sidebar div.box div.header {
    background:#dbdbdb;
}

div#bd div.box div.header h1,
div#bd div.box div.header h2,
div#bd div.box div.header h3,
div#bd div.box div.header h4,
div#bd div.box div.under_header h2, 
div#bd div.box div.under_header h3, 
div#bd div.box div.under_header h4 {
    margin:0;
    color:#050505;
    font-weight:bold;
    position:relative;
    width:100%;
}
div#bd div.box div.header h1 {
    font-size:24px;
    line-height:30px;
}
div#bd div.box div.header h2,
div#bd div.box form h2 label, 
div#bd div.box div.under_header h2 {
    font-size:18px;
}
div#bd div.box div.header h3 {
    font-size:18px;
    color:#686868;
}
div#bd div.sidebar div.box div.header h3 {
    color:#050505;
    font-size:14px;
}


div#bd div.box div.header h1 span,
div#bd div.box div.header h2 span,
div#bd div.box div.header h3 span,
div#bd div.box div.header h4 span, 
div#bd div.box div.under_header h2 span, 
div#bd div.box div.under_header h3 span, 
div#bd div.box div.under_header h4 span {
    position:absolute;
    bottom:0;
    right:0;
    font-size:12px;
    height:100%;
}
div#bd div.box div.header h1 span {
    line-height:36px;
}
    div#bd div.box div.header h2 span, 
    div#bd div.box div.under_header h2 span {
        line-height:25px;
    }

    div#bd div.box div.header h2 span.important {
        position:static;
        font-size:80%;
        margin-left:0.5em;
    }

div#bd div.sidebar div.box div.header h3 span {
    height:auto;
}

div#bd div.box div.header h3 span.edit_account {
    line-height:18px;
    height:22px;
}


div#bd div.box div.header h1 span a,
div#bd div.box div.header h2 span a,
div#bd div.box div.header h3 span a,
div#bd div.box div.header h4 span a {
    font-weight:normal;
    display:block;
}
div#bd div.box div.header h1 span.edit_account a, 
div#bd div.box div.header h3 span.edit_account a {
    background:url(a/page_white_edit.png) no-repeat 0 50%;
    padding-left:20px;
}

div#bd div.box div.under_header {
    background:#e2e2e2 url(a/under_header_bg.png) 0 0 repeat-x;
    height:38px;
    border-bottom:1px solid #fff;
    overflow:hidden;
}


div#bd div#quick_order_content {
    position:relative;
}
    div#bd div#quick_order_content div#qo_tabs {
        position:absolute;
        top:51px;
        left:15px;
        width:204px;
        height:300px;
        z-index:310;
    }
        div#bd div#quick_order_content div#qo_tabs h3 {
            line-height:42px;
            margin:0 0 10px;
        }
        div#bd div#quick_order_content div#qo_tabs h3 a {
            display:block;
            width:182px;
            height:42px;
            padding:0 0 0 14px;
            outline:none;
        }
        div#bd div#quick_order_content div#qo_tabs h3 a.selected {
            background:url(a/quick_order_option_selected.png) 0 0 no-repeat;
            color:#fff;
        }
        

    div#bd div#quick_order_content div#qo_panels {
        position:absolute;
        top:11px;
        right:21px;
        width:510px;
        height:370px;
        background:#fff;
        border:1px solid #fff;
        margin-bottom:20px;
        z-index:300;
    }
        div#bd div#quick_order_content div#qo_panels div.padding {
            padding-left:130px;
            padding-top:36px;
        }
        
        div#bd div.box div#qo_panels form {
            width:280px;
        }
        
        div#bd div.box div#qo_panels form div.text,
        div#bd div.box div#qo_panels form div.radio_buttons {
            margin:10px 0 15px;
        }
        
        div#bd div.box div#qo_panels form label {
            width:84px;
            font-weight:bold;
            margin-right:10px;
            float:left;
            font-size:12px;
            display:block;
            position:relative;
        }
        
        div#bd div.box div#qo_panels form div.text span.inventory {
            display:block;
            width:164px;
            position:relative;
            float:left;

        }
        
        div#bd div.box div#qo_panels form div.text select {
            width:158px;
        }
        
        div#bd div.box div#qo_panels form div.text input {
            width:152px;
        }
        
        div#bd div.box div#qo_panels form div.submit_button_right input {
            margin-right:28px;
        }



div#bd div.box form {
    color:#323232;
    position:relative;
}

div#bd form span.required {
    color:#ca1111;
}

div#bd form p.note {
    color:#999;
    font-size:11px;
    margin:8px 0 0;
}

div#bd div.box form label {
    display:block;
    font-size:11px;
}
div#bd div.box form div.inline_options label,
div#bd div.box form h2 label {
    display:inline;
    margin:0 1em 0 0.5em;
}
div#bd form div.shipping_address div.inline_options {
    margin-bottom:15px;
}

div#bd div.box form label.m_select_label,
div#bd div.box form.order_search div.fourths label {
    margin-bottom:0.5em;
}
div#bd div.box div.text input {
    width:98%;
    font-size:11px;
}
div#bd div.box textarea {
    width:100%;
    height:8em;
}
    div#bd div.box form td.comments textarea {
        height:3em;
        *width:90%;
    }
    
    div#bd div.shipping_details_page textarea {
        height:3em;
    }
    
div#bd div.box form button,
div#bd table td button, 
div#bd button, 
div#bd div.buttons a {
    background:#e28b43 url(a/form_button_bg.png) repeat-x;
    border:1px solid #a2754e;
    font-weight:bold;
    color:#fff;
    margin:0;
    padding:3px;
    display:inline;
    cursor:pointer;
}

div#bd div.buttons a {
    color:#fff;
    padding:5px 6px 4px;
}

div#bd div.submit_button_right {
    margin:10px 0 0;
    text-align:right;
}

div#bd div.box div.text {
    margin-bottom:10px;
}

div#bd form div.po_num div.text {
    width:323px;
}

div#bd form.new_account_request textarea {
    height:4em;
    border:1px solid #818181;
    border-top:2px groove #acaeae;
    border-bottom-color:#dedede;
    border-right-color:#bdbdbd;
    border-left-color:#bdbdbd;
}

div#bd div.box div.halved div.text,
div#bd div.box div.halved div.item, 
div#bd div.box div.thirded div.text,
div#bd div.box div.thirded div.item {
    position:relative;
    width:48%;
    float:left;
    margin-bottom:20px;
}

div#bd div.box div.halved div.text input {
    width:97%;
}

div#bd div.box div.thirded div.text,
div#bd div.box div.thirded div.item {
    width:32%;
    margin-right:12px;
}

div#bd div.box div.thirded div.last {
    margin-right:2px;
    float:right;
}

div#bd div.box div.thirded div.city {
    width:276px;
}

div#bd div.box div.thirded div.state {
    width:270px;
}
    div#bd form.existing_account_request div.box div.thirded div.state, 
    div#bd form.new_account_request div.box div.thirded div.state {
        margin-left:10px;
    }

div#bd div.box div.thirded div.zip {
    width:78px;
    margin-right:5px;
}
    div#bd form.existing_account_request div.box div.thirded div.zip, 
    div#bd form.new_account_request div.box div.thirded div.zip {
        margin-right:10px;
    }


div#bd div.box div.halved div.item {
    padding:0;
    border:0;
    margin:0;
}
div#bd div.box div.halved div.text select {
}
div#bd div.box div.halved div.state_float {
    width:47%;
    position:relative;
    float:left;
}
    div#bd div#request_account_box div.box div.halved div.state_float {
        width:190px;
        margin-left:26px;
    }

div#bd div.box div.halved div.zip_float {
    width:46%;
    position:relative;
    float:left;
    margin-left:10px;
}
    div#bd div#request_account_box div.box div.halved div.zip_float {
        width:100px;
        margin-left:0;
        margin-right:4px;
    }
    
    div#bd div.box div.halved div.zip_float input {
        width:93%;
    }

div#bd div.box div.halved div.last {
    float:right;
}

div#bd div.box form div.notes {
    margin:-30px 0 0;
}
div#bd div.box form div.notes p {
    margin:0;
}

div#bd div.box select {
    width:100%;
    background:#fff;
}
        div#bd form div.billing_address select,
        div#bd form div.shipping_method select {
            width:160px;
        }

div#bd div.box form div.inline_options select {
    width:50%;
}

div#bd div.box form div.match_rules_group {
    margin-bottom:10px;
}
div#bd div.box form div.match_rules_group select {
    width:160px;
    margin-right:1em;
}
div#bd div.box form div.match_rules_group span.text input {
    width:270px;
}
div#bd div.box form div.match_rules_group span.add_remove {
    margin-left:0.5em;
}
div#bd div.box form div.match_rules_group span.add_remove img {
    margin-bottom:-4px;
}
div#bd div.box form#customer_go {
    width:600px;
    margin:0 10px;
}
div#bd div.box form#customer_go div.text {
    width:100px;
    float:left;
    margin:13px 1em 0 0;
    *margin-top:8px;
}
div#bd div.box form#customer_go div.text input {
    width:100px;
}

div#bd div.box form#customer_go button {
    display:inline;
    float:none;
    margin-left:8px;
}

div#bd div.box form#customer_go a, div#bd form div.buttons a#filter_customers {
    background:#e28b43 url(a/form_button_bg.png) repeat-x;
    border:1px solid #a2754e;
    font-weight:bold;
    color:#fff;
    margin-left: 8px;
    padding:3px;
    display:inline;
    cursor:pointer;
    float: none;
    padding: 4px;
}

div#bd fieldset {
    margin-bottom:0;
}


div#bd div.box table {
    width:100%;
    background:#fff;
    margin-bottom:0;
}



div#bd div.box table th {
    background:url(a/table_th_bg.png) repeat-x 0 50%;
    border:0;
    border-bottom:1px solid #b6b6b6;
    text-align:right;
    padding:2px 0.5em;
    color:#313131;
}
div#bd div.box table td {
    text-align:right;
}
div#bd div.box table th.username,
div#bd div.box table td.username,
div#bd div.box table th.description,
div#bd div.box table td.description {
    width:120px;
    padding-right:1em;
}
div#bd div.box table th.checkbox {
    width:15px;
}
div#bd div.box table th.company_num,
div#bd div.box table th.state,
div#bd div.box table th.invoice,
div#bd div.box table th.shipping,
div#bd div.box table th.ship_date,
div#bd div.box table th.trans,
div#bd div.box table th.check,
div#bd div.box table th.invoice,
div#bd div.box table th.check,
div#bd div.box table th.qty,
div#bd div.box table td.qty,
div#bd div.box table th.trans_date,
div#bd div.box table th.trans_type,
div#bd div.box table th.amount {
    width:8em;
}
div#bd div.box table th.company,
div#bd div.box table th.city,
div#bd div.box table th.tracking_num,
div#bd div.box table th.invoice_date {
    width:12em;
}
div#bd div.box table th a {
    padding-right:14px;
    color:#313131;
    background:url(a/table_th_drop_arrow.png) no-repeat 100% 50%;
}

div#bd div.box table td.description,
div#bd div.box table td.checkbox,
div#bd div.box table td.state,
div#bd div.box table td.amount,
div#bd div.box table td.ship_date,
div#bd div.box table td.balance,
div#bd div.box table td.check,
div#bd div.box table td.checkout_total,
div#bd div.box table td.view,
div#bd div.box table td.price,
div#bd div.box table td.extra,
div#bd div.box table td.empty {
    border-right:0;
}
div#bd div.box table td.empty {
    text-align:center;
}
div#bd div.box table tr.last td.empty {
    border-bottom:0;
}
div#bd div.box table td.checkout_total {
    font-size:14px;
    color:#545454;
    border-bottom:0;
}
div#bd div.box table td.extra {
    text-align:left;
    border-bottom:0;
}
div#bd div.box table td.extra p.note {
    margin-top:-20px;
}

div#bd div.box table td, 
div#bd div.box div.invoice_results table td.check {
    padding:0.5em;
    border-right:1px solid #cacaca;
    border-bottom:1px dotted #acacac;
}

div#bd div.box div#rep_results table td.number, 
div#bd div.box div#rep_results table th.number {
    width:100px;
}
div#bd div.box div#rep_results table td.name, 
div#bd div.box div#rep_results table th.name {
    width:156px;
    border-right:0;
}

div#bd div.box table tr.customer_select_all td, 
div#bd div.box table tr.rep_select_all td {
    text-align:left;
    border-bottom:0;
    border-right:0;
}
div#bd div.box table tr.customer_select_all td label,
div#bd div.box table tr.rep_select_all td label {
    display:inline;
    margin:0 0 0 10px;
}

div#bd div.box table tr.last td {
    border-bottom:0;
}

div#bd div.box table tr.select_all td {
    text-align:left;
    border:0;
    border-top:1px solid #b6b6b6;
    background:url(a/table_td_select_all.png) 0 0 repeat-x;
    height:30px;
}
div#bd div.box table tr.select_all td label {
    display:inline;
    margin-left:0.5em;
}

div#bd div.sidebar p.no_separator {
    margin:0;
}

div#bd div.sidebar p.separator {
    padding:0 0 5px;
    margin: 0 0 5px;
}

div#bd div.sidebar ul.sub_nav {
    margin:3px 0;
    border-top:1px dotted #a7a7a7;
}
div#bd div.sidebar ul.sub_nav li, 
div#bd div.sidebar p.separator {
    border-bottom:1px dotted #a7a7a7;
    color:#999;
}
div#bd div.sidebar ul.sub_nav li.last {
    border-bottom:0;
}
div#bd div.sidebar ul.sub_nav li a, 
div#bd div.sidebar ul.sub_nav li span {
    display:block;
    padding:3px 5px;
}
div#bd div.sidebar ul.sub_nav li.nav_view-cart span a {
    display: inline !important;
    margin-left: -5px;
}
div#bd div.sidebar ul.sub_nav li.selected a,
div#bd div.sidebar ul.sub_nav li.ancestor a,
div#bd div.sidebar ul.sub_nav li.selected a:hover,
div#bd div.sidebar ul.sub_nav li.ancestor a:hover {
    background:#efefef;
}
div#bd div.sidebar ul.sub_nav li a:hover {
    background:#f8f8f8;
}

#bd img.separator {
    margin-left:8px;
    margin-bottom:-14px;
}

div#bd div.main div.item {
    position:relative;
    border-bottom:1px dotted #a7a7a7;
    width:98%;
    overflow:hidden;
    padding:8px 5px;
}
    div#bd div.main div.last {
        border-bottom:0px !important;
    }
div#bd div.main div.item div.term,
div#bd div.main div.item div.detail {
    width:20%;
    position:relative;
    float:left;
}
div#bd div.main div.item div.detail {
    width:75%;
    float:right;
}
div#bd div.main div.item div.term h3,
div#bd div.main div.item div.detail p {
    margin:0;
    font-size:14px;
}
div#bd div.main div.item div.term h3 {
    color:#000;
}

div#bd hr {
    background: url(a/hr_bg.png) repeat-x 0 0;
    background-color:transparent;
    height:2px;
    border:0;
    width:100%;
    margin:10px 0;
}

    div#bd div.billing_address hr {
        width:25%;
    }

div#bd div.box div.halves {
    position:relative;
}

div#bd div.box div.halves {
    width:339px;
    float:left;
    margin-right:10px;
    _width:337px;
    width:48.75%;
}


div#bd div.main div.place_an_order div.bill_to {
    width:254px;
}
div#bd div.main div.place_an_order div.ship_to {
    width:424px;
}



div#bd div.shipping_details_page div.halves {
    width:100%;
}

div#bd div.shipping_details_page div.bill_to {
    width:300px;
}
div#bd div.shipping_details_page div.ship_to {
    width:626px;
    margin-right:0;
}




div#bd div.main div.box div.box div.halves {
    width:325px;
    margin-right:20px;
    _width:323px;
}

    div#bd div.main div.box div.halves.last, 
    div#bd div.main div.box div.box div.halves.last {
        margin-right:0;
        border-bottom:1px solid #B9B9B9 !important;
    }

div#bd div.box div.ship_to div.halves {
    width:100%;
    margin-right:0;
}
    div#bd div.box div.ship_to div.halves div.text {
        width:50%;
    }
    
    
        div#bd div.box div.ship_to div.halves div.text input, 
        div#bd div.box div.shipping_details div.text input {
            width:94%;
            *padding:1px;
        }
            div#bd div.box div.ship_to div.halves div.text div.state {
                width:140px;
            }
            div#bd div.box div.ship_to div.halves div.text div.state select, 
            div#bd div.box div.shipping_details select {
                width:97%;
                border:1px solid #aaa;
                padding:1px 0;
                margin-left:0;
            }
            
            div#bd div.box div.ship_to div.halves div.text div.zip {
                width:4em;
            }
            
            div#bd div.box div.halves div.zip {
                width:10em;
            }
            
        div#bd div.box div.ship_to label, 
        div#bd div.box div.shipping_details label {
            font-weight:bold;
            color:#000;
            display:block;
        }
        
        div#bd div.box div.ship_to p.checkbox label {
            display:inline;
            margin-left:10px;
        }
        
        div#bd div.box div.ship_to div.halves div.text div.element {
            float:left;
        }


div#bd div.box div.shipping_details div.text {
    width:100%;
    margin-bottom:15px;
}
    div#bd div.box div.shipping_details div.date_picker {
        margin-bottom:5px;
    }

div#bd div.box div.shipping_details div.date_picker a.dp-choose-date {
    right:8px;
    bottom:0px;
    *bottom:1px;
}

div#bd div#shipping_rest {
    position:relative;
    width:100%;
    overflow:hidden;
}

div#bd div#shipping_rest div#shipping_rest_cover {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    _width:1000px;
    _height:1000px;
    background:#fff;
    -moz-opacity: 0.75;
    filter: alpha(opacity=75);
    opacity: 0.75;
    display:none;
    z-index:300;
}


div#bd div.box div.shipping_details div.left {
    width:192px;
    position:relative;
    float:left;
}

div#bd div.box div.shipping_details div.right {
    width:438px;
    position:relative;
    float:right;
}
    div#bd div.shipping_details_page div.shipping_details div.right {
        width:630px;
    }

div#bd div.box div.shipping_details div.right textarea {
    width:100%;
    height:240px;
    overflow-y:scroll;
}





div#bd div.main div.box div.thirds {
    width:222px;
    float:left;
    margin-right:10px;
    _width:220px;
    
}

    div#bd div.main div.box div.thirds.last {
        margin-right:0;
        border-bottom:1px solid #B9B9B9 !important;
    }

    div#bd div.main div.box div.thirds h3 {
        color:#323232;
        font-size:18px;
    }
    div#bd div.main div.place_an_order div.thirds h3 {
        margin:15px 0 3px;
        font-size:16px;
    }
    
    
div.clear {
    clear:both;
}


div#bd div.box form.order_search {
    margin-bottom:20px;
    overflow:hidden;
}

div#bd div.date_picker,
div#bd form.order_search div.fourths,
div#bd form.invoice_search div.fourths {
    display:block;
    width:100px;
    margin-right:1em;
    overflow:hidden;
    float:left;
    position:relative;
}
div#bd form.invoice_search div.fourths {
    width:85px;
    *width:80px;
}
div#bd form div.fourths input {
    width:100%;
    padding:1px 0;
}
div#bd div.date_picker a.dp-choose-date {
    text-indent:-9999px;
    background:url(a/calendar.png) 50% 50% no-repeat;
    display:block;
    width:16px;
    height:20px;
    position:absolute;
    bottom:1px;
    right:2px;
}
div#bd div.box form.order_search button,
div#bd div.box form.order_search input.search,
div#bd div.box form.invoice_search div.inline_options {
    margin-top:21px;
}
div#bd div.box form.invoice_search input.search {
    margin-top:14px;
}

div#bd div.box form.invoice_search button {
    margin-top:17px;
}

div#bd div.box form.invoice_search div.inline_options {
    float:left;
    position:relative;
}

div#bd div.box div.orders_table {
    position:relative;
    z-index:1;
}
div#bd div.box div.orders_table div.tabs {
    height:38px;
    margin-left:-1px;
    margin-left:0;
    border-left:0px solid #F1F1F1;
    position:relative;
    *z-index:100;
}
    div#bd div.box div.orders_table div.tabs ul {
        margin:0;
        *z-index:100;
        position:absolute;
        top:0;
        left:0;
    }
    div#bd div.box div.orders_table div.tabs ul li {
        text-align:center;
        list-style:none;
        margin:0;
        float:left;
        padding:4px 10px 4px;
        font-size:18px;
        font-weight:bold;
        color:#333;
        border:1px solid #b7b7b7;
        background:#f1f1f1 url(a/tab_bg.png) repeat-x 0 100%;
        margin-right:4px;
        position:relative;
        height:27px;
        _width:200px;
        _padding:4px 0;
    }
    div#bd div.box div.orders_detail div.tabs ul li {
        _width:140px;
    }
    div#bd div.box div.orders_table div.tabs ul li a {
        display:block;
        width:100%;
        height:100%;
        color:#333;
    }
    div#bd div.box div.orders_table div.tabs ul li span.num {
        color:#ce773f;
    }
        div#bd div.box div.orders_table div.tabs ul li.selected {
            background:#fff;
            z-index:100;
            border-bottom-color:#fff;
        }
        div#bd div.box div.orders_table div.tabs ul li.search_results a {
            color:#a8a8a8;
        }
        div#bd div.box div.orders_table div.tabs ul li.selected a {
            color:#333;
        }


div#bd div.box div.table {

}

    div#bd div.box div.invoice_results,
    div#bd div.box div.transactions_table {
        border-left:0;
        border-right:0;
        border-bottom:0;
    }

div#bd div.box div.orders_table div.table {
    margin-top:-2px;
    display:none;
    z-index:10;
    
}
    div#bd div.box div.orders_table div.selected {
        display:block;
    }


div#bd div.box div.table table {
    z-index:10;
    position:relative;
    border:1px solid #b7b7b7;
    
}
div#bd div.box div.invoice_results table,
div#bd div.box div.transactions_table table {
    border-right:0;
    border-bottom:0;

    border-left:0;
    border-top:0;
    *margin-left:-1px;

}
div#bd div.box div.transactions_table table {
    margin-left:0;
}

div#bd div.box div.table table th {
    font-size:11px;
}

div#bd div.box ul.order_info {
    margin:0;
}
div#bd div.box ul.order_info li {
    list-style:none;
    margin:0;
    border-bottom:1px dotted #b4b4b4;
    width:100%;
    overflow:hidden;
    padding:4px 0;
    position:relative;
    
}
    div#bd div.box ul.order_info li.last {
        border-bottom:0;
    }
    
    div#bd div.past_due ul.order_info li {
        color:#323232;
        font-size:14px;
        font-weight:bold;
    }

div#bd div.box ul.order_info li span {
    display:block;
    position:relative;
    float:left;
    width:48%;
}
    div#bd div.box ul.invoice li span {
        width:32%;
    }
div#bd div.box ul.order_info li span.right {
    text-align:right;
    float:right;
}
    div#bd div.box ul.invoice li span.right {
        width:58%;
    }
    div#bd div.past_due ul.order_info li span.right {
        color:#a4092c;
    }
    
div#bd div.halves ul.order_info li span.right {
    text-align:left;
}

div#bd div.box table.products_order {
    width:580px;
    float:left;
}
div#bd div.box table.reorder_products {
    width:100px;
    float:right;
}
    div#bd div.box table.products_order td,
    div#bd div.box table.reorder_products td {
        height:70px;
    }
    div#bd div.box table.reorder_products td {
        text-align:center;
    }
    
    
    div#bd div.box table.reorder_products tr.button_spacer td {
        padding-bottom:0;
    }
    
        div#bd div.box table.products_order td.item {
            text-align:center;
        }
        div#bd div.box table.reorder_products td input,
        div#bd div.box table td div.jspin input {
            width:93%;
            padding:1px 0 2px;
        }
        
        
            div#bd div.box table.reorder_products tr.button_spacer td input {
                padding:0;
                width:auto;
            }
        
        div#bd div.box table.reorder_products td button {
            width:100%;
            *width:88%;
        }

        div#bd div.box table td div.jspin {
            width:86px;
            position:relative;
            _position:static;
        }
        div#bd div.box table td div.jspin img {
            position:absolute;
            top:2px;
            right:1px;
            _display:none;
        }

div#bd div.box table tr.button_spacer td {
    height:40px;
}

div#bd div.box div.grey_fade {
    background:#ebe9ea url(a/fade_grey_bg.png) repeat-x 0 0;
}

div#bd div.box div.shipping_address div.address {
    width:660px;
}

form td.extra div.buttons {
    *width:98.5%;
}

div#bd form table td.extra div.buttons button {
}

div#bd form div.cart_table div.buttons input {
    background:transparent;
    border:0;
    padding:0;
}

.error {
    color: #CA1111 !important;
    font-weight: bold;
}

input.error {
    color:#000 !important;
    font-weight:normal;
}

.special_header select {
    width: 3em !important;
}


div#select_customer_help {
    width:432px;
    height:125px;
    position:absolute;
    top:0px;
    right:-420px;
    background:url(a/select_customer_balloon.png) 0 0 no-repeat;
    _background-image:url(a/select_customer_balloon-ie.png);
    z-index:2000;
    display:none;
}

.custom_white {
    background-color: #ffffff !important;
}

