/* General */

html,body{height:100%;}

h3, h4 {line-height: 30px }

label.file-upload input[type="file"] {
	display: none;
}

form {
	margin: 0;
}

.del {
	text-decoration: line-through;
}

.right {
	float: right;
}

.tooltip {
	display:none;
	position:absolute;
	border:1px solid #333;
	background-color:#161616;
	border-radius:5px;
	padding:10px;
	color:#fff;
	font-size:12px Arial;
}

.container-tools {
	height: calc(100% - 85px);
	padding: 0 20px 0 20px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;

	/*box-sizing: border-box;*/
	/*border-color: red;*/
	/*border-style: dotted;*/
}

/*.relative-container {
	position: relative;
	min-height: calc(100% - 85px);
}*/

#centralColumn {
	min-width: 540px;
	max-width: 940px;
	padding: 5px;
	order: 0;

	/*box-sizing: border-box;
	border-color: blue;
	border-style: dotted;*/
}

#leftColumn {
	min-width: 500px;
	/*max-width: 800px;*/
	max-width: 500px;
	padding: 5px;
	order: 0;

	/*box-sizing: border-box;
	border-color: blue;
	border-style: dotted;*/
}

#rightColumn {
 	min-width: 540px;
	max-width: 800px;
	padding: 5px;
	/*overflow: hidden;*/
	/*background: #FFF;*/
	order: 1;
	flex-grow: 2;

	/*box-sizing: border-box;
	border-color: blue;
	border-style: dotted;*/
}

#otherLeftColumn {
	min-width: 540px;
	max-width: 800px;
	padding: 5px;
	order: 2;

	/*box-sizing: border-box;
	border-color: blue;
	border-style: dotted;*/
}

#main_form {
	position: relative;
	width: 100%;
}

.inline_form select,
.inline_form input {
	margin-bottom: 0;
}

ul.nav li.active {
	font-weight: bold;
	font-size: 125%;
}

ul.nav li.active ul.dropdown-menu li {
	font-size: 80%;
}

.subnavbar {
	padding: 0;
}

.tools-nav {
	list-style: none;
	margin: -5px 0 0 0
	float: left;
}

.tools-nav a {
	display: block;
	color: black;
}

.tools-nav li.active {
	font-weight: bold;
	font-size: 125%;
}

#form {
	height: 100%;
	width: 540px;
	margin-left: auto;
  margin-right: auto;
}

#pdf, #pdf_order, #pdf_invoice, #pdf_credit, #pdf_adm, #pdf_tech, #pdf_prv, #pdf_def {
	position: relative;
	height: calc(100vh - 85px);
	margin-left: auto;
  margin-right: auto;
}

#document {
	display: block;
	background: url("/static/images/loader.gif") no-repeat center center;
}

.loading {
	position: absolute;
	width: 100%;
	height: 100%;
	background: url("/static/images/loader.gif") no-repeat center center;
	background-position: center;
}

.warning {
	color: red;
	font-weight: bold;
	margin-bottom: 10px;
	margin-top: 10px;
}

span.notification {
	background: red;
	border-radius: 0.8em;
	-moz-border-radius: 0.8em;
	-webkit-border-radius: 0.8em;
	color: #ffffff;
	display: inline-block;
	font-weight: normal;
	line-height: 1.6em;
	margin-right: 5px;
	text-align: center;
	width: 1.6em;
}

