/* reset styles for cross-browser sanity */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,p,blockquote,th,td{margin:0;padding:0;}
table{border-collapse:collapse;border-spacing:0;font-size:100%;}
fieldset,img{border:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}
ol,ul {list-style:none;}
caption,th {text-align:left;}
h1,h2,h3,h4,h5,h6{font-size:100%;}
q:before,q:after{content:'';}
input, select, textarea {font-family:arial, sans-serif;}

body {
	font-family: arial, sans-serif;
    font-size: 100%;
}
#wrap {
    border-left: 1px solid #999;
    border-right: 1px solid #999;
    margin: 0 auto;
    height: 100%;
    min-width: 790px;
    max-width: 1100px;
}
* html #wrap {
    width: expression(document.body.clientWidth > 1100 ? '1100px' : (document.body.clientWidth < 790 ? '790px' : 'auto'));
}
img { 
    border: 0; 
}
a { 
    color: #0000C0; 
    text-decoration: underline;
}

#adv_search {
    float: left;
    font-size: 70%;
    line-height: 120%;
    margin-left: 2px;
}
#adv_search a {
    text-decoration: none;
    color: #333;
}
#adv_search a:hover {
    text-decoration: underline;
    cursor: pointer;
}
#cbsi_f {
    font-size: 70%;
    line-height: 150%;
	text-align: center;
	clear: both;
	color: #777;
}
#cbsi_f a {
	text-decoration: none;
	color: #777;
}
#cbsi_f a:hover {
	text-decoration: underline;
}

#toplinks {
    font-size: 90%;
	position: absolute;
	right: 10px;
    top: 10px;
    color: #555;
    z-index: 50;
}
#toplinks a {
    color: #555;
    padding: 0 5px 0 2px;
}

#box {
    margin: 0 auto 40px auto;
    width: 600px;
    background: #dbdbdb url("http://i.i.cbsi.com/cnwk.1d/i/se/sc/search_box_bg.png") repeat-x top;
}
#box div.top {
    width: 100%;
    height: 17px;
    background: transparent url('http://i.i.cbsi.com/cnwk.1d/i/se/sc/search_box_top_left.png') no-repeat left top;
}
#box div.top div {
    position: relative;
    height: 17px;
    background: transparent url('http://i.i.cbsi.com/cnwk.1d/i/se/sc/search_box_top_right.png') no-repeat right top;
}
#box div.left {
    background: transparent url('http://i.i.cbsi.com/cnwk.1d/i/se/sc/search_box_left.png') repeat-y left;
}
#box div.content {
    overflow: visible;
    background: transparent url('http://i.i.cbsi.com/cnwk.1d/i/se/sc/search_box_right.png') repeat-y right;
    position: relative;
    padding: 2px 23px 25px 23px;
    margin: -2px 0 -36px 0;
}
* html #box div.content {
    height: 1%; /* ie6 hasLayout hack */;
}
#box div.bottom {
    clear: both;
    height: 38px;
    background: transparent url('http://i.i.cbsi.com/cnwk.1d/i/se/sc/search_box_bottom_left.png') no-repeat left bottom;
}
#box div.bottom div {
    position: relative;
    height: 38px;
    background: transparent url('http://i.i.cbsi.com/cnwk.1d/i/se/sc/search_box_bottom_right.png') no-repeat right bottom;
}
#box p {
    font-size: 90%;
}
#box #logo {
    margin-top: 10px;
    height: 75px;
    background: transparent url("http://i.i.cbsi.com/cnwk.1d/i/se/sc/search_box_logo.png") no-repeat top;
}
#box #logo img {
    height: 55px;
    width: 250px;
}

#modal {
    top: 0;
    left:0;
    position: absolute;
    width: 100%;
    height: 100%;
    background: #333;
    visibility: hidden;
    z-index: 100;
}
.dialog {
    background: #ffffff url("http://i.i.cbsi.com/cnwk.1d/i/se/sc/search_box_bg.png") repeat-x top;
    visibility: hidden;
    z-index: 200;
    padding: 16px;
    color: #333;
}
.dialog fieldset {
    border: 1px solid #777;
    padding: 6px 5px 10px 15px;
    margin-bottom: 6px;
}
.dialog legend {
    font-weight: bold;
}
.dialog label {
    font-size: 90%;
}
.dialog input, .dialog select {
    font-size: 85%;
    height: auto;
    width: auto;
}
.dialog input.checkbox {
    clear: both;
    display: inline;
    height: auto;
    width: auto;
    padding: 2px 0 0 0;
    position: relative;
    top: -1px;
}
.dialog button {
    font-size: 85%;
    float: right;
    margin: 10px 5px 0 0;
}

ul.autocompleter-choices
{
	position:				absolute;
	margin:					0;
	padding:				0;
	list-style:				none;
	border:					1px solid #7c7c7c;
	border-left-color:		#c3c3c3;
	border-right-color:		#c3c3c3;
	border-bottom-color:	#ddd;
	background-color:		#fff;
	text-align:				center;
	font-family:			Verdana, Geneva, Arial, Helvetica, sans-serif;
	z-index:				50;
	background-color:		#fff;
}

ul.autocompleter-choices li
{
	position:				relative;
	margin:					-2px 0 0 0;
	padding:				0.2em 1.5em 0.2em 1em;
	display:				block;
	float:					none !important; 
	cursor:					pointer;
	font-weight:			normal;
	white-space:			nowrap;
	font-size:				85%;
	line-height:			1.5em;
        text-align: left;
}

ul.autocompleter-choices li.autocompleter-selected
{
	background-color:		#444;
	color:					#fff;
}

ul.autocompleter-choices span.autocompleter-queried
{
	display:				inline;
	float:					none;
	font-weight:			bold;
	margin:					0;
	padding:				0;
}

ul.autocompleter-choices li.autocompleter-selected span.autocompleter-queried
{
	color:					#9FCFFF;
}
ul.autocompleter-choices button {
    margin: 10px 0;
}
ul.autocompleter-choices #remove_autosuggest {
    position: absolute;
    bottom: 4px;
    right: 6px;
    font-size: 70%;
}
