table, tr, td, div, p {
    /*border:1px solid black;*/
}

h1, h2, h3, h4, h5, h6{
    padding:0;
    margin:0;
}

table, div {
    font-family: dejavusanscondensed, Arial, sans-serif;
}

table {
    width: 100%;
    line-height: normal;
    color: #000;
    font-size: 12px;
    margin-left: 60px; /* Invoice margin */
    margin-right: 60px; /* Invoice margin */
}

table td, table th {
   /* padding:5px;*/
    vertical-align:top;
    line-height: inherit;
}

table tr.top td {
   padding-top: 40px;
}

/* Invoice information */
table tr.top td:nth-child(2){
    text-align:right;
}

div.title div {
    padding: 5px;
    width: 40%;
    float: left;
    margin-left: 60px; /* Invoice margin */
    line-height: 55px;
	margin-bottom: 20px;
}

div.title div.watermark {
    float: right;
    margin-right: 60px; /* Invoice margin */
    line-height: normal;
}

div.title div.watermark h2 {
    font-family: serif;
    text-transform: uppercase;
    font-weight: bold;
    padding: 10px 7px;
    border-radius: 10px;
    opacity: 0.8;
    text-align: center;
    width: 130px;
    float:right;
}

div.title div.watermark h2.green {
    color: green;
    border: 3px solid green;
}

div.title div.watermark h2.red {
    color: red;
    border: 3px solid red;
}

table tr.information td {
    padding-bottom: 20px;
}

/* Customer billing address */
table tr.information td:nth-child(3){
    text-align: right;
}

table tr.heading th:nth-child(1) {
    width: 50%;
}

table tr.heading th:nth-child(1),
table tr.item td:nth-child(1) {
    text-align: left;
}

table tr.heading th {
    font-weight: bold;
    color: #000;
    text-align: center;
}

table tr.heading th.total,
table tr.heading th.total_ex_vat,
table tr.heading th.total_incl_vat,
table tr.item td.total,
table tr.item td.total_ex_vat,
table tr.item td.total_incl_vat {
    text-align: right;
}

table tr.item td {
    border-bottom: 1px solid #eee;
    text-align: center;
}

table tr.spacer td {
    padding-top: 20px;
}

/* Totals */
table tr.total td.border {
    border-top: 1px solid #eee;
    font-weight: bold;
}

small.shipped_via {
    display: none;
}

/* Dynamic class */
table tr.total td.order-total{
    border-top: 1px solid #000;
}

table.notes {
    margin-top: 40px;
}

div.terms {
    margin-top: 40px;
    position: absolute;
    bottom: 40px;
}

table.footer {
    padding-top: 20px;
    padding-bottom: 20px; /* Invoice margin */
    width: 100%;
}

table.footer tr td {
    vertical-align: bottom;
}

table.footer tr td:nth-child(2) {
    text-align: right;
}
/******************  Custom Css **********/

table.wikitable td.border_layout{
	border: 1px solid #000;
	vertical-align: middle;
	padding: 30px 10px 30px 15px !important;
}


 .wikitable{
	margin-bottom:10px;
 }

 .tabela1{
	border: 1px solid #000;
	/*border-collapse: collapse; */
	margin-bottom:0px;
	border-bottom: 0 !important;
   }


 table.tabela1 tr.border-bottom {
    border-bottom: 1px solid #000;
}

table tr.border-bottom th {
    border-bottom: 1px solid #000;
	border-right: 1px solid #000;
	padding:10px 0px;
}
table  tr.border-bottom td {
	border-right: 1px solid #000;
	padding:10px 0px;
}

table tr.border-bottom td:last-child { 
    border: none; 
}

table.tabela2{
	border: 1px solid #000;
	margin-right:0px;
	padding-right:0px;
	float:right;
}
.border-right{
	border-right: 1px solid #000;
}
.border-bottom-0{
	border-bottom: 0 !important;
}
.border-right-0{
	border-right: 0 !important;
}
.border-bottom{
	border-bottom: 1px solid #000;
}
.border-top{
	border-top: 1px solid #000;
}

table.tabela3{
	margin-bottom:10px;
	margin-right:0px;
	padding-right:0px;
	float:right;
}
.custom-font-size{
	margin-top: 40px;
}
.custom-font-size h6{
	font-size:20pt;
	margin-left: 60px;
	
}

table.tabela3 tr td, table.tabela3 tr.sales_receipt_head td {
	padding:5px;
	text-align:center;
	font-weight: bold;
}
table.tabela3 table.invoice-wrap{
		border: 1px solid #000;	
		width:50%;padding:10px 12px;
		margin:2px auto;
}
table.tabela3 table.invoice-wrap td{}


table.tabela2 tr td{
	padding:5px 2px !important;
	text-align:center;
}


table.tabela1 tr th{
color: #000;
}
table.tabela1 tr th,table.tabela1 tr td{
	padding:5px 10px !important;
}
table.tabela2 tr td:nth-child(2) {
	border-right:0 !important;
}
table.tabela1 tr th:nth-child(5)  ,table.tabela1 tr td:nth-child(5) {
	border-right:0px !important;
}
table.bottom-section tr td,
table.bottom-section tr th,
table.tabela1 tr.border-bottom  td{
	padding:5px 10px !important;
}
table.bottom-section-wrap{
	margin-top:0px;padding-top: 0;
}
table.bottom-section{
float:right;border:1px solid #000;border-top:0 !important;margin-right:0px;
padding-right:0px;
}
.text-center{text-align:center;}
table.bottom-section-wrap td.footer-text	{
	text-align:center;padding:15px 10px !important;
}
table.bottom-section-wrap tr.border-b td {
   border-bottom: 1px solid #000;
}
@media screen and (max-width: 630px) {
	table.head.container td {
		display: block;
		text-align: left !important;
	}
	table.head.container td * {
		text-align: left;
	}
}