#content, #footer, #header
{
	width: 95%;
	min-width: 1100px;
	max-width: 1400px;
}

#header
{
	margin: 20px auto 0;
	position: relative;
	overflow: hidden;
}

#menu
{
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	width: auto;
}

#logo
{
	height: 30px;
	float: left;
}

#form_accounting_new
{
	margin: 0;
	padding: 0 5px;
}

#form_accounting_new table tr th:nth-child(2), #form_accounting_new table tr th:nth-child(3)
{
	text-align: right;
}

#form_accounting_new table tr td:nth-child(2) input, #form_accounting_new table tr td:nth-child(3) input
{
	width: 90px;
}

#form_accounting_new table tr td:nth-child(2), #form_accounting_new table tr td:nth-child(3)
{
	text-align: right;
	padding: 0;
	width: 100px;
	vertical-align: middle;
}

#form_accounting_new table tr td:nth-child(4)
{
	width: 25px;
}

#form_accounting_new table tr:not(:nth-child(2)):not(:nth-child(3)) td:nth-child(4)
{
	width: 25px;
	background-image: url('//static.kottnet.net/icons/delete.png');
	background-repeat: no-repeat;
	background-position: 10px center;
	cursor: pointer;
}

#form_accounting_new table tr td
{
	padding: 3px;
}

#form_accounting_new table tr td:nth-child(1) select
{
	margin: 0;
}

#form_invoice #services_table tr td
{
	vertical-align: middle;
}

#form_invoice #services_table tr td
{
	padding: 0;
}

/* specifikation */
#form_invoice #services_table tr th:nth-child(2)
{
	padding-left: 10px;
}

/* start- och slutdatum */
#form_invoice #services_table tr th:nth-child(3), #form_invoice #services_table tr th:nth-child(4)
{
	width: 120px;
	padding-left: 10px;
}

/* antal */
#form_invoice #services_table tr th:nth-child(5)
{
	width: 80px;
	text-align: right;
}

/* enhet */
#form_invoice #services_table tr th:nth-child(6)
{
	width: 100px;
	text-align: right;
}

/* à pris */
#form_invoice #services_table tr th:nth-child(7)
{
	width: 80px;
	text-align: right;
}

/* summa */
#form_invoice #services_table tr th:nth-child(8)
{
	width: 100px;
	text-align: right;
}

#form_invoice #services_table tr td:nth-child(8)
{
	padding-right: 5px;
	cursor: move;
}

#form_invoice #services_table tr td input, #form_invoice #services_table tr td select
{
	margin-left: 5px;
	width: calc(100% - 5px);
}

#form_accounting_new table tr.faulty
{
	background: #FFC4C4;
}

#form_accounting_new input[type='number'], #form_invoice #services_table tr td input, #form_credit #credit_table input
{
	background: transparent;
	border: none;
	outline: none;
	box-shadow: none;
	border-bottom: 1px dashed #666666;
	text-align: right;
}

#form_invoice #services_table tr td input[type='text'], #form_invoice #services_table tr td input[type='date']
{
	text-align: left;
}

#form_accounting_new input[type='submit']
{
	float: left;
}

form
{
	margin-top: -15px;
}

form label
{
	margin-top: 20px;
	display: block;
}

form input[type='submit']
{
	margin-top: 20px;
	float: left;
}

.error_inline, .success_inline
{
	margin-top: 20px;
}

.form_quantity, .form_unit_price
{
	text-align: right;
	width: 20px;
}

#form_invoice #services_table tr td.remove_service
{
	background-image: url('//static.kottnet.net/icons/delete.png');
	background-repeat: no-repeat;
	background-position: center center;
	cursor: pointer;
	width: 16px;
}

.count_sum
{
	padding-right: 10px;
	font-size: 11pt;
}

#form_invoice #add_service
{
	float: left;
	margin: 20px 5px 0 0;
}

.accounting_account
{
	width: calc(100% - 5px);
	margin: 0;
	padding-right: 7px;
	box-sizing: border-box;
}

.information_table tr td:first-of-type
{
	min-width: 120px;
	display: inline-block;
}

.customer_address, .customer_email, .customer_phone
{
	overflow: hidden;
	margin-top: 5px;
}

