/**
 * 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
 */

/* For Magento  1.3
label within container */
.yui-ac label
{
    float:left;
    height:21px;
    width:24px;
    overflow:hidden;
    text-align:left;
    text-indent:-999em;
}
/* For Magento  1.3
button within container */
.yui-ac 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
{
    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
{
    background-position:100% 0;
    padding:0 6px 0 3px;
}

/* results container */
#myContainer, 
.yui-ac-container {
    position: absolute;
    z-index: 999;
    width: 97%;
}

/* results content */
.yui-ac-content {
    width: 100%;
    margin:0;
}

/* header within container */
.yui-ac-hd {
    border-bottom: 1px solid #a9a9a9;
    color: #000;
    display: block;
    font-size: 26px;
    font-style: normal;
    margin-bottom: 13px;
    text-align: left;
    text-transform: uppercase;
}

.search-autocomplete .aw-sas-suggest h5 {
    text-transform: uppercase;

}


/* item list (ul) container */
.yui-ac-bd {overflow: hidden;}

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

/* result item */
.header .form-search .search-autocomplete ul > li,
.yui-ac-content ul > li
{
    margin:4px 0;
    padding:4px;
    cursor:pointer;
    color:#000;
    text-transform: uppercase;
}

.search-autocomplete ul > li strong{
    font-weight: normal;
}
.search-autocomplete ul > li strong.title {
    display: block;
    position: relative;
}
.search-autocomplete ul > li strong.title .label {
    background: none repeat scroll 0 0 #444;
    color: #fff;
    font-size: 10px;
    font-weight: lighter;
    letter-spacing: 1px;
    padding: 5px 5px 3px;
    position: absolute;
    right: 0;
    text-align: center;
    top: 9px;
}
.search-autocomplete .yui-ac-bd ul li .std {
    font-weight: normal;
    color: #a9a9a9;
    font-size: 24px;
}
.form-search .search-autocomplete li{
    width: 99%!important;
    padding: 3px 12px 0!important;
}

.yui-ac-highlight { /* highlighted result item */
    background-color: #D5E4EB;
}
.searched-words { /* highlight of the words being searched */
    color: #000 ;
}
.search-autocomplete ul > li{text-align:left}
.search-autocomplete ul > li p{text-align:justify}

.yui-ac-content ul > li:hover{
   background-color: #D5E4EB;
}

.yui-ac-bd ul > li.selected{
    background-color: #000;
}
.yui-ac-bd ul > li.selected .searched-words{
    color: #fff;
}
.yui-ac-bd ul > li.aw_hidden{
    background-color: white;
    border: medium none;
    margin: 0;
    padding: 0;
    display: none;
}
.aw-sas-suggest{
    text-align: left;
}
.aw-sas-suggest a{
    margin: 0 3px 0 0;
}

.aw-sas-all-results-wrapper {
    padding-top: 3px;
    clear: both;
    width: 100%;
}
.aw-sas-all-results {
    background: none repeat scroll 0 0 #069;
    border: medium none;
    color: #fff;
    cursor: pointer;
    display: block;
    font-size: 30px;
    font-weight: bold;
    height: 60px;
    line-height: 60px;
    margin: auto;
    padding: 0;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
}

.aw-sas-all-results:hover{color: #FFF;}

.aw-sas-suggest-all-results:hover {
    background: #00527a;
}