/**
 * Copyright (c) 2015 Invertus, JSC
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction,
 * including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
 * subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
 * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */

.elasticsearch_search
{
	position: relative;
}

.elasticsearch_search .elasticsearch_search_results
{
    z-index: 100;
    position: absolute;
    display: block;
    left: 0;
    top: 44px;
    width: 100%;
    border: solid 1px #666666;
    border-bottom: none;
    border-top: none;
    background: #FFFFFF;
}

.elasticsearch_search .elasticsearch_search_results ul
{
    padding: 0;
    margin: 0;
    border-top: solid 1px #666666;;
}

.elasticsearch_search .elasticsearch_search_results ul li
{
    border-bottom: solid 1px #666666;
}

.elasticsearch_search .elasticsearch_search_results ul li a
{
    padding: 5px;
    display: block;
}

.elasticsearch_search .elasticsearch_search_results ul li:hover
{
    font-weight: bold;
}

.close-elasticsearch-results.close
{
    font-family: Arial,Helvetica,sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: inherit;
    opacity: 1;
    text-transform: none;
}

#elasticsearch_form .elasticsearch_filter ul
{
    padding: 5px 0;
}

#elasticsearch_form .elasticsearch_filter ul li
{
    padding: 2px 0;
}

#elasticsearch_form .elasticsearch_filter ul li .checker
{
    height: 15px;
    width: 15px;
    cursor: pointer;
    margin-right: 5px;
    display: inline;
}

#elasticsearch_form .elasticsearch_filter ul li label
{
    font-weight: normal;
    cursor: pointer;

}

#elasticsearch_form .elasticsearch_subtitle
{
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
}


#elasticsearch_block_top {
    margin: 0 auto;
    width:172px;
    position: relative;
    /*top: 66px;*/
}
#elasticsearch_block_top .search_query {
    position: absolute;
    left: 0px;
    top: 0px;

}
#elasticsearch_block_top .search_query:focus{
    outline: 0;
}

#elasticsearch_block_top .button-search{background: none; border: none; position: absolute; right: 4px; top: 11px;}
#elasticsearch_block_top .button-search:focus {
    outline: 0;
}
#elasticsearch_block_top .button-search span {
    display: none; }
#elasticsearch_block_top .button-search:before {
    content: "\f002";
    display: block;
    font-family: "FontAwesome";
    font-size: 14px;
    color: #666;
    width: 100%;
    text-align: center; }
#elasticsearch_block_top .button-search:hover {
    color: #6f6f6f; }

.ac_results{
    border: 1px solid #CECECE;
    width: 236px !important;
    margin-top: 10px;
    -webkit-box-shadow: 2px 2px 4px rgba(50, 50, 50, 0.36);
    -moz-box-shadow:    2px 2px 4px rgba(50, 50, 50, 0.36);
    box-shadow:         2px 2px 4px rgba(50, 50, 50, 0.36);
    color: 3C3C3C;
    z-index:999999;
    background-color: white;
    overflow: hidden;
    z-index: 99999;
    text-align: left;
    padding: 0px;
}
.ac_odd{
    background: #fff;
}
.ac_over{
    background: #f3f3f3;
    color: #3C3C3C;
}
.ac_results li{
    border-bottom: 1px dashed #D8D8D8;
    cursor: pointer !important;
}
.ac_results li:last-child{
    border: none;
}
.ac_results li img{
    display: inline;
    vertical-align: middle;
    border: 1px solid #D8D8D8;
}
.ac_results .prname{
    display: inline-block;
    vertical-align: middle;
    width: 160px;
    margin-left: 10px;
}
.ac_results .prprice{
    margin-left: 3px;
    color: #c20000;
}
#ac_search_more{
    padding: 5px 0;
    cursor: pointer !important;}


#elasticsearch_block_top_content {
    top: 75px;
    position: relative; }
@media (max-width: 767px) {
    #elasticsearch_block_top_content {
        height: auto; } }
#elasticsearch_block_top_content .iqitsearch-inner p {
    margin: 0px; }
@media (max-width: 767px) {
    #elasticsearch_block_top_content .iqitsearch-inner {
        margin-top: 10px; } }
