/*------------ 尚無訂單 ------------*/
.no-order {
    text-align: center;
    margin: 0 auto;
}
/*------------ /尚無訂單 ------------*/
/*------------ 訂單查詢列表頁 ------------*/
.order-table {
    margin: 20px auto 0;
    border-bottom: 1px solid #eee;
}
.order-table td {
    min-width: 40px;
}
.order-table .num-link {
    font-size: 15px;
    text-decoration: underline;
    transition: all 0.3s ease;
}
.order-table .num-link:hover {
    opacity: 0.7;
}
.order-table .btn-holder {
    padding: 10px 5px;
    width: 15%;
}
.table .btn.order-use {
    height: 30px;
    line-height: 30px;
    border: 0;
    margin: 3px 0;
    padding: 0 12px;
    border-radius: 30px;
    text-decoration: none;
    color: #fff;
    background: #333;
    transition: all 0.3s ease;
}
.table .btn.order-use:hover {
    opacity: 0.7;
}
.table .btn.order-use .ic {
    vertical-align: middle;
    font-size: 14px;
    margin: 0 3px 3px 0;
    opacity: 0.7;
}
.table .btn.new-msg {
    color: #EB6060;
    box-shadow: none;
    background: none;
    padding: 0;
    border: 0;
    width: auto;
    text-decoration: none;
    transition: all 0.3s ease;
}
.table .btn.new-msg:hover {
    opacity: 0.7;
}
/*------------ /訂單查詢列表頁 ------------*/
.order-form {
    border: 3px solid #BBB;
    position: relative;
    padding: 30px;
}
.order-form:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 3px;
    border: 1px solid #ccc;
}
.order-form .form-box {
    max-width: 500px;
    border: 0;
}
.order-form .form-group {
    border: 0;
    padding: 2px 0;
}
.order-form .control-label {
    float: none;
    padding-left: 4px;
}
.order-form .control-box {
    margin-left: 0;
}
/*------------ 訂單查詢內頁 ------------*/
.order-detail {
    border: 1px solid #eee;
    max-width: 890px;
    margin: 0 auto 30px;
}
.order-detail .btn-holder {
    display: inline-block;
}
#order-message {
    padding-top: 10px;
    margin-top: 40px;
}
/*店家和顧客訂單通訊*/
.message-box {
    border: 1px solid #dcdcdc;
    padding: 10px 30px
}
.message-box .form-box {
    padding-top: 0;
}
.message-box .form-group {
    border-bottom: 0;
}
.message-box .control-label {
    float: none;
    padding-left: 4px;
}
.message-box .control-box {
    margin-left: 0;
}
.message-form {
    padding: 15px 0;
    border-bottom: 1px solid #dcdcdc;
    max-width: none;
}
.message-form .btn-box {
    text-align: right;
    padding: 5px 0 0;
}
.message-form .btn.send {
    width: 140px;
    text-align: left;
    margin: 0;
    padding: 0 40px 0 12px;
}
.message-form .btn.send .ic {
    vertical-align: middle;
    font-size: 12px;
    margin: 0 0 5px 3px;
}
.message-item {
    margin: 20px 0;
    padding-top: 35px;
}
.message-txt {
    border: 1px solid #ddd;
    border-radius: 0;
    background: #fff;
    color: #666;
    padding: 0 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.message-txt:hover {
    border-color: #333;
}
.message-question {
    position: relative;
    padding: 10px 0;
}
.message-question .date {
    position: absolute;
    left: -10px;
    right: -10px;
    bottom: 100%;
    margin-bottom: 10px;
    color: #878787;
    letter-spacing: 0.05em;
    pointer-events: none;
}
.message-question .date .ic {
    vertical-align: middle;
    margin-right: 8px;
    color: #333;
    font-size: 20px;
}
.message-question .status,
.message-question .new-tag {
    display: inline-block;
    vertical-align: middle;
    float: right;
    margin: -2px 0 -2px 10px;
}
.message-question .status {
    background: #C0C0C0;
    color: #fff;
    line-height: 27px;
    padding: 0 10px;
    border-radius: 0;
}
.message-question .status.replied {
    background: #BBA273;
}
.message-question .new-tag {
    color: #EB6060;
    line-height: 27px;
}
.message-answer {
    display: none;
    border-top: 1px solid #DCDCDC;
    padding: 10px 0;
}
.message-answer .editor {
    padding: 3px 0;
}
/*/店家和顧客訂單通訊*/
/*拆單*/
.table-v td a{
    color:#108fbb;
    text-decoration: underline;
}
.table-v td a:hover{
    color:#009e5f;
    text-decoration: none;
}
.shopping_way .general,
.shopping_way .cold,
.shopping_way .freezing{
    bottom: 0;
    color:#fff;
    border: none;
    border-radius: 0;
}
.shopping_way{
    display: inline-block;
}
/*/拆單*/
/*------------ /訂單查詢內頁 ------------*/
/*------------ rwd ------------*/
@media screen and (max-width: 1120px) {
    .order-table .btn-holder {
        width: auto;
    }
    .order-detail .table .btn.order-use {
        width: 130px;
    }
}
@media screen and (max-width: 1000px) {
    #order-message {
        margin-top: 10px;
    }
    .no-order {
        padding: 0 0 5px;
    }
    .order-table .num-link {
        font-size: 14px;
    }
    .order-table .btn-holder {
        padding: 2px 5px;
    }
}
@media screen and (max-width: 767px) {
    .order-table .btn-holder {
        display: inline-block;
        padding: 0;
    }
    .order-table .msg-holder {
        float: right;
    }
    .order-id-table tr {
        display: block;
    }
    .order-id-table th,
    .order-id-table td {
        display: inline-block;
        vertical-align: middle;
        padding: 10px 20px;
    }
    .order-id-table .btn-holder {
        padding: 5px 20px;
    }
    .order-detail .row:before {
        display: none;
    }
    .order-detail .col {
        width: 100%;
    }
    .order-detail .col2 .table-v tr:nth-child(2n) {
        background: #fff;
    }
    .order-detail .col2 .table-v tr:nth-child(2n+1) {
        background: #E0FBFE;
    }
    .message-box {
        padding: 5px 15px;
    }
    .message-item {
        margin: 0px 0 10px;
    }
    .message-question .status,
    .message-question .new-tag {
        float: none;
        margin: 0 2px 0 0;
    }
    .message-question .title {
        padding-top: 5px;
    }
    .message-form .control-label {
        font-size: 14px;
        margin-bottom: 3px;
    }
    .message-form {
        padding: 5px 0 15px;
    }
    .message-question .status,
    .message-question .new-tag {
        font-size: 14px;
    }
    .message-question {
        padding: 5px 0;
    }
    .message-answer {
        padding: 5px 0;
    }
    #order-message {
        margin-top:20px;
    }
    .shopping_way{
        margin:5px 0;
    }
}
@media screen and (max-width: 500px) {
    .order-detail .col .table-v th {
        background: #E0FBFE;
    }
    .order-detail .col .table-v tr:nth-child(n) {
        background: none;
    }
    .order-detail .col .table-v th:after {
        display: none;
    }
}