﻿/*
* Copyright 2016 Seven Spikes Ltd. All rights reserved. (http://www.nop-templates.com)
* http://www.nop-templates.com/t/licensinginfo
*/

span.search-box-text {
	float: left;
}
input.instant-search-busy {
    /*background: url(ajax-loader-small.gif) no-repeat right 15px center !important;*/
    background:  no-repeat center !important;
}
.search-box-content select {
    height: 57px;
    border: none;
    background: rgba(0,0,0,.06);
    font-size: 15px;
    white-space: nowrap;
    text-align: left;
    color: #fff;
}
.search-box-content select option {
    color: #6f6f6f;
}

/* AUTOCOMPLETE */

.instantSearch {
	width: 100% !important;
	height: auto !important;
	margin-top: -1px !important;
}
.instantSearch .k-list-container {
	position: static !important;
	width: 100% !important;
	box-shadow: 0 0 9px rgba(0,0,0,0.15);
}
.instantSearch .k-list-scroller {
    height: 100% !important;
    overflow-y: auto;
}
.instantSearch .k-item {
	cursor: pointer;
}
.instantSearch .k-item:first-child {
	border-top: none !important;
}
.instant-search-item {
	padding: 20px;
    font-size: 0;
    -webkit-transition: background .15s ease-in-out;
    transition: background .15s ease-in-out;
}
.instant-search-item .img-block {
    position: relative;
    display: inline-block;
    vertical-align: middle;
	width: 80px;
	text-align: center;
}
.instant-search-item .img-block:before {
    content: '';
    position: absolute;
    top: -3px;
    right: -3px;
    bottom: -3px;
    left: -3px;
    opacity: 0;
    z-index: 3;
    -webkit-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
}
.instant-search-item .img-block img {
	max-width: 100%;
}
.instant-search-item .detail {
    width: calc(100% - 95px);
	margin-left: 15px;
    display: inline-block;
    vertical-align: middle;
}
.instant-search-item .detail .title {
	font-size: 16px;
}
.instant-search-item .detail .sku {
    font-size: 14px;
	margin-top: 8px;
}
.instant-search-item .detail .price {
	font-size: 16px;
    font-weight: 700;
	margin-top: 8px;
}
.k-item.k-state-hover .img-block:before, 
.k-item.k-state-focused .img-block:before {
    opacity: 1;
}



@media all and (max-width: 1024px) {

    .instantSearch {
        display: none !important;
    }
    .search-box span.search-box-text {
        width: calc(100% - 67px) !important;
    }
    .search-box span.search-box-text input.search-box-text {
        width: 100% !important;
    }
    .search-box-content select {
        position: absolute;
        top: 0; bottom: 0;
        right: 0; z-index: 3;
        max-width: 33%;
    } 
}

@media all and (min-width: 1025px) {

    input.search-box-text {
        -webkit-transition: none !important;
        transition: none !important;
    }
    .search-box-content select {
        float: right;
        width: 150px;
    }
    .header-links-wrapper .search-box.with-select.opened form {
        width: 450px;
    }
    .header-links-wrapper .search-box form.overflow-initial {
        overflow: visible;
    }
    .header-links-wrapper .search-box.with-select .search-box-content {
        width: 450px;
    }
    .header-links-wrapper .search-box.with-select input.search-box-text {
        width: 300px;
    }
}