/* Global defaults */

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus,
.btn:active:focus,
.form-control:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Shared container */

.site-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Header */

.site-header .navbar {
    min-height: 64px;
}

.site-header .border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.site-header .box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

.site-header .navbar-brand {
    color: #000;
    font-size: 1.5rem;
    white-space: nowrap;
}

.site-header .navbar-brand .brand-accent,
.site-footer-brand .brand-accent {
    color: #0d6efd;
}

.site-header .nav-link {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    transition: color 150ms ease;
}

.site-header .nav-link:hover {
    /* Override Bootstrap's text-dark utility without changing the default colour. */
    color: #0d6efd !important;
}

.site-header .nav-link:focus-visible {
    outline: 2px solid #0d6efd;
    outline-offset: 3px;
    box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
    .site-header .nav-link {
        transition: none;
    }
}

.navbar-subscribe {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
    color: #fff !important;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.navbar-subscribe:hover,
.navbar-subscribe:focus,
.navbar-subscribe:active {
    background-color: #0b5ed7 !important;
    border-color: #0a58ca !important;
    color: #fff !important;
}

/* Footer */

.site-footer {
    margin-top: 0;
    background-color: #fff;
}

.site-footer.border-top {
    border-top: 1px solid #e5e5e5;
}

.site-footer-inner {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
}

.site-footer-brand {
    color: #000;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.site-footer-brand:hover {
    color: #000;
}

.site-footer-link {
    color: #5f6477;
    text-decoration: none;
    white-space: nowrap;
    transition: color 150ms ease;
}

.site-footer-link:hover {
    color: #0d6efd;
}

.site-footer-link:focus-visible {
    outline: 2px solid #0d6efd;
    outline-offset: 3px;
    box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
    .site-footer-link {
        transition: none;
    }
}

.site-footer-copyright {
    color: #5f6477;
    white-space: nowrap;
}

/* Responsive */

@media (max-width: 767.98px) {

    .site-header .navbar {
        min-height: 60px;
    }

    .site-header .navbar-collapse {
        padding-top: 1rem;
        padding-bottom: 0.75rem;
    }

    .site-header .nav-link {
        padding-left: 0;
        padding-right: 0;
    }

    .navbar-subscribe {
        margin-top: 0.5rem;
        width: 100%;
    }

    .site-footer-inner {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}
