.order-table {
    border: solid #bbb;
    border-width: 1px 0 1px;
}
.no-order {
    padding: 20px 0 40px;
    text-align: center;
    border-bottom: 1px dashed #dcdcdc;
    margin: 0;
}
.order-table td {
    min-width: 40px;
}
.order-table thead th {
    padding: 8px 12px;
}
.order-table .num-link {
    color: #197292;
    font-size: 15px;
    font-weight: bold;
}
.order-table .num-link:hover {
    text-decoration: underline;
}
.order-table .btn-holder {
    padding: 10px 5px;
}
.table .btn.order-use {
    height: 40px;
    line-height: 38px;
    padding: 0 10px;
    border-radius: 30px;
    margin: 3px;
    color: #fff;
    background: -webkit-gradient(linear, left top, right top, from(#006DA5), color-stop(#00A2E5), color-stop(#006DA5), color-stop(#00A2E5), to(#006DA5));
    background: linear-gradient(to right, #006DA5, #00A2E5, #006DA5, #00A2E5, #006DA5);
    background-size: 400%;
    font-family: 'Arsenal', serif;
    -webkit-filter: drop-shadow(0px 10px 12.5px rgba(0, 117, 175, 0.2));
    filter: drop-shadow(0px 10px 12.5px rgba(0, 117, 175, 0.2));
    text-decoration: none;
}
.table .btn.new-msg {
    position: relative;
    color: #DA6994;
    box-shadow: none;
    background: none;
    padding: 0;
    filter: none;
    transition: all 0.3s ease;
}
.table .btn.new-msg:hover {
    color: #D50000;
}
.table .btn.detail {
    border-color: #FBCFC7;
}
.table .btn.inform,
.table .btn.go-msg {
    border-color: #297E9C;
    width: 136px;
}
.table .btn.detail:hover,
.table .btn.inform:hover,
.table .btn.go-msg:hover {
    -webkit-animation: grahover 4s linear infinite;
    animation: grahover 4s linear infinite;
}
.table .btn.new-msg .icon,
.table .btn.go-msg .icon {
    width: 20px;
    height: 20px;
    margin: 0 5px 0 0;
    background: transparent;
}
.table .btn.detail .icon,
.table .btn.inform .icon {
    width: 20px;
    height: 20px;
    margin: 0 5px 2px 0;
}
.table .btn.new-msg .icon::before {
    content: '\a004';
    position: absolute;
    font-family: 'icon-font' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    top: 47%;
    transform: translateY(-50%);
    left: -25px;
    font-size: 20px;
}
.table .btn.go-msg .icon::before{
    content: '\a004';
    position: absolute;
    font-family: 'icon-font' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    top: 47%;
    transform: translateY(-50%);
    left: 0;
    font-size: 20px;
}
.table .btn.detail .icon {
    background: transparent;
    margin: 0;
}
.table .btn.detail .icon::before{
    content: '\a001';
    position: absolute;
    font-family: 'icon-font' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    top: 45%;
    transform: translateY(-50%);
    left: 0;
    font-size: 16px;
    color: #fff;
}
.table .btn.inform .icon {
    background-position: -120px -87px;
}
.order-detail {
    border: 4px solid #E8E8E8;
}
.order-detail .btn-holder {
    display: inline-block;
}

#order-message {
    padding-top: 10px;
}
.message-box {
    border: 4px solid #DDD;
    background: #eee;
    padding: 0 25px;
}
.message-form {
    padding: 15px 0;
    border-bottom: 1px solid #CACACA;
    max-width: none;
}
.message-form .control-label {
    color: #666;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 8px;
}
.message-form .btn-box {
    text-align: right;
    padding: 5px 0 0;
}
.message-form .btn.send {
    height: 35px;
    line-height: 35px;
    font-size: 16px;
    width: 120px;
    border-radius: 6px;
    margin: 0;
}
.message-form .btn.send i {
    vertical-align: middle;
    font-size: 22px;
    margin: 0 0 5px 3px;
    position: relative;
    top: -3px;
}
.message-item {
    margin: 20px 0;
    padding-top: 35px;
}
.message-txt {
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    background: #fff;
    padding: 0 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.message-txt:hover {
    background: #F0F5F6;
}
.message-question {
    position: relative;
    padding: 10px 0;
}
.message-question .date {
    position: absolute;
    left: 20px;
    right: -10px;
    bottom: 100%;
    margin-bottom: 4px;
    color: #999;
    font-size: 14px;
    font-weight: bold;
    pointer-events: none;
    font-family: 'Arsenal', serif;
}
.message-question .date:before {
    content: '\a005';
    position: absolute;
    font-family: 'icon-font' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    top: 50%;
    transform: translateY(-50%);
    left: -30px;
    font-size: 23px;
    width: 30px;
    height: 30px;
    color: #00A2E5;
}
.message-question .status,
.message-question .new-tag {
    display: inline-block;
    vertical-align: middle;
    float: right;
    margin: -2px 0 -2px 10px;
    font-size: 14px;
}
.message-question .status {
    background: #C0C0C0;
    color: #fff;
    line-height: 27px;
    padding: 0 10px;
    border-radius: 15px;
}
.message-question .status.replied {
    background: #D50000;
}
.message-question .new-tag {
    color: #D50000;
    line-height: 27px;
    font-family: 'Arsenal', serif;
}
.message-answer {
    display: none;
    border-top: 1px dashed #DCDCDC;
    padding: 10px 0;
}
.message-answer .editor {
    padding: 3px 0;
}
/* -------- 拆單運送 -------- */
.table td .shopping_way{
    margin-left: 20px;
    display: inline-block;
}
.table td .shopping_way span{
	width: 100px;
	color: #fff;	
}
.table td .post  {
    color: #D50000;
	display: inline-block;
}
.form-control.messages-order{
    height: auto;
}
/* -------- 新增物流icon -------- */
.table-v td a {
    color:#108fbb;
    text-decoration:underline;
}
.table-v td a:hover{
    color:#009e5f;
    text-decoration:none;
}
/* -------- 訂單取消 -------- */
.lightbox-wrapper .pd-id {
    text-align: center;
}
.lightbox-wrapper .btn.simple.bg2{
    display: block;
    margin: 20px auto 0;
    position: relative;
}
/* -------- rwd -------- */
@media screen and (max-width: 1000px) {
    #order-message {
        padding-top: 0px;
    }
    .table-v th,
    .table-v td {
        padding: 5px 8px;
        font-size:12px;
    }
    .message-form {
        padding: 5px 0;
    }
    .message-form .control-label {
        font-size: 14px;
    }
    .message-form .btn.send {
        height: 25px;
        line-height: 25px;
        font-size: 12px;
        width: 120px;
    }
    .message-form {
        border-bottom:none;
    }
    .message-question .title {
        padding-top: 3px;
    }
    .message-question .status,
    .message-question .new-tag {
        float: none;
        margin: 0 10px 0 0;
        font-size:12px;
    }
    .message-item {
        margin: 2px 0;
        font-size: 12px;
    }
}
@media screen and (max-width: 767px) {
    .order-table .btn-holder {
        display: inline-block;
        padding: 3px;
    }
    .order-table .msg-holder {
        float: right;
    }
    .message-box {
        padding: 0 15px;
    }
    .message-question {
        padding: 5px 0;
    }
}
@media screen and (max-width: 640px) {
    .table .btn.order-use {
        height: 30px;
        line-height: 30px;
        font-size: 12px;
    }
    .table .btn.inform,
    .table .btn.go-msg {
        width: 120px;
    }
}
@media screen and (max-width: 400px) {
    .order-detail .btn-holder .icon{
        display:none;
    }
    .table .btn.inform,
    .table .btn.go-msg {
        width: 95px;
    }
}