.sphinxql_form { margin-bottom: 1em; }
.sphinxql_form fieldset.form-wrapper,
.sphinxql_form .form-submit
{
    display: none;
}
#content #edit-advanced, #content #edit-results { display: inherit }
.sphinxql_form .force_show {
    display: inherit !important;
    margin-top: 1em;
    width: 100%;
    cursor: pointer;
}

.sphinxql_search .col-md-12 div,
.sphinxql_search .col-md-12 label {
    margin-bottom: 0;
    display: inline-block;
    padding: 0 15px 0 0;
}
.pull-right {
    text-align: right;
    float: right;
}
.pull-right a, .pull-right input, .pull-right button {
    clear: both; 
    float: right;
}

.sphinxql_form .fieldset-legend:after {
    content: '(Hide/Show)';
    color: #bbb;
    float: right;
    font-size: 0.8em;
}
.sphinxql_results_list .fieldset-legend:after { 
    content: none;
}

.sphinxql_form .col-md-6 {
    border: none;
}
.sphinxql_form .row {
    border-bottom: 1px solid #ddd;
}
.sphinxql_search.row {
    border-bottom: none;
}
.sphinxql_form #edit-advanced .panel-body > div {
    padding-top: 0.5em;
}
.sphinxql_form #edit-advanced .panel-body > div:first-child {
    padding-top: 0;
}

.sphinxql_form .sphinxql_disabled {
    color: #ddd;
}

.sphinxql_results_list {
    margin-top: 1em;
}
.sphinxql_results_list ul {
    list-style: none;
}

.sphinxql_pagenation li .sphinxql_active{
    font-weight: normal;
}

.sphinxql_pagenation li{
    list-style:none;
    display:inline; 
    margin:0 5px;
}
.sphinxql_pagenation {
    padding: 0;
    text-align:center;
    width: 100%;
}
.sphinxql_pagenation > li.first,
.sphinxql_pagenation > li.last {
    display: block;
}

.sphinxql_results_list ol a,
.sphinxql_results_list ol a:focus,
.sphinxql_results_list ol a:hover {
    text-decoration: none !important;
    padding: 0.5em;
    display: block;
}

.sphinxql_results_list ol a:focus .sphinxql_title,
.sphinxql_results_list ol a:hover .sphinxql_title {
    text-decoration: underline !important;
}

.sphinxql_details {
    color: #333;
    font-weight: normal;
}
.sphinxql_results_list .sphinxql_date {
    font-weight: normal;
}
.sphinxql_results_list .sphinxql_article_type {
    margin-left: 0em;
    font-weight: normal;
}

.sphinxql_results_list .sphinxql_title {
    font-size: 1.125em;
    line-height: 1.3em;
}

.sphinxql_results_list .sphinxql_summary {
    font-size: 1em;
    line-height: 1.3em;
}

.sphinxql_results_list ol li {
    margin-bottom: 0.5em;
}
.sphinxql_results_list ol li {
    border-radius: 3px;
}
.sphinxql_results_list ol li a:hover {
    background: #f5f5f5;
}
.sphinxql_results_list .sphinxql_summary p {
    font-size: inherit;
    line-height: inherit;
    padding: 0;
}

.sphinxql_index_status {
    float: right;
    font-size: 0.8em;
}
.sphinxql_weight:before {
    content: '(';
}
.sphinxql_weight:after {
    content: ')';
}
.sphinxql_weight {
    float: right;
}
.sphinxql_show_duplicates {
    float: right;
    margin-left: 0.5em;
}
.sphinxql_show_duplicates span:last-child {
    font-weight: bold;
    padding-left: 0.5em;
}

/* The following is for non-bootstrap pages only */
.container .sphinxql_form .hidden_text,
.main-container .sphinxql_form .hidden_text {
    display: none;
}

#sub-navigation .sphinxql_form .btn,
#content-inner .sphinxql_form .btn {
    border-radius: 0;
    font-size: 1.2em;
    line-height: 1em;
    margin-bottom: 4px;
    padding: 2px;
}
#sub-navigation {
    height: 50px;
}
#sub-navigation .sphinxql_form input {
    width: 235px;
}
#sub-navigation .sphinxql_form {
    float: right;
    padding-right: 14px;
    margin-top: -4px;
}
#block-system-main .sphinxql_form fieldset.form-wrapper {
    display: block;
}
#content-inner .col-md-6 {
    width: 50%;
    display: inline-block;
}
#content-inner .col-md-4 {
    width: 33%;
    display: inline-block;
}
#content-inner .col-md-6 input {
    max-width: 90%;
}
.sphinxql_count_selector {
    padding-top: 15px;
    clear: both;
}
.sphinxql_count_selector .row {
    border-top: 1px solid #ddd;
    padding-top: 7px;
    border-bottom: none !important;
}

.sphinxql_count_selector .row .form-item {
    margin-bottom: 0;
}