div.w2p_flash {
	background-color: #fafafa;
	background-image: -webkit-linear-gradient(top,#fff,#f2f2f2);
	background-image: -o-linear-gradient(top,#fff,#f2f2f2);
	background-image: -moz-linear-gradient(90deg, #fff, #f2f2f2);
	background-image: linear-gradient(top,#fff,#f2f2f2);
	background-repeat: repeat-x;
	color: black;
}

.grayed_out {
	color: gray;
}

.right-align {
	text-align: right;
}

.centered {
	text-align: center;
}

/* Generic forms formatting */

div.w2p_fl {
	display: inline-block;
	text-align: right;
	width: 150px;
	margin-right: 10px;
	margin-top: 5px;
	vertical-align: top;
}

div.w2p_fw {
	display: inline-block;
	position: relative;
}

div.w2p_fc {
	display: none;
}

label {
	font-weight: bold;
	display: inline-block;
}

input[type="checkbox"] {
	margin-top: 0;
	margin-right: 5px;
}

textarea {
	display: inline-block;
}

input.requiredinput, .requiredinput {
  border-color: #FFAAAA;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 170, 170, 0.6);
}

input.invalidinput, .invalidinput {
  border-color: #FF0000;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 0, 0, 0.6);
}

.error_wrapper {
	position: absolute;
	top: 22px;
	left: 5px;
}

div.error {
	border-style: none;
	background: rgba(255,255,255,0.75);
	color: red;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
}

/* Staff Management */

#staff_person-active {
	width: 60px;
}

/* Staff Component Formatting */

#person_details_select_form {
	position: relative;
}

#person_details_select_form .w2p_fl {
	display: none;
}

#person_details_select_form button#force_edit_button {
	position: absolute;
	top: 0;
	left: 230px;
}

#project_status_button {
	margin-bottom: 10px;
}

#staff_person_title {
	width: 100px;
}

#staff_person_code__row {
	display: inline-block;
}

#staff_person_code__label {
	display: none;
}

#staff_person_code {
	width: 50px;
}

#staff_person_town__row {
	display: inline-block;
}

#staff_person_town__label {
	display: none;
}

#staff_person_town {
	margin-left: -160px;
	width: 231px;
}

#staff_person_mail_code__row {
	display: inline-block;
}

#staff_person_mail_code__label {
	display: none;
}

#staff_person_mail_code {
	width: 50px;
}

#staff_person_mail_town__row {
	display: inline-block;
}

#staff_person_mail_town__label {
	display: none;
}

#staff_person_mail_town {
	margin-left: -160px;
	width: 231px;
}

#staff_person_tax_office {
	width: 314px;
}

#staff_person_comments {
	width: 300px;
	height: 100px;
}

/* Staff Contract form */

#no_table_type {
	width: 313px;
}

#component_form {
	position: relative;
	/*height: 400px;*/
	height: auto;
	margin-top: 10px;
}

#staff_contract_date {
	width: 120px;
}

#staff_contract_rate__row {
	display: inline-block;
}

#staff_contract_rate {
	width: 51px;
}

#staff_contract_currency__row {
	display: inline-block;
}

#staff_contract_currency__label {
	display: none;
}

#staff_contract_currency {
	margin-left: -160px;
	width: 64px;
}

/* Staff Bill form */

#staff_bill_date {
	width: 120px;
}

#staff_bill_amount__row {
	display: inline-block;
}

#staff_bill_amount {
	width: 51px;
}

#staff_bill_currency__row {
	display: inline-block;
}

#staff_bill_currency__label {
	display: none;
}

#staff_bill_currency {
	margin-left: -160px;
	width: 64px;
}

/* Staff tasks grid */

#taskset {
	margin-bottom: 20px;
}

#taskset_info {
	margin-top: 10px;
}

#task_list,
#taskset {
	background-color: #FAFAFA;
	padding: 10px;
}

#taskset_select_form,
#taskset_cmd_buttons {
	display: inline-block;
}

#taskset_select_form select {
	margin-bottom: 0;
}

.web2py_grid table {  table-layout: fixed; width: 100%} /* workaround for default web2py_bootstrap.css */
#task_grid tbody td { text-align: center }
#task_grid tbody td:last-child { text-align: left }

#task_grid .web2py_counter {
	display: none;
}

.task_invalid {
	background-color: red;
}

.jeditable_grid {
	margin: 0;
	height: 20px;
}

.jeditable_grid_autosubmit select,
.jeditable_grid select,
.jeditable_grid button,
.jeditable_grid input {
	display: inline;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;
	padding: 0;
	margin: 0;
	height: 20px;
}

#staff_task-selectable {
	width: 20px;
}

