﻿/*
* Copyright 2012 Seven Spikes Ltd. All rights reserved. (http://www.nop-templates.com)
* http://www.nop-templates.com/t/licensinginfo
*/

input.search-box-text:focus {
    outline: -webkit-focus-ring-color auto 0;
}
span.search-box-text {
    display: block;
    padding: 0;
    border: none;
    width: inherit;
    box-shadow: none;
    float: left;
}
input.search-box-text {
    width: 225px !important;
    background: #fff;
    color: #333;
    height: 22px;
    padding: 2px 5px;
    margin-right: 0;
    box-shadow: none;
    float: none !important;
}
.instant-search-busy {
    background: #fff url('../../../images/ajax-loader-small.gif') no-repeat 98% !important;
}

/* AUTOCOMPLETE */

.instantSearch {
    background: #f3f3f3;
    overflow: hidden;
    box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.1);
    padding: 4px !important;
    width: auto !important;
    height: auto !important;
    border: 1px solid #999;
}
.instantSearch .k-list-container {
    position: static !important;
    width: 300px !important;
    height: auto !important;
}
.instantSearch .k-item {
    overflow: hidden;
    display: block;
    margin-bottom: 1px;
}
.instant-search-item {
    overflow: hidden;
    padding: 10px 5px;
    cursor: pointer;
}
.instantSearch .k-item.k-state-hover .instant-search-item, 
.instantSearch .k-item.k-state-focused .instant-search-item{
    background-image: none,-webkit-linear-gradient(top,#cbc5c2 0,#a99f9a 100%);
    background-image: none,-moz-linear-gradient(top,#cbc5c2 0,#a99f9a 100%);
    background-image: none,-o-linear-gradient(top,#cbc5c2 0,#a99f9a 100%);
    background-image: none,linear-gradient(to bottom,#cbc5c2 0,#a99f9a 100%);
    border-color: #A99F9A;
}
.instant-search-item .img-block {
    width: 70px;
    height: 70px;
    float: left;
    overflow: hidden;
}
.instant-search-item .detail {
    float: right;
    width: 210px;
    line-height: 17px;
}
.instant-search-item .detail .title {
    text-align: left;
    font-size: 1.2em;
    padding-bottom: .25em;
    color: black;
}
.instant-search-item .detail .price {
    color: #666;
    text-align: left;
}


/*=====================================================
    
    TABLETS LANDSCAPE & NETBOOKS

=====================================================*/

@media screen and (max-width: 980px) and (min-width: 769px) {

    .instantSearch {
        width: 261px !important;
    }
    .instantSearch .k-list-container {
        max-width: 100% !important;
    }
    .instantSearch .k-item {
        border-bottom: 1px dotted #ccc;
    }
    input.search-box-text {
        width: 271px !important;
        height: 32px;
    }
    .instant-search-item .detail {
        width: 175px;
    }
}


/*=====================================================
    
    TABLETS PORTRAIT & SMARTPHONES LANDSCAPE

=====================================================*/

@media screen and (max-width: 768px) and (min-width: 481px) {
    
    .instantSearch {
        width: 256px !important;
    }
    .instantSearch .k-list-container {
        max-width: 100% !important;
    }
    .instant-search-busy {
        background-position: 87% center !important;
    }
    input.search-box-text {
        width: 266px !important;
        height: 32px;
    }
    .instant-search-item .detail {
        width: 170px;
    }
}


/*=====================================================
    
    SMALLER MOBILE DEVICES

=====================================================*/

@media screen and (max-width: 480px) {

    .instantSearch {
        width: 241px !important;
    }
    .instantSearch .k-list-container {
        width: 100% !important;
    }
    .instantSearch .k-item {
        border-bottom: 1px dotted #ccc;
    }
    .instant-search-item .img-block {
        display: none;
    }
    .instant-search-busy {
        background-position: 87% center !important;
    }
    input.search-box-text {
        width: 251px !important;
        height: 32px;
    }
    .instant-search-item .detail {
        width: 100%;
    }

}