/*
   The styles in this file influence the suggest-as-you-type dropdown
   menu that is attached to the site search text field. It is not the 
   same file as the one used on the card site due to differences in
   markup structures.
*/   

/* ---------- Top Search Bar ---------- */

#header
{
	z-index: 50;
}

#header #clear-livesearch {
    position: absolute;
    right: 77px;
    margin-top: 4px;
    *margin-top: 8px;
	z-index: 999;
}

/* ---------- Live Search Results ---------- */

#search-wrap {
    margin: 0;
    padding: 0;
	background-color: transparent;
	background-image: url('http://www.discovercard.com/search/images/search-results-right.png');
	background-position: top right;
	background-repeat: repeat-y;
	z-index: 999;
}

#search-results {
	margin: 0;
	position: absolute;
	top: 75px;
	width: 23.8em;
	height: auto;
	border: .1em solid #C4C8CA;
	overflow: hidden;
	background-color: #FFF;
	font-size: 10px;
	z-index: 1000;
    right: 72px;
}

#search-results ul li { 
	clear: both; 
	margin-bottom: .5em;
}

#search-results ul li:after {
	clear: both;
	content: "";
	display: block;
}

#search-results ul li h3 {
	padding-left: 5px;
	background-color: #C2C8C9;
	background-image: url('http://www.discovercard.com/search/images/search-category-gradient.gif');
	background-repeat: repeat-x;
	line-height: 26px;
	font-size: 1.2em;
	font-weight: bold;	
}

#search-results ul li ul {
	margin-top: .5em;
}
		
#search-results ul li ul li {
	padding: .5em 0;
}
	
#search-results ul li ul li h4 {
	font-size: 1.1em;
	font-weight: bold;
	margin-left: 7em;
	margin-right: 2em;
}

#search-results ul li ul li p {
	font-size: 1.1em;
	margin-left: 7em;
	margin-right: 2em;
}

#search-results ul li ul li p a {
	/* Match base text color */
	color: #293033;
}

#search-results ul li ul li img {
	margin-left: .5em;
	float: left;
}
		
#search-results #view-all-results {
	clear: both;
	margin: 1em;
	font-size: 1.2em;
	font-weight: bold;
	background-color: transparent;
	background-image: url('/images/arrow-blue-right.gif');
	background-position: 11.5em;
	background-repeat: no-repeat;
}

/*
==========================================================================
-- IE Fixes
========================================================================== 
*/

/* ---------- IE 7 ----------- */

*:first-child+html .navStretch #go-button {
	left: -15px;
}

/* ---------- Fix some CSS anomalies between pages -------------- */
#search-results p{
	margin-bottom:0px;
	line-height:normal;
}

#search-results h1, #search-results h2, #search-results h3, #search-results h4
{
	line-height:normal;
}

/* ---------- IE 6 ---------- */

* html #search-results ul li {
	zoom: 1;
	width: 100%;
}

#search-results ul li { 
	clear: none; 
}
