body {
    padding-top: 50px;
}

.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control,
input[type="radio"][disabled],
input[type="checkbox"][disabled],
input[type="checkbox"].disabled,
.radio[disabled],
.radio-inline[disabled],
.checkbox[disabled],
.checkbox-inline[disabled],
fieldset[disabled] input[type="radio"],
fieldset[disabled] input[type="checkbox"],
fieldset[disabled] .radio,
fieldset[disabled] .radio-inline,
fieldset[disabled] .checkbox,
fieldset[disabled] .checkbox-inline,
.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn,
.dropdown-menu > .disabled > a:hover,
.dropdown-menu > .disabled > a:focus,
.nav > li.disabled > a:hover,
.nav > li.disabled > a:focus,
.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus,
.pager .disabled > a,
.pager .disabled > a:hover,
.pager .disabled > a:focus,
.pager .disabled > span {
  cursor: default !important;
}

/* DATATABLES */

.dataTable > thead > tr > th,
.dataTable > thead > tr > td {
    padding-right: 18px;
}

.dataTables_wrapper {
    margin-top: 8px;
}

.dataTables_info {
    padding-top: 3px !important;
}

.dataTables_length {
    padding-left: 15px;
}

.dataTables_paginate {
    padding-right: 15px;
}

.table-panel .dataTables_info {
    padding-left: 15px;
}
.table-panel .dataTables_filter {
    padding-right: 15px;
}

/* TABLES */

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    padding: 5px;
    line-height: 1.1;
}
.table > tbody > tr > td.column_rownum {
    color: gray;
}

.html_table_info {
    margin: 11px 15px 10px 15px;
}

/* Table stripes */

.table-striped > tbody > tr:nth-child(even) {
    background-color: #f9f9f9;
}

.table-striped > tbody > tr:nth-child(odd) {
    background-color: white;
}

/* Table borders */

.table-borderless-outer .table th {
    border-top: 0;
}

.table-borderless-outer .table-bordered {
    border: 0 !important;
}
.table-borderless-outer .table-bordered > thead > tr > th:first-child,
.table-borderless-outer .table-bordered > tbody > tr > th:first-child,
.table-borderless-outer .table-bordered > tfoot > tr > th:first-child,
.table-borderless-outer .table-bordered > thead > tr > td:first-child,
.table-borderless-outer .table-bordered > tbody > tr > td:first-child,
.table-borderless-outer .table-bordered > tfoot > tr > td:first-child {
    border-left: 0 !important;
}
.table-borderless-outer .table-bordered > thead > tr > th:last-child,
.table-borderless-outer .table-bordered > tbody > tr > th:last-child,
.table-borderless-outer .table-bordered > tfoot > tr > th:last-child,
.table-borderless-outer .table-bordered > thead > tr > td:last-child,
.table-borderless-outer .table-bordered > tbody > tr > td:last-child,
.table-borderless-outer .table-bordered > tfoot > tr > td:last-child {
    border-right: 0 !important;
}
.table-borderless-outer .table-bordered > thead > tr:first-child > td,
.table-borderless-outer .table-bordered > tbody > tr:first-child > td,
.table-borderless-outer .table-bordered > thead > tr:first-child > th,
.table-borderless-outer .table-bordered > tbody > tr:first-child > th {
    border-bottom: 0 !important;
}
.table-borderless-outer .table-bordered > tbody > tr:last-child > td,
.table-borderless-outer .table-bordered > tfoot > tr:last-child > td,
.table-borderless-outer .table-bordered > tbody > tr:last-child > th,
.table-borderless-outer .table-bordered > tfoot > tr:last-child > th {
    border-bottom: 0 !important;
}

.table-borderless-outer .table-bordered > thead > tr:first-child > td,
.table-borderless-outer .table-bordered > thead > tr:first-child > th {
    border-top: 1px solid #ddd !important;
}

.table-borderless-outer .table-bordered > tbody > tr:last-child > td,
.table-borderless-outer .table-bordered > tbody > tr:last-child > th {
    border-bottom: 1px solid #ddd !important;
}

.table-solid-header .table-bordered > thead {
    background: #eee;
}


/*
Remove extra border below header
.table > thead > tr:first-child > td,
.table > thead > tr:first-child > th {
    border-bottom: 1px solid #ddd;
}*/

/* Table-panel */
/* Table row border meet panel and LHS column needs left padding */

.table-panel td:first-child,
.table-panel th:first-child {
    padding-left: 15px !important;
}

/* Sentence panel table col spacing*/

.main-sentences-panel td:first-child,
.main-sentences-panel th:first-child {
    padding-right: 15px;
}

/* Simple tables, side-panel tables */

.simple-table .col-ticker-country {
    min-width: 76px;
}

