html,
body {
    margin: 0;
    padding: 0;
    font-family: "Microsoft Yahei", "Arial";
    background: #fff;
    color: #000;
    font-size: 12px;
}

table,
tr,
td,
h1,
h2,
p,
dd,
dl,
dt,
ul,
ol,
li,
form {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: inherit;
    font-weight: inherit;
}

em {
    font-weight: normal;
    font-style: normal;
}

i {
    display: inline-block;
    font-style: normal;
}

@page {
    size: auto;
    margin: 5mm 0mm;
}

.an-fl {
    float: left;
}

.an-fr {
    float: right;
}

.an-cf::after {
    display: block;
    clear: both;
    height: 0;
    content: '';
    overflow: hidden;
}

.an-no_more {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* 团房打印 */

[id="groupPrintMode"] {
    width: 794px;
    margin: 0 auto;
    padding: 10px;
    font-size: 12px;
    color: #000;
}


/* .an-print_main {
    min-height: 100%;
} */


/* 顶部地址、酒店名、电话 */

.an-print_address {
    height: 60px;
    line-height: 30px;
    padding: 0 10px;
    border-bottom: 1px solid #000;
}

.an-print_address_left {
    float: left;
}

.an-print_address_right {
    float: right;
    text-align: right;
}

.sam_font_bold {
    font-weight: bold;
}


/* 账单标题、编号 */

.an-print_head {
    height: 60px;
    padding: 0 10px;
}

.an-print_head_title {
    height: 30px;
    line-height: 30px;
    font-size: 20px;
    text-align: center;
}

.an-print_head_no {
    line-height: 40px;
    height: 30px;
    text-align: right;
}


/* 主表 */

.an-print_table {
    width: 100%;
    border: 1px solid #000;
    border-spacing: 0;
}

.an-print_tr {
    line-height: 20px;
    box-sizing: border-box;
}

.an-print_tr:last-of-type {
    border: none;
}

.an-print_tr td {
    min-height: 30px;
    padding: 5px;
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
    text-align: center;
}

.an-print_tr.wider td {
    width: 50%;
    font-weight: bold;
    text-align: left;
    border-right: none;
}

.an-print_tr.consume td,
.an-print_tr:last-of-type td {
    border-bottom: none;
}

.an-print_tr td.no_border_r,
.an-print_tr td:last-of-type:not(.has_border_r) {
    border-right: none;
}

.td_w9 {
    width: 9%;
}

.td_w11 {
    width: 11%;
}

.td_w12 {
    width: 12%;
}

.td_w13 {
    width: 13%;
}

.td_w20 {
    width: 20%;
}

.td_w26 {
    width: 26%;
}


/* 消费 */

.an-table_td_room,
.an-table_td_time {
    float: left;
    width: 50%;
}

.an-print_tr.thead {
    background-color: #d9d9d9;
}

.consume_total {
    position: absolute;
    width: 80px;
    height: 20px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}


/* 统计 */

.an-print_tr .an-table_td_total {
    height: 50px;
    line-height: 40px;
    font-size: 16px;
    border-top: 1px solid #000;
}

.an-table_td_span {
    margin: 0 1rem;
}


/* 底部 */

.an-print_footer {
    height: 30px;
    line-height: 30px;
    padding: 0 30px;
    font-size: 14px;
}


/* 团房打印 ----- 结束 ----- */


/* -----------------------------------  发票式打印  ----------------------------------- */

#an-print_short {
    width: 300px;
    height: 500px;
    background-color: #fff;
    position: fixed;
    left: 50%;
    margin-left: -150px;
    top: 50px;
    overflow-y: auto;
    z-index: 99;
    opacity: 0;
}

#an-print_short_main {
    background-color: #fff;
    width: 300px;
    padding: 20px;
    color: #000;
    position: absolute;
    left: 0;
    top: 0;
}

.an-print_short_title {
    text-align: center;
    line-height: 40px;
    font-size: 18px;
    font-weight: bold;
}

.an-print_short_item {
    line-height: 24px;
    padding: 8px 2px;
    font-size: 14px;
    overflow: hidden;
    border-bottom: 1px solid #dfdfe2;
    color: #878787;
}

.an-print_short_item:first-of-type {
    border-top: 1px solid #dfdfe2;
    margin-top: 10px;
}

.an-print_short_text {
    float: right;
    max-width: 190px;
    color: #000;
}


/* 账单明细 押金单 */

#billPrint {
    width: 220mm;
    margin: 0 auto;
}

.bill_content {
    width: 180mm;
    margin: 0 auto;
    padding: 10px 0;
    color: #000000;
    line-height: 24px;
    font-size: 12px;
}

.bill_title_h2 {
    line-height: 50px;
    font-size: 22px;
}

.bill_mode {
    padding: 10px 0;
    border-bottom: 1px solid #666;
    /* border-top: 1px solid #dfdfe2; */
}

.bill_item {
    float: left;
    text-indent: 5px;
    min-height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.an-width_10 {
    width: 10%;
}

.an-width_15 {
    width: 15%;
}

.an-width_20 {
    width: 20%;
}

.an-width_25 {
    width: 25%;
}

.an-width_30 {
    width: 30%;
}

.an-width_33 {
    width: 33.33%;
}

.an-width_35 {
    width: 35%;
}

.an-width_40 {
    width: 40%;
}

.bill_line {
    display: block;
    width: 300px;
    height: 0;
    position: absolute;
    right: 0;
    bottom: 3px;
    border-bottom: 1px solid #000;
}

.bill_content.deposit .bill_mode {
    border-left: 1px solid #333;
    border-right: 1px solid #333;
    padding: 5px 20px;
}

.bill_content.deposit .bill_item {
    text-indent: 0;
}

.bill_square {
    width: 30px;
    height: 30px;
    display: inline-block;
    border: 1px solid #666;
    margin: 0 10px;
    word-break: break-all;
    white-space: pre-line;
    word-wrap: break-word;
}

.bill_wrap {
    word-break: break-all;
    white-space: pre-line;
    word-wrap: break-word;
}

.an-print_bold {
    font-weight: bold;
}


.bill_xf_li {
    line-height: 20px;
    padding: 2px 0;
}

/* -----------------------------------  今日核单  ----------------------------------- */
