#cart { 
    max-width: 1200px;
    margin: auto;
    padding: 10px;    
}
#cart p { margin: 0 }
#cart h1 { font-size: 18px;    margin: 0; font-weight: normal }
#cart h2 { font-size: 17px; margin: 0; font-weight: normal }
#cart h3 { font-size: 16px; margin: 0; font-weight: normal }
#cart h4 { font-size: 15px; margin: 0; font-weight: normal }


#cart .blue { color: black }

#cart h1 {
    border-bottom: 1px solid silver;
    color: black;
    font-size: 16px;
    padding-top: 10px;
    margin-bottom: 10px;
    padding-left: 5px;
    padding-bottom: 5px;
    text-transform: uppercase;
}

#cart h4 {
    border-bottom: 1px solid silver;
    color: black;
    font-size: 14px;
    padding-top: 10px;
    margin-bottom: 10px;
    padding-bottom: 2px;
    text-transform: uppercase;
}

#cart_main {
    min-height: 200px;   
    padding-bottom: 20px;
}

#cart_empty {
    padding-top: 20px;
    color: #797979;
}


#cart .acl_item a {
    color: #444444;
    text-decoration: underline;
}

#cart .ac_checkbox.ac_invalid {
    color: darkred;    
}

#cart .ac_checkbox.ac_invalid a {
    color: darkred;    
}

.cart_left {
    width: 48%;
    float: left;
}

.cart_right {
    width: 48%;
    float: right;
}

.cart_form {      
    width: 100%;
}

.cart_form td {
    padding-top: 3px;   
    padding-bottom: 3px;   
    vertical-align: top;
    width: 230px;
}    

.cart_form td:first-child {
    width: 160px;
    padding: 5px;
    vertical-align: top;
}

.cart_form_option {
    margin-left: 173px;    
}

.cart_item label {
    display: none;
}

#cart_menu {
    text-align: right;    
    padding: 10px 0;
}

.cart_button {
    background-color: #2e2e2e;
    border-radius: 2px;
    color: #FFFFFF;    
    display: inline-block;
    height: 25px;
    line-height: 25px;
    margin-bottom: 15px;
    padding: 2px 20px;
    text-align: center;
    text-decoration: none !important;
    transition: background-color 200ms, color 200ms;
}
.cart_button:hover {
    background-color: #666666;
}

.cart_button.prev {
    float: left;
    margin: 0;    
}

.cart_button.next:after { content: " >> " }
.cart_button.prev:before { content: " << " }


/****************************************************************************/
/*  
/*      HEADER
/*
/****************************************************************************/

#cart_header {
    width: 100%;
    border-spacing: 0;    
}

#cart_header td {
    font-weight: normal;
    padding: 0;
}

#cart_header td > a {
    color: black;
    background-color: #efefef; 
    border-left: 1px solid #efefef;  
    padding: 4px 0;
    display: block;
    text-align: center;
    text-decoration: none !important;
}        

.cart_section {
    display: none;
    cursor: pointer;
    background-color: #2e2e2e;
    font-size: 16px;
    font-weight: normal;
    padding: 7px 20px; 
    color: white;   
    position: relative;
    text-decoration: none !important;
    margin-bottom: 10px;
}
.cart_section:hover {
    background-color: #666666;
}
.cart_section:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40px;
    background-color: black;
    background-image: url(../img/arrow-wr.png);
    background-position: center;
    background-repeat: no-repeat;
}
.cart_section.curr:after {
    background-image: url(../img/arrow-wd.png);    
}
.cart_section.prev:after {
    background-image: url(../img/arrow-wl.png);    
}

#cart_header td.curr > a, #cart_header td:hover > a {
    background-color: #2e2e2e;     
    border-left: 1px solid #1A428A;  
    color: white;
}

#cart_header td:not(.curr) + td:not(.curr) {
    border-left: 1px solid white;    
}

#cart_header td:hover + td.curr, #cart_header td.curr + td:hover {
    border-left: 1px solid white;    
}

/****************************************************************************/
/*  
/*      ITEM
/*
/****************************************************************************/
           
.cart_item > td {
    border-bottom: 1px solid #B8B8B8;                
    vertical-align: top;
}

.cart_item_remove {
    display: inline-block;
    line-height: 20px;
    padding-left: 24px;
    background-image: url(../img/icon-delete.png);
    background-repeat: no-repeat;
    color: #c90000;
    text-decoration: none;
    position: absolute;
    height: 16px;
    line-height: 16px;
    padding-left: 25px;
    bottom: 0;
    left: 0;
}

.cart_item_image {
    float: left;
    border: 1px solid #b9b9b9;
}

.cart_item_content {
    position: relative;
    margin-left: 130px; 
    padding-bottom: 30px;
    min-height: 32px;  
}

