/*-------------------------------
            RESET
-------------------------------*/
.container .title{
    padding-top: 30px;
    padding-left: 10px;
    font-weight: bold;
}

.panel{
    border-radius: 0;
}
.panel-default{
    border-color: #e8e8e8;
}
.panel-default>.panel-heading{
    color: #999;
    border-color: #e8e8e8;
}



/*-------------------------------
            BASE
-------------------------------*/
.p-item{
    padding: 30px;
}
.p-item>a{
    padding: 10px 10px 40px;
    display: block;
}
.p-item>a,.p-item>a:hover,.p-item>a:focus{
    text-decoration: none;
    color: #1e1e1e;
}
.p-item>a img{
    width: 100%;
}
.p-item>a h4{
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}
.p-item>a h5{
    text-align: center;
    color: #e54848;
    font-weight: bold;
}


.number-box{
    width: 150px;
}
.number-box .input-group-addon{
    background: #f5f5f5;
    border-color: #bfbfbf;
    cursor: pointer;
    width: 40px;
    background-position: center;
}
.number-box .input-group-addon.min{
    background-image: url("../img/mall/-.png");
}
.number-box .input-group-addon.max{
    background-image: url("../img/mall/+.png");
}
.number-box input{
    text-align: center;
}

@media screen and (max-width: 768px) {
    .p-item>a{
        padding: 5px 10px;
        cursor: pointer;
    }
    .number-box{
        width: 120px;
    }
    .number-box .input-group-addon{
        width: 30px;
    }
    .number-box input{
        font-size: 12px;
    }
}

/*-------------------------------
            PAGE
-------------------------------*/

/*  mall-index-page  */
#c-index-top{
    background: #f5f5f5;
    padding: 30px 0 80px;
}
#c-index-top .p-item{
    padding: 10px;
}
#c-index-top .p-item>a{
    background: #fff;
    padding: 15px;
}
#c-index-top .p-item>a.padding{
    padding: 50px 20px;
}
#c-index-top .title-img img{
    max-width: none;
    width: 100%;
    border: 1px solid #eaeaea;
}
#c-index-top .p-item>a img{
    max-width: 160px;
    margin: 0 auto;
    display: block;
}

@media (max-width: 1200px)
{
    #c-index-top .p-item>a img{
        max-width: 165px;
        margin: 0 auto;
        display: block;
    }
}


/*  mall-detail-page  */
#c-detail-info{
    background: #f5f5f5;
    padding: 10px 0 50px;
}
#c-detail-info .preview{
    width: 100%;
}
#c-detail-info .preview img{
    width: 100%;
    padding-right: 15px;
}
#c-detail-info .thumb img{
    display: block;
    width: 80px;
    background: #e9f0fa;
    padding: 8px;
    margin: 6px;
    cursor: pointer;
}
#c-detail-info h6{
    margin: 15px 0;
    color: #616161;
}
#c-detail-info .info{
    background: #E0E0E0;
    padding: 10px;
}
#c-detail-info .info p,#c-detail-info .form-block p{
    margin: 5px 0;
}
#c-detail-info .price{
    color: #e54848;
    font-weight: bold;
}
#c-detail-info .info .key{
    padding-left: 20px;
}
#c-detail-info .form-block{
    padding: 10px;
}
#c-detail-info .form-block .key{
    padding-right: 20px;
}
#c-detail-info .btn-buy{
    border: 1px solid #c6c6c6;
    color: #848484;
    font-size: 15px;
    margin-top: 30px;
}
#c-detail-info .btn-buy:hover{
    background-color: #c40000;
    border-color: #c40000;
    color: #fff;
}

