/* Stuff necessary for nice two column layout. */
.twocol-wrapper{
    float: left;
    width: 100%;
}
.twocol-leftcolumn {
    padding-top: 25px; /* offset bs3's -15px margin @element.style */
    float: left;
    width: 27em;
}

/*
 * This is a slight correction for the large size given by jQuery's
 * ui-accordion when in the context of our two-column live search
 * layout.
 */
.twocol-leftcolumn .ui-accordion {
    font-size: 100%;
}
.twocol-leftcolumn .ui-accordion-header {
    margin-left: 0px; /* was 10px */
    margin-right: 0px; /* was 10px */
}
.twocol-leftcolumn .ui-accordion-header a {
    border-bottom-style: none; /* was dotted */
}
.ui-accordion div {
    /* margin-top: none; */
    /* margin-bottom: none; */
    margin-top: 0;
    margin-bottom: 0;
}

.twocol-content {
    margin-left: 28em;
    margin-top: -15px;
}

/*
 * Some stuff for GOlr
 */

/* Filter box issues. */
/* .golr-embiggen { */
/*     height: 40em; */
/* } */

/* Filter box issues. */
.golr-filter-selectable .ui-selecting {
    background: #FECA40;
}
.golr-filter-selectable .ui-selected {
    background: #F39814; color: white;
}
.golr-filter-selectable .ui-selectee {
    color: blue;
}
.golr-filter-selectable {
    /* list-style-type: none; margin: 0; padding: 0; width: 60%; */
}
.golr-filter-selectable li {
    /* margin: 3px; padding: 0.4em; font-size: 1.4em; height: 18px; */
}

/*
 * Make the ajax a little more pleasant if available.
 */
.ui-autocomplete-loading {
    background: white url('../images/waiting_ac.gif') right center no-repeat;
}
.ui-ajax-loading {
    background: white url('../images/waiting_ajax.gif') right center no-repeat;
}
.ui-poll-loading-right {
    background: white url('../images/waiting_poll.gif') right center no-repeat;
}
.ui-poll-loading-left {
    background: white url('../images/waiting_poll.gif') left center no-repeat;
}

/*
 * filter_table
 */
.bbop-js-filter-table-input {
    width: 15em;
}

/*
 * Make text buttons seem a little bit more like real buttons when
 * we can.
 */
.bbop-js-text-button-sim {
    cursor: pointer;
    background-color: #d3dff5;
    border-style: solid;
    border-color: #3875d7;
    border-width: 1px;
    padding-left: 0.5em;
    padding-right: 0.5em;
    /* padding-top: 0em; */
    /* padding-bottom: 0em; */
}
.bbop-js-text-button-sim-inactive {
    background-color: #e3efff;
    /* border-style: solid; */
    border-color: #0845a7;
    /* border-width: 1px; */
    padding-left: 0.5em;
    padding-right: 0.5em;
}
.bbop-js-text-button-sim:hover {
    background-color: #d0ffee;
}

/*
 * Get a span to the right side of a div.
 * General purpose class to help when creating pop-up dialogs.
 */
.bbop-js-ui-dialog-button-right span {
    float: right;
}

/*
 * For the drop_select_shield.
 */
.bbop-js-ui-drop-select-shield-frame tr td {
    vertical-align: top;
    width: 50%;
}
.bbop-js-ui-drop-select-shield-target {
    /* border: 1px solid #3875D7; */
    /* padding: 5px; */
}
.bbop-js-ui-drop-select-shield {
    list-style-type: none;
    margin: 5px;
    font-size: 85%;
    border: 1px solid #3875D7;
    padding: 5px;
    /* width: 60%; */
}
.bbop-js-ui-drop-select-shield li {
     margin-top: 2px;
     margin-bottom: 2px;
    /* padding: 0.4em; */
    /* padding-left: 1.5em; */
    /* font-size: 1.4em; */
    /* height: 18px; */
}
.bbop-js-ui-drop-select-shield li span {
    /* position: absolute; */
    /* margin-left: -1.3em; */
    display: inline-block;
}
/* .bbop-js-ui-drop-select-shield li span span .ui-icon { */
/*     display: inline-block; */
/* } */

.bbop-js-ui-list-select-shield-list {
    list-style-type: none;
    padding-left: 0;
}
.bbop-js-ui-list-select-shield-table {
    width: 100%;
    /* padding-left: 1em; */
    /* padding-right: 1em; */
}

