/************************* Tab Contents *************************/
.tab_contents {
    clear: both;
    display: block;
    float: left;
    width: 100%;
}

.tab_contents li.item:last-child {
    border-bottom: none !important;
}

/************************* Layered Navigation *************************/
.additional-filters {
    margin-bottom: 1em;
}

.filter-title{
    margin-top: 10px;
    border: 1px solid #dadada;
    background: #FFF;
    padding: 0px 0px 0px 10px;
    cursor: pointer;
    line-height: 30px;
    height: 30px;
}

.filter-title .title{
    font-weight: bold;
}

.filter-title .additional-title {
    float: right;
    margin-right: 20px;
}

button#improve-button {
    height: 30px;
    width: 30px;
    border: none;
    line-height: 30px;
    float: right;
    cursor: pointer;
    background-color: #c4d19b;
    font-size: 250%;
    color: #f4f4f4;
}

.active-improve-button {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

div#filter-content {
    padding: 1em;
    border-left: 1px solid #dadada;
    border-right: 1px solid #dadada;
    border-bottom: 1px solid #dadada;
    border-top: none;
    background-color: #FFF;
}

.filterAttributeTitle {
    padding-bottom: .5em;
}

.filterAttribute {
    width: 47%;
    display: inline-block;
    padding: 1%;
    font: 11px Arial, Helvetica, sans-serif;
    margin-bottom: .4em;
    vertical-align: top;
}

.filterAttributeContent {
    width: 95%;
}

select.elasticsearch-dropdown {
    width: 103%;
    padding: 7px 5px;
}

.filterAttributeContent input {
    width: 100%;
    background-color: #FFF !important;
    background: url(../../../images/i_desc_arrow.gif) no-repeat 98% #f8f8f8 !important;
    background-size: 4%;
}

.input-date {
    background: none !important;
}

#slider-range {
    margin-top: 3px;
    width: 100%;
}

#amount {
    text-align: center;
    background: transparent !important;
    border: none;
    margin-top: .5em;
}

.ui-state-focus, .ui-state-active {
    background-color: #dddddd !important;
    border-color: #dddddd !important;
    color: #c4d19b !important;
}

/************************* Ajax Overlay *************************/
.elasticsearch-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000000;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.5;
}

.elasticsearch-loader {
    position: absolute;
    top: 118px;
    left: 50%;
    margin-left: -32px;
    z-index: 10000000;
}

#filter-content {
    background: #f4f4f4;
    border: 1px solid #ededed;
    padding: 30px;
}

/************************* Search Form *************************/
.form-search button{
    float: right;
    position: relative;
    width: 18px;
    height: 18px;
    display: block;
    margin: 0;
    padding: 0;
    bottom: 19px;
    right: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #999;
}
.header .form-search input.input-text{
    margin: 0 !important;
}


/************************* Selected Filters *************************/
.selected-filter-block-content {
    margin-bottom: 20px;
}

.selected-filters div strong span {
    margin: .2em;
}

.block-layered-nav .actions {
    margin: 10px 0 40px;
}

.selected-filter-box {
    background-color: #c4d19b;
    color: #FFF;
    padding: .5em;
    margin: .2em;
    width: auto;
    float: left;
    margin-bottom: 1em;
}

.selected-filter-box a {
    float: right;
    margin-left: 3px;
}

.selected-value .value {
    float: left;
    text-overflow: ellipsis;
}

.btn-close {
    display: block;
    font-size: 0;
    height: 15px;
    line-height: 0;
    overflow: hidden;
    text-indent: -999em;
    width: 15px;
    background: url(../images/ui-icons_ffffff_256x240.png);
    background-position: -80px -128px;
}

.remove-all {
    padding: 0.5em;
    margin: .2em;
}

.remove-all a {
    padding-left: 20px;
}

/************************* Search autocompete *************************/
.search-autocomplete {
    z-index: 999;
    clear: both;
    left: 0;
    top: 40px;
    position: absolute;
}

.search-autocomplete ul {
    background: #f6f6f6;
    color: #252525;
    border: 1px solid #dddddd !important;
    padding: 5px;
}

.search-autocomplete ul li {
    padding: 10px 5px !important;
    margin: 0 !important;
    padding-top: 10px !important;
    border-bottom: 1px solid #dddddd !important;
    text-decoration: none !important;
    font-weight: normal !important;
}

.search-autocomplete ul li.last {
    border-bottom: none;
}

.search-autocomplete ul li .autocompletTitle:hover {
    cursor: pointer;
}

*:first-child + html .search-autocomplete {
    left: 29px !important;
}

#search_autocomplete_iefix {
    display: none;
}

.suggest-name {
    color: #537f2f;
    text-decoration: underline;
    font-weight: bold;
}

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

#search_autocomplete a {
    color: #000;
    text-decoration: none;
}

/************************* category search *************************/
.category-search {
    float: right;
    z-index: 10;
    width: 280px;
}

#search_mini_form_category .form-search button {
    top: -19px;
    right: 3px;
}
#search_category{
    width: 271px;
    background: url(../../../images/search_input_large.png) no-repeat 0 0;
    border: 0;
    font: 11px Arial, Helvetica, sans-serif;
    height: 20px;
    padding: 0px 0px 0px 7px;
    float: left;
    position: relative;
    color: #cecece;
}

#search_mini_form_category label{
    display: none;
}

.form-search-precategory-select .form-search {
    max-width: 320px;
}

.form-search-precategory-select .form-search .input-text {
    min-width: 170px;
}


/************************* Pre-category select *************************/
#pre-category-select {
    position: absolute;
    color: #000;
    cursor: pointer;
    display: inline-block;
    float: left;
    padding-right: 7%;
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    white-space: nowrap;
    padding-left: 10px;
    padding-right: 10%;
    left: -30px;
    height: 20px;
    line-height: 20px;
    background-color: #e9e9e9;
}

#pre-category-select::-ms-expand {
    display: none;
}

.dropdown {
    position: relative;
    display: inline-block;
    float: left;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f6f6f6;
    min-width: 160px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    margin-top: 40px;
    border: 1px solid #e9e9e9;
    left: -30px;
    z-index: 999;
    top: -20px;
    text-align: left;
}

.dropdown-content a {
    color: #000;
    padding: 5px 10px;
    text-decoration: none;
    display: block;
}

.dropdown a:hover {
    background-color: #dddddd;
    color: #c4d19b;
}

.show {
    display: block;
}

/************************* Advanced Search *************************/
.elasticsearch-results .buttons-set{
    margin-top: 0;
    border-top: none;
    margin-bottom: 4em;
}

#elasticsearch-result-count {
    color: #999;
    font-size: 13px;
}

/************************* Search Results *************************/
#elasticsearch-result-count, #elasticsearch-result-count-top{
    font-size: 80%;
    color: #9a9a9a;
}

.search_tabs{
    display: none;
}


/************************* jQuery ui Autocomplete *************************/
.ui-autocomplete {
    background: #FFF !important;
    color: #808080 !important;
    text-align: left;
    font-size: 11px !important;
    font-family: Arial, Helvetica, sans-serif !important;
    line-height: 1;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
}

.ui-state-active{
    background: #dae5bd !important;
    color: #808080 !important;
}

.ui-autocomplete-input{
    font:  11px Arial, Helvetica, sans-serif;
}
