* {
	margin: 0;
	padding: 0;
}
body {
	background: #E1E1E1;
	margin: 0;
	padding: 0;
	color: #333333;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
}
h2 {
	font-size: 1.8em;
	font-weight: bold;
	float: left;
	margin: 0;
	padding: 0;
}
h3 {
	color: #878585;
	font-size: 1.8em;
	font-weight: bold;
	float: left;
	margin: 0 5px;
	padding: 0;
}
h4 {
	font-size: 1.6em;
	font-weight: 100;
	display: block;
	margin: 0;
	padding: 0;
}
h5 {
	font-size: 14px;
	font-weight: bold;
}

a {
	color: #0078C5;
	text-decoration: underline;
}
ul {
 margin-left: 2.5em;
}
form {
	margin: 0;
}
table {
	/*width: 770px;*/
	width: 710px;
	border-collapse: collapse;
	margin: 8px 0;
	border: 1px solid #CCCCCC;
	padding: 0;
}
table table {
	/*width: 770px;*/
	width: 696px;
}
body#overview table {
	width: 770px !important;
}
body#overview table td {
}
table th,
table td {
	vertical-align: top;
	padding: 4px;
	text-align: left;
}
table thead th {
	line-height: 14px;
	color: #333333;
	border-top: 2px solid #999999;
}
table thead th a {
	color: #FFF;
}
table tbody th {
	font-weight: normal;
}
table caption {
	text-align: left;
}
select {
	clear: left;
	display: inline;
	width: 400px;
}
select.mid {
	width: 200px !important;
}

