/*--------------------------------------------------\
| exclusive     |               | default.css       |
|---------------------------------------------------|
| For use with:                                     |
| FrontAccounting   				    |
| http://FrontAccounting.com/          		    |
| by Joe Hunt Consulting                            |
|---------------------------------------------------|
| Developer:                                        |
| Joe Hunt                                          |
|                                                   |
|---------------------------------------------------|
| Note:                                             |
| Changes can be made to this CSS that will be      |
| reflected throughout FrontAccounting.             |
|                                                   |
\--------------------------------------------------*/

body {
  background-color: #eee;
  margin: 0;
  padding: 0;
  text-align: center;
}

body,td,th {
  font-family:Arial, Helvetica, sans-serif;
  font-size: 11px;
  color: #000;
}

/* Main */
.fa-main {
  width: 98%;
  margin: 0 auto;
  text-align: left;
  background-color: #fff;
}

tr, td, th {
  line-height: 17px;
  color: #000;
}
table {
  text-align: left;
}

textarea {
  font-size: 12px;
}

input, select
{
  font-size: 11px;
  padding: 1px;
}

select {
  max-width: 200px;
}

input.big {
  width: 100px;
}

input.small {
  width: 50px;
}

a, a:active {
  color: #045c97;
  text-decoration: none;
}
a:hover, a:focus {
  color: #4f9adb;
  text-decoration: underline;
}
a:visited {
  color: #045c97;
  text-decoration: none;
}
.clear {
  clear: both;
}
.nodisp {
  display: none;
}
.italic {
  font-style: italic;
}
.flleft {
  float: left;
}
.flright {
 float: right;
}


/* Body */
.fa-body {
  width: 100%;
  background-color: #fff;
  float: left;
  margin: 0;
}

/* Side */

/* Content */
.fa-content {
  width: 98%;
  margin: 50px 0 0;
  padding: 7px 10px 5px 0;
  float: right;
  vertical-align: top;
}

/* Footer */
.fa-footer {
  clear: both;
  height: 10px;
  margin: 0;
  padding: 10px;
  text-align: center;
  font-size: 10px;
  color: #036;
  background-color: #cccccc;
}


h1 {
  font-size: 14px;
  margin-right: 20px;
  color: #466f01;
}
h2, .titletext {
  font-weight: bold;
  font-size: 13px;
  color: #555;
  padding: 5px;
}
.titletext {
  border-bottom: 1px solid #1798b2;
}

h3 {
  font-size: 100%;
  padding-top: 1ex;
  padding-bottom: 1ex;
}
#header { margin: 0; }
#header ul {clear: right; float: right; font-size: 11px; margin: 8px 10px 0 0; }
#header li{ list-style: none; display: inline; margin: 0; }
#header li a{ color: #045c97; text-decoration: none; padding: 0 0 0 16px; }
#header h1 {
  padding: 4px 0 4px 10px;
  margin: 0;
}
#header h2 {
  font-style: italic;
}

