a, a:hover {
	color: #2e7eb8;
	
}

body {
	/*padding-top: 20px;*/
	padding-bottom: 40px;
}

fieldset .span1 {
	text-align: left;
}

fieldset {
	padding-top: 10px;
}


fieldset span.right {
	float: right;
}

.input-prepend.inline {
	display: inline;
}


.nav-tabs a {
	cursor: pointer;
}

.tabcontent {
	display: none;
}

.tabcontent.active {
	display: block;
}

.row.fields div, .row.fields label  {
	height: 40px;
	line-height: 33px;
}

.icon-red {
	background-image: url("/img/glyphicons-halflings-red.png");
}


#menucontainer {
	position: relative;
	min-height: 95px;
}

#brandtitle {
	position: absolute;
	top: 5px;
	left: 155px;
	color: #fff;
}

#menubar {
	margin-top: 47px;
}

#usermessage {
	line-height: 21px;
	position: absolute;
	text-align: right;
	right: 0px;
}

#testwarning {
	line-height: 20px;
	/*margin-right: 50px;*/
	position: absolute;
	right: 500px;
	top: 21px;
	padding-left: 10px;
	padding-right: 10px;
	background: red;
	color: white;
}

#maincontent {
	padding-top: 110px;
}


#popup {
	position: fixed;
	top: 20px;
	right: 20px;
	padding: 10px;
	border-radius: 5px;
	background: #EEEEEE;
	z-index: 2000;
	display: none;
}




/*** Datatables ***/
.overview_table .col_actions { 
	width: 85px;
}


/*** Customers ***/

#customerform div.span3 {
	height: 40px;
}


#affiliateinfo.hide {
	display: none;
}

/*** Settings ***/

#settingsform #paymentmethods .row div {
	height: 40px;
}

#settingsform .glaccountwrap {
	display: none;
}

#settingsform .glaccountwrap.show {
	display: inline;
}



#settingsform .checkbox {
	float: left;
	width: 20px;
}

#settingsform .plus {
	display: none;
}

#settingsform #methodheader div {
	font-weight: bold;
}

#settingsform #newmethod .plus {
	display: inline;
}

#settingsform #newmethod .min {
	display: none;	
}

#settingsform #newmethod input {
	visibility: hidden;
}

#settingsform #turnovergroup_new .min {
	display: none;
}

#settingsform #turnovergroup_new .plus {
	display: block;
}

#settingsform #turnovergroup_new .fields {
	visibility: hidden;
}

#settingsform #cashreceipts input, #settingsform #cashreceipts select, #settingsform #extrafields input {
	width: 100%;
}

#settingsform #extrafields input.factor { 
	width: 45px;
}

#settingsform #extrafield_new .min {
	display: none;
}

#settingsform #extrafield_new .plus {
	display: block;
}

#settingsform #extrafield_new .fields {
	visibility: hidden;
}

/*** Financialstatements ***/

#allfinal {
	position: absolute;
	margin-left: 300px;
	/*margin-top: 38px;*/ 
}

#tabcontent-dagstaten #allfinal { 
	margin-top: 0px;
}


#statement_data {
	display: none;
}

input.noedit {
	background-color: #EEEEEE;
}

#affiliate_list_wrap {
	display: none;
}

#statementnavigation {
	position: fixed;
	right: 50%;
	margin-right: -470px;
	z-index: 500;
}

@media (min-width: 1200px) {
	#statementnavigation {
		margin-right: -585px;
	}	
}

@media (max-width: 979px) and (min-width: 768px) {
	#statementnavigation {
		margin-right: -362px;
	}
}

@media (max-width: 767px) {
	#statementnavigation {
		margin-right: 0px;
		right: 20px;
		width: 167px;
    	text-align: right;
    	
    	top: 190px;
	}
}


#statementnavigation a {
	width: 100px;
}

#date_list label {
	float: left;
}

#date_list .checkbox {
	float: left;
	margin-top: 0px;
}

#date_closed {
	position: relative;
	display: none;
}

#date_closed #date_closed_check {
	position: absolute;
	bottom: -3px;	
	left: 175px;
}

#date_closed_dates .closed_date {
	text-decoration: line-through;
		
}

#date_label {
	float: left;
	width: 175px;
}



#cashreceipts select {
	width: 140px;
}

#cashreceipts .plus {
	display: none;
}

#cashreceipt_new .fields {
	visibility: hidden;
	height: 30px;
	overflow: hidden;
}


#cashreceipt_new .min {
	display: none;
}

#cashreceipt_new .plus {
	display: block;
}

#debtors .plus {
	display: none;
}

#debtor_new .min {
	display: none;
}

#debtor_new .plus {
	display: block;
}

#debtor_new .fields {
	visibility: hidden;
}

#debtorpopup {
	width: 200px;
	max-height: 400px;
	overflow: hidden;
	
	border: 1px solid #ccc;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
	border-radius: 4px;
	
	position: absolute;
	z-index: 500;
	background: white;
	
	display: none;
}

#debtorpopup ul {
	margin: 0px;
}

#debtorpopup li {
	list-style: none;	
	padding: 0px 5px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: pointer;
}

#debtorpopup li.selected, #debtorpopup li:hover {
	background-color: #eee;
}


#deposits .plus, #vault_deposits .plus {
	display: none;
}

#deposit_new .min, #vault_deposit_new .min {
	display: none;
}

#deposit_new .plus, #vault_deposit_new .plus {
	display: block;
}

#deposit_new .fields, #vault_deposit_new .fields {
	visibility: hidden;
}