#c-detail-detail{
    padding: 50px 0;
}
#c-detail-detail h3{
    margin-bottom: 20px;
}
#c-detail-detail table{
    border-style: dashed;
    border-color: #aaa;
    max-width: 800px;
}
#c-detail-detail table th,#c-detail-detail table td{
    border-style: dashed;
    border-color: #aaa;
    padding: 10px;
}
@media (max-width: 992px){
    #c-detail-info .thumb img{
        width: 55px;
        padding: 5px;
    }
}
@media (max-width: 768px){
    #c-detail-info .thumb img{
        width: 80px;
        padding: 8px;
    }
}
@media screen and (max-width: 480px) {
    #c-detail-info .preview img{
        padding-right: 10px;
    }
    #c-detail-info .thumb img{
        width: 50px;
        padding: 5px;
    }
}
@media screen and (max-width: 360px) {
    #c-detail-info .thumb img{
        width: 40px;
        padding: 4px;
        margin: 3px;
    }
}

/*  mall-detail-page  */
#c-confirm_order .w-6em{
    width: 6em;
}
#c-confirm_order .pr-2em{
    padding-right: 2em;
}
#c-confirm_order .pl-0 {
    padding-left: 0;
}
#c-confirm_order .pr-0 {
    padding-right: 0;
}

#c-confirm_order .p-form .form-group{
    width: 700px;
    max-width: 100%;
}
#c-confirm_order .p-form .form-group .row-table,
#c-confirm_order .p-form .form-group .col-table{
    padding: 10px 0;
}
#c-confirm_order .p-form .form-control.auto-w{
    width: auto;
    max-width: 100%;
}
#c-confirm_order .p-info{
    margin-bottom: 5px;
}
#c-confirm_order .p-info .panel-body{
    padding: 10px 0;
}
#c-confirm_order .p-info .row-table{
    margin: 10px 0;
}
#c-confirm_order .p-info img.thumb{
    width: 100px;
    max-width: 100%;
}
#c-confirm_order .p-count{
    padding-top: 30px;
    padding-bottom: 50px;
}
#c-confirm_order .p-count .col-table{
    table-layout: fixed;
    width: 200px;
    float: right;
    clear: right;
    font-size: 13px;
    margin: 4px 0;
    text-align: right;
}
#c-confirm_order .p-count hr{
    float: right;
    clear: both;
    width: 100%;
}
#c-confirm_order .p-count #total{
    color: #e21b1b;
    font-size: 18px;
    font-weight: bold;
    padding-left: 15px;
}
#c-confirm_order .p-count #btn-buy{
    float: right;
    clear: both;
    margin-top: 15px;
    padding: 10px 54px;
}
#c-confirm_order #agree{
    float: right;
    font-size: 13px;
    font-weight: 100;
    color: #1e7abf;
    margin-bottom: 50px;
}
@media (max-width: 768px){
    #c-confirm_order .p-form .mobile-txt{
        padding-right: 1em;
    }
    #c-confirm_order .p-form .region .col-xs-4{
        padding-left: 2px;
        padding-right: 2px;
    }
    #c-confirm_order .p-info .cell{
        padding-left: 5px;
        padding-right: 5px;
    }
    #c-confirm_order .p-info .panel-body{
        padding: 5px 0;
    }
    #c-confirm_order .p-info .row-table{
        margin: 5px 0;
    }
    #c-confirm_order .p-count .col-table{
        font-size: 12px;
        margin: 4px 0;
    }
}

/*  mall-payment-page  */
#c-payment h4{
    margin-bottom: 8px;
}
#c-payment .order-id{
    color: #999;
    margin-bottom: 15px;
}
#c-payment .tip,#c-payment .total{
    color: #ed1720;
}
#c-payment .panel{
    margin-top: 15px;
}
#c-payment .btn-box{
    visibility: hidden;
    margin-bottom: 50px;
}
#c-payment .btn-box.show{
    visibility: visible;
}
#c-payment #rest{
    margin-right: 30px;
    color: #ed1720;
}
#c-payment .payments .payment{
    padding: 10px 5px 10px 15px;
    display: inline-block;
    border: 2px solid #fff;
    cursor: pointer;
    margin: 0 2px;
    position: relative;
}
#c-payment .payments .payment:after{
    content: ' ';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border: 6px solid #fff;
}
#c-payment .payments .payment.checked{
    border-color: #1e7abf;
}
#c-payment .payments .payment.checked:after{
    border-color: transparent #2d93df #2d93df transparent;
}
#c-payment .payments .payment img{
    margin-left: 5px;
}