.fa-footer .power a { font-size: 10px; padding: 0 12px 0 12px; text-align: center; background: transparent url(images/news.gif) no-repeat center left; color: #045c97; }
.fa-footer .date { font-size: 10px; padding: 0 12px 0 12px; text-align: center; color: #045c97; }

hr {
  background: #ccc;
  border: 0;
  color: #ccc;
  height: 1px;
}

.tableheader {
  font-weight: bold;
  background-color: #660000;
  color: #fff;
  text-align: center;
}

.tableheader2 {
  font-weight: bold;
  background-color: #660000;
  color: #fff;
  text-align: left;
}

.tableseparator {
  border-left: 1px solid #ccc;
}

.headingtext {
  font-weight: bold;
  font-size: 12px;
  color: #555;
}

.headingtext2 {
  font-size: 12px;
  color: black;
}

.headingtext3 {
  font-weight: bold;
  font-size: 10px;
  color: black;
}

.errortext {
  font-size: 12px;
  color: #f00;
  font-weight: bold;
}

.inputsubmit {
  font-size: 11px;
  height:20px;
  border: 1px #ccc solid;
  background: #cdcdcd;
  background: -moz-linear-gradient(#cdcdcd 0%, #b4b4b4 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #cdcdcd), color-stop(100%, #b4b4b4));
  background: -webkit-linear-gradient(#cdcdcd 0%, #b4b4b4 100%);
  background: linear-gradient(#cdcdcd 0%, #b4b4b4 100%);
  padding: 1px 4px;
}

.ajaxsubmit {
  font-size: 11px;
  height:20px;
  border: 1px #ccc solid;
  background: #cdcdcd;
  background: -moz-linear-gradient(#cdcdcd 0%, #b4b4b4 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #cdcdcd), color-stop(100%, #b4b4b4));
  background: -webkit-linear-gradient(#cdcdcd 0%, #b4b4b4 100%);
  background: linear-gradient(#cdcdcd 0%, #b4b4b4 100%);
  padding: 1px 4px;
}

.oddrow {
  background-color: #d8d8d8;
}

.evenrow {
  background-color: #f0f0ee;
}

.overduebg {
  background-color: pink;
}

.overduefg {
  color: pink;
}

.currentfg {
  color: #f66;
}

.redfg, a.redfg {
  color: red;
  font-weight: bold;
}

.settledbg {
  background-color: #0b0;
}

.settledfg {
  color: #0b0;
}

.inquirybg {
  background-color: #fdfeef;
}

.currencybg {
  background-color: #e88;
}

.stockmankobg {
  background-color: pink;
}

.stockmankofg {
  color: red;
}

table.tablestyle {
  border-collapse: collapse;
  border: 1px solid #e1e1e1;
}
table.tablestyle td {
  border-collapse: collapse;
  border: 1px solid #e1e1e1;
}
table.tablestyle2 {
  border-collapse: collapse;
  border: 1px solid ##cccccc;
}
table.tablestyle2 td {
  border-collapse: collapse;
  border: 1px solid ##cccccc;
}
table.tablestyle_inner {
  border-collapse: collapse;
  border: 1px solid #f9f9f9;
}
table.tablestyle_inner td {
  border-collapse: collapse;
  border: 1px solid #f9f9f9;
}
.tablestyle_noborder {
  padding: 3px;
}

.label {
  /*background-color: #97d2f4;*/
  /*background-color: #cccccc;*/
  background-color: ##cccccc;
  color: black;
}

#loginscreen {
  background: #f5f5f5;
}

.login {
  width: 350px;
  border-left: 12px solid #367cb5;
  border-collapse: collapse;
  background-color: #eeeeee;
}
.login td {
  border-collapse: collapse;
  border: 1px solid ##cccccc;
}

.amount {
  font-family: Verdana, Arial, Helvetica;
  font-size: 11px;
  text-align: right;
}

input.amount {
  padding-right: 0px;
  border-right: none;
}

.editbutton {
  color:#00f;
  background-color:transparent;
  border-style:none;
  text-decoration:none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.navibutton[disabled] {
  color:#ccc;
  text-decoration:none;
  cursor: auto;
}

button.navibutton {
  font-family:Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: bold;
  color:#fff;
  padding: 0 3px;
  background-color: transparent;
  border-style:none;
  cursor: pointer;
}

.navibutton span {
  text-decoration:underline;
}

.navibar {
  padding: 0 3px;
  color: #fff;
  border: 1px solid #e1e1e1;
  border-collapse: collapse;
  background-color: #660000;	
}

.listsubmit {
  display: none;
}

.inactive {
  color: gray;
}

button {
  font-size: 11px;
  border: 1px #0066cc solid;
  padding: 1px 4px;
}

button img, span {
  padding: 0px 2px ;
  vertical-align: middle;
}

ul.ajaxtabs{
  padding: 3px 0 0 0;
  margin: 3px 3px 0 3px;
  font: 12px Tahoma,Verdana;
  font-weight: bold;
}

ul.ajaxtabs li{
  list-style: none;
  margin: 0;
  display: inline;
}

ul.ajaxtabs li button{
  background-color: #cccccc;
  padding: 3px 8px;
  margin: 0px;
  border-top: 1px solid #660000;
  border-right: 1px solid #660000;
  border-bottom: none;
  border-left: none;
  font-weight: bold;
}

ul.ajaxtabs li button:hover{
  border-top: 1px solid #660000;
  color:#fff;
}
div.spaceBox{
  background-color: #660000;
  height:8px;
  border-bottom: 1px solid #660000;
  border-left: 1px solid #660000;
  border-right:1px solid #660000;
  margin: 0 3px 0px 3px
}

div.contentBox{
  border: 1px solid #660000;
  margin: 0 3px 3px 3px
}

ul.ajaxtabs li button.current, ul.ajaxtabs li button.current:hover{
  border-left: 1px solid #660000;
  background-color: #660000;
  color:#fff;
}
#hints {
  font-size: 12px;
  padding: 5px;
  border-bottom: 1px solid #660000;
  margin: -4px -2px -2px;
  border: 1px solid #660000;
  background-color: #ffffea;
  white-space: nowrap;
}

img { border: 0; }

/*
	Calendar style
*/
#CCIframe {
  display: none;
  left: 0px;
  position: absolute;
  top: 0px;
  height: 250px;
  width: 270px;
  z-index: 99;
}
#CC { 
  position:absolute;
  background-color:#FFF;
  margin:0; padding:0;
  display:none;
  z-index: 100;
}
#CC table { 
  font-family: arial, verdana, helvetica, sans-serif;
  font-size: 8pt;
  border-left: 1px solid #336;
  border-right: 1px solid #336;
}
#CC th {
  font-weight: normal;
  text-align: center;
}
#CC th a {
  font-weight: normal;
  text-decoration: none;
  color: #FFF;
  padding: 1px;
}
#CC td {
  text-align: center;
}
#CC .header {
  background-color: #22303b;
}
#CC .weekday {
  background-color: #eee;
  color: #000;
}
#CC .weekend {
  background-color: #FFC;
  color: #000;
}
#CC .weekno {
  background-color: #cde;
  color: #555;
}
#CC .current {
  border: 1px solid #339;
  background-color: #22303b;
  color: #FFF;
}
#CC .weekday, #CC .weekend, #CC .current {
  display: block;
  text-decoration: none;
  border: 1px solid #FFF;
  width: 2em;
}
#CC .weekday:hover, #CC .weekend:hover, #CC .current:hover {
  color: #FFF;
  background-color: #22303b;
  border: 1px solid #999;
}
#CC .previous {
  text-align: left;
}
#CC .next {
  text-align: right;
}
#CC .previous, #CC .next {
  padding: 1px 3px 1px 3px;
  font-size: 1.4em;
}
#CC .previous a, #CC .next a {
  color: #FFF;
  text-decoration: none;
  font-weight: bold;
}
#CC .title {
  text-align: center;
  font-weight: bold; 
  color: #FFF;
}
#CC .empty {
  background-color: #ddd;
  border: 1px solid #FFF;
}