.cart_shipping_info { 
    text-align: left; 
    font-size: 12px;
    vertical-align: top;
}
.cart_totals_head {
    text-align: right;
    max-width: 20%;
}
.cart_totals { vertical-align: top }
.cart_totals > span { line-height: 25px; display: block }
.cart_totals > strong { line-height: 25px; display: block; font-size: 17px; font-weight: normal; color: black }
.cart_totals .cart_button {
    margin-top: 5px;    
    margin-bottom: 10px;
}
#cart_coupon {
    display: inline-block;    
}
.cart_banner {
    background-color: #efefef;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
}
.cart_banner.icon { 
    padding-left: 100px;
}
.cart_banner > img {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translate(-50%, -50%);
}
             
.cart_banner.with_button {
    padding-right: 250px;    
}

/****************************************************************************/
/*  
/*      CHECKOUT
/*
/****************************************************************************/
               
#cart_items {
    border-collapse: collapse;
    width: 100%;
}

#cart_items td, #cart_items th {
    padding: 10px; 
}

#cart_items th {
    color: #2e2e2e;
    text-align: left;
    font-weight: normal;
    border-bottom: 1px solid #B8B8B8;                
}          

#cart_items [data-col=price_piece] {
    padding-top: 12px;
}

#cart_items [data-col=discount] {
    padding-top: 12px;
}

#cart_items tfoot label { display: none }

#cart_payment {
    margin-left: 5px;    
}

#cart_info {
    border: 1px solid #B9B9B9;
    padding: 10px;
    color: #797979; 
    font-size: 12px; 
    margin: 0 10px;    
}

#cart_review_info tr > * {
    padding-right: 20px;    
    vertical-align: top;
}

#cart_review_info {
    border-collapse: collapse;    
}

#cart_review_info th {
    color: black;
    text-align: left;
    border-bottom: 1px solid #B9B9B9;
}

#cart_review_info td > span {
    display: inline-block;
    color: black;
    padding-right: 5px;
}

#cart_review_info td > span:after {
    content: ":";
}   

#cart_user_subscribe .ac_bullet { top: 8px }
#cart_user_subscribe a { 
    margin-left: 25px;
    font-size: 11px;
}
    
#cart_discount_button {
    border-radius: 4px;
    color: white;
    background-color: #9aaac7;
    position: absolute;
    right: 20px;
    text-transform: uppercase;
    font-size: 1.4em;
    top: 20px;
    bottom: 20px;
    border: 0;
    outline: 0;
    padding: 0 20px;
    cursor: pointer;
}
#cart_discount_button:hover {
    background-color: black;
}

@media (max-width: 800px) {
    .cart_left, .cart_right {
        width: auto;
        float: none;    
    }
}

@media (max-width: 600px) {
    #cart_menu { 
        padding: 10px 0;
    }
    #cart_header {
        display: none;
    }    
    
    .cart_section { display: block }
    #cart_items thead {
        display: none;
    }
    #cart_items tbody {
        display: block;
        border-bottom: 1px solid #b8b8b8;    
    }
    
    #cart_items tfoot td:first-child {
        display: none;    
    }
    #cart_items tfoot tr {
        display: block;    
    }
    #cart_items tfoot td { 
        display: block;
        width: auto;        
        box-sizing: border-box;
    }
    #cart_items tfoot label {
        display: block;
        width: 50%;
        float: left;    
    }    
    .cart_item td {
        display: block;  
        border-bottom: 0; 
        padding: 0 10px 2px 10px !important; 
    }
    .cart_item td[data-col=desc] {
        min-height: 90px;    
    }
    .cart_item label {
        display: block;
        width: 50%;
        float: left;    
    }
    .cart_item .acontrol {
        margin-left: 50%;    
    }
    .cart_item {
        display: block;    
    }
    
    .cart_form { 
        width: 100%    
    }
    .cart_form td {
        width: auto;
        display: block;
        padding: 0 10px;    
    }
    .cart_form_option {
        padding-top: 10px;
        margin-left: 10px;   
        margin-right: 10px; 
    }
    #cart_review_info {
        width: 100%;    
    }
    #cart_review_info td {
        display: block;  
        width: auto;
        padding: 0;  
        padding-bottom: 10px;
    }
    
    .invoice_top,
    .invoice_top > tbody,
    .invoice_top > tbody > tr,
    .invoice_top > tbody > tr > td {
        display: block;
    }
    .invoice_top td {
        width: 100% !important;
    }
    .invoice_top td:first-child {
        text-align: center;    
    }
    .invoice_top img {
        max-width: 100%;
    }    
    
    .invoice_columns { display: block }
    .invoice_columns > tbody { display: block }
    .invoice_columns > tbody > tr { display: block }
    .invoice_columns > tbody > tr > td { display: block; width: 100% }
    
    .invoice_mobile { display: table }
    .invoice_items { display: none }
    
    .cart_button { padding: 2px 15px }
    .cart_banner { padding: 10px }
    .cart_banner.icon { padding-left: 70px }
    .cart_banner > img { left: 35px; top: 35px; width: 50px }
    .cart_banner.with_button { padding-right: 10px }
    #cart_discount_button { position: static; top: 0; right: 0; padding: 5px 20px; margin-top: 10px }
}