.customer_email input[type='checkbox'] + label
{
	margin-top: 2px;
	font-size: 10pt;
}

.removeMeta
{
	background-image: url('//static.kottnet.net/icons/delete.png');
	background-repeat: no-repeat;
	background-position: center center;
	height: 30px;
	cursor: pointer;
	width: 5%;
	padding-right: 0;
}

.paging
{
	margin: 15px 0;
}

#keyword
{
	text-align: center;
	font-size: 15pt;
	line-height: 15px;
	height: auto;
	padding: 5px 0;
}

.figure
{
	font-family: 'Ubuntu Mono';
	color: #666666;
	white-space: nowrap;
}

td.figure
{
	text-align: right;
	font-size: 13pt;
}

.note, .voucher, .credit_overview, .fiscalyear
{
	border: 1px solid #eeeeee;
	margin-top: 15px;
}

.note.note_pinned
{
	border: 1px solid #999999;
	color: black;
}

.note_header, .voucher .voucher_header, .credit_overview .credit_overview_header, .fiscalyear .fiscalyear_header
{
	padding: 5px;
	background: #eeeeee;
	position: relative;
}

.note_pinned .note_header
{
	background: #dddddd;
}

.note_header > span:first-of-type, .fiscalyear_header span:first-of-type
{
	font-weight: 700;
}

.note_header > span:last-of-type, .fiscalyear_header span:last-of-type
{
	position: absolute;
	top: 0;
	right: 0;
}

.note_header > span:last-of-type button, .note_header a, .fiscalyear_header span:last-of-type a
{
	line-height: 25px;
}

.note_content, .voucher .voucher_content, .credit_overview .credit_overview_content, .fiscalyear .fiscalyear_content
{
	padding: 5px;
}

.note_cdata_old, .note_cdata_old a
{
	color: red;
	text-decoration: line-through;
}

.note_cdata_old a:hover
{
	text-decoration: underline;
}

.note_cdata_new, .note_cdata_new a
{
	color: green;
}

.note_cdata_old + .note_cdata_new
{
	margin-left: 5px;
}

#note_button
{
	display: none;
}

#credit_table tr td:nth-child(6), #credit_table tr td:nth-child(6)
{
	padding: 0;
}

#form_credit #credit_table tr td:last-of-type, #form_credit tr td:nth-child(5)
{
	padding: 0;
	padding-left: 15px;
}

#form_credit tr th:nth-child(5)
{
	padding-left: 15px;
}

#form_credit #credit_table tr th:not(:first-of-type):not(:nth-child(5))
{
	width: 110px;
	text-align: right;
}

#form_credit #credit_table tr th:nth-child(2)
{
	width: 1px;
}

.voucher .voucher_header, .credit_overview .credit_overview_header
{
	text-transform: uppercase;
}

.voucher .voucher_remove
{
	background-image: url('//static.kottnet.net/icons/delete.png');
	background-repeat: no-repeat;
	background-position: center center;
	width: 16px;
	height: 16px;
	cursor: pointer;
	float: right;
}

table tr.search_result_selected td
{
	background: #f4f4f4;
	cursor: pointer;
	font-weight: bold;
}

.form_bulk
{
	margin: 0;
	padding: 0;
	margin-left: 3px;
	display: block;
	float: right;
}

.form_bulk input[type='submit']
{
	float: none;
	margin: 0;
	display: block;
}

#customer_details_tabs
{
	overflow: hidden;
	margin-bottom: 0;
	border-bottom: 3px solid #6489A4;
	padding-left: 0;
}

#customer_details_tabs li
{
	display: block;
	float: left;
	color: #000000;
	height: 20px;
	cursor: pointer;
	padding: 5px;
	margin-left: 10px;
	-moz-outline-style: none;
	padding-left: 10px;
	padding-right: 10px;
}

#customer_details_tabs li:hover, #customer_details_tabs li:active, #customer_details_tabs li.active
{
	background: #6489A4;
	color: #ffffff;
	text-decoration: none;
	-moz-outline-style: none;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	-moz-text-shadow: 0 1px 0 rgba(0,0,0,0.4);
	text-shadow: 0 1px 0 rgba(0,0,0,0.4);
}

.only_print
{
	display: none;
}