#deposits .error_popup, #vault_deposits .error_popup, #cashreceipts .error_popup {
	position: absolute;
	
	/*border: 1px solid red;*/
	border-radius: 5px;
	padding: 5px 15px;;	
	background: red;
	color: white;
	
	margin-top: 30px;
	margin-left: 35px;
	display: none;
	z-index: 10;
}

#cashreceipts .error_popup {
	margin-top: -5px;
	margin-left: 0px;
}

#productivity_wrap, #avgspending_wrap {
	display: none;
}

#productivity_wrap.show, #avgspending_wrap.show {
	display: block;
}

#attachments .attachmentwrap {
	border: 1px solid #EEEEEE; 
	border-radius: 5px;
}

#attachments .attachmentlist { 
	display: none;
	margin-top: 10px;
}

#attachments .attachmentlist.show {
	display: table;
}

#attachments .attachmentlist .attachmentitem {
	width: 169px;
	height: 230px;
	
}

#attachments .attachmentlist .infolabel {
	padding-left: 20px;
	text-align: left;
}


#attachments .attachmentlist div {
	text-align: center;
	margin-bottom: 15px;
	display: table-row;
	
}
#attachments div .preview {
	display: block;
	width: 170px;
	height: 102px;
	text-align: center;
	
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

#attachments div .preview img {
	padding: 1px;
	/*border: 1px solid;*/
	max-height: 100px;
}

#attachments .active .preview {
	background: green;
} 

#attachments .plus {
	display: none;
}

#attachment_new .min {
	display: none;
}

#attachment_new .plus {
	display: block;
}

#attachment_new .fields {
	visibility: hidden;
}

#attachments .attachmenttypeheader .message {
	float: right;
	color: red;
	margin-right: 20px;
	display: none;	
}
#attachments .attachmenttypeheader {
	cursor: pointer;
	background: #EEEEEE;
	padding-top: 10px;
	padding-bottom: 10px;
	/*margin-bottom: 5px;*/	
	border-radius: 5px;
	text-align: left;
}

#attachments .attachmenttypeheader i {
	display: none;
	float: left;
	margin-left: 15px;
	margin-right: 15px;
	margin-top: -5px;
	width: 30px;
	height: 30px;
}

#attachments .attachmenttypeheader i.openicon {
	background-image: url(/img/open.png);
}

#attachments .attachmenttypeheader i.closedicon {
	background-image: url(/img/closed.png);
}

#attachments .attachmenttypeheader i.show {
	display: block;
	
}

.attachmenttypecontent {
	display: none;
}

.attachmenttypecontent.show {
	display: block;	
}

#attachments .checkbox {
	display: none;
}

#attachments #addattachments_email_temp {
	display: none;
}

#attachments #addattachments_manual div {
	text-align: left;
}

#attachments #addattachments_manual .attachmentlist .row .span2 {
	margin-left: 50px;
}

.attachmentitem .filename, .attachmentitem .description {
	display: block;
	overflow: hidden;
	white-space: nowrap;
}

.attachmentitem .attachmentoptions {
	/*display: none;*/
	width: 169px;
	text-align: center;
	/*position: absolute;*/
	display: block;
	background: white;
	border: 1px solid gray;
	border-radius: 5px; 
	margin-top: 10px;
}

.attachmentitem:hover .attachmentoptions {
	display: block;
}

.attachmentitem:hover {
	background: #EEEEEE;
}

#curattachments .ignoreattachment {
	display: none;
}

#addattachments_email .ignoreattachment {
	display: inline;	
}

.attachmentoptions span {
	color: #0088CC;
	text-decoration: none;
	cursor: pointer;
}

.attachmentoptions span:hover {
	color: #005580;
	text-decoration: underline;
	outline: 0px none currentColor;
}

#note {
		
}
  
/*** Users ***/

#affiliateslist label {
	display: inline;
}

#affiliateslist input {
	float: left;
	margin-right: 5px;
	margin-top: 9px;
}

#affiliateslist div {
	height: auto;
}

#affiliateslist .rightswrap {
	width: 350px;
}
#affiliateslist .btn {
	float: right;	
}

.vault {
	display: none;
}

/*** Reports ***/

table.reporttable td.amount, table.reporttable th.amount {
	text-align: right;
}

/*** Invoices ***/

#invoicelines td {
	box-sizing: border-box;
}

#invoicelines button {
	line-height: 10px;
	padding: 3px 5px;
}

#invoicelines td input, #invoicelines td select  {
	box-sizing: border-box;
	width: 100%;
	height: 30px;
}

#invoicelines .invoiceline-amount {
	padding-right: 35px;
}


.attachmentitem .btn {
  width: auto !important;
}

.apifilters .filter label {
	width: 80px;
	display: inline-block;
	
}
.apifilters .filter {
	margin-bottom: 10px;
}


/*** Only for big screens ***/

@media (min-width: 1200px) {
	.span2 input {
		width: 140px;
	}
	
	.input-prepend input {
		width: 176px;
	}
	
	.span2 .input-prepend input {
		width: 126px;
	}
	
	#cashreceipts .description {
		width: 178px;
	}
	
	#cashreceipts .pricefield {
		width: 126px;
	}
	
	#cash_details input { 
		width: 206px;
	}
	
	.span1 input, .span1 select {
		width: 70px;
	}
	
	.span1 select {
		width: 80px;
	}	
	
}

/*** Very small screens ***/
@media (max-width: 767px) {
	#testwarning {
		right: 10px;
		top: 50px;
	}
	
	#maincontent { 
		padding-top: 0px;
	}
	
	#usermessage {
		position: static;
	}
	
	
}