/**
* @category Junicom
* @package Junicom_ElasticSearch
* @author juni.com GmbH <support@juni.com>
* @author Anna-Lena Becker <a.becker@juni.com>
* @copyright 2016 juni.com GmbH (http://www.juni.com)
* @since 1.0.0
*/
/************************* Title *************************/
.elasticsearch-results .page-title h1 {
    text-transform: none;
}

#elasticsearch-result-count {
    color: #aaaaaa;
    font-size: 20px;
}

/************************* Form *************************/
.form-search .input-text{
    min-width:150px;
}

/************************* Tabs *************************/
.search_tabs li {
    float: left;
    padding: .8em;
    background-color: #dddddd;
    border-bottom: 1px solid #dddddd;
    border-top: 1px solid #dddddd;
    border-left: 1px solid #FFF;
    color: #254075;
    font-size: 11px;
    text-transform: uppercase;
    text-align: center;
    max-width: 25%;
    min-width: 20%;
}

.search_tabs li.active {
    background-color: #FFF;
    border-left: 1px solid #254075;
}

.search_tabs li:last-child {
    border-right: 1px solid #dddddd;
}

/************************* Tab Contents *************************/
.tab_contents {
    clear: both;
    display: block;
    float: left;
    padding-top: 1.5em;
    width: 100%;
}

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

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

.filter-title, .filter-title-performances {
    line-height: 3.5em;
    height: 3.5em;
    border: 1px solid #dddddd;
    border-bottom-color: #254075;
    padding-left: 1em;
    cursor: pointer;
}

.filter-title .title, .filter-title-performances .title {
    font-size: 120%;
    font-weight: bold;
}

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

button#improve-button, button#improve-button-performances {
    height: 42px;
    width: 43px;
    border: none;
    background-image: url(../images/arrow_down.png);
    line-height: 40px;
    background-repeat: no-repeat;
    background-position: center center;
    float: right;
    cursor: pointer;
    background-color: #F9CA32;
}

.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, div#filter-content-performances {
    padding: 1em;
    border-left: 1px solid #dddddd;
    border-right: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
    background-color: #dddddd;
}

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

.filterAttribute {
    width: 47%;
    display: inline-block;
    padding: 1%;
    font-size: 14px;
    margin-bottom: .4em;
    vertical-align: top;
}

.filterAttributeContent {
    width: 95%;
}

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

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

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

#slider-range {
    margin-top: 10px;
    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: #254075 !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;
}

/************************* 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: #254075;
    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;
}

/************************* Composer search results *************************/
#search_tabs_composers_contents li.item {
    list-style: none;
    clear: both;
    padding: 20px 0 20px 0;
    border-bottom: 1px solid #eee;
    display: table;
    width: 100%;
}

.composer-image {
    background: #fff;
    border: 1px solid transparent;
    float: left;
    margin: 2px 0 0 0;
    padding: 5px;
    position: relative;
}

.composer-image img {
    width: 9em;
}

.composer-name {
    color: #254075;
}

.composer-info {
    margin-left: 140px;
}

/************************* product search results list view *************************/
#search_tabs_products_contents .products-list li.item {
    border-bottom: 1px solid #eee;
}

#search_tabs_products_contents .products-list .f-fix {
    min-height: 145px;
}

#search_tabs_products_contents .products-list .inner {
    margin-bottom: 20px !important;
}

#search_tabs_products_contents .products-list li.item.first .inner {
    padding: 0 !important;
}

/************************* 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;
    padding: 5px;
}

.search-autocomplete ul li {
    padding: 10px 5px;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    padding-top: 10px;
    border-bottom: 1px solid #dddddd;
    text-decoration: none;
    font-weight: normal;
}

.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: #254075;
    text-decoration: underline;
    font-weight: bold;
    font-size: 13px;
}

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

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

/************************* category search *************************/
.category-search {
    position: absolute;
    right: 0;
    z-index: 10;
}

#search_mini_form_category .form-search {
    border: 1px solid #ddd;
}

#search_mini_form_category .form-search .input-text{
    min-width:250px;
}

#search {
    position: absolute;
}

.jm-lo-2colsl #jm-current-content {
    position: relative;
}

#search_mini_form_category .form-search button {
    height: 40px;
    width: 40px;
    margin-top: 1px;
    margin-right: 1px;
    border-left: 1px solid #ddd;
}

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

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

/************************* Performance Search, Editorial Content *************************/

#search_tabs_performances_contents li.item, #search_tabs_wordpress_contents li.item {
    list-style: none;
    clear: both;
    padding: 20px 0 20px 0;
    border-bottom: 1px solid #eee;
    display: table;
    width: 100%;
}

#ID_AUFART-checkbox {
    float: left;
    line-height: 70px;
    margin: 5px 10px 0 0;
    vertical-align: bottom;
}