#staff_task-id {
	width: 30px;
}

#staff_task-day,
#staff_task_day,
.task_day {
	width: 100px;
}

#staff_task-project_id,
#staff_task_project_id {
	width: 110px;
}

.task_project select {
	width: 75px;
}

.task_project {
	width: 100px;
}

#staff_task-count,
#staff_task_count,
.task_count {
	width: 75px;
}

#staff_task-description,
.task_description {
	width: 100%;
}

#task_grid form {
	margin-bottom: 0;
}
#task_grid form .w2p_fl {
	display: none;
}

#task_grid form div {
	display: inline-block;
}



/* Project Management */

div#projects col:first-of-type {
	width: 120px;
}

div#arco-projects col:first-of-type {
	width: 200px;
}

div#arco-projects input.btn {
	display: none;
}

#project-assigned {
	width: 30px;
}

#project-active {
	width: 60px;
}

#project-number {
	width: 70px;
}

#project-customer {
	width: 60%;
}

#project-build_town {
	width: 40%;
}

.project-pending {
	color: lightgray;
	font-weight: 200;
}

.project-ongoing {
	font-weight: 400;
	color: black;
}

.project-warning {
	font-weight: 500;
	color: darkred;
}

.project-alert {
	font-weight: 600;
	color: red;
}

.project_filter_button {
	position: absolute;
	margin-left: 650px;
	top: 102px;
}

table.project-status-events {
	margin-bottom: 50px;
}

table.project-status-events,
table.project-status-events th, 
table.project-status-events td {
	border: none;
}

table.project-status-events tr th:first-child {
    text-align: right;
}

table.project-status-events td:last-child, th:last-child {
    display: none;
}

table#invoices th {
	text-align: center;
	padding-bottom: 10px;
}

tr.invoice_row td {
	text-align: right;
}

tr.payment_row td {
	text-align: right;
}

tr.balance_row td {
	text-align: right;
	padding-bottom: 20px;
}

tr.invoice_row td:first-child,
tr.balance_row td:last-child {
	font-weight: 600;
}

ul.project-warning {
	padding-bottom: 50px;
}

#debug {
	color: lightgray;
	/* display: none; */
}



/* Project data form */

#project_details_select_form {
	position: relative;
}

#project_details_select_form .w2p_fl {
	display: none;
}

#no_table_project {
	width: 400px;
}

#project_details_select_form button#force_edit_button {
	position: absolute;
	top: 0;
	left: 410px;
}

#project_cust_title_id {
	width: 100px;
}

#project_cust_code__row {
	display: inline-block;
}

#project_cust_code__label {
	display: none;
}

#project_cust_code {
	width: 50px;
}

#project_cust_town__row {
	display: inline-block;
}

#project_cust_town__label {
	display: none;
}

#project_cust_town {
	margin-left: -160px;
	width: 231px;
}

#project_cust_country__label {
	display: none;
}

#project_build_code__row {
	display: inline-block;
}

#project_build_code__label {
	display: none;
}

#project_build_code {
	width: 50px;
}

#project_build_town__row {
	display: inline-block;
}

#project_build_town__label {
	display: none;
}

#project_build_town {
	margin-left: -160px;
	width: 231px;
}

#project_build_country__label {
	display: none;
}

#project_company_code__row {
	display: inline-block;
}

#project_company_code__label {
	display: none;
}

#project_company_code {
	width: 50px;
}

#project_company_town__row {
	display: inline-block;
}

#project_company_town__label {
	display: none;
}

#project_company_town {
	margin-left: -160px;
	width: 231px;
}

#project_company_country__label {
	display: none;
}

#project_cadastr_grow_input {
	display: inline;
	margin: 0;
}

.project_duplicate_button {
	margin-top: 30px;
}

/* Project offer */

#new-offer {
	float: right;
}

#project_offer_date {
	width: 140px;
}

#project_offer_scope__row {
	display: inline-block;
}

#project_offer_scope {
	width: 213px;
}

#scope6 + label, #scope7 + label, #scope8 + label, #scope9 + label, #scope10 + label {
	color: grey;
}

