body,html {
	margin: 0;
	padding: 0;
	font-family: arial, tahoma, sans;
	font-size: 13px;
	background: #fff;
}

input {
	font-size: 11px;
	border: solid 1px #003300;
	background: #ffffcc;
}
input:hover {
	background: #99cc99;
	color: #006633;
}
iframe {
	width: 520px;
	height: 500px;
	border: solid 1px #006633;
}
a:link,
a:visited {
	color: #006633;
	text-decoration: none;
}
a:hover, a:active {
	color: #006633;
	text-decoration: underline;

}
fieldset {
	border: solid 1px #006633;
}

ul li{
	list-style-type: none;
}
#mainbody ul li {
	list-style-type:  square;
}
noscript h1, noscript p{
	margin: 0;
	padding: 4px;
	width: 709px;
	color: #fff;
	background: red;
}
textarea {
	border: solid 1px #006600;
	font-size: 12px;
}



#header {
	display: block;
	width: 250px;
	float: left;
	margin: 0 5px 0 5px;
	padding: 0 0 0 0px;
}
#header img {
	margin: 2px 0;
}

/* main menu buttons */
#header ul {
	display: block;
	position: relative;
	top: 30px;
	left: 50px;
	margin: 0;
	padding: 0;
	width: 110px;
}
#header ul li {
	margin: 5px 0;
	height: 35px;
	width: 102px;
	text-align: center;
	padding: 6px 0 0 0;
}
#header ul li:hover { }
#header ul li a{ font-size: 18px; font-weight: bold; letter-spacing: 1px; color: #666; }
#header ul li a:hover {
	font-weight: bold;
	color: #336600;
	text-decoration: none;
}
/*******************************/

.myaccount span {
	color: #000;
	padding: 0;
	padding: 0 0 0 4px;
	margin: 0 0 20px 0;
}
#companylogo {
	display: block;
	position: relative;
	top: 5px;
	left: 5px;
	width: 200px;
	height: 120px;
	background: #dedede;
	overflow: auto;
	border: solid 1px #006633;
}
#companylogo h4 {
	text-align: center;
}
form.myaccount fieldset span {
	margin:20px;
}
#companylogo img {
	padding: 3px;
	margin: 0 0 20px 0;
}
.error {
	display: block;
	margin: 10px 0;
	font-weight: bold;
	color: #990000;
}
#invoice {
	padding: 20px 20px 80px 20px;
	background: #fff;
	border: solid 1px #333;
}
#invoice h1 {
	font-size: 14px;
	font-weight: bold;
}



#othermenu {
	display: block;
	position: absolute;
	width: 180px;
	left: 10px;
	top:40px;
}
ul.othermenu {
	width: 100%;
	margin: 0;
	padding: 0;
	text-align: center;
	}
ul.othermenu li {
	font-size: 11px;
	display: inline;
}
ul.othermenu li a{
	padding: 0 3px 0 0;
	}
ul.othermenu a{
	font-size: 10px;
	display: inline;
	padding: 0 5px 0 0;
	border: none;
	}

.logo {
}
.clear {
	clear: both;
}
a img {
	border: none;
}




form.addexpense,
form.login,
form.myaccount,
form.addclient,
form.newclient {
	margin: 0;
	padding: 0;
	width: 360px;
}
form.addexpense legend,
form.login legend,
form.addclient legend,
form.newclient legend {
	font-weight: bold;
	background: #ffffcc;
	border: solid 1px green;
	padding: 5px;
}
form.addclient fieldset,
form.myaccount fieldset
  {
	margin: 0 0 15px 0;
}
form.addclient fieldset legend,
form.myaccount fieldset legend {
	border: none;
	background: #fff;
	text-transform: uppercase;
	font-size: 11px;
	font-weight: bold;
}

