html * {
	margin: 0;
}
html {
	
}
html, body {
  height: 100%;
  margin: 0 0 1px;
  padding: 0;
}


body {
	background: #FFF url(../_images/_structure/header_bg.jpg) left -50px repeat-x;
	min-height: 100%;
	min-width: 1450px;
}
body.altdb {
	background: #FFF url(../_images/_structure/header_bg_altdb.jpg) left -50px repeat-x;
}
h1 {

}
h2 {
	padding-bottom: 5px;
	/*background: url(../_images/_structure/dotted_horiz_line.jpg) left bottom repeat-x;*/
	border-bottom: 1px solid #ccc;
	margin-bottom: 5px;
}
h3 {
	
}
h4 {

}

a img {
	border: none;
}

#container {
	position: relative;
	width: 1400px;
	margin: 0 auto;
}
#header {
	position: relative;
	height: 102px;
}
#header h1 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 3em;
	letter-spacing: -0.03em;
	font-weight: normal;
	padding: 0px;
	margin: 20px 0 0 200px;
}
#header h1 a {
	color: #f6f6f6;
	text-decoration: none;
}
#header h1 a span {
	/*display: none;*/
}


#page_location {
	background: #FFF;
}
#page_location h2 {
	padding-left: 0px;
	padding-bottom: 14px;
	font-size: 1.2em;
}

#navigation {
	position: relative;
	margin: 0px;
	position: absolute;
	bottom: 0;
	left: 190px;
}
#navigation ol {
	position: relative;
	list-style-type: none;
	padding: 0;
}
#navigation ol li {
	position: relative;
	float: left;
}
#navigation ol li a {
	position: relative;
	float: left;
	display: block;
	padding: 0 10px 37px 10px;
	font-size: 150%;
	color: #CCCCCC;
	text-decoration: none;
}
#navigation ol li.active a {
	background: url(../_images/_structure/navigation_active_bg.jpg) center bottom no-repeat;
	color: #FFF;
}

#navigation ol ol {
	position: absolute;
	top: 4.5em;
	font-size: 70%;
	left: 0;
	margin: 0 0 0 10px;
	padding: 0;
	display: none;
	background: #342C2A;
	color: #fff;
	z-index: 2000;
}
#navigation li:hover ol {
	display: block;
}
#navigation ol ol li {
	display: block;
	background: #342C2A;
	z-index: 2000;
}
#navigation ol ol li a {
	display: block;
	padding: 0;
	float: none;
	text-decoration: none;
	color: #fff;
	border: solid 1px #666;
	background: #342C2A;
	width: 150px;
	z-index: 2000;
}
#navigation ol li li a {
	background: #342C2A !important;
	color: #fff;
	padding: 2px 5px;
	margin: 0;
}
#navigation ol li.active li a {
	color: #fff;
	font-weight: bold;
}
#navigation ol li.active li a {
	color: #fff;
	font-weight: normal;
}
#navigation ol li.active li.active a {
	color: #fff;
	font-weight: bold;
}
#navigation ol li li a:hover {
	background: #645C5A !important;
}
#navigation ol ol li ol {
	position: absolute;
	display: none !important;
	left: 161px;
	top: 0;
	width: 100px;
	margin: 0;
	font-size: 100%;
}
#navigation ol ol li:hover ol {
	display: block !important;
}

#tabs {
	
}
#tabs ol {
	list-style-type: none;
}
#tabs li {
	display: inline;
}
#tabs li a {
	padding: 10px;
	margin-right: 2px;
}

#page_location {
	padding-bottom: 5px;
}

#left_col {
	width: 179px;
	padding-right: 10px;
	font-size: 1em;
	float: left;
	min-height: 400px;
	border-right: 1px dotted #ccc;
}

#left_col h3, #right_col h3, #page_content h3 {
	font-size: 150%;
	padding: 5px 0 10px 0;
}
#left_col h3 {
	font-size: 150%;
	margin-bottom: 10px;
	padding: 5px 0;
	border-bottom: 1px dotted #ccc;
}
#left_col ol {
	list-style-type: none;
	margin-bottom: 10px;
	margin-left: 0;
	padding: 0;
}
#left_col ol li {
	margin: 0;
	padding: 0;
}
#left_col ol li a {
	display: block;
	text-decoration: none;
	padding: 3px 5px 3px 0;
	border-bottom: 1px solid #ddd;
}
#left_col ol li a:hover {
	background: #EAEFF2;
}
#left_col ol li.active a {
	font-weight: bold;
}


