<div style="font-size:small;">
    PREPARED FOR<br/>
    <b>${customer}</b><br/>
    RESERVATION CODE    ${pnr} <br/>
    AIRLINE RESERVATION CODE  ${airlineLocators} <br/>
</div>
<div style="font-size:small;">
    *******************************************************<br/>
    YOUR FARE DETAILS AND RULES<br/>
    *******************************************************<br/>
    *****TICKET *****<br/>
    FARE ${fare} ${currency} PLUS TAX PLUS SERVICE FEE ${totalTaxesFee} ${currency} TTL ${total} ${currency}<br/>
    $[if:showTimeLimit]****LAST TICKETING DATE IS ${timeLimitDateUpper}, ${timeLimitTimeUpper}*****$[if]
</div>
$[repeat:segments]
<div style="font-family: arial;margin-top:10px;border-top:1px solid black;">
    ${dateHeadline} <br/>
    <span style="color:grey;font-size:x-small">Please verify flight times prior to departure</span>
    <div>
        <div style="margin-left: 2px; ">
            <table style="min-width: 350px;border-spacing: 0px;border:1px solid #E6E6E9;">
                <tr style="height: 50px;">
                    <td rowspan="2" style="background-color: #E6E6E9;padding:4px;">
                        <span style="font-size: large"> ${airline} </span><br/>
                        <span style="font-weight: bold"> ${airlineCode}${flightNumber} </span><br/>
                        $[if:operatingAirline]<span style="font-size: small">Operating by:</span><br/><span style="font-size: large">${operatingAirline}</span><br/><br/>$[if]
                        <span style="font-size: small">Duration: ${duration} </span><br/>
                    </td>
                    <td style="border-bottom:1px dotted #E6E6E9;padding-top: 5px;padding-left: 5px;" colspan="2">
                        <table style="height: 47px;">
                            <tr>
                                <td>
                                    <span style="font-size: large;"> ${departAirportCode} </span>
                                    <br/>
                                    <span style="font-size: small;"> ${departCity}, <b> ${departAirport} </b></span>
                                </td>
                                <td>
                                <span>&nbsp;&#9654;&nbsp;</span>
                                </td>
                                <td>
                                    <span style="font-size: large;"> ${arriveAirportCode} </span>
                                    <br/>
                                    <span style="font-size: small;"> ${arriveCity}, <b> ${arriveAirport} </b></span>
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td style="border-left:1px dotted #E6E6E9;vertical-align: top;padding-top: 5px;padding-left: 5px;min-width: 150px;" rowspan="2">
                    <span style="font-size: x-small;">Aircraft: ${aircraft} <br/>
                    Stop(s): ${stops} </span>
                    </td>
                </tr>
                <tr style="height: 105px;">
                    <td style="border-right:1px dotted #E6E6E9;width:220px;vertical-align: top;padding-top: 5px;padding-left: 5px;">
                        <span style="font-size: x-small;">Departing At:</span><br/>
                        <span style="font-size: medium;"> ${departTime} </span><br/>
                        <span style="font-size: x-small;">Terminal: $[if:departTerminal] ${departTerminal} $[if] $[ifnot:departTerminal] Not available $[ifnot]</span>
                    </td>
                    <td style="width:220px;vertical-align: top;padding-top: 5px;padding-left: 5px;">
                        <span style="font-size: x-small;">Arriving At:</span><br/>
                        <span style="font-size: medium;"> ${arriveTime} </span><br/>
                        <span style="font-size: x-small;">Terminal: $[if:arriveTerminal] ${arriveTerminal} $[if] $[ifnot:arriveTerminal] Not available $[ifnot]</span>
                    </td>
                </tr>
            </table>
        </div>
        <div style="clear: both"></div>
    </div>
    <table style="font-size: x-small;width: 500px;margin-top: 15px;">
        <tr style="background-color:#E6E6E9;">
            <td>Passenger Name:</td>
            <td>Class:</td>
        </tr>
        <tr>
            <td>» ${customer} </td>
            <td> ${classOfService} </td>
        </tr>
    </table>
</div>
$[repeat]