.stamp{font-family:"Courier New",monospace;font-weight:bold;font-size:24px;color:#777;border:3px solid #777;padding:10px;border-radius:10px;text-shadow:1px 1px 1px rgba(0,0,0,.5);box-shadow:2px 2px 5px rgba(0,0,0,.3)}.stamp.rotate{position:absolute;transform:rotate(20deg)}.stamp.rotate.bottom{bottom:20px;left:-20px}.stamp.paid{color:#77b632;border-color:#77b632}.stamp.overdue{color:#ea5340;border-color:#ea5340}.paid-stamp,.overdue-stamp{position:absolute;bottom:0;left:-20px;transform:rotate(22deg)}.clearfix:after{content:"";display:table;clear:both}a{color:#375bc8;text-decoration:underline}body{position:relative;width:21cm;height:29.7cm;margin:0 auto;color:#3a3a3a;background:#fff;font-family:sans-serif;font-size:14px}header{padding:10px 0;margin-bottom:30px}#logo{text-align:right;margin-bottom:30px}#invoice-logo{max-height:125px;text-align:right}.invoice-title{color:#375bc8;font-size:2em;line-height:1.4em;font-weight:normal;margin:20px 0}#company{float:right;text-align:right;width:40%}#client{float:left;width:55%;margin-right:5%}.invoice-details{text-align:right}.invoice-details table{border-collapse:collapse;border-spacing:0;text-align:right;width:40%;margin:0 0 0 auto;font-size:12px}.invoice-details table td{width:auto;margin:0;padding:0 0 .5em 0}.invoice-details table.large{width:100%}table.item-table{width:100%;border-collapse:collapse;border-spacing:0;margin-bottom:20px;font-size:12px}table.item-table tr:nth-child(2n-1) td{background:#f5f5f5}table.item-table th{padding:10px 15px;border-bottom:1px solid rgb(96.25,96.25,96.25);white-space:nowrap;text-align:left}table.item-table th.text-right{text-align:right}table.item-table td{padding:10px 15px}table.item-table .invoice-sums{text-align:right}.invoice-terms{color:rgb(134.5,134.5,134.5);width:100%;border-top:2px solid rgb(134.5,134.5,134.5);padding:8px 0}@page{footer:html_footer}footer{text-align:center;font-size:12px}.text-right{text-align:right}.text-red{color:#ea5340}.text-green{color:#77b632}