/* test */
#vmMainPageOPC .vmpayment_cardinfo table td { padding: 10px 20px 10px 0 !important; }
#vmMainPageOPC div#payment_html select { max-width: none; }

div#vmMainPageOPC div#payment_html input[type="text"],
div#vmMainPageOPC div#payment_html select {
    max-width: none;
}
#vmMainPageOPC #payment_html table .inputbox,
#vmMainPageOPC .payment_extra input[type="text"] {
    width: 280px;
}

#cc_expire_month_11 { width: 50px; }

#vmMainPageOPC .vmpayment_cardinfo > table { }
#vmMainPageOPC .vmpayment_cardinfo > table tr:nth-child(4) #cc_expire_month_11 {
    width: 140px !important; text-indent: 4px;
}

#vmMainPageOPC .vmpayment_cardinfo > table tr:nth-child(4) #cc_expire_year_11 {
    width: 80px!important; text-indent: 4px;
}

div#vmMainPageOPC div#payment_html select { text-indent: 4px; }

#opc_payment_wrap_11:before {
    content: url("../images/visa_mastercard.png");
    display: block; float: right;
}

#opc_payment_wrap_11 .vmpayment_cardinfo.vmpayment_cardinfo_11 table {
    display: none;
}
#opc_payment_wrap_11.selected .vmpayment_cardinfo.vmpayment_cardinfo_11 table{
    display: block;
}

.vmpayment_cardinfo.vmpayment_cardinfo_11 table .hasTip { display: none; }

#payment_top_wrapper .pay_box.payment1 {
    background-image: url("../images/logo-paypal.svg");
}

#vmMainPageOPC #onepage_info_above_button { margin-top: 0; float: none; }

#vmMainPageOPC #payment_html .vmpayment_cardinfo
table tr:nth-child(1) td:nth-child(1) label {
    float: right;
}
div#vmMainPageOPC div#payment_html label { margin-right: 0; }
#vmMainPageOPC #payment_html .vmpayment_cardinfo
table tr:nth-child(2) td:nth-child(1) label {
    float: right;
}

#vmMainPageOPC #payment_html .vmpayment_cardinfo
table tr:nth-child(3) td:nth-child(1) label {
    float: right;
}
#vmMainPageOPC #payment_html .vmpayment_cardinfo table tr:nth-child(4) td:nth-child(1) {
    font-size: 14px;
}
div#onepage_main_div h3.shipping_h3 { margin-bottom: 0; }


@media only screen and (max-width: 1200px) {
    #onepage_main_div div.left_checkout { width: calc(50% - 20px); margin-right: 20px; }
    #onepage_main_div div.right_checkout { width: calc(50% - 20px); margin-left: 20px; }
    #payment_top_wrapper .pay_box.payment1 { max-width: 320px; }
    #payment_top_wrapper .pay_box.payment2 { max-width: 320px; }
}

@media only screen and (max-width: 980px) {
    #vmMainPageOPC .vmpayment_cardinfo > table  #cc_type_11 { width: 220px !important; }

    #vmMainPageOPC #payment_html table .inputbox,
    #vmMainPageOPC .payment_extra input[type="text"] {
        width: 220px;
    }
    #vmMainPageOPC .vmpayment_cardinfo > table tr:nth-child(4) #cc_expire_month_11 { width: 110px !important; }
    #vmMainPageOPC .vmpayment_cardinfo > table tr:nth-child(4) #cc_expire_year_11 { width: 75px !important;; }

    #onepage_main_div div.left_checkout { width: calc(40% - 20px); margin-right: 20px; }
    #onepage_main_div div.right_checkout { width: calc(60% - 20px); margin-left: 20px; float: right; }

}

@media only screen and (max-width: 767px) {
    #onepage_main_div div.left_checkout { width: 100%; margin:0 auto; float: none;  }
    #onepage_main_div div.right_checkout { width: 100%; margin:0 auto; float: none; }

    #payment_top_wrapper .pay_box.payment1 { max-width: none; display: block; padding: 0; }
    #payment_top_wrapper .pay_box.payment2 { display: block; }

    #payment_top_wrapper .pay_box.payment1 {
        background-image: url("../images/logo-paypal.svg") !important;
        background-repeat: no-repeat !important;
        background-position: 100% 50% !important;
        max-width: 320px;
        background-size: contain !important;
        height: 26px; margin-bottom: 1em;
    }

    #opc_payment_wrap_11::before {
        margin-bottom: 1em;
    }

    #vmMainPageOPC #onepage_info_above_button {
        float: left; margin-top: 20px;
    }

    #vmMainPageOPC .vmpayment_cardinfo > table  tr td:nth-child(1) { width: 25%; }
    #vmMainPageOPC .vmpayment_cardinfo > table  tr td:nth-child(2) { width: 75%; }

    #payment_top_wrapper fieldset table { display: block; }
    #payment_top_wrapper fieldset table > tbody { display: block; }
    #payment_top_wrapper fieldset table > tbody > tr {
        display: flex; flex-direction: column; width: 100%; padding-bottom: 1em !important;
    }
    #payment_top_wrapper fieldset table > tbody > tr td { width: 100% !important; padding:0; }
    #vmMainPageOPC #payment_html .vmpayment_cardinfo table td {
        padding: 0 !important; height: auto; text-align: left;
    }
    .pay_box.payment1 img, .pay_box.payment2 img { display: inline; }

    #vmMainPageOPC #payment_html .vmpayment_cardinfo table tr:nth-child(1) td:nth-child(1) label,
    #vmMainPageOPC #payment_html .vmpayment_cardinfo table tr:nth-child(2) td:nth-child(1) label,
    #vmMainPageOPC #payment_html .vmpayment_cardinfo table tr:nth-child(3) td:nth-child(1) label {
        float: left;
    }
}

