﻿:root {
    --primary-color: #ec4f2a;
}
.mars-form-bdbox{
    box-sizing: unset;
}
.mars-form-bdbox input{
    padding: 0;
    margin-bottom: 0;
}
.mars-form-submit button {
    border:none;
    background:0 0;
    outline:0
}
form {
    /* max-width:640px; */
    margin:0 auto;
    background-color:rgba(255,255,255,.2);
    color:#555;
    font-size:14px;
    padding: 5px 10px;
    margin-top: 1em;
}
.mars-form-flex {
    display:-webkit-box;
    display:-moz-box;
    display:-webkit-flex;
    display:-ms-flexbox;
    display:flex;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap
}
.mars-form-item .mars-form-dxbox {
    -webkit-flex-wrap:wrap
}
form .mars-form-bdbox {
    display:flex;
    padding:5px 0;
    display:flex
}
form label.mars-form-bdxx {
    text-align:left;
    flex-basis:5rem;
    margin-right:1em;
    flex-shrink:0;
    line-height:2em;
    display:flex;
    align-items:center;
    justify-content:left;
    padding-left:0.5em;
    height: 40px;
}
form label.mars-form-bdxx em{
    margin-right: 0.5em;
}
.mars-form-dxbox label,.mars-form-less,.mars-form-more,.mars-form-submit {
    text-align:center
}
form label.mars-form-bdxx:last-child {
    margin:0
}
form em {
    color:red
}
form input,form textarea {
    border:1px solid #ccc;
    width:90% !important;
    height:40px;
    line-height:2em;
    text-indent:8px;
    border-radius:2px;
    /*-webkit-appearance:none;*/
    /*appearance:none*/
}


.section_attr {
    padding:1rem
}
#mars-form-combo .mars-form-dxbox {
    /*max-width:80%*/
}
.mars-form-less,.mars-form-more,.mars-form-textWrap {
    line-height:32px;
    vertical-align:middle
}
form input[name=price] {
    border:none;
    box-shadow:none
}
form textarea {
    padding:2px;
    height:90px
}
form select {
    width:45%;
    border:1px solid #ccc;
    height:40px;
    line-height:2em;
    text-indent:8px;
    border-radius:2px;
}
form .mars-form-text2box,form .mars-form-text3box,form .mars-form-textbox {
    flex-grow:2
}
.mars-form-text3box {
    display:flex;
    align-items:center;
    height:40px
}
#sum_up_price,#price,#trans_amount,#tax_fee {
    font-size:20px;
    color:red;
    margin-left:5px
}
.mars-form-item .mars-form-dxbox {
    display:-webkit-box;
    display:-moz-box;
    display:-webkit-flex;
    display:-ms-flexbox;
    display:flex;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
    -webkit-box-align:flex-end;
    -webkit-align-items:flex-end;
    -ms-flex-align:flex-end;
    align-items:flex-end
}
.mars-form-item .mars-form-dxbox label {
    max-width:100px
}
.mars-form-combo span {
    padding:1em
}
.mars-form-dxbox {
    display:flex;
    flex-wrap:wrap
}
.mars-form-dxbox input[type=radio] {
    display:none
}
.mars-form-dxbox label,.mars-form-less,.mars-form-m-selnum,.mars-form-more,.mars-form-textWrap {
    display:inline-block
}
.mars-form-dxbox label {
    font-size:14px;
    padding:2px;
    border:1px solid #ddd;
    margin:5px 5px 5px 0;
    border-radius:2px;
    min-width:60px;
    min-height:30px;
    display:flex;
    align-items:center;
    justify-content:center
}
.mars-form-m-selnum {
    font-size:0
}
.mars-form-less,.mars-form-more {
    width:34px;
    height:34px;
    color:#222;
    border:1px solid #ccc;
    font-size:1rem;
    font-family:monospace
}
.mars-form-textWrap {
    height: 34px;
    font-size:12px;
    padding:0 16px;
    border-top:1px solid #ccc;
    border-bottom:1px solid #ccc
}
.mars-form-huo {
    background:url(../image/payment2.png) 0 0 no-repeat;
    padding:10px 5px 10px 32px;
    background-position:-200px 0
}
.mars-form-huo-df {
    background-position:0 0
}
.mars-form-huo-711 {
    background-position:-200px -346px
}
.mars-form-huo-qj {
    background-position:2px -395px
}
.mars-form-huo_info {
    font-size:14px;
    text-indent:2rem;
    padding:6px 8px;
    border-radius:4px;
    color:red;
    display:flex;
    align-items:center
}
.mars-form-submit,.mars-form-submit button {
    width:100%;
    font-size:1rem;
    background:var(--primary-color);
    color:#fff;
    height: 50px;
    height: 3.5em;
    /*padding:8px 0*/
}
.mars-form-tab-sel {
    background:#343599;
    border-color:#343599!important;
    color:#fff;
    box-shadow:2px 2px 4px #999
}
.mars-form-tab-sel .mars-form-huo-df {
    background-position:-200px -1px
}
@media screen and (max-width:340px) {
    form label.mars-form-bdxx {
        margin-right:.6em
    }
    .mars-form-wf_span .mars-form-radio-label {
        font-size:11px
    }
}.mars-form-dxbox img {
     float:left;
     width:60px;
     height:auto;
     margin:8px 0
 }
