.rimBillMatchModal {
	width: 100%;
	height: 100%;
	padding: 0;
	position: relative;
}

.rimBillMatchModal input,
.rimBillMatchModal select,
.rimBillMatchModal textarea {
    outline: none;
}

.rimBillMatchModal input:hover,
.rimBillMatchModal select:hover,
.rimBillMatchModal textarea:hover,
.rimBillMatchModal input:focus,
.rimBillMatchModal select:focus,
.rimBillMatchModal textarea:focus {
    border-color: #5582f3!important;
}

.rimBillMatchModal textarea {
    width: 510px;
    height: 32px;
    padding: 0 8px;
    border-radius: 2px;
    border: 1px solid #ccc;
    color: #333;
    resize: none;
}

.rimBillMatchModal input:disabled {
    background-color: #F3F3F5!important;
}

.rimBillMatchModal table {
    table-layout: fixed;
}

.rimBillMatchModal th,
.rimBillMatchModal td {
    padding: 0 5px;
	font-weight: normal;
	/* overflow-wrap: break-word; */
	overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rimBillMatchModal thead th.isResizer {
    border: 1px solid #ddd;
    position: relative;
}

.rimBillMatchModal .resizer {
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    cursor: col-resize;
    user-select: none;
}

.rimBillMatchModal .checkbox {
    position: relative;
    display: inline-block;
    width: 13px;
    height: 13px;
    border-radius: 2px;
    overflow: hidden;
}

.rimBillMatchModal .checkbox .label {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 2px;
    border: 1px solid #767676;
    cursor: pointer;
}

.rimBillMatchModal .checkbox input[type="checkbox"] {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 2;
}

.rimBillMatchModal .checkbox input[type="checkbox"]:hover + .label {
    border-color: #5582f3;
}

.rimBillMatchModal .checkbox input[type="checkbox"]:checked + .label {
    border-color: #5582f3;
    background-color: #5582f3;
}

.rimBillMatchModal .checkbox input[type="checkbox"]:checked + .label::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 8px;
    width: 2px;
    height: 2px;
    background-color: #fff;
    box-shadow: 2px 0 0 0 #fff, 4px 0 0 0 #fff, 0 2px 0 0 #fff, 0 4px 0 0 #fff, 0 6px 0 0 #fff, 0 8px 0 0 #fff, 0 10px 0 0 #fff;
    transform: rotate(-135deg);
}

.rimBillMatchModal .checkbox input[type="checkbox"]:disabled + .label {
    border-color: #d1d1d1;
    background-color: #d1d1d1;
    cursor: not-allowed;
}

.rimBillMatchModal button {
	font-size: 12px;
	height: 28px;
	background: #5582f3;
	border-radius: 2px;
	padding: 5px 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	border: none;
	line-height: 1;
	cursor: pointer;
}