form.addexpense label,
form.login label,
form.myaccount label,
form.addclient label,
form.newclient label {
	float: left;
	width: 130px;
	margin: 0;
	padding: 0;
	font-size: 11px;
	line-height: 21px;
	text-align: right;
	font-weight: 700;
}
form.login input,
form.lostpassword input
{
	float: right;
	margin: 1px;
	padding: 2px 0 2px 5px;
	border: solid 1px #aaa;
	font-size: 11px;
	width: 160px;
}
form.addexpense select
{
	width: 200px;
	height: 17px;
	float: right;
	font-size: 11px;
	font-weight: normal;
	padding: 0 0 0 2px;
	margin: 1px 0;
	border: solid 1px #aaa;
}
form.addexpense input,
form.myaccount input,
form.addclient input,
form.newclient input
{
	float: right;
	margin: 1px 0 0 0;
	padding: 2px 0 2px 5px;
	border: solid 1px #aaa;
	font-size: 11px;
	width: 200px;
	/*
	border-top: solid 2px #666;
	border-left:  solid 2px #666;
	border-right: solid 1px #aaa;
	border-bottom: solid 1px #aaa;
	*/
}
form.edithour input.btn,
form.editexpense input.btn,
form.editinvoice input.btn,
form.addhour input.btn,
form.addinvoice input.btn,

form.newclient input.btn,
form.addexpense input.btn,
form.myaccount input.btn,
form.addclient input.btn,
form.login input.btn,
form.lostpassword input.btn

{
	border: solid 1px #aaa;
	font-weight: 700;
	width: auto;
}

form.edithour select, textarea {
	background: #ffffcc;
}

form.edithour input,
form.edithour select,
form.edithour textarea,

form.addhour input,
form.addhour select,
form.addhour textarea,

form.addinvoice input,
form.addinvoice select,
form.addinvoice textarea,

form.editexpense input,
form.editexpense select,
form.editinvoice input,
form.editinvoice select
{
	font-size: 13px;
	margin: 1px 0 0 0;
	padding: 2px 0 2px 5px;
	border: solid 1px #aaa;
}


#dialogbox {
	position: absolute;
	top:365px;
	left: 10px;
	width: 175px;
	height: 125px;
	margin: 0;
	padding: 3px 6px 3px 6px;
	color: #661111;
	font-weight: bold;
	font-size: 11px;
	background: #ffcc22;
	opacity: 0.6;
	background: url('img/dialog.png') no-repeat;
}




#mainbody {
	display: block;
	width: 60%;
	background: #ffffff;
  min-height:400px;
  height:auto !important;
  height:400px;
  	border-right: dotted 1px #666;
	border-left: dotted 1px #666;
	border-bottom: dotted 1px #666;
	float: left;
	padding: 10px;
	margin: 0 0 50px 0;
}
#mainbody h2 {
	font-family: sans;
	color: #336600;
	font-weight: bold;
	font-size: 18px;
	text-transform: uppercase;
	letter-spacing: 0px;
	margin: 3px 0;
	padding: 0;
}
#mainbody h2 span {
	font-weight: normal;
	letter-spacing: 1px;
	cursor: pointer;
	margin: 2px;
}
#mainbody h3 {
	font-size: 15px;
	font-weight: bold;
	color: #666;
	display: inline;
	padding: 0;
	margin: 20px 0;
}
.toolbar {
	width: 100%;
	height: 23px;
	background: #666;
}
#mainbody .toolbar { margin: 0 0 10px 0 } 
#mainbody .toolbar h3  {
	color: #fff;
	font-size: 14px;
	float: left;
	margin: 0px;
	padding: 2px 0 2px 7px;
	}
.toolbar a{
	float: right;
	}





#mainbody h4 {
	color: #000;
	font-size: 14px;
	font-weight: bold;
	color: #336600;
	margin: 0;
}


#mainbody span {
	display: inline;
}

