﻿.main-content {
    margin-top: 40px;
}
/*购物车列表样式START*/
.checkout-container {
    min-height: 575px;
    width: 100%;
}
/*结算页面导航栏*/
.checkout-list-top {
    width: 100%;
    margin-bottom: 20px;
}
.checkout-page-title {
    font-size: 20px;
    display: inline-block;
}
/*结算页面导航栏右侧*/
.checkout-guide-step {
    display: inline-block;
    height: 28px;
    line-height: 28px;
}
.checkout-guide-step .checkout-step-item {
    line-height: 24px;
    display: inline-block;
}
.checkout-guide-step .checkout-step-item.checkout-step-divide {
    min-width: 25px;
    text-align: center;
}
.checkout-step-item .step-color-box {
    height: 24px;
    width: 24px;
    text-align: center;
    color: white;
    border-radius: 50%;
}
.color-box-red {
    background-color: #1E6AF2;
}
.color-box-grey {
    background-color: grey;
}
.checkout-step-item .step-content {
    display: inline-block;
}
/*结算container*/
.checkout-details-container {
    width: 100%;
    min-height: 180px;
    padding: 20px 30px;
    background: #ffffff;
    box-shadow: 0 3px 7px 2px rgba(0,0,0,0.05);
    margin-bottom: 100px;
}
.checkout-details-list {
    width: 70%;
    min-height: 100px;
    display: inline-block;
}
.checkout-item .checkout-item-title{
    font-size: 16px;
    border-bottom: 1px solid #e5e5e5;
    padding: 0 0 10px 0;
    position: relative;
}
.checkout-item .checkout-item-title:after{
    content: '';
    height: 2px;
    width: 90px;
    left: 0;
    bottom: 0;
    margin: auto;
    position: absolute;
    background-color: #1E6AF2;
}
.checkout-item .checkout-item-content{
    padding: 20px 15px;
}
/*自定义单选*/
.checkout-item-content .checkout-row-radio + .checkout-row-radio {
    margin-top: 10px;
}
.checkout-item-content .checkout-row-radio.radio-multi {
    margin-bottom: 15px;
}
.checkout-row-radio .checkout-content-name {
    width: 90px;
    display: inline-block;
    vertical-align: top;
    margin-top: 6px;
}
.checkout-row-radio .checkout-content-radio-list {
    width: calc(100% - 100px);
    display: inline-block;
    padding-left: 10px;
}
.checkout-content-radio-list .checkout-radio-item {
    margin-right: 5px;
    margin-bottom: 5px;
    display: inline-block;
    position: relative;
}
.checkout-content-radio-list .checkout-radio-item:last-child {
    margin-right: 0;
    margin-bottom: 0;
}
.checkout-radio-item .checkout-radio {
    min-width: 80px;
    max-width: 100px;
    padding: 0 10px;
    height: 30px;
    color: #999999;
    background: #ffffff;
    line-height: 28px;
    text-align: center;
    border: 1px solid #e5e5e5;
    display: inline-block;
    cursor: pointer;
    position: relative;
}
.checkout-radio-item .checkout-radio-tip {
    font-size: 12px;
    line-height: 12px;
    border-radius: 7px;
    padding: 1px 5px;
    top: -5px;
    right: 1px;
    color: #FFFFFF;
    background-color: #f26a2e;
    position: absolute;
}
.checkout-content-radio-list .checkout-radio:last-child {
    margin-right: 0;
}
.checkout-content-radio-list .checkout-radio:hover {
    border: 1px solid #1E6AF2;
}
.checkout-content-radio-list .checkout-radio.radio-set-checked {
    color: #ffffff;
    background: #1E6AF2;
}
/*定义套餐列表显示*/
.checkout-item-content .checkout-package-more-info {
    cursor: pointer;
    margin-top: 20px;
    color: #F84332;
    display: inline-block;
}
.checkout-item-content .checkout-package-item {
    width: 100%;
    min-height: 80px;
    min-width: 500px;
    padding: 10px;
    overflow: hidden;
}
.checkout-package-item .checkout-package-item-img {
    width: 30%;
    margin-top: 8px;
    float: left;
    border: 1px solid #e5e5e5;
    padding: 30px;
    border-radius: 6px;
}
.checkout-package-item .checkout-package-item-img img{
    width: 100%;
}
.checkout-package-item .checkout-package-item-detail {
    width: 65%;
    float: right;
}
.checkout-package-item .checkout-package-item-detail > div + div {
    margin-top: 10px;
}
.checkout-package-item-detail .checkout-package-detail-name {
    font-size: 18px;
    line-height: 35px;
    display: inline-block;
}
.checkout-package-item-detail .checkout-package-detail-price {
    margin-left: 20px;
    font-size: 18px;
    line-height: 35px;
    display: inline-block;
}
.checkout-package-item-detail .checkout-package-detail-desc {
    font-size: 14px;
    color: #999999;
    /*white-space: nowrap;*/
    /*overflow: hidden;*/
    /*text-overflow: ellipsis;*/
}
.checkout-checkbox span {
    font-size: 12px;
    color: #999999;
}
.checkout-checkbox .checkout-agreement {
    font-size: 12px;
    color: #f05815;
}
.checkbox.checkout-checkbox label:before {
    height: 15px;
    width: 15px;
    top: 3px;
}
.checkbox.checkout-checkbox label:after {
    top: 3px;
}
.checkbox.checkout-checkbox input[type=checkbox]:checked + label:before {
    border-color: #1E6AF2;
    background: #1E6AF2;
}
.checkbox.checkout-checkbox .agreement-hidden-tip {
    font-size: 14px;
    color: #F84332;
    margin-top: 5px;
    display: none;
}
.checkbox.checkout-checkbox img {
    max-width: 16px;
    max-height:16px;
    margin-top: -3px;
    margin-right: 8px;
}
/*结算页面右侧总览*/
.checkout-total-view {
    width: calc(30% - 25px);
    padding: 20px 20px 20px 35px;
    margin-left: 20px;
    min-height: 100px;
    display: inline-block;
    vertical-align: top;
    background: #fbfbfb;
}
.checkout-total-view .total-title {
    font-size: 16px;
    position: relative;
}
.checkout-total-view .total-title:after {
    content: '';
    width: 4px;
    height: 23px;
    left: -15px;
    top: 0;
    position: absolute;
    background-color: #1E6AF2;
}
.checkout-total-view .total-param-list {
    padding: 10px;
}
.checkout-total-view .checkout-button {
    width: 100%;
    text-align: center;
}
.checkout-total-view .checkout-button button{
    width: 100%;
    margin-bottom: 10px;
    background: #f26a2e;
}
.checkout-total-view .checkout-button button:hover,.checkout-total-view .checkout-button button:focus,.checkout-total-view .checkout-button button:active{
    background: #f05815 !important;
}
.total-param-list .total-param-item {
    font-size: 14px;
    line-height: 35px;
}
.total-param-item .total-param-name {
    color: #666666;
    display: inline-block;
    min-width: 70px;
}
.total-param-item .total-param-name.total-price-name {
    color: #333333;
}
.total-param-item .total-param-value {
    color: #333333;
    display: inline-block;
}
.total-param-item .total-param-value.total-price-text {
    color: #f26a2e;
    font-size: 20px;
    font-weight: bold;
}

