
page[size="A4"] {
  background: white;
  width: 21cm;
  height: 29.7cm;
  display: block;
  margin: 0 auto;
  margin-bottom: 0mm;
  box-shadow: 0 0 1mm rgba(0,0,0,0.5);
  border: 4mm solid #dddddd;
}
footer {
  color: #770077;
  width: 100%;
  height: 10px;
  position: relative;
  bottom: 100;
  border-top: 0px solid #AAAAAA;
  padding-top: 10px ;
  text-align: center;
}
@media print {
	
  body, page[size="A4"] {
    margin: 0;
    box-shadow: 0;
	page-break-before: always;
    margin-top: .25 in;
  }
footer {
    position: fixed;
    top: 25cm;
	
  }
}
