/*--------------------------------------------------\
| flatcolor		  |				  | 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: #fff;
	margin: 0 4px;
	padding: 0;
}

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

/* Main */
#main {
	margin-left: 0;
	margin-top: 0;
}

tr, td, th {
	line-height: 17px;
	color: #111;
}

textarea {
	border: 1px solid #ddd;
	font-size: 12px;
}

input, select
{
	border: 1px solid #ddd;
	font-size: 11px;
	padding: 2px;
}

select {
	max-width: 200px;
}

option.inactive {
	text-decoration: line-through;
	color: gray;
}

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: 98%;
	background-color: #fff;
	margin: 0px auto;
	padding: 0;
}

/* Content */
.fa-content {
	width: 100%;
	margin: 0;
	padding: 0 10px 5px 0;
	/*vertical-align: top;*/
}


#hotkeyshelp {
	float: right;
	font-weight: bolder;
}

/* Footer */
.fa-footer {
	background-color: #f1f1f1;
	/*height: 18px;*/
	margin: 0;
	padding: 8px 0 8px 0;
	text-align: center;
	font-size: 11px;
	color: #036;
}
.fa-footer .power a { font-size: 11px; padding: 0 12px 0 12px; text-align: center; background: transparent url(images/News.png) no-repeat center left; color: #045c97; }
.fa-footer .date { font-size: 11px; padding: 0 12px 0 12px; text-align: center; color: #045c97; }

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

h3 {
	font-size: 100%;
	padding-top: 1ex;
	padding-bottom: 1ex;
}


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

.tableheader {
	font-size: 12px;
	font-weight: normal;
	background-color: #4a6579;
	color: #fff;
	text-align: center;
}

.tableheader2 {
	font-size: 12px;
	font-weight: normal;
	background-color: #4a6579;
	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;
	color: #fff;
	background-color: #008cba;
	padding: 4px 4px;
}

.ajaxsubmit {
	font-size: 11px;
	color: #fff;
	/*border: 1px #008cba solid;*/
	background-color: #008cba;
	padding: 4px 4px;
}

.oddrow {
	background-color: #fafafa;
}

.evenrow {
	background-color: #fff;
}

.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: none;
}
table.tablestyle td {
	border-collapse: collapse;
	border: 1px solid #ddd;
}
table.tablestyle2 {
	border-collapse: collapse;
	border: 1px solid #ddd;
}
table.tablestyle2 td {
	border-collapse: collapse;
	border: 1px solid #ddd;
}
table.tablestyle_inner {
	border-collapse: collapse;
	border: 1px solid #ddd;
}
table.tablestyle_inner td {
	border-collapse: collapse;
	border: 1px solid #fafafa;
}
.tablestyle_noborder {
	padding: 3px;
}

.label {
	background-color: #f1f1f1;
	color: #111;
	padding-left: 4px;
}

#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;
}

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

/* Add a black background color to the top navigation */
.topnav ul {
	width: 100%;
	background-color: #264a60;
	overflow: hidden;
	padding-left: 10px;
	margin-bottom: 1px;
	white-space: nowrap;
	position: relative;
}

/* Style the links inside the navigation bar */
.topnav li {
	position: relative;
	display: inline-block;
	white-space: nowrap;
}
.topnav a {
    display: block; 
	font-size: 13px;
	font-weight: bold;
	padding: 6px 10px 7px;
	color: #fff;
	text-align: center;
	height: 15px;
	text-decoration: none;
}

/* Change the color of links on hover */
.topnav li a:hover {
	background-color: #dddddd;
	color: #111;
}
.topnav li .right {
	float: right;
	padding: 2px 12px 2px 0;
}	

/* Add a color to the active/current link */
.topnav li a.active {
	background-color: #dddddd;
	color: #111;
}

.menu_group {
	font-size: 14px;
	padding: 4px 0;
	color: #516068;
	background-color: #fff;
	vertical-align: top;
	font-weight: bold;
}

.menu_group_items {
	font-size: 13px;
	background-color: #f1f1f1;
	font-weight: normal;
	line-height: 22px;
	padding: 2px 0 2px 20px;
	vertical-align: top;
	border:  1px solid #e5e5e5;
}

.menu_group_items a {
	font-size: 13px;
	color: #000;
}

.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: #4a6579;
}

.listsubmit {
	display: none;
}

.inactive {
	color: gray;
	cursor: none;
}

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

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;
	text-align: left;
}

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

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

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

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

ul.ajaxtabs li button.current, ul.ajaxtabs li button.current:hover{
	border-left: 1px solid #4a6579;
	background-color: #4a6579;
	color:#fff;
}
#hints {
	font-size: 12px;
	padding: 5px;
	border-bottom: 1px solid #4a6579;
	margin: -4px -2px -2px;
	border: 1px solid #4a6579;
	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: #4a6579;
}
#CC .weekday {
	background-color: #eee;
	color: #000;
}
#CC .weekend {
	background-color: #FFC;
	color: #000;
}
#CC .weekno {
	background-color: #f1f1f1;
	color: #555;
}
#CC .current {
	border: 1px solid #339;
	background-color: #4a6579;
	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: #4a6579;
	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-top: 10px;
	margin-bottom: 10px;
	width: 100%;
}
/* rtl variant moved into renderer.php */
.busy { visibility:hidden;margin:0;padding:0; }
#header { margin-bottom:5px; padding: 0; height:30px;} 
#header ul {float: right; font-size: 12px; margin: 0; padding: 10px 0 0;}
#header li{ list-style: none; display: inline;}
#header li a{ font-size: 12px; color: #045c97; text-decoration: none; padding: 0 10px 0 10px; }

@media screen and (min-width: 1024px) {
	body,td,th, input, select, .fa-footer, .fa-footer .power a, .fa-footer .date, .inputsubmit, .ajaxsubmit, 
	.amount, button.navibutton, button { font-size: 12px; }
	textarea, .tableheader, .tableheader2, .headingtext, .headingtext2, .errortext, #hints, #header ul, #header li a { font-size: 13px; }
	h1, .menu_group { font-size: 15px; }
	h2, .titletext, .topnav a, .menu_group_items, .menu_group_items a { font-size: 14px; }
	.headingtext3 { font-size: 11px; }
	#CC table { font-size: 9pt; }
	#CC .previous, #CC .next { font-size: 1.4em; }
}
@media screen and (min-width: 1200px) {
	body,td,th, input, select, .fa-footer, .fa-footer .power a, .fa-footer .date, .inputsubmit, .ajaxsubmit, 
	.amount, button.navibutton, button { font-size: 13px; }
	textarea, .tableheader, .tableheader2, .headingtext, .headingtext2, .errortext, #hints, #header ul, #header li a { font-size: 14px; }
	h1, .menu_group { font-size: 16px; }
	h2, .titletext, .topnav a, .menu_group_items, .menu_group_items a { font-size: 15px; }
	.headingtext3 { font-size: 12px; }
	#CC table { font-size: 10pt; }
	#CC .previous, #CC .next { font-size: 1.4em; }
}
