/**
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Fontis Software License that is available in
 * the FONTIS-LICENSE.txt file included with this extension. This file is located
 * by default in the root directory of your Magento installation. If you are unable
 * to obtain the license from the file, please contact us via our website and you
 * will be sent a copy.
 *
 * @category   Fontis
 * @copyright  Copyright (c) 2016 Fontis Pty. Ltd. (https://www.fontis.com.au)
 * @license    Fontis Software License
 */

#search_autocomplete {
    top: -1px !important;
    display: none;
}

#search_autocomplete a:hover {
    text-decoration: none;
}

#search_autocomplete .price-label {
    display: none;
}

#search_autocomplete .old-price .price {
    font-size: 10px;
}

#algolia-autocomplete-categories .num-results {
    margin-right: 5%;
}

#algolia-autocomplete-categories {
    position: relative;
    margin-top: -1px;
}

#algolia-autocomplete-products {
    position: relative;
}

#algolia-autocomplete-products li span {
    display: inline-block;
}

#algolia-autocomplete-products .image {
    width: 20%;
}

#algolia-autocomplete-products .name {
    width: 40%;
    overflow: hidden;
    vertical-align: top;
    margin-top: 10px;
}

#algolia-autocomplete-products .amount {
    width: 35%;
    overflow: hidden;
    text-align: right;
}

@media screen and (min-width: 771px) and (max-width: 979px) {
    #algolia-autocomplete-products .amount {
        display: none;
    }

    #algolia-autocomplete-products .name {
        width: auto;
    }
}

.algolia-autocomplete-content .heading {
    font-size: 14px;
    font-weight: bold;
    cursor: default;
}

.facets-wrapper {
    position: relative;
}

.facets-wrapper>div {
    width: 100%;
}

.facets-title {
    clear: both;
    display: block;
}

#facets {
    top: 0;
    position: relative;
}

#facets-two {
    top: 0;
    position: absolute;
}

.facets-wrapper .block-title {
    border-top: none;
    padding-top: 0;
}

.search-input {
    z-index: 1;
    position: relative;
    width: 100%;
}

.price-filter-wrapper .lower-price, .price-filter-wrapper .upper-price {
    position: absolute;
    top: -15px;
}
.price-filter-wrapper .price-range-wrapper.bottom .min-price {
    float: left;
}

.price-filter-wrapper .price-range-wrapper.bottom .max-price {
    float: right;
}

.price-filter-wrapper .price-range-wrapper .separator {
    display: inline-block;
}

.price-filter-wrapper .price-range-wrapper.bottom {
    padding-bottom: 10px;
    color: #a2a2a2;
}

.price-filter-wrapper {
    margin-top: 20px;
}

.price-filter-wrapper .price-filter .noUi-base .noUi-origin .noUi-handle {
    left: -10px;
    width: 20px;
    background-color: #dadada;
    box-shadow: none;
    border: 1px solid #949494;
}

.price-filter-wrapper .price-filter .noUi-base .noUi-origin .noUi-handle:before {
    left: 5px;
    background-color: #949494;
}

.price-filter-wrapper .price-filter .noUi-base .noUi-origin .noUi-handle:after {
    left: 12px;
    background-color: #949494;
}

.price-filter-wrapper {
    width: 100%;
    padding: 20px 20px 0;
    margin: 0;
}

.price-filter-wrapper .price-filter {
    margin: 10px 0 6px;
    background: #eee;
    height: 10px;
    border-radius: 0;
    border: 0;
}

.price-filter-wrapper .price-filter .noUi-base .noUi-origin .noUi-handle {
    background: #888;
    border: 0;
    width: 14px;
    height: 22px;
    top: -12px;
    position: relative;
    border-radius: 0;
}

.price-filter-wrapper .lower-price,
.price-filter-wrapper .upper-price,
.price-filter-wrapper .price-range-wrapper.bottom .min-price,
.price-filter-wrapper .price-range-wrapper.bottom .max-price {
    width: 40px;
    margin-left: -12px;
    font-family: 'Interstate Bold Condensed', Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: normal;
}

.price-filter-wrapper .lower-price,
.price-filter-wrapper .upper-price {
    text-align: center;
}

.price-filter-wrapper .price-range-wrapper.bottom .max-price {
    text-align: right;
}

.price-filter-wrapper .price-range-wrapper.bottom .min-price {
    text-align: left;
}

.price-filter-wrapper .price-range-wrapper.bottom .max-price {
    position: relative;
    left: 12px;
}
.price-filter-wrapper .price-filter .noUi-base .noUi-origin .noUi-handle:after,
.price-filter-wrapper .price-filter .noUi-base .noUi-origin .noUi-handle:before {
    display: none;
}

.algolia-loading {
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 500;
    opacity: .6;
    filter: alpha(opacity=60);
    position: absolute;
    top: 0;
    left: 0;
}

.facets-group .categories ul {
    display: none;
}

.facets-group .categories ul.refined {
    display: block;
    margin: 0 0 0 17px;
}

#no-results-container {
    display: none;
}

.no-touch .facets-group li:hover > ul {
    display: none;
}

.no-touch .facets-group li:hover > ul.refined {
    display: block;
}

#facets .facets-group:last-child, #facets-two .facets-group:last-child {
    border-bottom-width: 1px;
}

#facets .facets-title:nth-last-child(2), #facets-two .facets-title:nth-last-child(2) {
    border-bottom-width: 1px;
}