div.err_msg {
  margin: 10px;
  padding: 3px;
  border: 1px solid #cc3300;
  background-color: #ffcccc;
  color: #dd2200;
  text-align: center;
}

div.warn_msg {
  margin: 10px;
  padding: 3px;
  border: 1px solid #ff9900;
  background-color: #ffff00;
  color: #ff5500;
  text-align: center;
}

div.note_msg {
  margin: 10px;
  padding: 3px;
  border: 1px solid #33cc00;
  background-color: #ccffcc;
  color: #007700;
  text-align: center;
}

#title {
  margin-bottom: 10px;
  width: 100%;
}
#nav {
	/*font: normal .8em/1.5em Arial, Helvetica, sans-serif;*/
	font: normal 12px Arial, Helvetica, sans-serif;
	background: #ebebeb;
	width: 98%;
	position: absolute;
	color: #666;
	margin: 0;
	padding: 7px 6px 0;
	background: #7d7d7d url(images/gradient.png) repeat-x 0 -110px;
	line-height: 100%;

	border-radius: 2em;
	-webkit-border-radius: 2em;
	-moz-border-radius: 2em;

	-webkit-box-shadow: 0 1px 3px rgba(0,0,0, .4);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0, .4);
}
#nav li {
	/*margin: 0 5px;*/
	margin: 0 1px;
	padding: 0 0 8px;
	float: left;
	position: relative;
	list-style: none;
}
/* main level link */
#nav a {
	font-weight: bold;
	color: #e7e5e5;
	text-decoration: none;
	display: block;
	/*padding:  8px 20px;*/
	padding:  8px 10px;
	margin: 0;

	-webkit-border-radius: 1.6em;
	-moz-border-radius: 1.6em;
	
	text-shadow: 0 1px 1px rgba(0,0,0, .3);
}
#nav a:hover {
	background: #000;
	color: #fff;
}
/* main level link hover */
#nav .current a, #nav li:hover > a {
	background: #666 url(images/gradient.png) repeat-x 0 -40px;
	color: #444;
	border-top: solid 1px #f8f8f8;

	-webkit-box-shadow: 0 1px 1px rgba(0,0,0, .2);
	-moz-box-shadow: 0 1px 1px rgba(0,0,0, .2);
	box-shadow: 0 1px 1px rgba(0,0,0, .2);

	text-shadow: 0 1px 0 rgba(255,255,255, 1);
}
/* sub levels link hover */
#nav ul li:hover a, #nav li:hover li a {
	background: none;
	border: none;
	color: #666;

	-webkit-box-shadow: none;
	-moz-box-shadow: none;
}
#nav ul a:hover {
	background: #0078ff url(images/gradient.png) repeat-x 0 -100px !important;
	color: #fff !important;

	-webkit-border-radius: 0;
	-moz-border-radius: 0;

	text-shadow: 0 1px 1px rgba(0,0,0, .1);
}

