/* --------------------------------------------------------------
   GLOBAL
-------------------------------------------------------------- */

body {
	background-color: #fff;
	margin: 0;
}
body, td, th {
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #000;
}
form {
	margin: 0;
	padding: 0;
}
input, select, textarea {
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #000;
}
a, a:visited {
	color: #202F60;
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}
a img {
	border: 0;
}
a.highlight, a.highlight:visited, a.highlight:hover {
	color: #CC0000;
}
h1 {
	color: #fff;
	font-size: 20px;
	margin: 10px;
	padding: 0;
	font-weight: normal;
}
h2 {
	color: #666;
	font-size: 16px;
	font-weight: bold;
}
#header {
    border-bottom: 1px solid #fff;
    background-color: #202F60;
}
#headerright {
    text-align: right;
    padding: 10px;
    color: #F0EADE;
}
#headerright a {
    color: #F0EADE;
}
#footer {
	text-align: right;
	margin: 0;
	border-top: 1px solid #DDD;
    padding: 15px;
}

/* --------------------------------------------------------------
   NAV
-------------------------------------------------------------- */

#navigation {
	line-height: 40px;
	margin: 0;
	padding-left: 20px;
}
#navigation :hover {
    cursor: pointer;
	cursor: hand;
}
#navigation ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#navigation ul li {
	float: left;
	padding: 0 20px;
	margin: 0;
    font-family: Verdana;
    font-weight: bold;
	color: #fff;
    background-color: #202F60;
    border: 1px solid #fff;
    border-bottom: 0;
    border-right:0;
}
#navigation ul li.navend {
	float: left;
	padding: 0 20px;
	margin: 0;
    font-family: Verdana;
    font-weight: bold;
	color: #fff;
    background-color: #202F60;
    border: 1px solid #fff;
    border-bottom: 0;
}
#navigation ul li.navbuttonover {
	background-color: #fff;
	color: #000;
}
#navigation ul li.navendover {
	background-color: #fff;
	color: #000;
    border: 1px solid #ccc;
    border-bottom: 0;
}
#navigation ul li a, #navigation ul li a:visited {
	color: #fff;
	text-decoration: none;
}
#navigation ul li a:hover, #navigation ul li.navbuttonover a, #navigation ul li.navbuttonover a:visited, #navigation ul li.navbuttonover a:hover {
	color: #000;
	text-decoration: none;
}
#dropmenudiv {
	position: absolute;
	border: 1px solid #fff;
    border-bottom: 0;
	font-size: 11px;
	font-weight: bold;
	line-height: 18px;
	z-index: 100;
}
#dropmenudiv a {
	width: 100%;
    background-color: #202F60;
    border-bottom: 1px solid #fff;
	display: block;
	text-indent: 6px;
	text-decoration: none;
	color: #fff;
}
#dropmenudiv a:hover {
	background-color: #F0EADE;
	color: #202F60;
}

/* --------------------------------------------------------------
   INTELLIGENT SEARCH
-------------------------------------------------------------- */

#intellisearch #searchresults {
	margin-top: 10px;
    padding: 0;
	display: none;
    line-height: 12px;
    border-bottom: 1px solid #ccc;
    font-size: 10px;
    background-color: #fff;
}
#intellisearch #searchresults .searchresultheader {
    border-top: 1px solid #ccc;
    background-color: #202F60;
    color: #fff;
    padding:2px;
    font-weight:bold;
    text-align:center;
}
#intellisearch #searchresults .searchresult {
    border-top: 1px solid #ccc;
    padding: 2px 0 2px 5px;
}
#intellisearch #searchresults .searchresult .desc {
    color: #888;
}
#intellisearch #searchresults .searchresult:hover {
    background-color: #f8f8f8;
}
#intellisearch #searchresults .searchresult a {
    text-decoration: none;
    display: block;
}

/* --------------------------------------------------------------
   TOOLBAR
-------------------------------------------------------------- */

#toolbar {
    width:200px;
    background-color: #F0EADE;
    padding: 10px;
}
#toolbar .header {
	text-align: center;
	height: 22px;
	line-height: 22px;
	font-weight: bold;
	padding-top: 0;
    margin-top: 10px;
}
#toolbar .plain_header {
	display: block;
	color: #000;
	font-weight: bold;
	height: 25px;
	line-height: 25px;
	border-bottom: 1px solid #CCC;
	padding: 0;
	margin: 0 0 10px 0;
}

#toolbar ul.menu li a, #toolbar ul.menu li a:visited {
	display: block;
    text-align: left;
	padding: 0;
	margin: 0;
	color: #000;
	text-decoration: none;
}
#toolbar ul.menu li a:hover {
	font-weight: bold;
}
#toolbar ul.menu {
	list-style-type: circle;
	margin: 0 0 0 15px;
	padding: 5px;
}

/* --------------------------------------------------------------
   TABS
-------------------------------------------------------------- */

#tabs ul, #clienttabs ul {
	display: block;
	background-color: #fff;
	height: 21px;
	line-height: 20px;
	list-style-type: none;
	margin: 0;
	padding: 0;
	font-size: 12px;
    border-bottom: 1px solid #CCCCCC;
}
#tabs ul li, #clienttabs ul li {
	float: left;
	padding: 0;
	margin: 0 0 0 5px;
}
#tabs ul li a, #tabs ul li a:visited, #clienttabs ul li a, #clienttabs ul li a:visited {
	display: block;
	background-color: #efefef;
	padding: 0 7px;
	margin: 0;
	border: 1px solid #CCC;
	color: #000;
	text-decoration: none;
}
#tabs ul li a:hover, #clienttabs ul li a:hover {
	display: block;
	background-color: #f9f9f9;
	padding: 0 7px;
	margin: 0;
	border: 1px solid #CCC;
	color: #000;
	text-decoration: none;
}
#tabs ul li.tabselected a, #tabs ul li.tabselected a:visited, #tabs ul li.tabselected a:hover, #clienttabs ul li.tabselected a, #clienttabs ul li.tabselected a:visited, #clienttabs ul li.tabselected a:hover {
	background-color: #f9f9f9;
	font-weight: bold;
}
#tab_content {
	background-color: #fff;
	text-align: left;
	margin: 0px;
	padding: 10px;
	border: 1px solid #CCC;
    border-top: 0;
    text-align: center;
}