.rimBillMatchModal .modal {
	width: 100%;
	height:100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.rimBillMatchModal .modalContent {
	display: flex;
	height: 100%;
}

.rimBillMatchModal .modalContent .title {
	font-weight: 500;
	font-size: 16px;
	color: #212121;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 15px 10px 15px;
}

.rimBillMatchModal .modalContent .title .tag {
	color: #5582f3;
	border: 1px solid #5582f3;
	padding: 2px;
	display: inline-block;
	margin-left: 8px;
	line-height: 1;
}

.rimBillMatchModal .modalContent .title .date {
	margin-left: 24px;
	font-weight: 400;
	font-size: 14px;
	color: #666666;
}

.rimBillMatchModal .modalContent .contentInvoice {
	width: 522px;
	border-right: 1px solid #eaeaea;
	overflow: hidden;
}

.rimBillMatchModal .modalContent .contentInvoice .invoiceBox {
	border-radius: 4px;
	border: 1px solid #e5e5e5;
	padding: 12px;
	margin-bottom: 8px;
	position: relative;
}


.rimBillMatchModal .modalContent .contentInvoice .invoiceBox .invoiceInfo {
	display: flex;
	justify-content: space-between;
	font-weight: 500;
	font-size: 12px;
	color: #212121;
	margin-bottom: 12px;
}

.rimBillMatchModal .modalContent .contentInvoice .invoiceBox .invoiceOrder {
	font-weight: 400;
	font-size: 12px;
	color: #666;
	margin-bottom: 8px;
}

.rimBillMatchModal .modalContent .contentInvoice .invoiceTable {
	height: calc(100% - 84px);
	padding: 0 15px;
	overflow: auto;
}

.rimBillMatchModal .modalContent .contentOrder {
	width: calc(100% - 500px);
	position: relative;
	overflow: hidden;
}

.rimBillMatchModal .modalContent .contentOrder .orderBox {
	border-radius: 4px;
	margin-bottom: 16px;
}

.rimBillMatchModal .modalContent .contentOrder .orderBox .orderInfo {
	display: flex;
	justify-content: space-between;
	font-weight: 500;
	font-size: 12px;
	color: #212121;
	margin-bottom: 12px;
}

.rimBillMatchModal .modalContent .contentOrder .orderBox .orderInfo .icon {
	width: 12px;
	height: 12px;
	display: inline-block;
	margin-right: 2px;
	background: url('./err_icon.png') no-repeat center/12px 12px;
}

.rimBillMatchModal .modalContent .contentOrder .orderBox .orderInfo .date {
	font-weight: 400;
	font-size: 12px;
	color: #666;
	margin-left: 25px;
}

.rimBillMatchModal .modalContent .contentOrder .orderBox .orderInfo .percent {
	color: #5582f3;
}

.rimBillMatchModal .modalContent .contentOrder .orderBox .data {
	display: flex;
	font-weight: 400;
	font-size: 12px;
	color: #666;
	margin-top: 10px;
	margin-bottom: 8px;
}

.rimBillMatchModal .modalContent .contentOrder .orderBox .data div {
	margin-right: 24px;
}

.rimBillMatchModal .modalContent .contentOrder .orderTable {
	height: calc(100% - 84px);
	padding: 0 15px;
	overflow: auto;
}

.rimBillMatchModal .modalContent .modalInfo {
	width: 100%;
	font-weight: 400;
	font-size: 14px;
	padding: 12px 16px;
    border-top: 1px solid #e5e5e5;
    border-left: 1px solid #e5e5e5;
	display: flex;
	color: #212121;
	position: absolute;
    left: 0;
	bottom: 0;
	background: #fff;
	line-height: 1;
}

.rimBillMatchModal .modalContent .modalInfo div {
	margin-right: 24px;
}

.rimBillMatchModal .modalContent .modalInfo span {
	color: #5582F3;
}

.rimBillMatchModal .modalContent .searchBox {
	width: 246px;
	border-bottom: 1px solid #d9d9d9;
	display: flex;
}

.rimBillMatchModal .modalContent .searchBox input {
	width: 220px;
	border: none;
}

.rimBillMatchModal .modalContent .searchBox .searchBtn {
    width: 24px;
    height: 21px;
    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zt5ei/sgCIIGa+0wgFXRaHRjKpX6sypAqQtTw6iUOux5Xs+tdMEYEyWib0VkG4D9WuveSnpz/MDw8PCd4+PjbodvJKJuZn7nZiBGRkbiY2NjH4lIF4B+Zu6s1tEyS+bcTBiG50WkAcCJaDS6N5VKjS8VJAiCDdZat9ofLOWcdWu+mrmpaEqdiIj0iUgSwHWl1OuRSOTUQiDGmLud/QKwR0TqSsZ0VQniSwBdlSCq2vJMJlNfLBZ7RMQ5XSfk/P85AJcATNlyImoUEWfLtwN4yHlKAKNKqdestd+5gXa+cCGIRf+YOENhrXXX5zMAtlQcJCIREfcan4jH4ycTicQ/Lq7kCx1IVYhFAWYXLPnGLUS0DsAat8CI6Fo8Hr9UzUMuBrEsgKUO4vy4hSBuC0Cl4yCiY8y877YBzIcgogFmfvK2ApQg1hYKhadisVh/IpG4/j9P9wg/aju6tAAAAABJRU5ErkJggg==) no-repeat center/16px 16px;
}

.rimBillMatchModal .price {
	overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rimBillMatchModal .invoice-table {
	overflow-x: auto;
	overflow-y: hidden;
}