/* Custom page CSS
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
    overflow-y: scroll;
    overflow: -moz-scrollbars-vertical;
}

body {
    font-family: 'DefaultRegular', Helvetica, Arial, sans-serif;
    font-size: 16px;
    color: #051428;
    background: #F7F7F7;
}

h1, h2, h3, h4, h5, h6 {
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

h1 {
    font-size: 26px;
    padding-top: 30px;
    padding-bottom: 20px;
}

h2, h3 {
    font-size: 24px;
    padding-top: 24px;
    padding-bottom: 16px;
}

.toc_entry {
    visibility: hidden;
    height: 0 !important;
    position: absolute;
    margin: -100px;
}

.table-header {
    font-size: 18px;
    padding-top: 6px;
    padding-bottom: -2px;
    border: 2px solid #051428;
    background-color: #051428;
    color: #fff;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.card-header h4 {
    font-size: 20px;
    padding-top: 6px;
    padding-bottom: -2px;
}

.card-body {
    background-color: #ECEDEE;
}

.card-body p {
    font-size: 20px;
}

main > .container {
    padding-top: 160px;
    padding-bottom: 120px;
}

main > .container-fluid {
    padding-top: 120px;
    padding-bottom: 60px;
}

a {
    color: #051428;
}

footer > .container,
footer > .container-fluid {
    padding-top: 60px;
    padding-bottom: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.footer {
    color: #eee;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer h5 {
    font-size: 15px;
    padding-bottom: 15px;
    border-bottom: #5a5a5a 1px solid;
    margin-bottom: 15px;
}

.footer .fab {
    margin-right: 20px;
    width: 20px;
}

.footer hr {
    width: 100%;
    height: 1px;
    margin: 20px auto 10px;
    color: #5a5a5a;
    background: #5a5a5a;
}

.footer a {
    color: #a9a9a9;
}

.footer a:hover, .footer a:active, .footer a:focus {
    color: #DCB694;
}

a:hover, a:focus {
    color: #051428;
    text-decoration: none;
}

/*
table {
    font-size: 14px;
}
*/

.bg-dark {
    background-color: #051428 !important;
}

.navbar {
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: #888 1px solid;
    font-size: 16px;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link:focus {
    color: rgba(255, 255, 255, 1);
}

/*
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:active {
    padding-bottom: 0;
    border-bottom: #051428 3px solid;
}
*/

.navbar-logo {
    background: url(../img/logo.svg);
    height: 57px;
    width: 70px;
    margin: 8px 25px 9px 0px;
    float: left;
    display: block;
}

.dropdown-item:active {
    background-color: #ddd;
    font-weight: bold;
}

.dropdown-item img {
    margin-bottom: 3px;
    padding-right: 12px;
}

.dropdown-icon {
    min-width: 30px;
}

.header-image {
    margin-top: 91px;
    margin-bottom: -91px;
    width: 100%;
    height: auto;
}

.header-image img {
    width: 100%;
    height: 100%;
}

.header-text {
    margin-top: 91px;
    margin-bottom: -98px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: #888 1px solid;
    border-bottom: 0;
    background-color: #051428;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.btn h5, .btn h6 {
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 3px 10px;
    margin: 0;
}

.header-text h5,
.header-text h6 {
    letter-spacing: 0.14em;
    display: inline;
}

.jumbotron {
    padding-top: 20px;
    padding-bottom: 15px;
}

.jumbotron h1,
.jumbotron h2 {
    color: #051428;
}

.text-light, .text-light a {
    color: rgba(255, 255, 255, 0.8) !important;
}

.text-light a:hover, .text-light a:active, .text-light a:focus {
    color: rgba(255, 255, 255, 1) !important;
}

code {
    font-size: 80%;
}

.organisation {
    margin-top: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 14px;
}

.organisation h6,
.organisation h6 a {
    color: #051428;
}

.organisation h6 a:hover, .organisation h6 a:focus {
    color: #555;
}

.dp-highlight {
    color: #fff;
    background-color: #8B693E;
    padding: 10px;
}

.img-thumbnail {
    padding: 0.25rem;
    background-color: #ddd;
    border: 1px solid #888;
    border-radius: 0.25rem;
    max-width: 100%;
    height: auto;
    text-transform: uppercase;
}

.img-thumbnail:hover {
    border: 1px solid #051428;
    background-color: #051428;
}

.img-thumbnail:hover a {
    display: block;
    color: #fff;
}

/*
.img-thumbnail:hover img {
    opacity: 0.6;
}
*/

.popover {
    font-family: 'DefaultRegular', Helvetica, Arial, sans-serif;
    font-size: 15px;
    background-color: #8B693E;
    max-width: 500px;
    opacity: 0.9;
}

.popover-body {
    color: #fff;
}

.popover-header {
    background-color: #051428;
    color: #fff;
    font-weight: bold;
    letter-spacing: 1.3px;
}

.bs-popover-top .arrow::before, .bs-popover-auto[x-placement^="top"] .arrow::before {
    bottom: 0;
    border-top-color: #222;
}

.bs-popover-top .arrow::after,
.bs-popover-auto[x-placement^="top"] .arrow::after {
    bottom: 1px;
    border-top-color: #222;
}

.bs-popover-right .arrow::before, .bs-popover-auto[x-placement^="right"] .arrow::before {
    left: 0;
    border-right-color: #222;
}

.bs-popover-right .arrow::after,
.bs-popover-auto[x-placement^="right"] .arrow::after {
    left: 1px;
    border-right-color: #222;
}

.bs-popover-bottom .arrow::before, .bs-popover-auto[x-placement^="bottom"] .arrow::before {
    top: 0;
    border-bottom-color: #051428;
}

.bs-popover-bottom .arrow::after,
.bs-popover-auto[x-placement^="bottom"] .arrow::after {
    top: 1px;
    border-bottom-color: #051428;
}

.bs-popover-bottom .popover-header::before, .bs-popover-auto[x-placement^="bottom"] .popover-header::before {
    border-bottom: 1px solid #051428;
}

.bs-popover-left .arrow::before, .bs-popover-auto[x-placement^="left"] .arrow::before {
    right: 0;
    border-left-color: #222;
}

.bs-popover-left .arrow::after,
.bs-popover-auto[x-placement^="left"] .arrow::after {
    right: 1px;
    border-left-color: #222;
}

.tooltip-inner {
    font-size: 15px;
    text-align: left;
}

.back-to-top {
    position: fixed;
    bottom: 10px;
    right: 15px;
    color: #DCB694;
    font-size: 24px;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.spinner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    border-radius: 50%;
    border: 2px solid #ccc;
    border-top-color: #333;
    animation: spinner .6s linear infinite;
}