/* --------------------------------------------------------------
   MY NOTES
-------------------------------------------------------------- */

#mynotes {
    display: none;
    position: absolute;
    top: 50px;
    right: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #f3f3f3;
    text-align: center;
}

/* --------------------------------------------------------------
   TABLES
-------------------------------------------------------------- */

table.form {
    border: 1px solid #ccc;
    background-color: #fff;
	padding: 0px;
}
table.form td.fieldlabel {
    text-align: right;
    font-weight: bold;
    padding: 5px;
    background-color: #F3F4EC;

}
table.form td.fieldarea {
    text-align: left;
    padding: 5px;
    border-bottom: 1px dashed #ccc;
}
.tablebg {
	background-color: #e9e9e9;
}
table.datatable {
	padding: 0;
	margin: 0;
}
table.datatable th {
	background-color: #f3f3f3;
	font-weight: bold;
	text-align: center;
}
table.datatable td {
	background-color: #fff;
    text-align: center;
}
table.datatable tr.rowhighlight td {
	background-color: #EFF2F9;
}

/* --------------------------------------------------------------
   SPECIAL CLASSES
-------------------------------------------------------------- */

.absmiddle {
	vertical-align: middle;
}
.clear {
	clear: both;
}
.smallfont {
	font-size: 10px;
}

/* --------------------------------------------------------------
   INFO BOXES
-------------------------------------------------------------- */

.infobox {
	background-image: url('../../images/warning.gif');
	background-repeat: no-repeat;
	background-position: 5px;
	margin: 10px 5px 10px 5px;
	padding: 5px 5px 5px 45px;
	background-color: #FCF9D2;
	border: 1px solid #F9D43E;
    text-align: left;
}
.contentbox {
	text-align: center;
	background-color: #f7f7f7;
	border: 1px dashed #cccccc;
	padding: 10px;
}
.errorbox {
	border: 1px dashed #cc0000;
	font-weight: bold;
	background-color: #FBEEEB;
	text-align: center;
	padding: 10px;
	color: #cc0000;
}
.invoicetooltip {
	border: 1px solid #F0EADE;
    background-color: #F3F4EC;
	color: #000000;
	padding: 5px;
	z-index: 100;
}

/* --------------------------------------------------------------
   TEXT COLORS
-------------------------------------------------------------- */

.textblack {
	color: #000000;
}

.textblue {
    color: #224488;
}

.textgreen {
	color: #779500;
}

.textgrey {
	color: #888888;
}

.textgold {
    color: #ffbb55;
}

.textorange {
	color: #ff6600;
}

.textred {
	color: #cc0000;
}

/* --------------------------------------------------------------
   DATE PICKER
-------------------------------------------------------------- */

.datepick {
    width: 75px;
}
.datepick + img {
    position: relative;
    left: 5px;
    top: 1px;
}

/* --------------------------------------------------------------
   HOMEPAGE PERCENTAGE BARS
-------------------------------------------------------------- */

img.greenbar {
 background: white url(../../images/percentbar_green.png) top left no-repeat;
 padding: 0;
 margin: 2px 0 2px 0;
 background-position: 1px 0;
}
img.redbar {
 background: white url(../../images/percentbar_red.png) top left no-repeat;
 padding: 0;
 margin: 2px 0 2px 0;
 background-position: 1px 0;
}
img.bluebar {
 background: white url(../../images/percentbar_blue.png) top left no-repeat;
 padding: 0;
 margin: 2px 0 2px 0;
 background-position: 1px 0;
}
img.goldbar {
 background: white url(../../images/percentbar_gold.png) top left no-repeat;
 padding: 0;
 margin: 2px 0 2px 0;
 background-position: 1px 0;
}
img.blackbar {
 background: white url(../../images/percentbar_black.png) top left no-repeat;
 padding: 0;
 margin: 2px 0 2px 0;
 background-position: 1px 0;
}
img.orangebar {
 background: white url(../../images/percentbar_orange.png) top left no-repeat;
 padding: 0;
 margin: 2px 0 2px 0;
 background-position: 1px 0;
}

/* --------------------------------------------------------------
   CLIENT SUMMARY PAGE
-------------------------------------------------------------- */

.clientssummarybox {
    background-color: #F0EADE;
    border: 1px solid #E0D3BA;
    padding: 10px;
    margin-bottom: 4px;
}
.clientssummarybox .title {
    font-weight: bold;
    text-align: center;
    padding-bottom: 10px;
    font-size: 14px;
    color: #000;
}
.clientssummarybox ul {
    list-style-type: none;
    margin: 10px 0 0 0;
}
.clientssummarybox ul li {
    margin: 0 0 2px 20px;
}
table.clientssummarystats {
    width: 100%;
    border: 1px solid #E0D3BA;
}
table.clientssummarystats td {
    background-color: #ffffff;
    font-size: 11px;
    padding-left: 4px;
}
table.clientssummarystats tr.altrow td {
    background-color: #f6f6f6;
    padding-left: 4px;
}