﻿.a-search {
    width: 100% !important;
}

.a-search .input-group {
    position: relative;
    margin: 1.4rem 0;
}

.a-search .input-group-addon {
    position: absolute;
    top: 0;
    left: 1.6rem;
    width: auto;
    z-index: 99;
    display: block;
    padding: .6rem 1rem .6rem 0; 
}

.a-search .searchOptions, .a-search .searchOptions:focus {
    background: transparent;
    border: none;
    padding: 0 0.4rem;
    outline: 0;
    min-width: 2.4rem;
    min-height: 2.4rem;
}

.a-search .searchOptions:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.a-search .searchOptions img {
    max-width: 2.4rem;
}

.a-search .searchOptionsList {
    position: absolute;
    top: 3.7rem;
    left: 0;
    background: #F4F5F5;    max-height: 400px;
    overflow: auto;
    width: 100%;
    z-index:9999
}

.search-dropdown-wrap .list-group-item {
  border-bottom: 1px solid rgba(0,0,0,.12);
  padding: 0 1.6rem;
  cursor: pointer;
  line-height: 6.4rem;
}

.search-dropdown-wrap .list-group-item:hover {
  background: rgba(0,0,0,.04);
}

.list-group-item .row-action-primary {
    display: inline-block;
    vertical-align: middle;
    padding-right: 1.4rem;
}

.list-group-item .row-action-primary img {
    display: block;
    width: 4.8rem;
}

.row-action-primary {
    -webkit-transition: all .218s ease;      
    transition: all .218s ease;
}

.list-group .list-group-item .row-content {
  display: inline-block;
  width: calc(100% - 6.6rem);
  vertical-align: middle;
}

.a-search .k-input.searchInputBox {
    text-indent: 6.6rem;
    height: 3.6rem !important;
    line-height: 3.6rem !important;
    /*background: #e7e7e7 !important;*/
    padding: 0;
    box-shadow: none;
}

.a-search .searchInputBox.k-state-focused {
    /*background: #FFF !important;
    color: #000 !important;*/
    box-shadow: none;
}

/*.search-results .search-result-header {
    cursor: default;
}*/

.k-list-container.k-popup.search-results {
    max-height: 350px !important;
    overflow: auto;
    margin: 0;
}

.search-results .search-result-header img {
    width: 2.4rem;
    margin-right: .5rem;
}

.search-results.k-popup .k-list .k-item {
    cursor: default;
    padding: 0;
}

.search-results.k-popup .k-list .k-item.k-state-hover {
    opacity: inherit;
}

.search-results .search-record {
    cursor: pointer;
    padding: .5rem;
    font-size:12px;
}

.search-results .search-record * {
    background: none;
}

.search-results .search-record > *:only-child {
    width: 100%;
    padding: 0;
    /*margin: 0;*/
    border: none;
}

.search-results .search-record:hover {
    /*background: rgba(0,0,0,.04);*/
    background: rgba(0,0,0,.08);
}

.search-results .search-result-header .header-title {
    font-weight: bold;
}

.shadow-no-top {
    box-shadow: 0 3px 0rem rgba(0, 0, 0, 0.23), 0 3px 1rem rgba(0, 0, 0, 0.16);
}

.k-popup .k-list .k-item .search-result-header {
    border-bottom: 1px solid;
    padding: .5rem;
}

/*img[src=''], img:not([src]), img[src=undefined] {
    display: none;
}*/

.k-popup .k-list .k-item .search-record {
    border-bottom: 1px solid rgba(0,0,0,.12);
}

.search-results li.k-state-focused .search-record.selected-record {
    border-bottom: 1px solid #588FA8;
    /*background: #5D98B4;*/
    background: rgba(0,0,0,.08);
    color: #ffffff;
    border-width: 0 0 1px;
}

.k-popup.search-results li.k-item.k-state-focused {
    border-bottom: inherit;
    background: inherit;
    color: inherit;
    border-width: inherit;
}