/*
 * bbop.widget.spinner classes.
 */
.bbop-js-spinner {
    height: 18px;
}
.bbop-js-spinner-hidden {
    visibility: hidden;
    display: none;
}

.bbop-js-ui-browse {
    list-style-type: none;
    /* margin: 5px; */
    padding-left: 0;
}

/*
 * Reserved for tooltip stuff (that we farm out).
 */
.bbop-js-ui-tooltip {}

/*
 * Hints to make things that we might want to hover
 * over catch the eye better.
 */
.bbop-js-ui-hoverable {
    cursor: pointer;
}

/*
 * bbop.widget.message classes.
 */
.bbop-js-message {
    z-index: 100;
    position: fixed;
    /* width: 25em; */
    /* margin-top: 3px; */
    /* margin-right: 3px; */
    margin-top: 1em;
    margin-right: 1em;
    /* width: 100%; */
    top: 0%;
    right: 0em;
    font-weight: bold;
    background-color: white;
    padding: 0.5em;
    padding-left: 1em;
    padding-right: 1em;
    /* color: blue; */
}
.bbop-js-message-notice {
    outline: blue solid 3px;
}
.bbop-js-message-warning {
    outline: yellow solid 3px;
}
.bbop-js-message-error {
    outline: red solid 3px;
}

.bbop-js-live-filters-textarea {
    height: 1em;
}

/* Actually make the input box visible given all of the stuff above. */
/* To some extent, this needs to be relative */
/* to the size of .twocol-leftcolumn */
.bbop-js-search-pane-textarea {
    border: 1px;
    border-style: solid;
    /* width: 24em; */
    width: 100%;
}
/*
 * BBOP-JS search_pane results count div handle.
 * Want to make this low priority item rather smaller...
 */
.bbop-js-search-pane-sticky-filters {
    clear: both;
}
.bbop-js-search-pane-meta {
    /* font-size: 85%; */
    display: inline-block;
    padding-right: 2em;
}
/* Control filter tables for Search. */
.bbop-js-search-pane-filter-table {
    width: 100%;
    padding-top: 3px;
    padding-bottom: 3px;
    border-collapse: inherit; /* override bs3's collapse */
    border-spacing: 1px; /* override bs3's 0 */
}
.bbop-js-search-pane-filter-table thead tr {
    background-color: #e9effa;
}
.bbop-js-search-pane-filter-table thead tr th {
    margin-left: 2px;
    margin-right: 2px;
    text-align: center;
}
.bbop-js-search-pane-filter-table tbody tr td {
    margin-left: 2px;
    margin-right: 2px;
    padding-top: 2.5px;
    padding-bottom: 2.5px;
    padding-left: 5px;
    padding-right: 5px;
    vertical-align: top;
}
/* Results table for Search. */
.bbop-js-search-pane-results-table {
    padding-top: 3px;
    border-collapse: inherit; /* override bs3's collapse */
    border-spacing: 1px; /* override bs3's 0 */
}
.bbop-js-search-pane-results-table thead tr {
    background-color: #e9effa;
}
.bbop-js-search-pane-results-table thead tr th {
    margin-left: 2px;
    margin-right: 2px;
    text-align: center;
}
.bbop-js-search-pane-results-table tbody tr td {
    margin-left: 2px;
    margin-right: 2px;
    padding-top: 2.5px;
    padding-bottom: 2.5px;
    padding-left: 5px;
    padding-right: 5px;
    vertical-align: top;
}
.bbop-js-search-pane-results-count {
    /* font-size: 85%; */
    display: inline-block;
}
.bbop-js-search-pane-results-count select {
    font-size: 85%;
}
.bbop-js-search-pane-query-label {
    margin-bottom: 2px;
}
.bbop-js-search-pane-query-label div {
    margin-top: 0px;
    margin-bottom: 0px;
}
.bbop-js-search-pane-clear-button {
    float: right;
    /* margin-top: 0px; */
    /* margin-bottom: 0px; */
}

/* Try and get the BS3 filter tables behaving a little better. */
.bbop-widget-set-live-filters-table tbody tr td:nth-child(1) {
    width: 32px;
    max-width: 32px;
}
.bbop-widget-set-live-filters-table tbody tr td:nth-child(2) {
    width: 32px;
    max-width: 32px;
}

/* Better button set. */
.bbop-widget-set-live-pager-argument-button-set button {
    margin: 1px;
}
