body {
    background-color: #f8fafc;
    font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 15px;
}
h1 {
    margin: 0 0 2rem;
}
abbr[data-original-title], abbr[title] {
    text-decoration-color: #aaa;
}

.header {
    margin-bottom: 4rem;
    padding: 1rem 0;
    background: #48c774 linear-gradient(150deg, #48c774 0, #36b061 100%);
    color: #fff;
}
.header a, .header a:hover {
    color: #fff;
}
.header-title {
    padding: 3rem 0;
}
.fca-logos {
    padding: 1rem 0;
}
.fca-logos > img {
    margin-left: 0.5rem;
}

.cell-fixed {
    white-space: nowrap;
}

/* labels using Bootstrap colours */
.platform-status {
    background-color: #ccc;
    color: #fff;
    text-align: center;
    font-size: 0.87em;
}
.status-draft {
    background-color: #d9534f;
}
.status-review {
    background-color: #5bc0de;
}
.status-processed {
    background-color: #f0ad4e;
}
.status-approved {
    background-color: #5cb85c;
}
.status-awaiting {
    background-color: #9634b7;
}
.status-renewal, .status-unapproved {
    background-color: #333;
}
.status-removed {
    background-color: #999;
}

/* Bootstrap overrides */
.table {
    font-size: 0.87em;
}
.table > tbody > tr > td {
    vertical-align: middle;
}
.table.w-auto {
    width: auto;
}
.panel-heading {
    font-size: 24px;
    font-weight: bold;
}

span[data-tooltip] {
    cursor: help;
    color: #337ab7;
}

.btn-expired {
    color: #fff;
    background-color: #333;
    border-color: #000;
}
.btn-expired:active, .btn-expired:focus, .btn-expired:hover {
    color: #fff;
    background-color: #555;
    border-color: #000;
}

.text-danger {
    color: #c00;
}
.text-success {
    color: #3a3;
}
.text-balance {
    text-wrap-style: balance;
}

label.form-required::after {
    content: '*';
    color: #c00;
}

.form-inline input[type="file"] {
    display: inline-block;
}

.nav-pills > li.active > a, .nav-pills > li.active > a:focus, .nav-pills > li.active > a:hover {
    background-color: rgba(255, 255, 255, 0.4);
    background-color: #2fa759;
    background-color: rgba(47, 167, 89, 1);
}
.nav>li>a:focus, .nav>li>a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    background-color: rgba(47, 167, 89, 0.4);
}
/* Firefox fix */
input[type="date"].form-control,
input[type="time"].form-control,
input[type="datetime-local"].form-control,
input[type="month"].form-control {
    line-height: initial;
}

/* table sorting */
th[data-sort-type] {
    cursor: pointer;
    white-space: nowrap;
}
th[data-sort-type]::after {
    display: inline-block;
    position: relative;
    top: -1px;
    width: 7px;
    height: 9px;
    margin-left: 0.3em;
    content: "";
    background: transparent url("/images/tablesort.png") no-repeat 0 0;

}
th[data-sort-type].sorting-asc::after {
    background-position: 0 -9px;
}
th[data-sort-type].sorting-desc::after {
    background-position: 0 -18px;
}

.section-blurb {
    padding: 8px 12px;
    background: #f4f4f4;
    border-radius: 4px;
}
.section-blurb > :last-child {
    margin-bottom: 0;
}

.modal-header {
    background-color: #f8f8f8;
    border-radius: 6px 6px 0 0;
}
.modal-body {
    min-height: 250px;
}

.doc-list-modal {
    width: 100%;
}
.doc-list-modal tr {
    border-top: 1px solid #ddd;
}
.doc-list-modal tr:first-child {
    border-top: 0;
}
.doc-list-modal td {
    padding: 10px;
}
.doc-list-modal .text-danger {
    font-size: 0.87em;
}