@media (min-width: 768px) {
    #elasticsearch_block_top_content .iqitsearch-inner {
        width: 100%;
        position: absolute;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%); } }

#elasticsearch_block_top {
    margin: 0 auto;
    position: relative;
    height: 40px;
    width: 85%; }
#elasticsearch_block_top.issearchcontent {
    margin-top: 10px; }
@media (max-width: 767px) {
    #elasticsearch_block_top {
        top: 0px; } }

@media (min-width: 768px) {
    .disable_center #elasticsearch_block_top {
        margin-left: 0px;
        margin-right: 0px; } }
#elasticsearch_block_top .search_query:focus {
    outline: 0; }

.iqit-search-shower {
    position: relative;
    max-width: 80px;
    width: 6%;
    margin-top: 40px;
    float: right;
    line-height: 12px;
    text-align: center;
    vertical-align: top; }
.iqit-search-shower #elasticsearch_block_top.showedSearch {
    visibility: visible;
    opacity: 1; }

.iqit-search-shower-i {
    cursor: pointer; }
.iqit-search-shower-i .icon-search {
    font-size: 42px;
    line-height: 40px;
    display: block;
    text-align: center;
    top: -1px;
    position: relative;
    margin-bottom: 8px; }
.iqit-search-shower-i.showedSearch .icon-search:before {
    content: '\f00d'; }

#elasticsearch_block_top .search_query_container {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%; }
#elasticsearch_block_top.iqit-search-c {
    visibility: hidden;
    opacity: 0;
    width: 100%;
    position: absolute;
    top: 100%;
    right: 0px;
    min-width: 300px;
    z-index: 5;
    transition: visibility 300ms ease-in-out, opacity 300ms ease-in-out; }
@media (max-width: 767px) {
    #elasticsearch_block_top.iqit-search-c {
        right: auto; } }

.search_block_top .search-cat-select {
    height: 40px; }
.search_block_top .search-cat-selector {
    position: absolute;
    left: 0px;
    right: 0px;
    width: 130px; }
.search_block_top .search-cat-selector .selector {
    height: 40px;
    width: 130px !important;
    line-height: 40px;
    border: none !important;
    background: none; }
.search_block_top .search-cat-selector .selector span {
    background: none;
    height: 40px;
    line-height: 40px;
    text-shadow: none; }
.search_block_top .search-cat-selector .selector span:after {
    position: absolute;
    top: 0px;
    right: 0px;
    height: 100%;
    line-height: 42px;
    padding-right: 11px;
    content: "\f107";
    font-family: "FontAwesome"; }
.search_block_top .search_query {
    height: 40px; }
.search_block_top .search-w-selector .search_query {
    padding-left: 135px; }
.search_block_top .button-search {
    background: none;
    border: none;
    position: absolute;
    right: 4px;
    top: 11px;
    font-size: 0px; }
.search_block_top .button-search:focus {
    outline: 0; }
.search_block_top .button-search span {
    display: none; }
.search_block_top .button-search::before {
    content: "\f002";
    display: block;
    font-family: "FontAwesome";
    font-size: 16px;
    color: #666;
    width: 100%;
    text-align: center; }
.search_block_top .button-search :hover {
    color: #6f6f6f; }

.mh-search-module > form {
    position: relative; }

.ac_results {
    border: 1px solid #CECECE;
    margin-top: 10px;
    -moz-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    color: 3C3C3C;
    z-index: 999999;
    background-color: white;
    overflow: hidden;
    z-index: 99999;
    text-align: left;
    padding: 0px; }

.ac_odd {
    background: #fff; }

.ac_over {
    background: #f3f3f3;
    color: #3C3C3C; }

.ac_results li {
    border-bottom: 1px dashed #D8D8D8;
    cursor: pointer !important; }

.ac_results li:last-child {
    border: none; }

.ac_results li img {
    display: inline;
    vertical-align: middle;
    border: 1px solid #D8D8D8; }

.ac_results .prname {
    display: inline-block;
    vertical-align: middle;
    margin-left: -10px; }

.ac_results .prprice {
    color: #f13340; }

#ac_search_more {
    padding: 5px 0;
    cursor: pointer !important; }