/************************* Pre-category select *************************/
#pre-category-select {
    background: url("../images/arrow_down.png") no-repeat 96% 50% / 16% auto #f6f6f6;
    color: #000;
    cursor: pointer;
    display: inline-block;
    height: 40px;
    min-width: 80px;
    max-width: 80px;
    float: left;
    padding-right: 7%;
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 40px;
    padding-left: 10px;
    padding-right: 10%;
    border-right: 1px solid #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;
}

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

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

.show {
    display: block;
}

/************************* Media Queries *************************/
@media screen and (max-width: 550px) {
    .additional-title{
        display: none;
    }

    .filterAttribute {
        width: 95%;
    }

    .search_tabs li {
        float: none;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        border-right: 1px solid #dddddd;
        padding: .8em 0;
    }

    .composer-image {
        float: none;
        padding: 0 0 10px;
    }

    .composer-info {
        margin-left: 0;
    }

    /** product list **/
    .products-list .add-row {
        float: left;
    }

    .products-list .button-row {
        position: absolute;
        right: 0;
    }

    .products-list .add-row .price-box {
        margin: 0;
    }

    .products-list .add-row .icon-shopping-cart {
        margin: 0;
    }

    .shopping-cart-text {
        display: none !important;
    }

    #pre-category-select {
        min-width: 60px;
        max-width: 60px;
    }

    .form-search .input-text {
        min-width: 160px;
        max-width: 170px;
    }
}

@media screen and (max-width: 750px) {
    #pre-category-select {
        min-width: 60px;
        max-width: 60px;
    }

    .form-search .input-text {
        min-width: 160px;
        max-width: 170px;
    }
}

@media screen
and (min-device-width: 768px)
and (max-device-width: 1024px)
and (orientation: landscape) {
    .form-search {
        max-width: 240px;
    }

    .form-search .input-text {
        min-width: 90px !important;
        max-width: 108px !important;
    }

    #pre-category-select {
        min-width: 60px;
        max-width: 60px;
    }
}

@media screen
and (min-device-width: 768px)
and (max-device-width: 1024px)
and (orientation: portrait) {
    #pre-category-select {
        min-width: 60px;
        max-width: 60px;
    }

    .form-search .input-text {
        min-width: 160px;
        max-width: 170px;
    }
}

/************************* Gradients *************************/
.grayGradient {
    background: rgba(255, 255, 255, 1);
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(246, 246, 246, 1) 38%, rgba(221, 221, 221, 1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255, 255, 255, 1)), color-stop(38%, rgba(246, 246, 246, 1)), color-stop(100%, rgba(221, 221, 221, 1)));
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(246, 246, 246, 1) 38%, rgba(221, 221, 221, 1) 100%);
    background: -o-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(246, 246, 246, 1) 38%, rgba(221, 221, 221, 1) 100%);
    background: -ms-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(246, 246, 246, 1) 38%, rgba(221, 221, 221, 1) 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(246, 246, 246, 1) 38%, rgba(221, 221, 221, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#dddddd', GradientType=0);
}

.darkGrayGradient {
    background: rgba(224, 224, 224, 1);
    background: -moz-linear-gradient(top, rgba(224, 224, 224, 1) 0%, rgba(214, 214, 214, 1) 38%, rgba(196, 196, 196, 1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(224, 224, 224, 1)), color-stop(38%, rgba(214, 214, 214, 1)), color-stop(100%, rgba(196, 196, 196, 1)));
    background: -webkit-linear-gradient(top, rgba(224, 224, 224, 1) 0%, rgba(214, 214, 214, 1) 38%, rgba(196, 196, 196, 1) 100%);
    background: -o-linear-gradient(top, rgba(224, 224, 224, 1) 0%, rgba(214, 214, 214, 1) 38%, rgba(196, 196, 196, 1) 100%);
    background: -ms-linear-gradient(top, rgba(224, 224, 224, 1) 0%, rgba(214, 214, 214, 1) 38%, rgba(196, 196, 196, 1) 100%);
    background: linear-gradient(to bottom, rgba(224, 224, 224, 1) 0%, rgba(214, 214, 214, 1) 38%, rgba(196, 196, 196, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e0e0e0', endColorstr='#c4c4c4', GradientType=0);
}

.advanced_search_link{
    clear: both;
    float: right;
}
.advanced_search_link a{
    float: right;
    color: #333333;
    text-decoration: underline;
    font-size: 90%;
    padding-top: 3px;
}


#advanced-search-list{
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
}

.button-search {
    background-color: #254075 !important;
    border-color: #254075 !important;
}
.button-search:hover {
    background-color: #f7a500 !important;
    border-color: #f7a500 !important;
}

.advanced-search .form-list select{
    width: 266px;
}


/** Did you mean **/
.suggest-text {
    font-size: 125%;
}