<!DOCTYPE html>
<html lang="en" >
<head>
    <meta charset="UTF-8"/>
    <title>Copy</title>
    <style>
        body {
            font-family: SimSun;
            font-size: 14px;
            line-height: 20px;
            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);
            font-size: 0.65em;
        }
        #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_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: 100px">
        <table align="center" width="100%" cellspacing="0"
               style="margin-top: 0px;margin-bottom:10px;border-bottom: 1px solid #00000f;">
            <tr style="min-height: 100px">
                <td class="doc-label"
                    style="line-height: 20px;font-weight: 900; font-size: 36px; font-style: italic;padding: 0px 0 40px 2px;">
                    <strong>CEB</strong>
                </td>
                <td class="doc-val" colspan="3" style="vertical-align: text-top;padding-left: 20px;">
                    <div style="min-height: 30px;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="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: #030303;">${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;">
                <#if blk??>
                    <tr>
                        <td  style="color: #030303;">${blk}</td>
                        <td></td>
                    </tr>
                 </#if>
                <#if lin??>
                    <tr>
                        <td  style="color: #030303;">${lin}</td>
                        <td></td>
                    </tr>
                </#if>
                <tr>
                    <td colspan="2" ></td>
<!--                    <td ></td>-->
                </tr>
                <tr>
                    <td colspan="2" style="color: #030303;">
                        <#if trndoc??>
                        <strong>
                        ${trndoc.LineBold}
                        </strong>
                        </#if>
                    </td>
                </tr>
                <tr>
                    <td colspan="2"></td>
                </tr>
            <#if refLine??>
            <#list refLine as item>
                <tr>
                    <td style="color: #030303;">${item.argText}:</td>
                    <td style="color: #030303;">${item.argValue}</td>
                </tr>
            </#list>
            </#if>
            <tr>
                <td colspan="2"></td>
<!--                <td ></td>-->
            </tr>
            <#if salutation??>
            <tr>
                <td colspan="2" style="color: #030303;">${salutation}</td>
            </tr>
            </#if>
            <#if introCopy??>
            <tr>
                <td colspan="2">${introCopy}:</td>
            </tr>
            </#if>
            <tr >
                <td colspan="2" style="border-bottom: 1px solid #fd0505;text-align: center;">
                    <i>
                    open quote from original message
                    </i>
                </td>
            </tr>
            <#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>
                <td colspan="2" style="border-top: 1px solid #fd0505; text-align: center;">
                    <i>
                    close quote from original message
                    </i>
                </td>
<!--                <td></td>-->
            </tr>
            <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} ${item.val1} ${item.val2} ${item.val3}</td>
            </tr>
            </#list>
            </#if>
            <#if appRuls??>
            <tr>
                <td colspan="2">${appRuls}</td>
            </tr>
            </#if>
            <#if URC??>
            <tr>
                <td colspan="2" style="color: #030303;">${URC}</td>
            </tr>
            </#if>
            <#if encInf??>
            <tr>
                <td colspan="2" style="color: #030303;">${encInf}</td>
            </tr>
            </#if>
            <tr>
                <td colspan="2"></td>
            </tr>
            <tr>
                <td colspan="2"></td>
            </tr>
            </table>
            
        </div>
    </div>




<!-- </div> -->
</body>
</html>