.fix {
    clear: both;
    visibility: hidden;
    height: 0;
    width: 0;
    font-size: 0;
    line-height: 0;
}

/* Globals */
body {
    background: #FFF;
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    line-height: 1.5;
    margin: 0 auto;
    width: 95%;
    -webkit-print-color-adjust: exact;
}

#logo {
	float: left;
}

.logo {
	max-height: 200px;
	max-width: 200px;
	height: auto;
}

strong {
    font-weight: bold;
}

#wrapper {
    padding: 0 0;
}

h1 {
    font-size: 24px;
    font-weight: bold;
    padding: 0 0 15px;
}

h2 {
    font-size: 14px;
    font-weight: bold;
    padding: 0 0;
}

h3 {
    font-size: 12px;
    font-weight: bold;
    text-align: left;
}

/* Tables */
table {
    border-collapse: collapse;
    margin: 0 0 20px;
    text-align: left;
    width: 100%;
}

table.totals td {
    border: 1px solid #FFF;
}

table td, table th {
    padding: 4px;
    vertical-align: top;
}

table.item-table th {
    text-align: center;
}

table.item-table th.item-title {
    text-align: left;
}

.table-without-margin {
    margin: 0 0;
}

.table-without-margin td {
    padding: 0 0;
}

table th {
    background-color: #F1F1F1;
    font-weight: bold;
}

table td.center {
    text-align: center;
}

table td.number {
    text-align: right;
}

table tfoot .total td {
    background-color: #F1F1F1;
    font-weight: bold;
}

table tfoot td.empty {
    background-color: #FFF;
    border: none;
}

table tfoot td.sum-title {
    border: none;
    background-color: #FFF;
    text-align: right;
}

table tfoot .total td.sum-title {
    text-transform: uppercase;
}

#header table td {
    border: 0;
    padding: 0 0 2px;
}

/* Reports */
#company {
    float: right;
}

#company p.name {
    font-weight: bold;
}

#signature {
    float: right;
    padding: 50px 0 0;
    text-align: center;
}

/* Invoice */
#companies {
    margin: 30px 0 0;
}

#companies .seller {
    float: left;
    margin: 0 5% 0 0;
    width: 45%;
}

#companies .buyer {
    float: right;
    width: 50%;
}

#companies .title {
    font-size: 13px;
    font-weight: bold;
}


#signatures {
    margin: 75px 0 0;
    border-collapse: collapse;
    border: 0;
}

#signatures td {
    border-collapse: collapse;
    border: 0;
    text-align: center;
}

#footer {
    margin: 10px 0 0;
    border-collapse: collapse;
    border: 0;
}

#footer td {
    border-collapse: collapse;
    border: 0;
    text-align: left;
	line-height: 1.5;
}


.layout3 #footer {
    margin: 0 0;
}

.default #footer td {
    border-top: 1px solid #EEE;
    padding: 10px 0;
}
