input.textbox {
	background-color:#FFFFCD;
	border:1px solid #808080;
}
.search-results input.textbox {
	padding:1px;
	text-align:center;
	width:50px;
}

.msButtonBarTop {
	border-top:0;
}

.msBox {
	margin-bottom:0;
}
.msGroup .msGroupItem {
	border:1px solid #c8c8c8;
	border-bottom:0;
}
.msGroup h2 span.searchResults {
	float:right;
	margin-right:17px;
}
.msGroup h2 span .searchResultsValue {
	display:inline;
	float:none;
}
.msGroupType h2 {
	border-top:0;
	position:relative;
}
.msButtonBarBottom {
	margin-bottom:1em;
}
.msButtonBarBottom .searchResults {
	font-weight:bold;
	padding-top:3px;
}

.msGroupItem fieldset {
	padding:15px;
}

.msSearchOption {
	border-top:1px solid #999;
	padding:2px 0 30px;
}
.msSearchOption:first-child {
	border-top:0;
}
.msSearchOption ul {
	margin-bottom:0;
}

.msSearchOptionInversisRisk p {
	margin-bottom:0;
	text-align:center;
}
.msSearchOptionPeriods div,
.msSearchOptionRankInCat div {
	margin-bottom:3px;
}

.msSearchOptionRegion div,
.msSearchOptionSector div {
	margin-top:1em;
}

.msSearchLabel {
	display:block;
	font-weight:bold;
	margin-bottom:4px;
}
li .msSearchLabel {
	font-weight:normal;
	display:inline;
}
.msSearchOptionPeriods label,
label.msSearchLabelRankInCat {
	position:relative;
	top:3px;
	float:left;
	font-weight:normal;
}
.msSearchOptionPeriods label {
	width:85px;
}
.msSearchOptionPeriods label.msSearchLabelMorningstarReturnAnnualizedReturns {
	font-weight:bold;
}
label.msSearchLabelRankInCat {
	width:100px;
}

.msSearchButtonList li {
	background:url(/img/backgrounds/checkbox_unchecked.gif) repeat-x top left;
	border:1px solid #808080;
	color:gray;
	cursor:pointer;
	height:18px;
	line-height:18px;
	text-align:center;
}
.msSearchButtonList3YStdDev li,
.msSearchButtonListInversisRisk li,
.msSearchButtonListRisk li {
	float:left;
}
.msSearchButtonList3YStdDev li {
	width:32%;
}
.msSearchButtonListInversisRisk li,
.msSearchButtonListQuartile li {
	width:115px;
}
.msSearchButtonListRisk li {
	width:19%;
}
.msSearchButtonList li.selected {
	background-image:url(/img/backgrounds/checkbox_checked.gif);
	color:#000;
}

.msSearchCheckbox {
	/*top:2px;*/
}
.msSearchCheckboxMorningstarRating {
	top:-1px;
}
.msSearchCheckboxAnalystRating {
	top:-2px;
}

.msSearchRadio {
	/*top:2px;*/
}
.msSearchRadioList li {
	float:left;
	margin-left:20px;
}
.msSearchRadioList li:first-child {
	margin-left:0;
}

.msSearchSelect {
	width:100%;
}
.msSearchSelectComparison {
	margin-left:5px;
	width:35px;
}
.msSearchSelectPercentage {
	width:40%;
}
.msSearchSelectPercentageFilter {
	width:50%;
}
.msSearchSelectRankInCat,
.msSearchSelectType {
	margin-left:5px;
	width:135px;
}

.msSearchSliderList li {
	float:left;
	display:block;
	margin:0;
	width:63px;
}
.msSearchOptionSlider .selected {
	background-image:url('/includes/images/selectbk.gif');
}

.msSearchTextbox {
}
.msSearchOptionPeriods .msSearchTextbox {
	margin-left:5px;
	padding:2px 2px 1px;
	width:50px;
}

.msSearchOptionAnalystRating li .msSearchLabel {
	top:6px;
}
.msSearchOptionMorningstarRating li .msSearchLabel {
	top:4px;
}

.msStylebox {
	border-top:1px solid #000 !important;
	display:inline-block;
	float:left;
}
.msStylebox * {
	background:url('/img/backgrounds/stylebox_unchecked.gif') no-repeat top left;
	cursor:pointer;
}
.msSearchOptionEquity .msStylebox *.selected {
	background-image:url('/img/backgrounds/stylebox_equity.gif');
}
.msSearchOptionFixedIncome .msStylebox *.selected {
	background-image:url('/img/backgrounds/stylebox_fi.gif');
}

.msEqualRightColumn > div {
	padding:15px;
}
.msEqualRightColumn a {
	text-decoration:underline;
}
.ms_datapoint_title {
	font-weight:bold;
	margin-bottom:1em;
}

/* modal popups */
.ms_modal_background {
	background-color:gray;
	filter:alpha(opacity=70);
	opacity:0.7;
}
.ms_modal_popup {
	position:relative;
	background-color:#ffd;
	border:3px solid gray;
	padding:3px;
	width:350px;
}
.ms_modal_popup div {
	padding:0 5px;
}
.ms_modal_popup_titlebar {
	background:url(/img/FromCss/titlebk.jpg) repeat-x top left;
	border-bottom:1px solid #232323;
	color:#fff;
	height:25px;
	line-height:25px;
	margin:0 0 3px;
	padding:0;
	vertical-align:middle;
}
.ms_modal_popup_titlebar_close {
	background:transparent url(/img/popup/popupclose.gif) no-repeat center right;
	display:block;
}
.ms_modal_popup ul {
	margin-bottom:1em;
}
.ms_modal_popup li {
	margin-bottom:0;
}
.ms_modal_popup label {
	display:block;
	margin-bottom:3px;
}
.ms_modal_popup .msButton {
	padding-left:0;
	padding-right:0;
	width:80px;
}