body {margin: 0; padding: 0; border: none; text-align:left; font: 12px 'Verdana', '宋体'; background: #F3F3EC;}

form {margin: 0; padding: 0; }

form input, form textarea {font: 12px; padding-left: 4px; color: #333; }

form input.focus, form textarea.focus {border-color: orange; color: #000; }

a {color:#003399; text-decoration: underline ; }
a:visited {color:#003399; }
a:hover {color:#663399; text-decoration: underline; }

h1, h1.normal {text-align:left; color: #666; font: 26px 'Verdana', '黑体'; line-height: 24px; margin: 10px; padding: 0px; }
h2, h2.normal {text-align:left; color: #666; font: 20px 'Verdana', '黑体'; line-height: 16px; margin: 10px; padding: 0px; }

h1.embedded {text-align:left; color: #666; font: 18px 'Verdana', '黑体'; line-height: 18px; margin: 6px; padding: 0px; }
h2.embedded {text-align:left; color: #666; font: 14px 'Verdana', '黑体'; line-height: 14px; margin: 4px; padding: 0px; }

.errorMessage {color: red}

.bmoSpan {font-size: 12px}
.bmoSelect {width: 130px; font-size: 12px;}

.code {font-family: Courier New, '宋体'}
.error { color: red; }

span.bold {font-weight: bold; }

.spacer{display:block; clear:both; height:0; line-height:0; font-size:0; overflow:hidden; }

.appTitle {font: 14px 'Verdana', '宋体';  font-weight: bold; }

div#accountPanel {padding: 10px 0px; text-align: right; font-size: 12px; font-weight: bold; }

div#toolbar {margin: 4px 0 4px 0; padding: 2px; height: 20px; line-height:20px; background-color:#E6E6E6; border-style: solid; border-width: 0px 0px 1px 0px; }
.tooltable, .tooltable TD, .tooltable TH {background-color:#E6E6E6; color:white; font-size: 12px;}

div.databar {font: 12px 'Verdana', '宋体';}

.cmdButtons {width: 60px; height: 2.5em; margin-right: 5px; font-size: 12px;}

.btn, .buttons {
    font-family: 'Verdana', 'Geneva', sans-serif;
    background-image:  url("../images/bgButton.gif");
    background-repeat: repeat-x;
    background-position: left top;
    border-right:1px solid #5C5D61;
    border-bottom:1px solid #5C5D61;
    border-top:none;
    border-left:none;
    font-size: 12px;
    color:#FFFFFF;
    padding:1px 3px;
    margin:0pt 4px;
    cursor:pointer;
    font-weight:bold;
    display:inline;
}

div.msg {
	padding:150px;
	text-align:center;
	font-family:Verdana,̎ͥ;
	font-size: 16px;
}

div.commandbar {
	background-color: #E5E5E5;
	text-align: center;
	padding: 10px 0px; 
	margin: 10px 0px;
}

div.commandbar-left {
	background-color: #E5E5E5;
	text-align: left;
	padding: 10px 0px; 
	margin: 10px 0px;
}

div.commandbarMid {text-align: right;}

div#status {padding: 4px; margin: 0; float: right; width: 250px; color: #fff; background-color: #669966; font-size: 12px;}
div#status ul {list-style-type: none;}
div#status ul li { display: inline; }

div#statusdialog {padding: 4px; margin: 2px 0; color: #fff; background-color: #669966; font-size: 12px;}
div#statusdialog ul {list-style-type: none;}
div#statusdialog ul li { display: inline; }

div#messagePanel {padding: 4px; margin: 2px 0; color: #fff; background-color: #669966; font-size: 12px;}

div.navStatus {padding: 4px; margin: 4px; font-size: 12px;}

div#pageTitle {padding: 2px 0 4px 0; margin: 0; clear: both; border-bottom:0px solid #222222; background-color:#fff}

div#container {margin: 0px; padding: 2px 0; width: 100%; clear: both; border-top: 0px gray solid;}

div.sectionTitle {text-align:left; padding: 2px; margin: 4px 0; color: #000; font-size: 12px; font-weight: bold; border-bottom: 1px gray solid;}

div.debugPanel {text-align:left; padding:20px}

div.treePanel {padding: 0px; margin: 10px; background: #E5F2F2; color: #000; font-size: 12px;}

div#debug {margin-top: 120px; padding: 4px; background-color: #EEE; color: #000; font-size: 12px; }

div#footer {clear: both; background: #007B78; color: #fff; height: 20px; padding: 4px 4px 0 0; margin-top: 40px; line-height: 20px; font-size: 12px; }

div#footer table {color: #fff; font-size: 12px;}

div#footer a {color: #fff; text-decoration: none; }

div#footer a:hover {text-decoration: underline; }

div.bafInfo {padding: 4px; margin: 4px; font-size: 12px;}

td.navigationPanel {width: 210px; border-width: 0px; padding: 4px 0;}

div.icon-right {float: right; padding: 0; margin: 0; }

div#loginPanel {background: #EEEEEE; border: 1px solid #C0C0C0; color: inherit; margin: 100px auto 100px auto; width: 400px; text-align: center; }

div#loginPanel table {font-size: 12px; } 

div#loginPanel th {text-align: right; }

div#dialogPanel {overflow: auto; width: 100%; height: 500px; border-left: 1px gray solid; border-bottom: 1px gray solid; padding:0px; margin: 0px}

div#account {font-size: 10pt;}

div#searchBar {padding: 2px; background: #C0C0C0; font: 12px 'Verdana', '宋体'}

div#searchPanel {background: #EDEDE7; font: 12px 'Verdana', '宋体';}

span.pageNav {margin-right: 10px; color: black;}

/* This is the style for the informational messages presented to the user */

div.error, div.message, div.errorBox {
    background-color: #ffffcc;
    border: 1px solid #000;
    color: #000000;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
    margin: 5px;
    padding: 3px;
    text-align: left;
    vertical-align: bottom;
}

/* use a different color for the errors */
div.error, div.errorBox {
	border: 2px solid red;
}

img.validationWarning, div.errors img.icon, div.messages img.icon {
    border: 0;
    width: 14px;
    height: 13px;
    vertical-align: top;
}

div.message a {
    background: transparent;
    color: #0000FF;
}

div.message a:visited {
    background: transparent;
    color: #0000FF;
}

div.message a:hover {
    background: transparent;
    color: #008000;
}

div.message a:active {
    text-decoration: underline overline;
}

div.message img.icon {
    vertical-align: middle;
}

div.gridAction {
	float:right;
	font-size:12px;
	margin:4px 4px
}

div.gridAction2 {
	text-align:right;
	font-size:12px;
	margin:4px 4px
}

span.fieldError {
    color: red;
    font-size: 12px;
    font-weight: bold;
}

a.gdown {
	background: url("../images/plus.gif") no-repeat scroll 0pt 0.1em;
	padding:0pt 0pt 0pt 15px;
}

a.gup {
	background: url("../images/minus.gif") no-repeat scroll 0pt 0.1em;
	padding:0pt 0pt 0pt 15px;
}

div.autocomplete {
      position:absolute;
      width:250px;
      background-color:#9EB5F2;
      border:1px solid #888;
      margin:0px;
      padding:0px;
      height:200px;
      /*overflow:scroll;*/
}
div.autocomplete ul {
      list-style-type:none;
      margin:0px;
      padding:0px;
}
div.autocomplete ul li.selected { background-color: #ffb;}
div.autocomplete ul li {
      list-style-type:none;
      display:block;
      margin:0;
      padding:2px;
      height:32px;
      cursor:pointer;
}

ul.people li.selected { background-color: #ffffff; }
li.person { list-style-type: none; }

button {
	font-size:12px;
}

.lookupPopup {
	background-color: #fff; 
	background-repeat: no-repeat;
	background-position: 0px 2px;
	width:18px;
	height:18px; 
}

button.lookupButton {
	font-family: 'Verdana', 'Geneva', sans-serif;
    background-repeat: repeat-x;
    background-position: left top;
    border-right:1px solid #5C5D61;
    border-bottom:1px solid #5C5D61;
    border-top:none;
    border-left:none;
    font-size: 80%;
    color:#FFFFFF;
    padding:1px 0px;
    cursor:pointer;
    font-weight:bold;
    display:inline;
    width:45px;
    height:20px;
    text-align:left;
    background-position: 2px 2px;
    background-repeat: no-repeat;
}

/* These are the styles for Bmo List/Detail/Query screen tables */
.bmoTitle {
    color: #000000;
    border-color: #DDDDDD;
    background-color: #FF9900;
    border-collapse: collapse;
    font-weight: bold;
}

div.bmoQuery {
    margin: 4px 10px;
}

div.bmoContainer {
	margin: 4px 16px 4px 4px;
	background-color: #F3F3EC;
}	

table.bmoQuery {}

div.bmoObject {
 	min-height:300px;
} 

* html div.bmoObject {
	height:400px;
} 

table.bmo {
    width: 100%;
    background-color: #F3F3EC;
}

table.bmo tr th  {
    text-align: right;
    vertical-align: top;
    white-space: nowrap;
    font-weight: normal;
    padding: 2px 4px;
}

table.bmo tr td {
    text-align: left;
    vertical-align: top;
    padding: 2px 4px;
}

table.bmoOnline {
    width: 100%;
    background-color: #FFFFFF;
}

table.bmoOnline tr th  {
    text-align: right;
    vertical-align: top;
    white-space: nowrap;
    font-weight: normal;
    padding: 2px 4px;
}

table.bmoOnline tr td {
    text-align: left;
    vertical-align: top;
    padding: 2px 4px;
}

th.bmoLabel2 {
	width: 18%;
}

td.bmoValue2 {
	width: 32%;
}

th.bmoLabel3 {
	width: 10%;
}

td.bmoValue3 {
	width: 23%;
}

div.bmoField, div.bmoField pre {
	margin: 0;
	padding: 0;
}

table.ratetable th, table.ratetable td {
	text-align: right; padding: 0 0.5em;
  	border-bottom: 1px solid #DDD;
}

table.ratetable td.yindex {
	background: #CEC; 
	border-bottom-color: white;
}

table.RiskPreference {
	padding: 5px;
    font-size: 12px;
    font-weight: normal;
    border-spacing: 5px;
    width: 96%;
    background-color: #F3F3EC;
}

table.RiskPreference th  {
    text-align: right;
    padding: 2px 2px 0 0;
}

table.RiskPreference td {
    text-align: left;
    padding: 2px 2px 0 0;
}

th label {
    font-weight: normal;
}

table.bmoList caption {
	display:none;
}		

div#bmoList {
	margin: 0px;
	padding: 0px;
}

table.bmoList {
  font-size: 12px;
	border-collapse:collapse;
	clear:both;
	width:100%; 
	background-color: #F3F3EC;
}

table.bmoList tbody td {
	border-width: 0 0 1px 0;
	border-style: solid;
	padding:2px 0 2px 5px;
	vertical-align: middle;
	border-bottom-color:#E6E6E6;
}

table.bmoList tbody td.numerical {
	border-width: 0 0 1px 0;
	border-style: solid;
	padding:2px 0 2px 5px;
	vertical-align: middle;
	border-bottom-color:#E6E6E6;
	text-align:right; 
}

th.action, td.action {
    white-space: nowrap;
}
				
table.bmoList thead th {
	border-width:1px 1px 1px 0;
	border-style:solid;
	padding:4px 0 4px 5px;
	background:url(../images/px_w.gif) repeat-y;
	border-top-color:#FFF;
	border-bottom-color:#C1C1C1;
	border-right-color:#C1C1C1;
	background-color:#E6E6E6;
	white-space: nowrap;
}

table.bmoList thead th.sorted {
	border-width:1px 1px 1px 0;
	border-style:solid;
	padding:4px 0px 4px 5px;
	border-top-color:#FFF;
	border-bottom-color:#C1C1C1;
	border-right-color:#C1C1C1;
	background-color:orange;
	white-space: nowrap;
}

table.bmoList thead th input {
	margin-bottom:0px;
	margin-top:-1px;
}

table.bmoList td img {
	text-align:right;
}

table.bmoList th img {
	float:right;
	margin:4px 4px 0 0;
} 

table.bmoList tr.normal {
	font-weight:normal;
}

table.bmoList tr.even {
	background-color:#E1E1E1;
}

table.bmoList thead th.sortcol {
	background-color:#C1C1C1;
}

table.bmoList tr.selected td {
	background-color:#D6DEEC;
}

table.dtable {
    margin: 0px;
	font-size: 12px;
	border-collapse:collapse;
	clear:both;
	width:100%; 
	background-color:#ffffff
}  

table.dtable thead th {
	border-width:1px 1px 1px 0;
	border-style:solid;
	padding:4px 0 4px 5px;
	background:url(../images/px_w.gif) repeat-y;
	border-top-color:#FFF;
	border-bottom-color:#C1C1C1;
	border-right-color:#C1C1C1;
	background-color:#E6E6E6;
}

td.grid {
    BORDER-RIGHT: 1px outset; PADDING-RIGHT: 1px; 
    BORDER-TOP: 1px outset; PADDING-LEFT: 1px; 
    PADDING-BOTTOM: 1px; BORDER-LEFT: 1px outset; 
    PADDING-TOP: 1px; BORDER-BOTTOM: 1px outset; 
    TEXT-ALIGN: left;
}

img.lookupIcon {
	background:url(../images/lookup.gif) center left no-repeat;
	width: 16px;
	height: 16px;
}

img.lookupClear {
	background:url(../images/lookupClear.gif) center left no-repeat;
	width: 16px;
	height: 16px;
}

/*
td.grid input {
	border-style: none; BACKGROUND-COLOR: transparent; TEXT-ALIGN: left;
}*/

th a,th a:visited {
    text-decoration: underline;
	color: black;
}

th a:hover {
	text-decoration: underline;
	color: black;
}

th.sorted a, th.sortable a {
    background-position: right;
	background-repeat: no-repeat;
	display: block;
	width: 100%;
}

/*
th.sortable a {
	background-image: url(../img/arrow_off.png);
}*/

th.order1 a {
	background-image: url(../img/sort_up_1.gif); /*arrow_down.png*/
}

th.order2 a {
	background-image: url(../img/sort_dn_1.gif); /*arrow_up.png*/
}

span.pagebanner {
    margin: 6px;
}

span.required {
    color: red;
}

/* Labels for validation and label tag */
label {
    font-weight: normal;
    cursor: pointer;
    /*cursor: hand;*/
}

label.required {
    font-weight: bold;
}

label.error {
    font-weight: bold;
    background: transparent;
    color: red;
}

div#pageNavigation {
	clear: both;
	font-size: 12px;
	text-align: right;
}

div.selectionPanel {
	margin: 10px;
	padding: 10px;
	background: #fef4d9;
	font-size: 12px;
}

div.dtableButtons {
    margin: 8px 0;
}

table.finacialStatement {
    padding: 5px;
    font-size: 12px;
    font-weight: normal;
    border-spacing: 3px;
    width: 96%;
    background-color: #F3F3EC;
}

table.finacialStatement th  {
    text-align: left;
    padding: 2px 2px 0 0;
    white-space: nowrap;
}

table.bafInfo {
	border: 1px solid #aaaaaa;
	border-collapse: collapse;
	border-spacing: 0px; 
	font-size: 12px
}

table.bafInfo tr {
	border: 1px solid #dddddd;
}

.toolgroup {
	background: #EDEDE7;
	margin: 0 8px 6px 4px;
	font-size: 12px;
}
.toolgroup .label {
	border-bottom: 1px solid #555;
	border-right: 1px solid #555;
	background: #DCDCD4;
	padding: 4px;
    margin-bottom: 4px;	
}
.toolgroup .content {
	border-right: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
	padding: 4px 0px 4px 0;
}
.toolgroup .content div {
	padding-bottom: .5em;
	padding-left: 1em
}

/*
.toolgroup .content div.searchPanel {
	padding-bottom: .5em;
	padding-left: .5em
}*/

.toolgroup div#treeContainer {
	width: 100%;
	overflow: auto;
}

calendarcontrol {text-align:center;}
yearcontrols {position:relative; width:100%; clear:left; zoom:1; padding:3px;}
yearcontrols:after {content:'.';visibility:hidden;clear:left;height:0;display:block;}
yearcontrols a:hover {background-color:#f7f9fb; color:#000;}
yearselect, yearform {display:inline;}
yearnav {position:relative; display:inline;}

#example0 { z-index:9001; } /* z-index needed on top instances for ie & sf absolute inside relative issue */
#example1 { z-index:9000; } /* z-index needed on top instances for ie & sf absolute inside relative issue */
.autocomplete { padding-bottom:2em;width:40%; }/* set width of widget here*/
.autocomplete .yui-ac-highlight .sample-quantity,
.autocomplete .yui-ac-highlight .sample-result,
.autocomplete .yui-ac-highlight .sample-query { color:#FFF; }
.autocomplete .sample-quantity { float:right; } /* push right */
.autocomplete .sample-result { color:#A4A4A4; }
.autocomplete .sample-query { color:#000; }

#ysearch { text-align:center; }
#ysearchinput { position:static;width:20em; } /* to center, set static and explicit width: */
#ysearchcontainer { text-align:left;width:20em; } /* to center, set left-align and explicit width: */

.yui-skin-sam .yui-dt table {
	width:100%
}

.yui-dt-table {width:100%}

.polySelect .yui-button a,
.polySelect .yui-button button {
	line-height: 1; /* For Gecko */
	*line-height: 1; /* For IE */
	min-height: 1em; /* For Gecko */
	*min-height: auto; /* For IE */
	padding-left: 4px;
}

.yui-skin-sam .yui-dt-bd table {
	width:100%;
}

.yui-skin-sam .yui-dt-liner { white-space:nowrap; }

.yui-layout-hd h2 {
	font-size: 13px;
	margin: 0px;
}