@media only screen and (max-width: 767px) {
    #opc_basket > table { min-width: unset; }
    #opc_basket table { display: block; }
    #opc_basket table > tbody { display: block; }
    #opc_basket table > tbody tr { display: flex; flex-wrap: wrap; align-items: center; }
    #opc_basket table > tbody tr td:nth-child(1){ width: 60%; box-sizing: border-box; padding-bottom: 0px !important; }
    #opc_basket table > tbody tr td:nth-child(2){
        width: 40%; box-sizing: border-box; padding-bottom: 0px !important;
        text-align: right;
    }

    #opc_basket table > tbody tr:nth-child(1) > th:nth-child(1) {
        width: 60%; box-sizing: border-box;
    }
    #opc_basket table > tbody tr:nth-child(1) > th:nth-child(2) {
        width: 40%; box-sizing: border-box; text-align: right !important;
    }

    #opc_basket table > tbody tr:nth-child(1) > th:nth-child(3) {
        width: 60px; box-sizing: border-box; padding-right: 0 !important;
    }
    #opc_basket table > tbody tr:nth-child(1) > th:nth-child(4) {
        width: 25%; box-sizing: border-box; padding-right: 0 !important;; text-align: center !important;
        flex: 3;
    }
    #opc_basket table > tbody tr:nth-child(1) > th:nth-child(5) {
        width: 100px; box-sizing: border-box; text-align: right !important;
    }

    #opc_basket table > tbody tr:nth-child(1) > th { display: none; }

    #opc_basket table > tbody tr td:nth-child(3){
        width: 25% !important; box-sizing: border-box; padding-top: 10px !important;
        border-bottom: solid 1px #666 !important; padding-bottom: 10px !important; height: 60px;
    }
    #opc_basket table > tbody tr td:nth-child(4){
        width: 25% !important; box-sizing: border-box; padding-top: 10px !important;
        border-bottom: solid 1px #666 !important; padding-bottom: 10px !important; height: 60px;
    }
    #opc_basket table > tbody tr td:nth-child(5) {
        width: 50% !important; box-sizing: border-box; padding-top: 10px !important;
        border-bottom: solid 1px #666 !important; padding-bottom: 10px !important; height: 60px;
    }


    #opc_basket table > tbody tr:nth-last-child(5) td:nth-child(4) { width: 50% !important; }
    #opc_basket table > tbody tr:nth-last-child(5) td:nth-child(3) { width: 50% !important; text-align: right !important; }

    #vmMainPageOPC .coupon_in { max-width: 190px; }
    #opc_basket table > tbody tr:nth-last-child(6) td:nth-child(1) { width: 100% !important; }
    #opc_basket table > tbody tr:nth-last-child(6) td:nth-child(2) { width: 0 !important; }

    #opc_basket table > tbody tr:nth-last-child(6) td:nth-child(4) { width: 50% !important; }
    #opc_basket table > tbody tr:nth-last-child(6) td:nth-child(3) { width: 50% !important; text-align: right !important; }
    #vmMainPageOPC table #tt_tax_total_0_txt_basket { text-align: right !important; }

}

@media only screen and (max-width: 600px) {
    #opc_basket table > tbody tr td:nth-child(4){
        width: 50% !important;
    }
    #opc_basket table > tbody tr td:nth-child(5) {
        width: 25% !important;
    }
}

@media only screen and (max-width: 420px) {

    #opc_basket table > tbody tr td:nth-child(1) { width: 60% !important; padding-right: 0 !important; }
    #opc_basket table > tbody tr td:nth-child(2) { width: 40% !important; }
    #opc_basket table > tbody tr td:nth-child(3) { padding-right: 0 !important; }
    #opc_basket table > tbody tr td:nth-child(4) { padding-right: 0 !important; }
    #opc_basket table > tbody tr td:nth-child(5) { padding-right: 0 !important; }

    #vmMainPageOPC table td.prod_name .image_checkout { margin-right: 0 !important; padding: 5px; }

}

@media only screen and (max-width: 360px) {
    #opc_basket table > tbody tr td:nth-child(4) { width: 40% !important; }
    #opc_basket table > tbody tr td:nth-child(5) { width: 35% !important; }
}

p.duties_notice { color: #c8bebe; }
