body {
  margin: 0px;
  font-size:small;
  //font-family:cursive;
 background: #00008B;//#1c69a0;
//background: #FFFFFF;
}

#tab_header_row {
  margin-top: 10px;
}

#tab_header_row {
  border: solid black 1px;
  padding:0;
  margin:0;
  background: #5ca9e0;
  margin-left:20px;
  padding-left:10px;
  padding-right:10px;
}

.tab_header {
  //border: solid black 1px;
  border:0;
  margin:0;
  background: #5ca9e0;
  margin-left:10px;
  margin-right:10px;
  border-left:5px solid black;
  cursor: pointer;
  //display: none;
}

.tab_header:hover {
  //border: solid black 1px;
  border:0;
  margin:0;
  background: #FFFFFF;
  margin-left:10px;
  margin-right:10px;
  border-left:5px solid black;
}

.tab_header_selected {
  background: #FFFFFF;
}

.tab_error {
 text-decoration: blink;
 color:red;
}

#tabs {
  border: solid black 1px;
  width:800px;
  margin-left:8px;
  padding:5px;
  padding-left:15px;
  background: #DDEEFF;
}

input, select {
  border: 1px solid #000000;
  font-size:small;
  background:#FFFFFF;
}

#formattable, #formattable td, .cust-text {
  margin:0px;
  padding:0;
  border:0;
}

ul {
  border:0;
  margin:0;
  padding:0;
  padding-left:20px;
}



















#top {
 text-align:right;
 clear: both;
 margin: 0px;
 padding: 2px;
 height: 35px;
 border-bottom: 4px solid #00008B;
 background: #1c69a0;
}

#left {
//clear: left;
float: left;
width: 120px;
margin: 0 0 0 0;
padding: 0px 0 0 0;
font-size: 1.0em;
color: white;
 background: #00008B;
}

#left ul {
 margin:0;
 padding:10px;
 margin-left:10px; 
}

#left li {
 display:block;
 list-style-type:none;
 margin:0;
 padding:10px;
 cursor: pointer;
}

#left a {
color: white;
 text-decoration: none;
}

#left li:hover {
 background: #8cb9d0; 
}

#left ul li ul {
margin:0;
padding:0;
}

#left ul li ul li {
 border-left: 5px solid #8cb9d0;
 margin-top: 2px;
 padding-left: 5px; 
}

#content {
margin: 0 0 0 130px; /* keeps content left aligned */
padding: 10px 10px 10px 10px;
//line-height: 1.6em;
text-align: left;
background: #FFFFFF;//#a7e192;
}

#foot {
clear: both;
margin: 0px;
padding: 0px 0 0px 0;
width: 100%;
text-align:center;
font-size: 0.9em;
}




#search {
float:right;
 background: #00008B;
 border: 1px solid black;
 padding:10px;
 text-align:center;
 position:relative;
 width:199px;
 display: none;
}

#searchresults {
 background: #00008B;
 margin-top:10px;
 text-align:left;
 width: 400px;
 left:-200px;
 position:absolute;
 padding:10px;
 display: none;
}

.searchresult {
 cursor: pointer;
 background: #888888;
}

ul.searchresults {
margin:0;
padding:0;
border:0;
}

li.searchresult {
 padding: 2px;
 list-style-type:none;
}

.searchresult:hover {
 cursor: pointer;
 background: #AAAAAA;
}

.selectednav {
 background: #FFFFFF;
}




.dashboard-panel {
 width: 300px;
 border: 1px solid black;
 margin: 10px;
 margin-bottom: 25px;
}

.content-panel {
 width: 800px;
 border: 1px solid black;
 margin: 10px;
 margin-bottom: 25px;
}

.dashboard-panel-heading {
 border-bottom: 1px solid black;
 background: #4466FF;
 padding: 2px;
 padding-left: 10px;
}

.dashboard-panel-contents {
 padding: 2px;
}

////////////////////////////////////////////////////////////////////////////////
// Invoicing                                                                  //
////////////////////////////////////////////////////////////////////////////////

.invoicing-customers {
}


.invoicing-customer {
 width: 800px;
 border: 1px solid black;
 margin: 10px;
 margin-bottom: 25px;
}

.invoicing-customer-heading {
 border-bottom: 1px solid black;
 background: #4466FF;
 padding: 2px;
 padding-left: 10px;
}

.invoicing-customer-contents {
 padding: 2px;
}


.invoicing-customer-sub {
 width: 770px;
 border: 1px solid black;
 margin: 10px;
 margin-bottom: 25px;
}

.invoicing-customer-sub-heading {
 border-bottom: 1px solid black;
 background: #4466FF;
 padding: 2px;
 padding-left: 10px;
}

.invoicing-customer-sub-contents {
 padding: 2px;
}


.customer-orphans {
}

.customer-orphans-heading {
}

.customer-orphans-contents {
}


.invoicing-customer-invoices {
}


.customer-invoice {
}

.customer-invoice-heading {
}

.customer-invoice-contents {
}


.invoice-items {
border-collapse:collapse;
}

.invoice-item {
}

.invoice-item-quantity {
  width: 50px;
}

.invoice-item-inventoryitem {
  width: 120px;
}

.invoice-item-description {
  width: 400px;
}

.invoice-item-discount {
  width: 60px;
}

.invoice-item-price {
  width: 100px;
}

.unbilled-selected {
  background-color:yellow;
}

.invoiced-selected {
  background-color:red;
}


.invoice-button {
  display: none;
}

.new-invoice {
}

.edit-invoice {
}

.delete-invoice {
}

.add-to-invoice {
}

.remove-from-invoice {
}

.invoice-button-enabled {
  display: inline;
}

.time-till {
  color: green;
  font-weight:bold;
}

.time-till-close {
  color: orange;
  font-weight:bold;
}

.time-till-overdue {
  color: red;
  font-weight:bold;
}

.li-odd-highlight {
  background-color:white;//inherit;
}

.li-even-highlight {
  background-color:#FFFFCC;
}

.maplink {
  color: green;
}