<!DOCTYPE html>
<html lang="en">
  <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <title>MyEvent | Malaysian Event Management</title>
    <style>
  @font-face {
  font-family: SourceSansPro;
  src: url(SourceSansPro-Regular.ttf);
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

a {
  color: #0087C3;
  text-decoration: none;
}

body {
  position: relative;
  width: 700px;  
  height: 500px; 
  margin: 0 auto; 
  color: #555555;
  background: #FFFFFF; 
  font-family: Arial, sans-serif; 
  font-size: 14px; 
  font-family: SourceSansPro;
}

header {
  padding: 10px 0;
  margin-bottom: 20px;
  /*border-bottom: 1px solid #AAAAAA;*/
   width: 100%;
}

#logo {
  float: left;
  margin-top: 8px;
}

#logo img {
  height: 70px;
}

#company {
  float: right;
  text-align: right;
}


#details {
  margin-bottom: 50px;
}

#client {
  padding-left: 6px;
  border-left: 6px solid #0087C3;
  float: left;
}

#client .to {
  color: #777777;
}

h2.name {
  font-size: 1.4em;
  font-weight: normal;
  margin: 0;
}

#invoice {
  float: right;
  text-align: right;
}

#invoice h1 {
  color: #0087C3;
  font-size: 1.4em;
  line-height: 1em;
  font-weight: normal;
  margin: 0  0 10px 0;
}

#invoice .date {
  font-size: 1.1em;
  color: #777777;
}

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin-bottom: 20px;
}

table th,
table td {
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 5px;
  padding-bottom: 5px;
  background: #EEEEEE;
  text-align: center;
  border-bottom: 1px solid #FFFFFF;
}

table th {
  white-space: nowrap;        
  font-weight: normal;
}

table td {
  text-align: center;
}

table td h3{
  color: #57B223;
  font-size: 1.2em;
  font-weight: normal;
  margin: 0 0 0.2em 0;
}

table .no {
 /* color: #FFFFFF;
  
  background: #ee7202;*/
  text-align: center;
}

table .desc {
  text-align: left;
}

table .unit {
  background: #DDDDDD;
}

table .qty {
}

table .total {
  background: #EEEEEE;
  color: black;
}

table td.unit,
table td.qty,
table td.total {
  font-size: 1.2em;
}

table tbody tr:last-child td {
  border: none;
}

table tfoot td {
  padding: 10px 20px;
  background: #FFFFFF;
  border-bottom: none;
  font-size: 1.2em;
  white-space: nowrap; 
  border-top: 1px solid #AAAAAA; 
}

table tfoot tr:first-child td {
  border-top: none; 
}

table tfoot tr:last-child td {
  color: #57B223;
  font-size: 1.4em;
  border-top: 1px solid #57B223; 

}

table tfoot tr td:first-child {
  border: none;
}

#thanks{
  font-size: 2em;
  margin-bottom: 50px;
}

#notices{
  padding-left: 6px;
  border-left: 6px solid #0087C3;  
}

#notices .notice {
  font-size: 1.2em;
}

footer {
  color: #777777;
  width: 100%;
  height: 30px;
  position: absolute;
  bottom: 0;
  border-top: 1px solid #AAAAAA;
  padding: 8px 0;
  text-align: center;
}


  
  
  </style>
  </head>
  <body>
    <header class="clearfix">
      <div id="logo">
        <img src="{{ asset('event/assets/imgs/logo/coming-soon.png') }}">

      </div>
      <div id="company">
        <h2 class="name">MyEvent</h2>
        <div>{{$eventname}}</div>
      </div>
    </header>
    <br>
    <main>
    <br>
    <br>
      <div id="thanks"></div>
      <div id="notices">
        <div>Greetings, </div>
        <div class="notice">
            <h2 class="name">Dear {{$name}}</h2>
            <br>
            Thank you for accepting our invitation!!
            <br>
            <br>
            We have prepaired your digital pass and detail for our event at our event page.
            <img src="{{ asset('qrcode/'.$uids.'.png') }}" style="float: right;text-align: right;">
            <br>
            You can also login to our event page using :
            <br><br>
            <br>guest email = {{$uemail}}
            <br>InvCode = {{$invcode}}
            <br><br>
            Please go to this link to view and download your digital passes 
            <br>
            <
            <br>
            Thank you
            <br>
            <a class="waves-effect waves-light purple darken-4 btn" href="{{url('/event/'.$slug.'/'.$uemail.'/')}}">View event page</a>  
        </div>

        
      </div>
    </main>
    <br><br><br><br>
    <footer>
    </footer>
        </div>
    </div>
  </body>
</html>