@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700);

/* ========================= */

@media print {    
    .no-print,
	.no-print * {
        display: none !important;
    }

	.invoice-container {
		border: none !important;
		width: 100% !important;
		margin: 0 !important;
	}

	.inner-container {
		width: 100% !important;
		margin: 0 !important;
	}

	h2 {
		font-weight: 500;
	}
}

*{ margin: 0; padding: 0; border: none; vertical-align: top; }

body{ 
	font: normal 14px/20px 'Lato', Arial, sans-serif; 
	background: #f3f3f3; 
	color: #888;
	-webkit-font-smoothing: antialiased;
}

/* ========================= */

a{ color: #444; text-decoration: none; }
a:hover{ text-decoration: underline; }

strong { font-weight: bold; }

.page-header{
	background: #000;
	color: #fff;
	padding: 20px 0;
}

h1{
	font: 300 42px/1 'Lato', Arial, sans-serif;
	color: #fff;
	letter-spacing: -1px;
	/*text-transform: uppercase;*/
	text-align: center;
	margin: 0 auto;
}

ol, ul{
	padding-bottom: 14px;
}

ul{
	text-align: center;
}

ol li{
	margin-left: 20px;
	padding-left: 8px;
}

.contact-details tr td:first-child{
	vertical-align: middle;
}

.contact-details .email-user{
	width: 51.5%;
	display: inline-block;
	margin-right: 1%;
}

.contact-details .email-domain{
	font: normal 16px/16px 'Lato', Arial, sans-serif;
	display: inline-block;
	margin-top: 14px;
	vertical-align: middle;
}

form {
	max-width: 600px;
	margin: 26px auto !important;
	padding-bottom: 15px;
}

form label{
	font: bold 14px/14px 'Lato', Arial, sans-serif;
	color: #888;
}

form select{
	width: 100%;
	font: normal 16px/19px 'Lato', Arial, sans-serif;
	color: #aaa;
	background: #fff;
	border: 1px solid #ccc;
	-webkit-border-radius: 0;
	-mox-border-radius: 0;
	border-radius: 0;
	margin: 7px 0;
	padding: 6px 26px 5px 16px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

form select:focus{
	color: #444;
	border: 1px solid #999;
}

form input[type="text"]{
	width: 100%;
	font: normal 16px/1 'Lato', Arial, sans-serif; 
	color: #aaa;
	background: #fff;
	border: 1px solid #ccc;
	margin: 7px 0;
	padding: 6px 14px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

form input[type="submit"]{
	font: 300 20px/1 'Lato', Arial, sans-serif; 
	color: #fff;
	/*text-transform: uppercase;*/
	letter-spacing: -1px;
	-webkit-font-smoothing: antialiased;
	background: #444;
	padding: 12px 16px 14px;
	float: right;
	cursor: pointer;
}

form input[type="submit"]:hover,
form input[type="submit"]:focus{
	background: #333;
}

form select,
form input[type="text"]{
	display: block;
	-webkit-appearance: none;
	   -moz-appearance: none;
			appearance: none;
}

form input[type="text"]:focus{
	color: #444;
	border: 1px solid #999;
}

.signature-preview{
	width: 530px; 
	font-size: 12px;
	background: #fff;
	border: 1px solid #ccc;
	margin: 25px auto 15px; 
	padding: 26px; 
	overflow: hidden;

	background-color: #fff; 
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#efefef));
	background-image: -webkit-linear-gradient(top, #fff, #efefef); 
	background-image:    -moz-linear-gradient(top, #fff, #efefef);
	background-image:     -ms-linear-gradient(top, #fff, #efefef);
	background-image:      -o-linear-gradient(top, #fff, #efefef);
}

.client-links li{
	width: 38%;
	text-align: center;
	display: inline-block;
	margin: 5px 0.85%;
}

.client-links li a{
	width: 100%;
	font: 300 20px/1 'Lato', Arial, sans-serif; 
	color: #fff;
	/*text-transform: uppercase;*/
	letter-spacing: -1px;
	-webkit-font-smoothing: antialiased;
	background: #777;
	display: block;
	padding: 7px 0 9px;
	cursor: pointer;
}

.client-links li a:hover{
	text-decoration: none;
	background: #666;
}

:focus{ outline: 0; }

/* Invoice */
/* 
body {
	font-family: "Montserrat", sans-serif;
	font-weight: 400;
	color: #322d28;
  } */
  
  main {
	margin-top: 4rem;
	min-height: calc(100vh - 107px);
  }

  main .inner-container {
	margin: 0 auto;
  }
  
  table.invoice {
	background: #fff;
  }
  tbody, thead {
	  border: none !important;
  }
  table.invoice .num {
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-size: 12px;
  }
  table.invoice tr,
  table.invoice td {
	background: #fff;
	font-weight: 400;
	color: #322d28;
  }
  table.invoice tr.header td img {
	max-width: 300px;
  }
  table.invoice tr.header td h2 {
	text-align: right;
	font-family: "Montserrat", sans-serif;
	font-weight: 400;
	font-size: 2rem;
	color: #1779ba;
  }
  table.invoice tr.intro td:nth-child(2) {
	text-align: right;
  }
  table.invoice tr.details td.id, table.invoice tr.details td.qty,
  table.invoice tr.details th.id,
  table.invoice tr.details th.qty {
	text-align: center;
  }
  table.invoice tr.details td:last-child,
  table.invoice tr.details th:last-child {
	text-align: right;
  }
  table.invoice tr.details table thead,
  table.invoice tr.details table tbody {
	position: relative;
  }
  table.invoice tr.details table thead:after,
  table.invoice tr.details table tbody:after {
	content: "";
	height: 1px;
	position: absolute;
	width: 100%;
	left: 0;
	margin-top: -1px;
	background: #c8c3be;
  }
  table.invoice tr.totals td {
	padding-top: 0;
  }
  table.invoice tr.totals table tr td {
	padding-top: 0;
	padding-bottom: 0;
  }
  table.invoice tr.totals table tr td:nth-child(1) {
	font-weight: 500;
  }
  table.invoice tr.totals table tr td:nth-child(2) {
	text-align: right;
	font-weight: 200;
  }
  table.invoice tr.totals table tr:nth-last-child(2) td {
	padding-bottom: 0.5em;
  }
  table.invoice tr.totals table tr:nth-last-child(2) td:last-child {
	position: relative;
  }
  table.invoice tr.totals table tr:nth-last-child(2) td:last-child:after {
	content: "";
	height: 4px;
	width: 110%;
	border-top: 1px solid #c8c3be;
	position: relative;
	right: 13px;
	bottom: -0.575rem;
	display: block;
  }
  table.invoice tr.totals table tr.total td {
	font-size: 1.2em;
	padding-top: 0.5em;
	font-weight: 700;
  }
  table.invoice tr.totals table tr.total td:last-child {
	font-weight: 700;
  }
  table.invoice td.amt,
  table.invoice td.desc,
  table.invoice td.price,
  table.invoice td.qty {
	  padding: 5px 0;
  }
  
  .additional-info h5 {
	font-size: 0.8em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #1779ba;
  }

.input-group {
	margin-bottom: 0 !important;
}

.padding-left-zero {
    padding-left: 0;
}

.padding-right-zero {
    padding-right: 0;
}

.ref-date {
    margin-top: 20px;
}

.subtotal .num {
    padding-bottom: 10px !important;
}