#project_offer_supervision__row {
	display: inline-block;
	vertical-align: bottom;
}

#project_offer_supervision__row div.w2p_fl {
	display: none;
}

#project_offer_supervision__row div.w2p_fc {
	display: inline-block;
}

#project_offer_supervision {
	width: 18px;
	margin-left: 7px;
}

#project_offer_value__row {
	display: inline-block;
}

#project_offer_value {
	width: 140px;
}

#project_offer_currency__row {
	display: inline-block;
}

#project_offer_currency__label {
	display: none;
}

#project_offer_currency {
	margin-left: -160px;
	width: 64px;
}

#project_offer_price,
#project_offer_surface_price,
#project_offer_surface_area {
	width: 140px;
}

#project_offer_price__row div.w2p_fc {
	display: inline-block;
}

#project_offer_percentage_price {
	width: 48px;
}

#project_offer_percentage_price__row div.w2p_fc {
	display: inline-block;
}

#project_offer_surface_area__row div.w2p_fc,
#project_offer_surface_price__row div.w2p_fc {
	display: inline-block;
}

#project_offer_stages input[type=text] {
	margin-left: 100px;
	margin-bottom: 0;
	width: 30px;
}

/* Car */

#trips td:nth-of-type(7) {
	text-align: right;
}

div#trips col:nth-of-type(1) {
	width: 100px;
}

div#trips col:nth-of-type(2) {
	width: 80px;
}

div#trips col:nth-of-type(5) {
	width: 80px;
}

div#trips col:nth-of-type(6) {
	width: 120px;
}

div#trips col:nth-of-type(7) {
	width: 80px;
}

#meter td:nth-of-type(2) {
	text-align: right;
}

div#meter col:nth-of-type(1) {
	width: 100px;
}

div#meter col:nth-of-type(2) {
	width: 120px;
}

/* Project Invoice */

#item_list table,
#payment_list table {
	margin: 0;
}

#item_list_summary {
	box-sizing: border-box;
	width: 100%;
	text-align: right;
	padding-right: 5px;
}

#invoice_item_grid div.web2py_counter {
	display: none;
}

#invoice_item_grid th {
	text-align: center;
	padding-top: 0;
	padding-bottom: 0;
}

#invoice_item_grid td {
	text-align: right;
}

#invoice_item_grid td:first-of-type {
	text-align: left;
}

#invoice_item_grid td:nth-of-type(2) {
	text-align: left;
}

#invoice_item_grid td:nth-of-type(4) {
	text-align: left;
}

#project_invoice_item-type {
	width: 70px;
}

.item_type {
	width: 100px;
}

.item_type select {
	width: 62px;
	margin-right: 3px;
}

#project_invoice_item-description {
	width: 200px;
}

#project_invoice_item-quantity {
	width: 50px;
	text-align: right;
}

#project_invoice_item-unit {
	width: 40px;
}

#invoice_payment_grid {
	margin-bottom: 10px;
}

#invoice_payment_grid div.web2py_counter {
	display: none;
}

#total_paid {
	box-sizing: border-box;
	float: right;
	padding-right: 5px;
}

#invoice_payment_grid th {
	text-align: center;
	padding-top: 0;
	padding-bottom: 0;
}

#invoice_payment_grid td {
	text-align: right;
}

#payment_list div.web2py_grid {
	width: 90%;
}

#payments td:nth-of-type(3) {
	text-align: right;
}

#project_payment-date {
	width: 90px;
}

#project_payment-amount {
	width: 120px;
}

#project_payment-origin {
	width: 200px;
}

#project_payment-message {
	width: 100%;
}

div#payments col:nth-of-type(5) {
	width: 120px;
}

div#payments col:nth-of-type(6) {
	width: 120px;
}

div#payments col:nth-of-type(7) {
	width: 300px;
}

div#payments col:nth-of-type(8),
div#payments .row_buttons {
	display: none;
}

#project_payment_date,
#project_payment_amount {
	width: 120px;
}

