/**
 * aheadWorks Co.
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the EULA
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://ecommerce.aheadworks.com/LICENSE-M1.txt
 *
 * @category   AW
 * @package    AW_Seacrhautocomplete
 * @copyright  Copyright (c) 2003-2010 aheadWorks Co. (http://www.aheadworks.com)
 * @license    http://ecommerce.aheadworks.com/LICENSE-M1.txt
 */

/* styles for entire widget */
.yui-ac {
	position: absolute;
    right:29px;
    top:0;
    height:30px;
    width:315px;
    background:url("../images/aw_searchautocomplete/mini_search_bg.gif") no-repeat scroll 0 0 transparent;
    padding:1px 0 0 16px;
}

/* For Magento  1.3
button within container */
.yui-ac button, .form-search button
{
    display:block;
    padding:0;
    margin:0;
    width:auto;
    vertical-align:middle;
    overflow:visible;
    border:0 none;
    cursor:pointer;
    background:none repeat scroll 0 0 transparent;
    color:#2F2F2F;
    font:12px/15px Arial,Helvetica,sans-serif;
}
.yui-ac button span, .form-search button span
{
    display:block;
    height:21px;
    padding:0 0 0 3px;
    background:url("../images/aw_searchautocomplete/btn_search.gif") no-repeat scroll 0 0 transparent;
    color:#FFFFFF;
    text-align:center;
    white-space:nowrap;
    font:bold 11px/21px Tahoma,Verdana,Arial,sans-serif;
}
.yui-ac button span span, .form-search button span span
{
    background-position:100% 0;
    padding:0 6px 0 3px;
}

/* results container */
#myContainer,
.yui-ac-container {
    position:relative;
    left:0px !important;
/*    top:22px !important;*/
    z-index:999;
}

/* results content */
.yui-ac-content {
	background-color: #FFF;
	border:solid 2px #C4C6C8;
	width: 300px;
	padding: 5px;
    margin:0;
}

/* header within container */
.yui-ac-hd {
	color:#999999;
	display:block;
	margin-bottom:4px;
	padding:0 4px;
	border-bottom:dashed 1px #999999;
	text-align:left;
	font-style:italic;
}

/* item list (ul) container */
.yui-ac-bd {
}

/* items container*/
.yui-ac-content ul,
.header .form-search .search-autocomplete ul {
	background-color:#ffffff;
    border:none;
}

/* result item */
.header .form-search .search-autocomplete li,
.yui-ac-content li
{
    border:solid 1px #C4C6C8;
	margin:4px 0;
	padding:4px;
	cursor:pointer;
	min-height:85px;
}
.yui-ac-highlight { /* highlighted result item */
	background-color: #D5E4EB;
}
.searched-words { /* highlight of the words being searched */
	color:red;
    font-size: 11px !important;
}
.header #myInput {
    float:left;
    width:209px;
	margin-right:4px;
	padding:2px;
	border:1px solid #5C7989;
	font:12px arial,helvetica,sans-serif;
	vertical-align:middle;
	text-align:left;
}

/* big searchbox on the homepage */

.big_search {
  border: 1px solid #bec4c6;
  padding: 3em 2em 7em 2em;;
  color: #111111;
  position: relative;
  background: url(../images/aw_searchautocomplete/big_search_bg.gif) repeat-x #ffffff;
  margin-bottom: 1em;
}

.big_search h3 {
  font-size: 1.5em;
  font-weight: normal;
}

.big_search .yui-ac, .big_search .form-search {
  position: absolute;
  left: 2em;
  top: 70px;
  width: 660px;
  background: none;
  padding: 0;
}

.big_search #myInput {
  border: 1px solid #cacaca;
  width:505px;
  float: left;
  font-size: 16px;
  padding: 4px;
  height: 22px;
  line-height: 1.4em;
  /*margin-right: 5px;*/
}

.big_search button span {
  display:block;
  height:32px;
  padding:0;
  background:url("../images/aw_searchautocomplete/big_search_buton.gif") no-repeat scroll 0 0 transparent;
  color: #111111;
  text-align:center;
  white-space:nowrap;
  border: 0;
  font:bold 11px/21px Tahoma,Verdana,Arial,sans-serif;
  width: 94px;
}

.big_search button span span {
  padding: 4px 0 0 0;
}

.big_search .yui-ac-content {
  width: 595px;
}

p.advanced_search {
  position: absolute;
  right: 2em;
  top: 110px;
  text-align: right;
  /*float: right;*/
  /*width: 120px;*/
}

.col3-layout .big_search .form-search {
  width: 450px;
}

.col3-layout .big_search #myInput {
  width: 320px;
}

.col3-layout .big_search h3 {
  font-size: 1.1em;
  font-weight: bold;
}

.col3-layout .big_search {
  padding: 1em 2em 5em 2em;
}

.col3-layout .big_search .yui-ac, .col3-layout .big_search .form-search {
  top: 40px;
}

.col3-layout p.advanced_search {
  top: 75px;
}

.col3-layout .big_search .yui-ac-content {
  width: 410px;
}
