@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: 21cm;  
  height: inherit; 
  margin: 0 auto; 
  color: #555555;
  background: #FFFFFF; 
  font-family: Arial, sans-serif; 
  font-size: 14px; 
  
	
	border:1px  solid #2E2A2A;
	padding: 10px;
	margin-top: 10px;
}

header {
  padding: 1px 0;
  margin-bottom: 10px;
 
}

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

#logo img {
  height: 70px;
}

#company {
	padding-top: 20px;
  
  text-align: center;
}




#address {
	
  margin-bottom: 10px;
	
	 font-size: 1.2em;
	
	text-align: center;
	
	
}




#details {
  margin-bottom: 20px;
}

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



#clients {
 
  font-size: 1.1em;

}






#client .to {
  color: #777777;
}

h2.name {
	
	
  font-size: 3.4em;
  font-weight: strong;
  margin: 0;
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif"
}

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

#invoice h1 {
  color: #0087C3;
  font-size: 2.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: 20px;
  background: #EEEEEE;
  text-align: center;
  border-bottom: 1px solid #454445;
	
	 border-top: 1px solid #454445;
	

}

table th {
  white-space: nowrap;        
  font-weight: strong;
	
	background-color: #CD7FF5;
	 font-size: 1.6em;
	
	
	
}

table td {
  text-align: right;
}

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

table .no {
  color: #030303;
  font-size: 1.6em;
	
 
	
}

table .desc {
  text-align: left;
	 border: 1px solid #020202;
	
	
}

table .unit {
	
	 border: 1px solid #020202;
  
}

table .qty {
	
	 border: 1px solid #020202;
	
	
}

table .total {

  color: #030303;
	
	
	 border: 1px solid #020202;
	
	
	
}

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:  1px solid #AAAAAA;
  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: 3em;
  margin-bottom: 90px;
}

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

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


