.list_search_button, .collection_button_bar, .column_select_button_bar{float:right;}

button.cancel_collection{position: relative;}
button.add_results_to_collection, button.remove_results_from_collection{padding-left: 17px;}
tr[pk] .add_to_collection, tr[pk] .remove_from_collection{float: right; position: relative; background: none;}
.btn-default .glyphicon-minor{position: absolute; top: 7px; left: 8px; font-size: 0.8em;}
tr[pk].incollection .add_to_collection,tr[pk]:not(.incollection) .remove_from_collection{display:none;}

tr[pk].incollection{background-color: var(--bg-highlight)!important;}
table.collection-mode .show-on-mouseover, table.collection-mode .hide-on-collection{display: none!important;}
table:not(.collection-mode) .remove_from_collection{display: none!important;}
table:not(.collection-mode) .add_to_collection{display: none!important;}
table.collection-mode .hide_on_collection{display: none!important;}

.collection_info_box{margin: var(--space) 0; display: none;}

.full_stats_container {display: flex; flex-direction:column; height: 100%; overflow-y:auto;}
.full_stats_container #full_stats_toolbar{flex:none!important;margin-top: var(--main-header-margin-top);}
.full_stats_container #full_stats_header{flex: 1;}
.full_stats_container #full_stats_main_header_container{align-items: start; flex:0;}
.full_stats_container #full_stats_content{flex:1;overflow-y:auto;margin-bottom: 5px;}
.full_stats_container #full_stats_content .stats_content_empty{margin-top: 20px}
.full_stats_container #full_stats_content .field_container .field_header_container{border-bottom: 1px solid lightgrey; display: flex;}
.full_stats_container #full_stats_content .field_container .field_header_container > .field_name {font-size: 1.25em; font-weight: bold; }
.full_stats_container #full_stats_content .field_container .field_header_container > .field_type_display {color:var(--fg-muted); padding-left: 10px; font-size: 1.25em;}
.full_stats_container #full_stats_content .field_container{margin-bottom: 10px;}
.full_stats_container #full_stats_content .group_container{margin-bottom: 20px;}
.full_stats_container #full_stats_content .numeric_row{display: flex;}
.full_stats_container #full_stats_content .numeric_row > .numeric_cell{flex:1;}
.full_stats_container #full_stats_content .numeric_row > .numeric_cell > .numeric_label{font-weight: bold; text-align: center;}
.full_stats_container #full_stats_content .numeric_row > .numeric_cell > .numeric_value{font-size: 34px; text-align: center;}
.full_stats_container #full_stats_content .frequency_row > .frequency_header{display: flex;}
.full_stats_container #full_stats_content .frequency_row .data_table > table{width:100%;}
.full_stats_container #full_stats_content .frequency_row .data_table {max-height: 300px;}
.full_stats_container #full_stats_content .frequency_row .pie_chart {height: 300px;}
/*.full_stats_container #full_stats_content .frequency_row .pie_chart .c3-chart-arc text {fill: black;}*/
.full_stats_container #full_stats_content .frequency_row > .frequency_header > .frequency_selector{flex:1!important;}

/* START ADVANCED FILTERS */
.search-pill {
    padding: 4px 8px;
    display: inline-block;
    min-width: 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border-radius: 10px;
}
span.search-pill {
    cursor: auto;
    border-color: #245580;
}
span.search-pill:hover {
    color: #fff;
}
span.search-pill:active {
    -webkit-box-shadow:none;
    box-shadow:none;
}
.search-pill.btn-primary {
    background-image:none;
    text-shadow:none;
    -webkit-box-shadow:none;
    box-shadow:none;
}
li a:not(:hover) .show-on-mouseover {
  pointer-events: none; 
  visibility: hidden;
}
.editing {
    background-color: #ec971f;
    border-color: #eea236 !important;
}
.help-block.filter-error {
    color: #a94442 !important;
    text-align: left;
    display: inline-block;
    width: 100%;
}
.saved-search-result a{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 300px;
}
/* END ADVANCED FILTERS */