/*
    GENERAL QUERY SELECTED FILTERS WORKSPACE
 */

.filter-workspace-header {
    order: 1;
    flex: 0 0 auto;

    text-align: center;
    font-size: 1.25em;
    font-weight: 600;
    padding: 1.5em 1em;
}

.filter-workspace {
    order: 2;
    flex: 1 1 auto;

    overflow-y: auto;
    padding: 0 2em;
}
.empty-filters {
    text-align: center;
    font-style: italic;
    margin: 3em 0;
    font-size: .9em;
    color: #757677;
}

.filter-workspace-buttons {
    order: 3;
    flex: 0 0 auto;

    text-align: right;
    padding: 1em;
    font-size: .8em;
}

.filter-closer:hover {
    background-color: #f4f4f4;
    cursor: pointer;
    border-radius: 5px;
}

.active-filter {
    background-color: #f4f4f4;
    margin-bottom: 1.5em;
    border: 1px solid #d6d7d9;
}
.active-filter:last-of-type {
    margin-bottom: 0;
}

.filter-header {
    border-bottom: 1px solid #d6d7d9;
    font-weight: bold;
    font-size: 1.1em;
    padding: 1em;
}
.filter-description {
    font-size: .9em;
    background-color: white;
}
.filter-description-item {
    padding: 1em;
    line-height: 1.3;
}
.filter-description-item.odd {
    background-color: #f4f4f4;
}
.remove-filter-link {
    color: #205493;
    font-size: .75em;
    border-bottom: dotted 1px;
    cursor: pointer;
    text-decoration: none;
}
.remove-filter-link:hover {
    border-bottom: solid 1px;
}

#active-query-filters {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.selected-filters {
    flex: 1;
    display: flex;
    flex-direction: row;
}

.selected-filters-img {
    order: 1;
    margin-right: 0.5em;
    /*width: 20px;*/
}

.selected-filter-heading {
    order: 2;
    color: #205493;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: underline;
}

.selected-filters-workspace-heading {
    color: #205493;
    margin-bottom: 0.5em;
}

#active-query-filters div.two-columns {
    flex: 1;
    display: flex;
    flex-direction: row;
}

#selected-filters-heading {
    order: 1;
    width: 90%;
}

#selected-filters-helpcenter {
    order: 2;
    width: 9%;
    padding-top: 0.3em;
}

/**
    Filter shopping cart with badge
 */
#active-query-filters-cart {
    position: absolute;
    top: 0;
    right: 1em;
    z-index: 4;
    transform: scale(.75);
}
#active-query-filters-cart .p1[data-count]:after {
    position: absolute;
    right: 5%;
    top: 0;
    content: attr(data-count);

    border-radius: 50% !important;

    width: 22px !important;
    height: 22px !important;
    padding: 3px !important;

    background: rgb(223, 239, 252);
    border: 1px solid rgb(46, 110, 158);
    color: rgb(46, 110, 158);
    text-align: center;

    font: 12px Arial, sans-serif  !important;
    font-weight: bold;
}

#active-query-filters-cart:hover {
    cursor: pointer;
    background-color: #f4f4f4;
    border-radius: 50%;
}

.active-query-filters {
    background-color: #FFFFFF;
    border: 1px solid #777777;
    bottom: 0;
    display: none;
    box-shadow: 0 0 1em gray;
    position: fixed;
    right: 0;
    top: 0;
    width: 40%;
    z-index: 15;
}