#xmainbody legend {
	font-weight: bold;
	background: #ffffcc;
	border: solid 1px green;
	padding: 5px;
}
#mainbody p {
	text-align: justify;
}
#mainbody p:first-line  {
	font-variant:small-caps;
}
#mainbody p:first-letter  {
	font-size: 16px;
	font-weight: bold;
	color: #336600;
}
#mainbody a img {
	margin: 3px 3px 3px 0;
	padding: 2px;
}

#clientaddress {
	margin: 0 0 20px 0;	
}
#controls {
	position: absolute;
	top: 320px;
	left: 45px;
	margin-left: auto;
	margin-right: auto;
	width: 150px;
}


#assigned, #paid {
	height: 180px;
	overflow: auto;
}
#clients {
	height: 300px;
	overflow: auto;
	padding: 5px;
	border: solid 1px #999;
}

#footer {
	position: relative;
	left: 255px;
	float: none;
	font-size: 11px;
	letter-spacing: 4px;
	margin: 15px 0;
}
.right {
	float: right;
}
.left {
	float:left;
}

#thanks {
	margin: 20px 0;
}
hr {
	border: solid 1px #999;
}
select {
	margin: 0;
	padding: 0;
	border: solid 1px #666;
	font-size: 11px;
}
.loggedin {
	display: block;
	float: right;
	margin: 2px 0;
}

form.login {
	width: 300px;
}
form.login label {
	float: left;
	text-align: right;
	width: 100px;
	line-height: 21px;

}
 
form.lostpassword {
	width: 300px;
}
form.lostpassword label{
	float: left;
	text-align: right;
	width: 100px;
	line-height: 21px;
}

 

/***********************/


/* TABLES */
table.stats
{text-align: center;
font-family:  Trebuchet MS, Verdana, Arial, sans-serif ;
font-weight: normal;
font-size: 10px;
color: #fff;
width: 100%;
background-color: #666;
border-collapse: collapse;
border-spacing: 0px;
margin: 0 0 20px 0;

}

table.stats tr.odd
{background-color: #eee;
color: #000;
padding: 4px;
text-align: left;
font-size: 11px;
font-weight: bold;
}

table.stats tr.even
{background-color: #ddd;
color: #000;
padding: 4px;
text-align: left;
font-size: 11px;
font-weight: bold;
}

table.stats tr.even:hover,
table.stats tr.odd:hover  {
background: #ffffcc; 
}

table.stats td {
	padding: 3px 0 3px 2px;
}

table.stats td.hed
{
background-color: #888;
color: #fff;
padding: 4px 0 4px 3px;
text-align: left;
font-size: 11px;
font-weight: bold;}

table.stats td.hedright
{
background-color: #888;
padding: 0 5px 0 0;
text-align: right;
font-size: 11px;
font-weight: bold;
}
table.stats td.right
{
padding: 0 5px 0 0;
}


table.stats td.rate,
table.stats td.hours {
	font-size:11px;
	color: red;
}
table.stats td.date {
	font-size:11px;
}

table.stats tr.sub
{background-color: #ccc;
color: #000;
padding: 4px 0 4px 4px;
text-align: left;
font-size: 12px;
font-weight: bold;}
/* END TABLES */


/* Drop down calendar */
.ds_box {
background-color: #FFF;
border: 1px solid #000;
position: absolute;
z-index: 32767;
}

.ds_tbl {
background-color: #FFF;
}

.ds_head {
background-color: #333;
color: #FFF;
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
font-weight: bold;
text-align: center;
letter-spacing: 2px;
}

.ds_subhead {
background-color: #CCC;
color: #000;
font-size: 12px;
font-weight: bold;
text-align: center;
font-family: Arial, Helvetica, sans-serif;
width: 32px;
}

.ds_cell {
background-color: #EEE;
color: #000;
font-size: 13px;
text-align: center;
font-family: Arial, Helvetica, sans-serif;
padding: 5px;
cursor: pointer;
}

.ds_cell:hover {
background-color: #F3F3F3;
} /* This hover code won't work for IE */
/* END DROP DOWN CALENDAR */