#project_payment_amount__row,
#project_payment_currency__row {
	display: inline-block;
}

#project_payment_currency__label {
	display: none;
}

#project_payment_currency {
	margin-left: -160px;
	width: 64px;
}

#project_payment_message {
	width: 500px;
}

div#invoice_payment_grid #project_payment_assignment-invoice {
	width: 30px;
}


div#invoice_payment_grid #project_payment_assignment-amount {
	width: 90px;
}

div#invoice_payment_grid col:nth-of-type(3) {
	width: 90px;
}

div#invoice_payment_grid col:nth-of-type(4) {
	width: 100%;
}

#project_invoice-ident {
	width: 100%;
}

#project_invoice-vanhan_invoice,
#project_invoice-vanhan_credit {
	width: 20px;
}

#project_invoice-date_last,
#project_invoice-value_net,
#project_invoice-value_gros,
div#invoices col:nth-of-type(7),
div#invoices col:nth-of-type(8) {
	width: 120px;
}

#no_table_date_order,
#no_table_date_invoice,
#no_table_date_credit {
	width: 85px;
}

#no_table_date_order__row,
#no_table_date_invoice__row,
#no_table_date_credit__row,
#no_table_currency__row,
#no_table_vat__row {
	display: inline-block;
}

#no_table_currency__row,
#no_table_vat__row {
	float: right;
}

#no_table_currency {
	width: 63px;
}

#no_table_vat {
	width: 50px;
	margin-right: 0;
}

#other_invoices div.web2py_counter {
	display: none;
}

div.pdf {
	display: none;
}

#project_description_deadline {
	width: 85px;
}

#project_reception_date_prv,
#project_reception_date_def,
#project_reception_deadline {
	width: 85px;
}

#project_reception_remark {
	width: 450px;
}

#project_reception_remark_grow_input {
	margin-left: 0;
}

/* Templates Management */

#doctemp-code {
	width: 300px;
}
#doctemp-name {
	width: 50%;
}

#doctemp-lang {
	width: 60px;
}
#doctemp-doctype {
	width: 150px;
}

/* Company Paper */

#upload-button {
	text-align: right;
}

/* Invoice.PL */

#doc_invoice_pl_date__row,
#doc_invoice_pl_date_execution__row {
	display: inline-block;
}

#doc_invoice_pl_date,
#doc_invoice_pl_date_execution {
	width: 80px;
}

#doc_invoice_pl_date_execution__label {
	margin-right: 40px;
}

#doc_invoice_pl_date_execution {
	margin-left: -40px;
}

#doc_invoice_pl_cust_short__row,
#doc_invoice_pl_customer__row {
	display: inline-block;
}

#doc_invoice_pln_customer__label {
	display: none;
}

#doc_invoice_pl_cust_short {
	width: 50px;
}

#doc_invoice_pl_customer {
	margin-left: -160px;
	width: 231px;
}

#doc_invoice_pl_code__row {
	display: inline-block;
}

#doc_invoice_pl_code__label {
	display: none;
}

#doc_invoice_pl_code {
	width: 50px;
}

#doc_invoice_pl_town__row {
	display: inline-block;
}

#doc_invoice_pln_town__label {
	display: none;
}

#doc_invoice_pl_town {
	margin-left: -160px;
	width: 231px;
}

#doc_invoice_pl_vat_number__row,
#doc_invoice_pl_currency__row {
	display: inline-block;
}

#doc_invoice_pl_vat_number {
	width: 100px;
}

#doc_invoice_pl_currency {
	width: 80px;
}

#doc_invoice_pl_currency__label {
	margin-right: 45px;
}

#doc_invoice_pl_currency {
	margin-left: -45px;
}

#doc_invoice_pl_description__row,
#doc_invoice_pl_unit__row,
#doc_invoice_pl_price__row,
#doc_invoice_pl_count__row,
#doc_invoice_pl_vat__row {
	display: inline-block;
	vertical-align: top;
}