#left_col #recent_history {
	font-size: 0.9em;
	line-height: 1.2em;
	text-align: left;
	list-style: none;
}




#right_col ol {
	list-style-type: none;
}
#right_col li {
	
}


#page_content {
	position: relative;
	width: 1210px;
	float: left;
	min-height: 300px;
}
#page_content h3 {
	margin-bottom: 10px;
	padding: 5px 0;
/*	border-top: solid 1px #999;*/
/*	border-bottom: solid 1px #999;*/
	border-bottom: 1px dotted #ccc;
}


._inner {
	padding: 0 0px 0 10px;
}

#quickicons {
	position: absolute;
	left: -50px;
	top: -95px;
}

.quickicon,
.quickicon a {
	display: block;
	width: 16px;
	height: 16px;
	float: right;
	margin: 0 0px 0 8px;
}

#quick_timesheets {
	background: url(../_images/_structure/time.png) left top no-repeat;
}

#quick_summary {
	background: url(../_images/_structure/calendar_icon.gif) left top no-repeat;
}

#right_section {
	width: 15%;
	float: left;
	min-height: 300px;
}

#footer {
	clear: both;
	min-height: 50px;
}

#notice {
	background-color: #EDB9B6;
	border: solid 1px #E18C88;
	padding: 10px;
}


.admin_details_table td {
	
}
.active_row td, .active_row:hover td {
	background-color: #EDB9B6;
}
.col_edit, .col_remove {
	text-align: center;
	width: 50px;
}
.in_range {
	
}
.overdue td {
	background-color: #DFA79D;
}
.overdue:hover td {
	background-color: #CE7768;
}
.overdue:hover td a {
	
}
.not_yet_invoiced {
	font-style: italic;
}
.not_yet_invoiced td {
	background-color: #BCBCBC;
	color: #FFF;
}
.pending td {
	background-color: #907 !important;
	color: #FFF !important;
	cursor: not-allowed !important;
}
.pending td a {
	color: #907 !important;
	cursor: not-allowed !important;
}
.calendar_box {
	float: left;
	margin-right: 5px;
}
.date_selector {
	display: block;
	float: left;
	width: 19px;
	height: 19px;
	background: url(../_images/_structure/calendar.jpg) left center no-repeat;
	margin-right: 5px;
}
.date_selector span {
	display: none;
}



/* home page */



/* hosting */

.total_row {
	font-weight: bold;
}
.total_row td {
	border-top: solid 1px #333;
}


.col_annual_rate {
	text-align: right;
}
.col_notes_for_renewal {
	display: none;
}
/* end hosting */


/* invoices */



#invoices_details th, #invoice_items_details th {
	width: 140px;
}

/* invoice iframe */

#invoice_items {
	width: 100%;
	border: none;
	min-height: 500px;
}

.col_printed, .col_total, .col_outstanding, .col_vat, .col_invoice_total {
	width: 70px;
	text-align: right;
}
.col_total_inc_vat {
	width: 100px;
	text-align: right;
}

/* end invoices */


/* accounting */
.new_accounting_section {
	text-align: left;
	padding-left: 40px;
	padding-top: 5px;
	padding-bottom: 5px;
	color: #000;
}
.sub_total_row td {
	font-weight: bold;
	padding-top: 5px;
	padding-bottom: 5px;
	border-top: solid 1px #333;
	border-bottom: solid 1px #333;
	background-color: #C9D7DE;
}
.row_heading {
	text-align: right;
	padding-right: 10px;
}
tr.null, .null td, .null th, .null td:hover {
	background: #FFF;
	color: red;
}
.accounting .col_id {
	width: 80px;
	text-align: right;
	padding-right: 5px;
	cursor: pointer;
}
.accounting .col_id:hover {
	background-color: #A6BABD;
}
.accounting .overdue .col_id:hover {
	background-color: #E0827C;
}
	

.accounting .col_printed {
	text-align: right;
	padding-right: 5px;
}