/*结算页面显示异常提示页面*/
.checkout-tip-container {
    padding: 50px;
    text-align: center;
}
.checkout-tip-container .checkout-hints{
    font-size: 16px;
    margin-top: 30px;
    color: #888888;
}
.checkout-tip-container .checkout-redirect button{
    min-width: 75px;
}
/*结算页面置顶提示，操作*/
.checkout-tips-cover {
    width: 100%;
    min-height: 100px;
    padding: 20px;
    border: 1px dashed grey;
    margin-bottom: 10px;
    display: block;
    background-color: #fff6de9e;
    position: relative;
}
.checkout-tips-cover .tips-cover-title {
    font-size: 16px;
}
.checkout-tips-cover img {
    max-width: 20px;
    max-height: 20px;
    margin-top: -5px;
}
.checkout-tips-cover .tips-cover-title span.package-name {
    font-weight: bold;
    color: #f26a2e;
}
.checkout-tips-cover .tips-cover-radio {
    margin-left: 23px;
}
.checkout-tips-cover .tips-cover-radio li {
    margin-right: 25px;
}
.checkout-tips-cover .tips-cover-radio li:last-child {
    margin-right: unset;
}
.checkout-tips-cover-confirm {
    right: 20px;
    bottom: 20px;
    position: absolute;
    background: #f26a2e;
}
.checkout-tips-cover-confirm:hover {
    background: #f05815 !important;
}
.checkout-tips-cover .package-action-unclick-tips {
    top: 20px;
    right: 20px;
    position: absolute;
    display: none;
}
/*禁止下单*/
.btn.forbidden-btn {
    background-color: #01c2c3 !important;
    color: #ffffff !important;
}