textarea {
	width: 100%;
	height: 70px;
	padding-bottom: 5px;
	margin-top: 3px;
}
th.secondrow {
	border-top-style: none;
	font-weight: normal;
	font-style: normal;
}
tr.sub th {
	border-top: none;
	border-bottom: 1px solid #CCCCCC;
	font-weight: bold;
}
tr.plain th {
	border-top: none;
	font-weight: 100;
}
table.products {
	width: 860px !important;
}
table.products thead th {
	background: #5B5A5A url(../images/design/bg_th.gif) top repeat-x;
	padding-bottom: 5px;
}
tbody.closed tr.info {
	display: none;
}
tbody.open td {
	display: table-cell;
	font-size: 0.9em;
	color: #008080;
}
a.back_to_top {
	display: block;
	margin-bottom: 6px;
	text-align: right;
}
fieldset {
	background: transparent url("../images/design/background-rule.png") left 10px repeat-x;
	border: none;
	margin: 0;
	padding: 5px 10px 10px;
	margin-bottom: 10px;
}
fieldset legend {
	color: #333;
	/* margin-top: 30px;*/
	font-weight: bold;
}
fieldset label {
	line-height: 12px;
	font-size: 0.9em;
	width: 94px;
	float: left;
	padding: 4px 6px 6px 0;
}
fieldset div.row {
/*	height: 28px;*/
}
p.flagged {
/*	margin: 0 0 -6px;*/
	border: 2px solid #888877;
	padding: 6px 6px 6px 24px !important;
	background: #FEFED7 url(../images/icons/flagged.gif) 6px 6px no-repeat !important;
}
p.help {
	/*width: 700px;*/
	/*width: 640px;*/
	width: 100%;
	color: #989898 !important;
	margin-bottom: 7px;
	display: block;
	font-size: 11px !important;
}
span.help {
	color: #989898 !important;
	margin-bottom: 7px;
	font-size: 10px !important;
}
div.half-page p.help {
	width: 300px;
}
div.row p.help {
	clear: both;
	float: left;
}
fieldset div.row p.help {
	width: 280px;
	margin-bottom: 6px !important;
	margin-left: 100px;
}
form span.required {
	font: bold 0.9em Arial;
	padding: 4px 12px;
	margin: 3px;
	background: transparent url("../images/icons/star.png") right 2px no-repeat;
	text-align: right;
	display: block;
}
fieldset div.required label {
	width: 88px;
	padding-right: 0;
	margin-right: 0;
	/*position: relative;*/
	left: -12px;
	font-weight: bold;
	padding-left: 12px;
	background: transparent url("../images/icons/star.png") 0 6px no-repeat;
}
fieldset div.required label strong {
	font-weight: bold;
}
/*
todo: add a class to make this work for popups
fieldset select,
fieldset input,
fieldset textarea {
	clear: none;
	float: left;
	width: 290px;
}
*/
fieldset input.radio {
	margin-right: 10px;
}
body#history.firm label,
body.products label {
	display: block;
}
body#history fieldset label,
body.products fieldset label {
	float: none;
	font-size: inherit;
	line-height: normal;
	margin: 0;
	padding: 0;
	width: auto;
}
body.products fieldset select,
body.products fieldset input,
body.products fieldset textarea {
	float: none;
}
body.products fieldset input.radio {
	margin-right: 5px;
}
ol {
	margin-left: 18px;
}
ol li {
	padding: 6px;
}
ol li p {
	margin: 6px 0;
}
/*------------------------------------------ header -----*/
#header {
	background: #466486 url(../images/design/header_bg.png) left bottom repeat-x;
	border-bottom: 2px solid #A152A9;
	padding: 9px 13px;
	color: #E5E5E5;
	font-size: 0.9em;
}
#header a {
	color: #E5E5E5;
	text-decoration: none;
}
#header a:hover {
	text-decoration: underline;
}
#header h1 {
	/*width: 1140px;*/
	/*width: 964px;*/
	margin: 0;
	padding: 0;
}
#header h1 a {
	display: block;
	background: url(../images/design/h1.gif) top left no-repeat;
	width: 292px;
	height: 38px;
	text-indent: -999em;
	overflow: hidden;
}
#header #login {
	position: absolute;
	/*left: 760px;*/
	/*left: 700px;*/
	left: 390px;
	width: 600px;
	font-weight: bold;
	text-align: right;
}
#header #login span {
	padding: 0 10px 0 0;
}
#header #login span a {
	font-size: 1.3em;
}
#header #login p {
	padding: 0;
	margin: 0;
}
#header #login ul {
	margin: 0;
	padding: 5px 0 0;
	list-style: none;
}
#header #login ul li {
	float: right;
	margin: 0;
	padding: 0 5px;
	border-right: 1px solid #E5E5E5;
}
#header #login ul li.last {
	padding-right: 0;
	border-right: none;
}
/*------------------------------------------ footer -----*/
#footer {
	clear: both;
	color: #989898;
	font-size: 0.9em;
	padding-top: 5px;
}
/*------------------------------------------ content -----*/
#content {
	padding: 15px;
}
#sidebar {
	float: right;
	width: 250px;
}
#main {
	background: #FFF;
	padding: 10px;
	clear: left;
	position: relative;
	/*width: 1024px;*/
	width: 964px;
}
#index #main {
}
#headermain {
	text-align: right;
	clear: both;
	/*width: 1038px;*/
	width: 978px;
	font-size: 0.9em;
}
/*-- overview sidebar --*/
#followups {
	color: #653157;
	font-weight: bold;
	padding: 10px;
	margin: 0 0 10px 0;
	background: #F3E8B9 url(../images/design/bg_followup.gif) bottom repeat-x;
}
#followups h4 {
	color: #867425;
	text-transform: uppercase;
	font-size: 1.3em;
	font-weight: bold;
}
#followups ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#followups li {
	padding: 0 0 0 20px;
	margin: 5px 0;
	background: url(../images/icons/flag_followup.gif) left top no-repeat;
}
#users {
	background: #FFF;
	border: 1px solid #663157;
	border-width: 2px 1px;
	padding: 5px 0 0 0;
}
#users a.edit {
	float: right;
}
#users h4 {
	color: #653157;
	font-size: 2em;
	padding: 0 10px;
}
#users p {
	padding: 0 10px;
	margin: 0;
	color: #787878;
}
ul.users {
	margin: 0;
	padding: 0 10px;
	list-style: none;
}
ul.users li {
	margin: 5px 0;
	padding: 0 0 0 20px;
	background: url(../images/icons/user.gif) left top no-repeat;
	border: 1px solid #FFF;
}
ul.users li.online {
	background: url(../images/icons/user_active.gif) left top no-repeat;
}
ul.users a{
	color: #653157;
	font-size: 0.9em;
	display: block;
}
ul.users a:hover {
	background: #E1E1E1;
}
#users dl.key {
	display: block;
	background: #DDD8DC;
	margin: 0;
	padding: 5px 0 10px 0;
	font-size: 0.9em;
}
#users dl.key dt {
	text-align: right;
	width: 20px;
	display: block;
	float: left;
}
#users dl.key dd {
	margin-left: 30px;
	float: none;
}
/*-- tab menu --*/
ul#tabs {
	list-style: none;
	display: block;
	height: 26px;
	width: 240px;
	float: left;
	margin: 0 0 0 10px;
	padding: 0;
}
ul#tabs li {
	display: inline;
	margin: 0;
	padding: 0;
}
ul#tabs li a{
	display: block;
	color: #656565;
	text-decoration: none;
	height: 20px;
	float: left;
	padding-top: 5px;
	text-align: center;
	font-size: 1.2em;
	font-weight: bold;
	margin: 1px 1px 0 1px;
}
ul#tabs li#overview a{
	background: url(../images/design/nav_overview.gif) left bottom no-repeat;
	width: 88px;
}
ul#tabs li#firm a{
	background: url(../images/design/nav_firm.gif) left bottom no-repeat;
	width: 58px;
}
ul#tabs li#products a{
	background: url(../images/design/nav_products.gif) left bottom no-repeat;
	width: 78px;
}
#overview ul#tabs li#overview a,
#firm ul#tabs li#firm a,
#products ul#tabs li#products a {
	color: #653157;
	font-size: 1.3em;
}
body#overview ul#tabs li#overview a,
ul#tabs li#overview a:hover{
	background: url(../images/design/nav_overview_over.gif) left bottom no-repeat;
}
body.firm ul#tabs li#firm a,
ul#tabs li#firm a:hover{
	background: url(../images/design/nav_firm_over.gif) left bottom no-repeat;
}
body.products ul#tabs li#products a,
ul#tabs li#products a:hover{
	background: url(../images/design/nav_products_over.gif) left bottom no-repeat;
}
/*-- main content --*/
a.printable {
	background: url(../images/icons/printer.gif) left top no-repeat;
	padding: 0 0 0 20px;
	margin: 0;
}
span.complete {
	display: block;
	width: 12px;
	height: 13px;
	background: url(../images/icons/complete.gif) left top no-repeat;
	text-indent: -999em;
	overflow: hidden;
}
span.incomplete {
	display: block;
	width: 11px;
	height: 11px;
	background: url(../images/icons/incomplete.gif) left top no-repeat;
	text-indent: -999em;
	overflow: hidden;
}
span.flagged {
	margin-top: 4px;
	display: block;
	width: 12px;
	height: 14px;
	background: url(../images/icons/flagged.gif) left top no-repeat;
	text-indent: -999em;
	overflow: hidden;
}
p.completed {
	background-color: #FEFED7 !important;
	padding: 6px 6px 6px 24px !important;
	background: url(../images/icons/complete_grey.gif) 6px 6px no-repeat;
}
thead th span.flagged {
	background: url(../images/icons/flagged_th.gif) left top no-repeat;
}
.key span.complete {
	background: url(../images/icons/complete_grey.gif) left top no-repeat;
}
.key span.flagged {
	background: url(../images/icons/flagged_grey.gif) left top no-repeat;
}
.legend {
	clear: both;
	height: 20px;
	padding-top: 10px;
}
.legend h5 {
	float: left;
	margin: 0;
	padding: 0 20px 0 0;
}
dl.key {
	display: inline;
	font-size: 0.9em;
}
dl.key dt {
	float: left;
	margin: 0;
	padding: 0 5px 0 0;
}
dl.key dd {
	margin: 0;
	float: left;
	padding: 0 20px 0 0;
}
#main a.addnewproduct {
	float: right;
}
#landing #main a.addnewproduct {
	margin-right: 260px;
}
a.viewsummary {
	font-size: 0.9em;
}
.up {
	background: url(../images/icons/arrow_up.gif) right 5px no-repeat;
	padding-right: 15px;
}
.down {
	background: url(../images/icons/arrow_down.gif) right 5px no-repeat;
	padding-right: 15px;
}
hr.main {
	height: 1px;
	background: #FFFFFF;
	border: 1px solid #FFFFFF;
	clear: both;
}
/*------------ subnavigation -------------*/
#subnavigation {
	float: left;
	position: relative;
	background: #F0F0F0;
	width: 180px;
	padding: 10px;
	margin-top: 5px;
	border-right: 1px solid #C8C8C8;
}
#subnavigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#subnavigation .navheader a {
	margin: 5px 0;
	padding: 2px 4px;
	margin-bottom: 10px;
	color: #A152A9;
	font-size: 1.1em;
	font-weight: bold;
	text-decoration: none;
}
#subnavigation ul li {
	margin: 5px 0;
	clear: left;
	padding: 0;
}
#subnavigation ul li a {
	width: 150px;
	padding: 2px 4px;
	margin-bottom: 10px;
	color: #A152A9;
	text-decoration: none;
	display: block;
	float: left;
}
#subnavigation span {
	float: left;
	margin: 1px 5px 1px 1px;
	border: none;
}
#subnavigation span.complete{
	background: transparent url(../images/icons/complete_subnav.gif) 2px 2px no-repeat;
}
#subnavigation span.incomplete{
	background: transparent url(../images/icons/incomplete_subnav.gif) 2px 2px no-repeat;
}
#subnavigation span.flagged {
	background: transparent url(../images/icons/flagged_subnav.gif) 2px 2px no-repeat;
}
#subnavigation ul li.active a {
	background: #FFF;
	color: #868484;
}
#subnavigation a:hover {
	text-decoration: underline;
}
#subnavigation ul li.navlabel {
	padding-top: 10px;
	margin-bottom: 10px;
	border-top: 1px solid #A152A9;
	font-weight: bold;
	color: #A152A9;
}
/*------------ firmcontent -------------*/
#firmcontent {
	background: #F0F0F0;
	padding: 10px;
	/*width: 795px;*/
	width: 735px;
	margin: 0;
	float: right;
	margin-top: 5px;
	position: relative;
}
hr.firmcontent {
	height: 1px;
	background: #F0F0F0;
	border: 1px solid #F0F0F0;
	clear: both;
}
#content #main #firmcontent h4 {
	background: url(../images/design/bg_firmcontenth4.gif) bottom repeat-x;
	display: block;
	width: auto;
	padding-bottom: 5px;
	margin-bottom: 5px;
}
div.cycle {
	float: right;
	width: 170px;
	height: 20px;
	position: relative;
}
div.cycle a {
	float: left;
}
div.cycle a.next {
	float: right;
}
#firmcontent #people {
	float: left;
	position: relative;
}
#firmcontent .person {
	width: 610px;
	margin-top: 10px;
	float: right;
}
#people {
	background: transparent;
}
#people ul {
	background: #FFFFFF;
	padding: 0;
	margin: 0 0;
	list-style: none;
}
#people li {
	padding: 5px 10px;
	height: 20px;
	margin: 0;
	clear: both;
}
#people li.active {
	background: #FFFBCA;
}
#people a {
	color: #333333;
	text-decoration: none;
	display: block;
	float: left;
	position: relative;
}
#people a.delete {
	float: right;
}
#people .active a {
	color: #000000;
}
div.editing {
	background: #FFFFFF;
	border: 2px solid #605E5E;
	margin-bottom: 10px;
}
div.viewing {
	background: #F0F0F0;
	border: 2px solid #605E5E;
	margin-bottom: 10px;
}
.editing form, .viewing form {
	padding: 10px;
}
.head {
	background: #5B5A5A url(../images/design/bg_th.gif) top repeat-x;
	padding: 2px 10px;
	height: 26px;
	margin: 0;
}
.head .links {
	float: right;
}
.head .links a {
	float: left;
	margin-left: 5px;
}
.person form{
	padding: 0 10px 10px 10px;
	margin: 0;
	clear: right;
}
/*------------------------------------------ buttons -----*/
a.edit {
	display: block;
	background: url(../images/buttons/edit.gif) left top no-repeat;
	width: 52px;
	height: 24px;
	margin-top: 0;
	margin-right: 10px;
	text-indent: -999em;
	overflow: hidden;
}
a.edit.active,
a.edit:hover {
	background: url(../images/buttons/edit-over.gif) left top no-repeat;
	cursor: pointer;
}
a.addnewproduct {
	display: block;
	background: url(../images/buttons/addnewproduct.gif) left top no-repeat;
	width: 124px;
	height: 24px;
	margin-right: 10px;
	text-indent: -999em;
	overflow: hidden;
}
a.back {
	display: block;
	background: url(../images/buttons/back.gif) left top no-repeat;
	width: 73px;
	height: 24px;
	margin-right: 10px;
	text-indent: -999em;
	overflow: hidden;
}
a.next {
	display: block;
	background: url(../images/buttons/next.gif) left top no-repeat;
	width: 73px;
	height: 24px;
	text-indent: -999em;
	overflow: hidden;
}
a.delete {
	display: block;
	background: url(../images/buttons/delete.gif) left top no-repeat;
	width: 53px;
	height: 24px;
	text-indent: -999em;
	overflow: hidden;
}
a.addperson {
	display: block;
	background: url("../images/buttons/addperson.gif") left top no-repeat;
	width: 100px;
	height: 24px;
	text-indent: -999em;
	overflow: hidden;
}
a.addoffice {
	display: block;
	background: url(../images/buttons/addoffice.png) left top no-repeat;
	width: 100px;
	height: 24px;
	text-indent: -999em;
	overflow: hidden;
}
a.savechanges {
	display: block;
	background: url(../images/buttons/savechanges.gif) left top no-repeat;
	width: 95px;
	height: 24px;
	text-indent: -999em;
	overflow: hidden;
}
a.cancel {
	display: block;
	background: url(../images/buttons/cancel.gif) left top no-repeat;
	width: 55px;
	height: 24px;
	text-indent: -999em;
	overflow: hidden;
}
a.addrow {
	margin: 0;
	display: block;
	background: url(../images/buttons/addnewrow.gif) top right no-repeat;
	width: 113px;
	height: 24px;
	text-indent: -999em;
	overflow: hidden;
}
a.removerow {
	margin: 0;
	display: block;
	background: url(../images/buttons/removerow.gif) top left no-repeat;
	width: 113px;
	height: 24px;
	text-indent: -999em;
	overflow: hidden;
}
a.remove {
	margin: 0;
	display: block;
	background: url(../images/buttons/remove.gif) top left no-repeat;
	width: 14px;
	height: 14px;
	text-indent: -999em;
	overflow: hidden;
}
a.open {
	display: block;
	background: url(../images/icons/open.gif) left top no-repeat;
	width: 11px;
	height: 11px;
	text-indent: -999em;
	overflow: hidden;
}
a.close {
	display: block;
	background: url(../images/icons/close.gif) left top no-repeat;
	width: 11px;
	height: 11px;
	text-indent: -999em;
	overflow: hidden;
}
/*
a.importpositions {
	text-indent: -999em;
	overflow: hidden;
	background: transparent url("../images/buttons/importreturns.gif") center center no-repeat;
	display: block;
	width: 124px;
	height: 24px;
	margin-right: 10px;
	float: right;
}
*/
a.importfile {
	text-indent: -999em;
	overflow: hidden;
	background: transparent url("../images/buttons/importfile.gif") center center no-repeat;
	display: block;
	width: 93px;
	height: 24px;
	float: left;
}
.viewing a {
	color: #999;
	text-decoration: none;
	cursor: default;
}
.viewing a.addrow {
	cursor: default;
	background: url(../images/buttons/disabled/addnewrow.gif) top right no-repeat;
}
.viewing a.removerow {
	cursor: default;
	background: url(../images/buttons/disabled/removerow.gif) top right no-repeat;
}
.viewing a.remove {
	cursor: default;
	background: url(../images/buttons/disabled/remove.gif) top right no-repeat;
}
/*
.viewing a.importpositions {
	cursor: default;
	background: url(../images/buttons/disabled/importreturns.gif) center center no-repeat;
}
*/
.viewing a.importfile {
	cursor: default;
	background: url(../images/buttons/disabled/importfile.gif) center center no-repeat;
}
/*------------------------------------------ form -----*/
.row {
	display: block;
	margin: 0px 0px 5px;
	padding-top: 4px;
	clear: left;
}
#printing .row .row {
	height: 15px;
}
#printing .row label {
	padding: 0;
	width: auto;
}
#printing p {
	margin: 6px;
	float: none;
	width: auto;
	clear: both;
}
.row p {
	font-size: 11px;
}
.row .radio input.radio {
	/*border: none;*/
	display: inline;
	width: auto;
}
.row .radio select {
	display: inline;
	width: auto;
}
.viewing textarea,
.viewing input {
	background-color: #F0F0F0;
	border-top: 1px solid #b1b1b1;
	border-left: 1px solid #b1b1b1;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
}
.viewing select {
	background-color: #F0F0F0;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
}
td.button a {
	float: right;
}
/*
table.grid tbody th,
table.grid tbody td {
	width: 168px;
}
*/
.row table.grid td textarea,
.row table.grid td input,
.row table.grid td select,
.row table.grid td div.sum {
	width: 140px;
}
.row table.grid td div.sum {
	float: left;
}
.number {
	text-align: right;
}
input.number {
	width: 80px /*!important*/;
}
input.long,
select.long {
	width: 400px !important;
	margin-top: 1px;
}
input.wide {
	width: 120px !important;
}
input.mid {
	width: 80px !important;
}
input.narrow {
	width: 60px !important;
}
input.narrow2 {
	width: 50px !important;
}
input.narrow3 {
	width: 40px !important;
}
input.button {
	width: auto;
	height: auto;
	display: inline;
}
input.radio {
	border: none !important;
}
input.checkbox {
	border: none !important;
	width: auto !important;
	margin: 0 4px 0 8px;
}
form.history {
	padding-top: 0px;
	margin-top: 0px;
}
.history .row label, #products .row label {
	width: auto;
	float: none;
	text-align: left;
	color: #878585;
}
.block {
	float: left;
	width: 50px;
}
.block label {
	text-align: left;
}
.block input {
	width: 40px;
}
div.radio {
	font-size: 0.9em;
	display: block;
	margin: 5px 0 5px 20px;
}
div.radio p {
	width: 300px !important;
	margin-left: 0 !important;
}
div.radio input.radio {
	margin-right: 5px;
}
div.radio textarea {
	margin-left:18px;
	/*width: 700px;*/
	width: 640px;
}
div.radio label input {
}
form strong, .required strong {
	color: #CF2B2B;
	font-weight: 100;
}
form h5 {
	display: block;
	margin: 0;
}
.firmBg {
	margin-top: 5px;
/*	background: #FFFFFF url(../images/design/subnavigation_bg.gif) left repeat-y;*/
}
.firmBg #subnavigation {
	margin-top: 0;
}
.firmBg #firmcontent {
	margin-top: 0;
}
/*------------------------------------------ overview -----*/
/*------------------------------------------ firm -----*/
body#firm #main h4 {
	display: inline;
	margin-right: 10px;
}
fieldset div.name {
	height: 40px;
}
.designation .label {
	padding-left: 0px;
}
.phone div.header {
	padding-left: 100px;
	margin-bottom: 0;
}
.phone .label {
	width: 43px !important;
	font-size: 9px;
	display: block;
	float: left;
	margin-left: 8px;
	/*background: red;
	border: 1px solid green;*/
}
.phone input {
	text-align: center;
	margin-right: 4px;
	width: 40px !important;
	display: inline;
}
.phone .extension {
	width: 48px !important;
}
.phone div.areacode {
	margin-left: 0;
	text-align: right;
	white-space: nowrap;
	overflow: visible;
}
form table.thinrow input {
	width: 50px;
}
a.backtotop {
	margin: 0 0 5px 0;
	display: block;
	text-align: right;
}
ul.formtabs {
	list-style: none;
	padding: 0;
	margin: 0;
	/*border: 1px solid #F0F0F0;*/
}
ul.formtabs li {
	padding: 0;
	margin: 0;
	display: inline;
}
ul.formtabs li a {
	padding: 5px 10px;
	margin: 0 2px 0 0;
	display: block;
	float: left;
	color: #656565;
	font-weight: bold;
	text-decoration: none;
	background: #B1B1B1 url(../images/design/bg_formtab.gif) top repeat-x;
}
ul.formtabs li a:hover, ul.formtabs li a.active {
	/*background: #FFFFFF;*/
	background: #EEEEEE;
}
.viewing ul.formtabs li a:hover, .viewing ul.formtabs li a.active {
	background: #DDDDDD;
}
div.formtab {
	border-top: 1px solid #CCC;
	padding: 12px 0px;
	margin: 0;
	border-top: 2px solid #999999;
	clear: left;
}
#fees table td {
}
#fees table td label {
	padding: 0;
	margin: 0;
}
#fees table td h5{
	padding: 0;
	margin: 0;
}
table#bondsector td textarea {
	margin: 0;
}
/*
table#assets td {
	padding-top: 2px;
	padding-bottom: 2px;
}
table#assets td {
	line-height: 13px;
}
*/
.bordered{
	border-right: 1px solid #CCC;
}
.popup {
	background: #FFFFFF;
	width: auto;
}
.popup h4 {
	font-weight: bold;
}
.popup h4 span{
	font-size: 0.8em;
}
.popup .row {
	padding-left: 20px;
	float: none;
}
.popup form h5 {
	padding: 10px 0 5px 0;
}
.popup .row select {
	display: inline;
	width: 200px;
	float: none !important;
}
.popup .row input {
	display: inline;
	width: 200px;
	float: none !important;
}
.popup input.button {
	width: auto;
}
.example {
	clear: left;
	padding-top: 10px;
}
.example img {
	float: left;
}
.example div {
	/*margin-left: 370px;*/
	margin-left: 340px;
}
.example div p{
	margin: 0;
}
.example div a.download {
	font-size: 15px;
	font-weight: bold;
}
body#product_info th {
	padding-bottom: 0px;
}
body#product_info .row td {
	padding-bottom: 3px;
}
table#assets td input,
table#assets td div.sum {
	width: 55px;
	/*width: 60px;*/
	margin: 0;
}
td.gap {
	width: 10px !important;
}
td.policy {
	width: 100px;
}
td.policy input,
td.actual input,
td.policy div.sum,
td.actual div.sum {
	width: 60px !important;
}
td.actual {
	width: 100px;
}
ul.section_navigation {
	list-style: none;
	margin: 0;
	padding: 0;
	margin-bottom: 1em;
}
ul.three_col {
	float: left;
	width: 690px;
}
ul.three_col li {
  float: left;
  width: 230px;
}
table.draft {
	background: #F4F4F4 url(../images/products/draft_bg.png) center no-repeat;
}
table.draft td{
	background: transparent !important;
}
div.note {
	border: 1px solid #556DAE;
	background: #ECEDF4;
	padding: 5px;
	margin: 0 0 5px 0;
}
div.sections {
	border: 2px solid #605E5E;
	background-color: #FFF;
}
div.sections div.section {
	padding: 10px 1px;
	padding-left: 30px;
	background: url("../images/icons/incomplete.gif") 10px 12px no-repeat;
}
div.sections div.section h6 {
	padding-left: 20px;
	background: url("../images/icons/flagged_grey.gif") center left no-repeat;
	margin: 0;
	font-size: 0.9em ;
}
div.sections div.section ul {
	margin: 0;
}
div.sections div.update {
	background-color: #FFFFCC !important;
}
div.sections div.completed {
	background-image: url("../images/icons/complete_grey.gif");
}
div#offices, div#people {
	width: 320px !important;
}
div#offices .office {
	background-color: #FFF;
	position: relative;
	padding: 5px;
	height: 20px;
}
div#offices .office a {
	line-height: 25px;
	float: left;
}
div#offices .office .delete {
	float: right;
}
div#offices .addoffice {
	margin: 3px 0;
}
div#edit_office {
	background-color: #FFF;
	border: 1px solid #605E5E;
	float: left;
	margin-left: 10px;
	width: 430px;
	float: left;
}
.column {
	float: left;
	/*width: 370px;*/
	width: 340px;
}
.column .row {
	padding: 3px;
	margin-bottom: 12px;
}
.column .row select {
	/*width: 360px;*/
	width: 330px;
}
body#turnover li div {
	padding: 6px;
	margin-right: 6px;
	background-color: #F0F0F0;
}
body#turnover li div table {
	border-collapse: collapse;
	/* margin: 6px;*/
	/* width: auto;*/
}
body#turnover li div .active {
	background-color: #FFF;
}
body#turnover li div td,
body#turnover li div th {
	border: 1px solid #8A8A8A !important;
}
body#turnover li div table input {
	width: 80px;
}
table.products td,
table.products th {
	padding: 4px;
}
table tbody .completion {
	width: 10px;
}
table tbody .state {
	width: 15px;
}
table tbody .flag {
	padding: 0;
	width: 15px;
}
table tbody .product {
	width: auto;
}
table tbody .asset-class {
	width: 120px;
}
table tbody .date {
	width: 120px;
}
table tbody .employee {
	width: 120px;
}
input.year, input.order {
	width: 40px !important;
}
#positions td {
	border-bottom: 1px solid #e0e0e0;
}
input.image {
	width: auto;
}
body#turnover.firm tbody {
	border-bottom: 1px solid #CCCCCC;
}
body#realestate input.number,
body#realestate div.sum {
	width: 55px !important;
}
body#realestate input.numaccts,
body#realestate div.numaccts {
	width: 37px !important;
}
body.global #main {
	background-color: #FFF;
}
body.global #main p {
	margin-bottom: 1em;
}
body.global #main h3 {
	float: none;
}
form#login fieldset {
	padding: 6px;
	margin: 0 6px 6px 0 ;
	background-color: #F8F7F7;
	float: left;
	border: 1px solid #ccc;
}
form#login fieldset {
	background-image: none;
	padding: 6px 11px;
}
form#login fieldset div.msg {
	background: transparent url("../images/design/background-rule.png") left bottom repeat-x;
	padding: 0px 10px 3px;
	margin-bottom: 2px;
	color: #333;
	font-weight: bold;
}
form#login fieldset label {
}
form#login fieldset input {
	width: 130px;
}
form#login fieldset p {
	width: 200px;
}
form#login fieldset input.submit {
	margin-left: 100px;
}
div.buttons {
	padding: 6px 0;
	clear: both;
}