/* dropdown */
#nav li:hover > ul {
	display: block;
}
/* level 2 list */
#nav ul {
	display: none;

	margin: 0;
	padding: 0;
	width: 185px;
	position: absolute;
	/*top: 35px;*/
	top: 30px;
	left: 0;
	background: #ddd url(images/gradient.png) repeat-x 0 0;
	border: solid 1px #b4b4b4;

	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;

	-webkit-box-shadow: 0 1px 3px rgba(0,0,0, .3);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0, .3);
	box-shadow: 0 1px 3px rgba(0,0,0, .3);
}
#nav ul li {
	float: none;
	margin: 0;
	padding: 0;
}
#nav ul a {
	font-weight: normal;
	text-shadow: 0 1px 0 #fff;
}
/* level 3+ list */
#nav ul ul {
	left: 181px;
	width: 260px;
	top: -3px;
}
#nav .align_right {
	left: -260px;
	width: 260px;
	top: -3px;
}
/* rounded corners of first and last link */
#nav ul li:first-child > a {
	-webkit-border-top-left-radius: 9px;
	-moz-border-radius-topleft: 9px;

	-webkit-border-top-right-radius: 9px;
	-moz-border-radius-topright: 9px;
}
#nav ul li:last-child > a {
	-webkit-border-bottom-left-radius: 9px;
	-moz-border-radius-bottomleft: 9px;

	-webkit-border-bottom-right-radius: 9px;
	-moz-border-radius-bottomright: 9px;
}
/* clearfix */
#nav:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
#nav {
	display: inline-block;
} 
html[xmlns] #nav {
	display: block;
}
* html #nav {
	height: 1%;
}