<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
    <head>
        <meta http-equiv='Content-Type' content='text/html; charset=UTF-8' />
        <link href='https://fonts.googleapis.com/css?family=Lato:300,400,700' rel='stylesheet'>
        <style TYPE='text/css'>
            body {
                background: #f2f2f2 none repeat scroll 0 0;
                font-family: 'Lato', sans-serif;
                font-weight: 300;
            }
        </style>
    </head>
    <body>
        <table border='0' cellpadding='0' cellspacing='0' height='100%' width='100%' style='max-width: 700px; margin: 0px auto; background:#ffffff;' id='bodyTable'>
           <!-- <tr><td style='padding: 20px;'><h2 style='color: #072d6d;font-weight: 400;text-align: center; font-size:25px;margin: 15px 0;'>Contact Info</h2></td></tr>-->
             <tr><td style="text-align: center; padding-top:15px;"><img style="width: 100px; height: auto; margin: 30px 0 20px 0;" src="{{ asset('img/frontend/bgp-logo.png') }}" alt="BGP Oman"/></td></tr>
            <tr>
                <td>
                    <table style='width: 100%; max-width:500px; margin:0 auto;'>
                        <tr><td colspan='2' style='padding:0 10px;'><h1 style='color:#3b5171; font-weight:400; font-size:17px; margin-top: 20px;'>Hello {{$name}},</h1></td></tr>
                        <tr><td colspan='2' style='padding:0 10px;'>
                            <p style='color:#3b5171; font-size:15px;'>Your request to access the {{$docname}} on {{$title}} has been rejected by the administrator.</p>
                            <p style='color:#3b5171; font-size:15px;'>Please contact the administrator.</p>
                        </td></tr>
                        @if(isset($note) && $note != '')
                        <tr>
                            <td colspan='2' style='padding:0 10px;'>
                                <p style='color:#3b5171; font-size:15px;'>Reason: {{$note}} </p>
                            </td>
                        </tr>
                        @endif
                        <tr><td colspan='2' style='padding:0 10px;'>
                            <p style='color:#3b5171; font-size:14px; line-height: 24px; margin-top: 15px; margin-bottom: 15px;'>Thank You<br/>
                            <b>{{TITLE}}</b></p>
                        </td></tr>
                    </table>
                </td>
            </tr>
            <tr><td style="text-align:center; padding:20px 30px;"><p style="font-size:12px;">&copy;  Copyright {{TITLE}}. All rights reserved.</p></td></tr>


        </table>
    </body>
</html>