.half-page {
	float: left;
	margin-right:6px;
	width: 380px !important;
}
.half-page fieldset {
	width: 320px;
}
.half-page fieldset div.row p.help  {
	width: 240px;
}
.half-page fieldset textarea,
.half-page fieldset select,
.half-page fieldset input {
	width: 200px;
}
.half-page fieldset select {
	clear: none;
}
.half-page fieldset select.half
{
	width: 100px;
}

#control_overlay {
	background-color: #000;
}
#modal_container {
	padding: 0;
	margin: 0;
	background-color: #FFF;
	border: 2px solid #3C3B3B;
	width: 480px;
}
#modal_container.widemodal { 
	width: 970px;
}
#modal_container h1 {
	font-size: 14px;
	margin: 6px 12px 3px !important;
	padding: 0 !important;
}
#modal_container p {
	margin: 0 12px;
}
#modal_container p.help,
#modal_container p.description {
	float: left;
	clear: left;
	margin: 3px 0 6px 100px;
	width: 300px;
}
#modal_container fieldset select, 
#modal_container fieldset input, 
#modal_container fieldset textarea  {
/*	width: 180px;*/
}
#modal_container fieldset {
	margin: 6px;
}
#modal_container div.buttons {
	width: auto; 
	background-color: #D0CCCC; 
	margin-bottom: 0px;
}
#modal_container div.buttons div {
	margin: 0 auto;
}
#modal_container div.buttons fieldset {
	background-image: none;
}
#modal_container div.buttons div input {
	float: left;
	margin: 3px;
	width: auto !important;
}
#modal_container div.buttons div input.cancel {
}
#modal_container div.buttons div input.save {
	float: right;
}
#modal_container.widemodal div.column {
	float: left;
	width: 480px;
}
#modal_container.widemodal fieldset select {
	width: 180px;
}
#modal_container.widemodal fieldset input, 
#modal_container.widemodal fieldset textarea  {
	width: 280px;
}