#doc_invoice_pl_description__row div.w2p_fl,
#doc_invoice_pl_unit__row div.w2p_fl,
#doc_invoice_pl_price__row div.w2p_fl,
#doc_invoice_pl_count__row div.w2p_fl,
#doc_invoice_pl_vat__row div.w2p_fl {
	display: block;
	width: auto;
	text-align: left;
}

#doc_invoice_pl_description__row ul,
#doc_invoice_pl_unit__row ul,
#doc_invoice_pl_price__row ul,
#doc_invoice_pl_count__row ul,
#doc_invoice_pl_vat__row ul {
	margin-bottom: 0;
	margin-left: 5px;
}

#doc_invoice_pl_description__row {
	margin-left: -50px;
}
#doc_invoice_pl_description {
	width: 180px;
}

#doc_invoice_pl_unit,
#doc_invoice_pl_price,
#doc_invoice_pl_count,
#doc_invoice_pl_vat {
	width: 40px;
}

#invoice_list {
	margin-left: -50px;
}

#invoice_list .web2py_console {
	display: none;
}

#doc_invoice_pl-ident,
#doc_invoice_pl-date {
	width: 100px;
}

#doc_invoice_pl-date {
	width: 90px;
}

#doc_invoice_pl-value_gross {
	width:100px;
}

#doc_invoice_pl-customer {
	width: 100%;
}

#invoice_list col:nth-of-type(5),
#invoice_list col:nth-of-type(6) {
	width: 70px;
}

/* Invoice KiteHouse */

#doc_invoice_kitehouse_date__row,
#doc_invoice_kitehouse_vat__row {
	display: inline-block;
}

#doc_invoice_kitehouse_date {
	width: 80px;
}

#doc_invoice_kitehouse_cust_short__row,
#doc_invoice_kitehouse_customer__row {
	display: inline-block;
}

#doc_invoice_kitehousen_customer__label {
	display: none;
}

#doc_invoice_kitehouse_cust_short {
	width: 50px;
}

#doc_invoice_kitehouse_customer {
	margin-left: -160px;
	width: 231px;
}

#doc_invoice_kitehouse_code__row {
	display: inline-block;
}

#doc_invoice_kitehouse_code__label {
	display: none;
}

#doc_invoice_kitehouse_code {
	width: 50px;
}

#doc_invoice_kitehouse_town__row {
	display: inline-block;
}

#doc_invoice_kitehousen_town__label {
	display: none;
}

#doc_invoice_kitehouse_town {
	margin-left: -160px;
	width: 231px;
}

#doc_invoice_kitehouse_vat_number__row,
#doc_invoice_kitehouse_currency__row {
	display: inline-block;
}

#doc_invoice_kitehouse_vat_number {
	width: 100px;
}

#doc_invoice_kitehouse_currency {
	width: 80px;
}

#doc_invoice_kitehouse_currency__label {
	margin-right: 45px;
}

#doc_invoice_kitehouse_currency {
	margin-left: -45px;
}

#doc_invoice_kitehouse_description__row,
#doc_invoice_kitehouse_price__row {
	display: inline-block;
	vertical-align: top;
}

#doc_invoice_kitehouse_description__row div.w2p_fl,
#doc_invoice_kitehouse_price__row div.w2p_fl {
	display: block;
	width: auto;
	text-align: left;
}

#doc_invoice_kitehouse_description__row ul,
#doc_invoice_kitehouse_price__row ul {
	margin-bottom: 0;
	margin-left: 5px;
}

#doc_invoice_kitehouse_description__row {
	margin-left: -50px;
}
#doc_invoice_kitehouse_description {
	width: 400px;
}

#doc_invoice_kitehouse_price,
#doc_invoice_kitehouse_vat {
	width: 50px;
}

#invoice_list {
	margin-left: -50px;
}

#invoice_list .web2py_console {
	display: none;
}

#doc_invoice_kitehouse-ident,
#doc_invoice_kitehouse-date {
	width: 100px;
}

#doc_invoice_kitehouse-date {
	width: 90px;
}

#doc_invoice_kitehouse-value_gross {
	width:100px;
}