select[name='cs_name'] {
    width:90%
}
input,select,textarea {
    box-sizing:border-box
}
.mars-form-combo {
    padding:5px;
    display:flex;
    align-items:center;
    justify-content:space-between
}
.mars-form-textbox > .mars-form-content>.mars-form-wf_span {
    display:inline-flex;
    flex-grow:1;
    justify-content:center;
    margin:0 1px
}
.mars-form-textbox > .mars-form-content>.mars-form-wf_span > input[type=radio][name=wfpayment] + .mars-form-radio-label,
.mars-form-textbox > .mars-form-content>.mars-form-wf_span > input[type=radio][name=exp_type] + .mars-form-radio-label{
    padding:10px;
    background-color:#f4f4f4;
    border:1px solid #ddd;
    cursor:pointer;
    transition:background-color 0.3s ease,border-color 0.3s ease;
    text-align:center;
    border-radius:2px;
    width:100%
}
.mars-form-textbox >.mars-form-content> .mars-form-wf_span > input[type=radio][name=wfpayment],
.mars-form-textbox >.mars-form-content> .mars-form-wf_span > input[type=radio][name=exp_type]{
    position:absolute;
    opacity:0;
    z-index:-1;
    width:0!important;
    height:0
}
.mars-form-textbox > .mars-form-content>.mars-form-wf_span > input[type=radio][name=wfpayment]:checked + .mars-form-radio-label,.mars-form-dxbox > input[type=radio]:checked + label,
.mars-form-textbox > .mars-form-content>.mars-form-wf_span > input[type=radio][name=exp_type]:checked + .mars-form-radio-label,.mars-form-dxbox > input[type=radio]:checked + label{
    background-color:var(--primary-color);
    border-color:var(--primary-color);
    color:white
}
.mars-form-sc_row {
    display:none
}
.mars-form-radio-label {
    font-size:12px
}
form input[name=price],form input[name=trans_amount],form input[name=sum_up_price] {
    border:none;
    box-shadow:none
}
#mars-form-product_attr .mars-form-dxbox img{
    width: 100px;
    /*max-width: 60px;*/
    margin: 0;
}
#mars-form-product_attr .mars-form-dxbox label{
    flex-direction: column;
    padding: 0;
    border-width: 1px;
}
#mars-form-product_attr .mars-form-dxbox span{
    padding: 5px 5px;
}
/*#mars-form-product_attr .mars-form-dxbox span:hover{*/
/*    color:var(--primary-color);*/
/*    border-color: var(--primary-color);*/
/*}*/

select[name="state"], select[name="city"], select[name="district"], select[name="places"],select[name="postal"]{
    display: none;
    width: 45%;
}
select[name='sf_shop_name']{
    display: none;
    width: 90%;
}

select{
    color: #555;
    /*text-align: center;*/
}

/* 隐藏数字输入框的默认样式 */
input[type="number"][name="mobile"] {
    /* 隐藏上下箭头按钮 */
    appearance: textfield;
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
}
input[type="number"][name="mobile"]::-webkit-inner-spin-button,
input[type="number"][name="mobile"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}
.dkuywW{
    display: none;
}

#mars-form-combo,.mars-form-tc>.mars-form-bdbox{
    flex-direction: column;
}


#mars-form-combo>.mars-form-bdxx,.mars-form-tc>.mars-form-bdbox>.mars-form-bdxx{
    flex-basis: 1em;
}

#mars-form-product_attr .mars-form-item{
    background-color: #f7f7f7;
    padding: 16px;
    border-radius: 5px;
}

#mars-form-product_attr .mars-form-item:nth-child(n+2){
    margin-top: 10px;
}

#mars-form-combo>.mars-form-dxbox{
    padding: 1em;
}

#mars-form-product_attr .mars-form-item>span{
    font-weight: bolder;
}

.phone_error{
    border-color: red;
}