/*
table .updated_on { width: 112px;   }		
table#products .flag  { width: 20px;}
table#products .state { width: 20px; }
table#products .product { width: 250px; }
table#products .asset { width: 94px;}
table#products .updated_by { width: 112px; }		
table#products .status { width: auto; }		
table#firm .state { width: 48px;}
table#firm .product { width: 352px; }	
table#firm .updated_by { width: auto; }						
*/
table#firm .state { width: 40px;}
table#products .flag  { width: 40px;}

#user #people li {
	line-height: 22px;
	padding-left: 20px;
	background: transparent url("../images/icons/user.gif") center left no-repeat;
}
#user #people li.active {
	background: transparent url("../images/icons/user_active.gif") center left no-repeat;
}
	
table.security-performance tbody {
	border-bottom: 1px solid #dedede;
}

#assets td .numaccts {
	width: 37px !important;
}
div.error {
	padding: 5px;
	margin: 4px -1px -9px -1px;
	border: 1px solid #DD0000;
	color: #DD0000;
	font-weight: bold;
}
div.error li {
	margin: 0 13px;
}

input.error, textarea.error, select.error, td.error {
	background-color: #F3E8F4;
	color: #A152A9;
	border-color: #A152A9;
	font-weight: bold;
}
div.dbg {
	padding: 0 4px;
	margin: 0 -5px;
	border: 1px solid #DD0000;
	clear: left;
}
div.dbg_label {
	margin: 0 -4px;
	padding: 4px 10px 5px 5px;
	background: #DD0000;
	color: #FFFFFF;
	font-weight: bold;
}
table.half {
	/*width: 335px;*/
	/*width: 305px !important;*/
	width: 49% !important;
}
table.auto_width {
	width: auto !important;
}
table.left {
	float: left;
}
table.right {
	float: right;
}