.simple-table .col-padding-right {
    width: 100%;
}

.simple-table>tbody>tr:first-child>td {
    border-top: none !important;
 }

/*
.side-panel .simple-table.item-sentiment td:first-child,
.side-panel .simple-table.item-keyword td:first-child {
    white-space: nowrap;
}
*/
.side-panel .simple-table.item-sentiment .col-term,
.side-panel .simple-table.item-keyword .col-term{
    width: 42%;
}

.side-panel th:first-child,
.side-panel td:first-child {
    padding-left: 0;
}

/* Grouped table (original item view) */

.grouped-table tr:first-child td {
    border-top: none !important;
 }

.field-group-title {
    font-size: 1.2em;
    font-weight: bold;
    padding-top: 16px !important;
}


/* LABELS */

.label-xs {
  font-size: 9px;
}

/* PANELS */

.panel h1.panel-title {
    font-size: 36px;
}
.panel h2.panel-title {
    font-size: 30px;
}
.panel h3.panel-title {
    font-size: 24px;
}
.panel h4.panel-title {
    font-size: 18px;
}
.panel h5.panel-title {
    font-size: 14px;
}
.panel h6.panel-title {
    font-size: 12px;
}

.table-panel {
    border-radius: 0px;
}

.table-panel > .panel-heading {
    border-radius: 0px;
}

/* MAIN PANEL (article view) */

.main-panel {
    border: 0;
    border-radius: 0px;
}

.main-title-panel {
    border: 0;
    border-radius: 0px;
    margin-bottom: 5px;
}

.main-sentences-panel {
    border: 0;
    border-radius: 0px;
    padding: 10px;
}

/* SIDE PANELS */

/* borderless side panels with color bg heading and white main background */

.side-panel {
    border-radius: 0px;
    border: 0;
}

.side-panel > .panel-heading {
    border-radius: 0px;
    border: 0;
    color: #fff;
    background: #428bca !important;
}

/* Side panel labeller */

.side-panel.label-panel > .panel-heading > .row > div:first-child {
    padding-top: 2px;
}

/* Side panel bar gauges */

table.bar-gauges .progress {
    margin-bottom: 6px;
}

table.bar-gauges td:first-child {
    width: 170px;
}

.bar-gauge-label {
    font-weight: normal;
    color: #999;
}

a.disabled,
a.disabled:hover,
a.disabled:visited {
    color: #999;
}

.dict_item_controls .bootstrap-tagsinput,
.column_ngram_controls .bootstrap-tagsinput {
    padding: 1px 3px;
    width: 300px;
    height: 24px;
    line-height: 18px;
}

.dict_item_controls .bootstrap-tagsinput input,
.column_ngram_controls .bootstrap-tagsinput input {
    height: 20px;
}

nav.navbar {
    margin-bottom: 0;
    border: none;
}

/* display drop-down nav menu on hover */
ul.nav li.dropdown:hover > ul.dropdown-menu {
    display: block;
}

.bg-info {
    padding: 5px;
}

/* fix margin */
.navbar-right {
    margin-right: 0;
}

/* Button styles */

.btn-repo {
    background-color: #428bca;
    color: #f7f7f9;
}
.btn-api-repo {
    background-color: #eb9316;
    color: #f7f7f9;
}
.btn-repo:hover,
.btn-repo:focus,
.btn-repo:active,
.btn-api-repo:hover,
.btn-api-repo:focus,
.btn-api-repo:active {
    color: #f7f7f9;
}

.popover {
    max-width: 80%;
    color: black;
}

.table-field-selector {
    margin-left: 16px;
}

.table-field-selector button,
.article-view-selector button {
    padding: 4px 8px;
}

.standard-top-margin {
    margin-top: 15px;
}

.upload-page-nav .nav-tabs {
    margin-bottom: 15px;
}

#training-form .pagination {
    margin:  0;
}

.glyphicon.glyphicon-red-circle:before {
    content: "\25cf";
    font-size: 1.5em;
    line-height: 5px;
    color: red;
}

.glyphicon.glyphicon-green-circle:before {
    content: "\25cf";
    font-size: 1.5em;
    line-height: 5px;
    color: green;
}

/*
XXX temp tests
tests grey tabs
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    background-color: #eee;
}
panel color variations
.side-panel > .panel-heading {
    border-top: 4px solid #1f93ef;
    background: #1d5a96;
    background: #83B845;
    background: #2800D7;
    color: #1f93ef;
    background: #fff;
}
Experimental blue for repo selector, panel headers:
    background: #1f93ef;

.side-panel > .panel-heading {
    border-radius: 0px;
    border: 0;
    color: #fff;
    background: #1f93ef !important;
}
*/