#doc_invoice_kitehouse-customer {
	width: 100%;
}

#invoice_list col:nth-of-type(5),
#invoice_list col:nth-of-type(6) {
	width: 70px;
}


/* Invoices */

div#thumbnail {
	float: right;
	border-width: thin;
	border-style: solid;
	border-color: lightgray;
	border-radius: 5px;
}

div#new-invoice {
	display: inline-block;
	float: left;
}

div#invoice-grid {
	margin-top: 10px;
	margin-bottom: 10px;
	position: relative;
}

div#invoice-grid .web2py_counter {
	width: 200px;
	position: absolute;
	top: 0;
	right: 0;
}

div#invoice-grid td {
	max-width: 100px;
	overflow: hidden;
	white-space: nowrap;
}

div#invoice-grid a {
	white-space: nowrap;
}

div#exporters div.w2p_fl {
	display: none;
}

div#exporters .btn {
	width: 150px;
}

#no_table_export__row,
#submit_record__row {
	display: inline-block;
	float: right;
}

#no_table_export {
	width: 120px;
	margin-bottom: 0;
}

#invoice_details-company {
	width: 200px;
}

#invoice_details-origin,
#invoice_details-number {
	width: 15%;
}

#invoice_details-amount,
#invoice_details_amount {
	width: 100px;
}

#invoice_details-currency {
	display: none;
}

#invoice_details_amount__row,
#invoice_details_currency__row {
	display: inline-block;
}

#invoice_details_currency {
	margin-left: -160px;
	width: 80px;
}

#invoice_details_currency__label {
	display: none;
}

#invoice_details-issue_date,
#invoice_details_issue_date,
#invoice_details-paid_date,
#invoice_details_paid_date {
	width: 85px;
}

#invoice_details_paid_date__row,
#invoice_details_payment_method__row {
	display: inline-block;
}

#invoice_details_payment_method {
	margin-left: -160px;
	width: 200px;
}

#invoice_details_payment_method__label {
	display: none;
}

/* Documents */

.category_purchases {}

.category_other {
	color: gray;
}

div#thumbnail {
	float: right;
	border-width: thin;
	border-style: solid;
	border-color: lightgray;
	border-radius: 5px;
}

div#new-document {
	display: inline-block;
	float: left;
}

div#document-grid {
	margin-top: 10px;
	margin-bottom: 10px;
	position: relative;
}

div#document-grid .web2py_counter {
	width: 200px;
	position: absolute;
	top: 0;
	right: 0;
}

div#document-grid td {
	max-width: 100px;
	overflow: hidden;
	white-space: nowrap;
}

div#document-grid a {
	white-space: nowrap;
}

div#exporters div.w2p_fl {
	display: none;
}

div#exporters .btn {
	width: 150px;
}

#no_table_export__row,
#submit_record__row {
	display: inline-block;
	float: right;
}

#no_table_export {
	width: 120px;
	margin-bottom: 0;
}

#doc_scan_details-vanhan {
	width: 20px;
}

#doc_scan_details-company {
	width: 200px;
}

#doc_scan_details-origin,
#doc_scan_details-number {
	width: 15%;
}

#doc_scan_details-amount,
#doc_scan_details_amount {
	width: 100px;
}

#doc_scan_details-currency,
#doc_scan_details-category {
	display: none;
}

#doc_scan_details_amount__row,
#doc_scan_details_currency__row {
	display: inline-block;
}

#doc_scan_details_currency {
	margin-left: -160px;
	width: 80px;
}

#doc_scan_details_currency__label {
	display: none;
}

#doc_scan_details-issue_date,
#doc_scan_details_issue_date,
#doc_scan_details-paid_date,
#doc_scan_details_paid_date {
	width: 85px;
}

#doc_scan_details_paid_date__row,
#doc_scan_details_payment_method__row {
	display: inline-block;
}

#doc_scan_details_payment_method {
	margin-left: -160px;
	width: 200px;
}

#doc_scan_details_payment_method__label {
	display: none;
}

#vanhan_upload_form div#submit_record__row {
	float: left;
}