table.commentary th.characteristic {
	width: 200px;
}

table th.employees {
	width: 140px;
}

td.actual select, td.policy select {
	width: 60px !important;
}

textarea,
input,
select {
	/*background-color: #FFFFFF;*/
	border-top: 1px solid #b1b1b1;
	border-left: 1px solid #b1b1b1;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
}
select.period {
	color: #0078C5;
	font-weight: bold;
}
select.period option.period_end {
	background: #eee;
}
.viewing select.period {
	color: #999;
}
.overlaywait {
	cursor: wait;
}
.modalwait {
	margin:6px;
	padding-left: 32px;
	padding-top: 14px;
	padding-bottom: 14px;
	background: url(../images/icons/wait.gif) left center no-repeat;
}
div#offices .active
{
	background: #FFFBCA;
}

table.proddef select
{
	width: 240px;
}
table.proddef select#pmix
{
	width: 190px;
}
.row table.prodprof tr td select
{
	width: 250px;
}
table.prodprof .toprow
{
	border-top: 1px solid #ccc;
}
table td.fee_label
{
	width: 35px;
}
table td.fee_size
{
	width: 120px;
}
table td.fee_rate
{
	width: 145px;
}
table td.fee_part_rate
{
	width: 200px;
}
table th.bold, table td.bold {
	font-weight: bold;
}
table th.right, table td.right {
	text-align: right;
}
tr.botalign td {
	vertical-align: bottom;
}

