<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
    <meta charset="UTF-8"/>
    <title>Original</title>
    <style>
        body {
            font-family: SimSun;
            font-size: 14px;
            margin-bottom: 0;
        }

        @page {
            @bottom-center{
                content: element(footer)
            }
            @top-center{
                content: element(header)
            }
            margin-left: 8%;
            margin-right: 10%;
            margin-top: 13%;
            margin-bottom: 4cm;
        }

        #footer {
            position: running(footer);
        }
        #header {
            position: running(header);
        }

        #pagenumber:before {
            content: counter(page);
        }

        #pagecount:before {
            content: counter(pages);
        }
        .doc-box {
             /*width: 170mm;*/
            height: auto;
            margin: 0 auto;
            padding: 0mm;
        }
        .doc-box td{
            /*width: 170mm;*/
            overflow-wrap: break-word;/*自动换行*/
        }

        .doc_title {
            font-size: 28px;
            height: 50px;
            line-height: 50px;
            text-align: center;
        }

        .doc_to {
            margin-top: 25px;
        }

        .doc_div {
            /* text-indent:2em; */
            margin-top: 10px;
            line-height: 25px;
            height: 25px;
        }
		table {
            border-spacing: 0;
        }

        .table {
            margin-bottom: 80px;
        }

        .table div {
            width: 9%;
            float: left;

        }

        .table td {
            width: 30%;
        }

        .table1 td {
            width: 50% !important;
        }

        .table2 {
            margin-top: 10px;
        }

        td {
            /*     word-break: break-all;*/
            height: 30px;
            line-height: 30px;
        }

        /* .page_break{
            page-break-after: always;
        } */
    </style>
</head>
<body>
<!-- <div id="header" style="height: 1000px;line-height: 25px;"> -->
    <div id="header">
        <div style="height: 1000px;line-height: 25px;">
            <table align="center" width="100%" cellspacing="0"
                   style="margin-top: 0px;border-bottom: 1px solid #00000f;">
                <tr style="min-height: 100px">
                    <td class="doc-label"
                        style="line-height: 30px;font-weight: 900; font-size: 36px; font-style: italic;padding: 0px 0 50px 2px;">
                        <strong>CEB</strong>
                    </td>
                    <td class="doc-val" colspan="3" style="vertical-align: text-top;padding-left: 20px;">
                        <div style="min-height: 50px;font-weight: bold">
                            <div style="line-height: 20px;">
                                <p style="margin: 0"><span style="color: #030303;">CHINA EVERBRIGHT BANK${branch}</span></p>
                            </div>
                            <div style="line-height: 100%;">
                                <p>Address:<span style="color: #030303;">${address}</span></p>
                            </div>
                        </div>
                        <div style="margin-top: 10px;font-weight: bold">
                            <table align="center" width="100%" cellspacing="0" style="border: none;">
                                <tr style="border: none;">
                                    <td style="border: none;width: 40%;text-align: left;">SWIFT BIC:<span
                                            style="color: #030303;">${swiftbic}</span></td>
                                    <td style="border: none;width: 30%;text-align: left;">Tel:<span style="color: #030303;">${tel}</span>
                                    </td>
                                    <td style="border: none;width: 30%;text-align: left;">FAX: <span
                                            style="color: #030303;">${fax}</span></td>
                                </tr>
                            </table>
                        </div>
                    </td>
                    <td colspan="2" style="text-align: center;"></td>
                </tr>
            </table>
        </div>
    </div>
    <div id="footer" >
        <div class="table2">
            <table class="doc_div" cellspacing="0" style="width: 100%;margin-top: 10px;font-size: 8px">
                <tr >
                    <td colspan="2" style="border-bottom: 1px solid #00000f;text-align: center;"></td>
                </tr>
                <tr>
                    <td> <span style="color: #00000f;">${XML14}</span></td>
                </tr>
                <tr>
                    <td style="text-align: right">
                    PAGE <span id="pagenumber"></span> OF <span id="pagecount"></span>
                    </td>
                </tr>
            </table>
        </div>
    </div>

<!--    <div class="doc-box">-->
        <div class="table1">
            <table class="doc_div" cellspacing="0" style="table-layout: fixed;width: 100%;margin-top: 10px;">
              <tr>
                  <td></td>
                  <td></td>
              </tr>
                <tr>
                    <td></td>
                </tr>
                <#if blk??>
                    <tr>
                        <td style="color: #030303;">${blk}</td>
                    </tr>
                </#if>
                <#if lin??>
                    <tr>
                        <td style="color: #00000f;">${lin}</td>
                    </tr>
                </#if>
            <tr>
                <td ></td>
            </tr>
            <tr>
                <td style="color: #00000f;">
                    <#if trndoc??>
                    <strong>
                    ${trndoc.LineBold}
                    </strong>
                    </#if>
                </td>
            </tr>
            <tr>
                <td ></td>
            </tr>
            <#if refLine??>
            <#list refLine as item>
                <tr>
                    <td style="color: #00000f;">${item.argText}:</td>
                    <td style="color: #00000f;">${item.argValue}</td>
                </tr>
            </#list>
            </#if>
            <tr>
            <td ></td>
            <td ></td>
        </tr>
            <#if salutation??>
            <tr>
                <td colspan="2" style="color: #00000f;">${salutation}</td>
            </tr>
            </#if>
            <#if fretxt??>
            <tr>
                <td colspan="2" >
                    <div style="width: 100%;white-space: pre-wrap;word-wrap: break-word;word-break: break-all">${fretxt}
                    </div>
                </td>
            </tr>
            </#if>
            <tr></tr>
            <#if setmod??>
            <tr>
                <#list setmod.simtxt as item>
                    <td colspan="2" >${item}</td>
                </#list>
            </tr>
            <tr></tr>
            <tr>
                <td colspan="2" >
                ${setmod.PxxPfx.val0} ${setmod.PxxPfx.val1} ${setmod.PxxPfx.val2} as per details below.
                </td>
            </tr>
            <tr><td></td></tr>
            <tr>
                <td>Details of settlement:</td>
            </tr>
            <#list setmod.DETSETTAB as item>
                <tr colspan="2" >
                    <td>${item.val0} </td>
                </tr>
             </#list>
            </#if>
            <#if appRuls??>
            <tr>
                <td colspan="2">${appRuls}</td>
            </tr>
            </#if>
            <#if URC??>
            <tr>
                <td colspan="2">${URC}</td>
            </tr>
            </#if>
            <#if encInf?? >
            <tr>
                <td colspan="2">${encInf}</td>
            </tr>
            </#if>
        <tr>
            <td></td>
        </tr>
        <tr>
            <td></td>
        </tr>
        </table>

    </div>
<!--</div>-->


</body>
</html>