/*小程序模板結算*/
.checkout-package-item.applet-package-item {
    width: 100%;
}
.checkout-package-item.applet-package-item .checkout-package-item-img{
    width: 170px;
    height: unset;
    max-height: 300px;
    min-height: 210px;
    text-align: center;
}
.checkout-package-item.applet-package-item .checkout-package-item-img img{
    max-width: 170px;
    max-height: 300px;
}

.checkout-package-item.applet-package-item .checkout-package-xcx-item-img{
    position: relative;
    display: inline-block;
    margin-top: 8px;
    width: 170px;
    height: 300px;
    text-align: center;
    vertical-align: top;
    overflow: hidden;
}
.checkout-package-item.applet-package-item .checkout-package-xcx-item-img img{
    position: absolute;
    width:100%;
    left: 0;
}

.checkout-package-item.applet-package-item .checkout-package-item-detail {
    width: calc(100% - 210px);
    margin-left: 30px;
}
.checkout-package-item.applet-package-item .checkout-package-item-detail .checkout-package-detail-name{
    font-size: 20px;
    font-weight: normal;
}
.checkout-package-item.applet-package-item .checkout-package-template-detail .template-func {
    display: flex;
    align-items: start;
    margin-bottom: 5px;
}
.checkout-package-item.applet-package-item .checkout-package-template-detail .template-func .template-func-title {
    width: 75px;
    margin-right: 10px;
    display: inline-block;
}
.checkout-package-item.applet-package-item .checkout-package-template-detail .template-func .template-func-list {
    display: inline-block;
}
.checkout-package-item.applet-package-item .checkout-package-template-detail .template-func-item {
    margin-right: 10px;
    margin-bottom: 5px;
    display: inline-block;
    min-width: 80px;
}
.checkout-package-item.applet-package-item .checkout-package-template-detail .template-func-item .func-icon {
    margin-right: 3px;
    display: inline-block;
    width: 18px;
}
.checkout-package-item.applet-package-item .checkout-package-template-detail .template-func-item .func-name {
    display: inline-block;
}
.checkout-package-item.applet-package-item .sub-checkout-item{
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}
.package-origin-price{
}
.package-origin-price .total-param-name{
    color: #acacac;
}
.package-origin-price  .total-param-value{
    color: #acacac;
    text-decoration: line-through;
}
/*pc相关样式*/
.pc-desc{
    margin: 10px 0 0 0;
}
@media (max-width: 992px) {
    .checkout-details-list {
        width: 100%;
    }
    .checkout-total-view {
        width: 100%;
        margin-left:0;
    }
}

/* 手机版适配微调 */
@media (max-width: 580px) {
    /* 结算小程序模板 */
    .checkout-item-content .checkout-package-item {
        min-width: unset;
    }
    .checkout-package-item.applet-package-item .checkout-package-item-img {
        width: 100%;
        text-align: center;
    }
    .checkout-package-item.applet-package-item .checkout-package-item-detail {
        display: block;
        width: 100%;
        margin-left: unset;
    }
    .checkout-package-item.applet-package-item .checkout-package-template-detail .template-func .template-func-title {
        width: 100px;
        margin-right: 10px;
    }
    .checkout-package-item.applet-package-item .checkout-package-item-detail .checkout-package-detail-name {
        width: 100%;
        text-align: center;
    }
    /*  结算微商城套餐  */
    .checkout-package-item-detail .checkout-package-detail-price {
        margin-left: unset;
    }
    .checkout-item-content .checkout-package-item {
        width: 100%;
    }
}

@media screen and (max-width: 500px){
    .top-alert-tip .alert-top-title{
        font-size: 13px;
    }
    .checkout-details-container{
        padding: 20px 10px;
    }
    .checkout-item .checkout-item-content{
        padding: 0px;
    }
    .checkout-package-item.applet-package-item .checkout-package-xcx-item-img{
        width: 100%;
    }
    .checkout-package-item.applet-package-item .checkout-package-item-detail .checkout-package-detail-name{
        text-align: left;
    }
    .checkout-details-container{
        margin-bottom: 10px;
    }
    .checkout-content-radio-list .checkout-radio-item{
        margin-bottom: 0;
        margin-right: 0;
        margin-top: 5px;
    }
    .checkout-radio-item .checkout-radio {
        min-width: 70px;

    }
}