table.formgrid
{
	clear: left;
	margin-top: 1px;
}
 table.formgrid input, table.formgrid select
{
	width: 95% !important;
}
div.viewing table.formgrid td.readonly {
	/*padding: 4px 4px;*/
	background-color: #e1e1e1;
}
div.editing table.formgrid td.readonly {
	/*padding: 4px 4px;*/
	background-color: #f0f0f0;
}
table.formgrid td.focus
{
	background: #FFFBCA;
}
table.formgrid td.readonly_focus
{
	/*background: #E6E4CB;*/
	background: url(../images/design/bg_cell_ro.png) repeat;
}
table.formgrid td.bold, span.bold {
	font-weight: bold;
}
table.formgrid a.hide {
	/*vertical-align: middle;
	align: right;*/
	margin-top: -100px;
}
table.formgrid thead, table.formgrid tfoot {
	background-color: #DDD;
}
table.formgrid td, table.formgrid th {
	border: 1px solid #CCC;
        text-overflow:ellipsis;
	overflow:hidden;
}
table.formgrid td {
	vertical-align:middle;
	padding: 2px 4px;
	white-space: nowrap;
}
table.formgrid tfoot td.right
{
    border-right: none;
    border-left: none;
    text-align: right;
}

div.table_scroll_view {
	background: #e1e1e1;
}
div.editing table.formgrid div.table_scroll_view table {
	background: #FFFFFF;
}
div.viewing table.formgrid div.table_scroll_view table {
	background: #F0F0F0;
}

