
html, body, * {
  font-weight: normal;
  font-size: 12px;
  line-height: 16px;
  margin: 0px;
  padding: 0px;
  color: #3C3C3C;
}
p {
  line-height: 16px;
  margin-bottom: 0.8em;
}

.page {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  position: relative;
  background: white;
  display: block;
  margin: 0 auto;
  padding: 1cm;
  margin-bottom: 0.5cm;
  -webkit-box-shadow: 0 0 0.2cm rgba(0,0,0,0.2);
          box-shadow: 0 0 0.2cm rgba(0,0,0,0.2);
}
.page[size="A4"] {  
  width: 21cm;
  height: 29cm; 
}
.page[size="A4"][layout="landscape"] {
  width: 29.7cm;
  height: 21cm;  
}

.pagecontent {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background: white;
  display: block;
  margin: 0 auto;
  padding: 1cm;
  margin-bottom: 0.5cm;
  -webkit-box-shadow: 0 0 0.2cm rgba(0,0,0,0.2);
          box-shadow: 0 0 0.2cm rgba(0,0,0,0.2);
  width: 21cm;
  height: auto;
}

.pagecontent {
    page-break-after: always;
}

.page img {
  max-width:60%;
  display: inline-block;
  margin: 0px auto;
}
.page .logoholder {
  width: 100%;
  display: block;
  text-align: right;
  margin-bottom: 55px;
}
.page .address1 {
  margin: 10px 0 50px;
}

@media print {
  body, .page, .pagecontent {
    margin: 0;
    padding: 0.5cm;
    -webkit-box-shadow: none;
            box-shadow: none;
  }
}

.invoice footer {
  position: absolute;
  width: calc(100% - 2cm);
  bottom: 50px;
  border-top: 1px solid #3C3C3C;
  padding-top: 35px;
}

.invoice .Row .Cell:nth-of-type(1) {
    width: 40%;
  }
  
.invoice .Row .Cell:nth-of-type(2) {
    width: 20%;
  }
.invoice .Row .Cell:nth-of-type(3) {
    width: 20%;
  }
  
.invoice .Row .Cell:nth-of-type(4) {
    width: 20%;
}
.invoicedetails {
  margin-top: 50px;
  margin-bottom: 50px;
  font-size: 14px;
  line-height: 18px;
}
.invoicedetails .Cell {
  border-bottom: 1px #9f9f9f solid;
  font-size: 14px;
  line-height: 18px;
}
.Cell.empty {
  border-bottom: none;
}
.invoicedetails .Row:nth-of-type(odd) .Cell {
  background:#fff;
}
.invoicedetails .Heading .Cell {
  background-color: #9f9f9f;
  color: #fff;
  font-weight: bold;
}

.col-1-2 {
	width: 47.7%;
	margin: 1%;
	position: relative;
	display: inline-block;
	vertical-align: top;
}