.accounting .col_printed {
	width: 100px;
}
.accounting .col_currency {
	width: 150px;
	text-align: right;
	padding-right: 5px;
}
.col_amount_paid {
	width: 80px;
	vertical-align: top;
}
.col_amount_paid input {
	background: none;
	padding: 0;
	text-align: right;
	width: 100%;
	height: 100%;
	border: none;
}
.selector {
	cursor: pointer;
}

table, tr,td {
	
}
.item_details {
	position: absolute;
	display: none;
	width: 440px;
	margin-left: 160px;
	background: #FFF;
	border: solid 1px #CCC;
	margin-top: 10px;
}
tr:hover .item_details {
	
}

#invoice_items_tbody_list {
	
}
#summary_invoice_items .col_details {
	width: 200px;
}
#summary_invoice_items .col_total {
	width: 100px;
	text-align: right;
	padding-right: 10px;
}

/* account history */
#account_history {
	width: 100%;
}
#account_history .description {
	width: auto !important;
}
#account_history .sub_totals td {
	border-top: solid 1px #666666;
	font-weight: bold;
}

#account_history .sub_table {width: 100%; }
#account_history .sub_table td {padding: 3px; }
#account_history .sub_table .col_item {width: 35px; text-align: center; }
#account_history .sub_table .col_details {width: 400px; }
#account_history .sub_table .col_sub_total {width: 70px; }
#account_history .sub_table .col_vat {width: 70px; }
#account_history .sub_table .col_total {width: 70px; }

#account_history .sub_table .col_invoice_id {width: 540px; }
#account_history .sub_table .col_amount {width: 70px; }

td.financial {text-align: right; }

td table td {
	padding: 0;
}
table td table td.currency {
	width: 50px;
}

/* payments */
table#payments {
	
}
table#payments .client {
	width: 200px;
}
table#payments .cheque_num, table#payments .paying_in_book_num {
	width: 100px;
}

#searchfield {
	width: 300px;
	display: block;
}
.textfield, .textinput, textarea {
	border: solid 1px #CCCCCC;
	padding: 3px;
	background: #fff url(../_images/_structure/bg.textfield.jpg) left top repeat-x;
}
#no_items {
	margin: 15px auto;
	height: 100px;
	text-align: center;
	padding: 20px;
	border: solid 1px #CCCCCC;
	font-style: italic;
}
.striped {
	background: url(../_images/_structure/bg.striped.gif) left top repeat;
}
.dateinput {
	float: left;
	margin-right: 5px;
}
#payments_received {

}
#payments_received tr td {
	cursor: pointer;
}
.hide {
	position: absolute;
	left: -9999px;
	width: 0;
	height: 0;
	overflow: hidden;
}
.expand {
	display: block;
	float: left;
	background: url(../_images/_structure/bg.expand.gif) left top no-repeat;
	width: 17px;
	height: 17px;
	margin-right: 3px;
}
.contract {
	display: block;
	float: left;
	background: url(../_images/_structure/bg.expand.gif) right top no-repeat;
	width: 17px;
	height: 17px;
	margin-right: 3px;
}
table table td, table table td:hover, table table tr:hover td, table tr:hover table td {
	background: #fff;
}

#login {
	width: 250px;
	margin: 10px auto auto 20px;
}
#login p {
	margin-bottom: 3px;
}
#login .label {
	display: block;
	float: left;
	width: 100px;
	text-align: right;
	margin-right: 5px;
}
#login .submit_button {
	margin-left: 105px;
}
.col_edit {
	width: 23px;
}
.col_edit a {
	display: block;
	background: url(../_images/_structure/bg.edit.png) left top no-repeat;
	width: 21px;
	height: 21px;
	margin: 0 auto;
}
.col_edit a span {
	display: none;
}
.col_remove {
	width: 23px;
}
.col_remove a {
	display: block;
	background: url(../_images/_structure/bg.remove.png) left top no-repeat;
	width: 21px;
	height: 22px;
	margin: 0 auto;
}
.col_remove a span {
	display: none;
}
.one_half {
	width: 48%;
	float: left;
}
.one_half_left {
	width: 48%;
	float: left;
	margin-right: 2%;
}
.one_half iframe {
	width: 100%;
}