div.clientName {
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 8px;
}
.tooltip {
    border:2px solid red;
    padding: 2px 4px;
    background-color:#fff;
    /*height:25px;*/
    width:200px;
    font-family:"Lucida Grande",Verdana;
    font-size:10px;
    color:#333;
}
fieldset.period {
	width: 694px;
	background: none;
	margin: 8px 0;
	border-collapse: collapse;
	/*border: 2px solid #CCCCCC;*/
	border: 2px solid #AAAAAA;
	padding: 0 6px;
}
fieldset.period legend select {
	float: none;
}
fieldset.period legend {
	margin-left: 8px;
	padding: 4px;
	/*border: 1px solid #CCCCCC;*/
}
fieldset.period table {
	width: 692px;
	border-collapse: collapse;
	margin: 8px 0;
	border: 1px solid #CCCCCC;
	padding: 0;
}

fieldset.period textarea {
	width: 692px;
}
fieldset.period table textarea {
	width: 680px;
	/*margin-right: 20px;*/
}
div.sum {
	text-align: right;
	font-weight: bold;
	width: 80px /*!important*/;
	text-overflow: ellipses;
	overflow: hidden;
}
.nowrap {
	white-space: nowrap;
}
.fullwidth {
	width: 100% !important;
}
.autowidth {
	width: auto !important;
}