#tabs {
	
}
#tabs ul {
	margin-left: 0;
	padding-left: 0;
}
#tabs li {
	float: left;
}
#tabs li a {
	display: block;
	padding: 5px 10px;
	float: left;
	text-decoration: none;
	border: solid 1px #ccc;
}

p.error {
	min-width: 400px;
	border: solid 1px #990000;
	color: #990000;
	padding: 10px;
	margin-bottom: 10px !important;
}

.ajax-loading {
	background: url(../_images/_structure/ajax-loading.gif) left top repeat;
}
.updated {
	font-weight: bold;
	color: #990000;
}

#invoices_tbody {}
#invoices_tbody tr td, #invoices_tbody tr td a {color: #666; }
#invoices_tbody tr.not_yet_invoiced td, #invoices_tbody tr.not_yet_invoiced td a, #invoices_tbody tr.overdue td, #invoices_tbody tr.overdue td a {color: #000; }
#invoices_tbody tr:hover td, #invoices_tbody tr:hover td a {color: #000; }


#hosting_tbody {}
#hosting_tbody td {background: #BFE2A5; }
#hosting_tbody .overdue td {background: #EA231E; color: #fff; }
#hosting_tbody .overdue td a {color: #fff; }
#hosting_tbody .not_live td {background: #82B8E3; color: #fff; font-style: italic; }
#hosting_tbody .not_live td a {color: #fff; }
#hosting_tbody .suspended td {background: #999999; color: #666; }
#hosting_tbody .suspended td a {color: #666; }
#hosting_tbody .closed td {background: #999999; color: #666; }
#hosting_tbody .closed td a {color: #666; }


#loginForm {
	margin: 10px 0 0;
}

#loginForm .error {

}

#loginForm label {
	float: left;
	width: 100px;
}
#loginForm p {
	margin-bottom: 5px;
	clear: both;
}

.left {
	float: left;
}

.right {
	float: right;
}

.third {
	width: 400px;
}

.third .textinput, 
.third .textarea {
	width: 95%;
}
.third .textarea {
	min-height: 100px;
}
.third select {
	width: 100%;
}

.twothird {
	width: 62%;
}

.twothird .textinput, 
.twothird .textarea {
	width: 95%;
}
.twothird select {
	width: 100%;
}



.divide {
	margin-right: 15px;
}

.link_desc, 
.link_asc {
	text-decoration: none;
}

.link_desc sup, 
.link_asc sup {
	text-decoration: none;
	cursor: pointer;
}

.clearer {
	clear: both;
}

ul.buttons {
	margin: 0;
	padding: 0;
	list-style: none;
}
ul.buttons li {
	border: 1px solid #C9D7DE;
	background: #EAEFF2;
	padding: 3px 5px;
	margin: 0 10px 0 0;
	display: inline;
}

ul.buttons li a {
	display: block;
	float: left;
}

.submitbutton,
.button {
	border: 1px solid #a9b7bE;
	background: #cAcFd2;
	margin: 2px 5px 5px 2px;
}
a.button {display: inline-block; padding: 3px 15px 3px 5px; text-decoration: none; }


tr:hover .button {
	border: 1px solid #000;
	background: #EAEFF2;
	color: #000;
}


.button.right {
	margin-right: 2px;
}

#searchbar {
	position: absolute;
	right: 0;
	top: -46px;
	width: 400px;
}

#searchbar span {
	display: block;
	float: left;
	padding: 4px 10px 0 0;
}

.outerholder {
	position: relative;
	left: 0;
	top: 0;
}

.innerholder {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 100;
}

.innerholder.active {
	width: 600px;
	height: 200px;
	padding: 10px;
	border: 10px solid #888;
	background: #fff;
	overflow: auto;
}

#send_invoice h3 {
	margin-top: 15px;
}

#send_invoice p {
	margin: 0 0 8px 0;
}

tr.isinvoiced td,
tr.isinvoiced td a {
	color: #aaa;
}

tr.viewed td:first-child {
 border-left: 4px solid green;
}

.overdue1 td {
	background: #ffeeee;
}
.overdue2 td {
	background: #ffcccc;
}
.overdue3 td {
	background: #ffaaaa;
}
.overdue4 td {
	background: #ff8888;
}

