body {
    font-family: 'Roboto', Arial, sans-serif;
    background: #cfcfcf;
    color: #111;
    overflow-x: hidden;
}

h1 {
    font-size: 2rem;
    margin-top: 1rem;
}
.lead{
    font-size: 1rem;
}

.tool-page h1,
.tool-page h1.h2,
.site-hero h1,
.site-faq h1 {
    margin-top: 0;
}

h2 {
    font-size: 1.7rem;
}

a {
    color: #7b0000;
    text-decoration: none;
}
a:hover{
    color: #000;
}

.border{
    background-color: #f7f7f7;
}

.tool-card {
    display: flex;
    flex-direction: column;
}

.tool-page {
    padding-top: 0;
}

.site-hero {
    padding-top: 0;
}

.tool-card-actions {
    margin-top: auto;
}

.site-faq .accordion-button {
    color: #7b0000;
}

.site-faq .accordion-button:not(.collapsed) {
    background: #ffc2c2;
    color: #7b0000;
}

.site-faq .accordion-body {
    color: #7b0000;
}

.page-shell {
    background: transparent;
    box-shadow: none;
    margin: 0 auto;
    padding: 28px 30px 32px;
    max-width: 1100px;
}

.site-shell {
    max-width: 1100px;
    width: 1100px;
}

.site-card {
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    margin: 0 auto 20px;
    max-width: 1100px;
    width: 1100px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

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

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li>form>button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li>form>button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav>li>form>button.logout:focus,
.nav>li>form>button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav>li>form>button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

.site-header {}

.logo-bar {
    display: flex;
    justify-content: center;
    padding: 18px 0 10px;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.site-logo {
    height: 46px;
    width: auto;
}

.main-nav {
    background: #7b0000;
    display: flex;
    justify-content: flex-start;
    gap: 18px;
    padding: 12px 18px;
    flex-wrap: wrap;
}

.main-nav .nav-link {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.main-nav .nav-link:not(:last-child)::after {
    content: " •";
    color: #ddbbbb;
    padding-left: 10px;
}

.main-nav .nav-link:hover,
.main-nav .nav-link:focus {
    color: #f2e7e7;
}

.main-nav .nav-link.disabled {
    color: #e0c0c0;
    pointer-events: none;
}

.site-footer {
    background: #7b0000;
    color: #f7f7f7;
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding: 28px 0;
}

.site-footer .footer-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    color: #ddbbbb;
}

.site-footer ul {
    list-style: disc;
    padding-left: 18px;
    margin: 0;
}

.site-footer li {
    margin: 6px 0;
    color: #ddbbbb;
    line-height: 1.4;
}

.site-footer a {
    color: #ddbbbb;
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
    color: #ffffff;
    text-decoration: none;
}

.site-footer a.active,
.site-footer a[aria-current='page'] {
    color: #ffffff;
    font-weight: 500;
}

.site-footer .footer-bottom {
    background: #560000;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 0 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    font-size: 13px;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    color: #ddbbbb;
}

.btn-primary {
    background-color: #7b0000;
    border-color: #7b0000;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #660000;
    border-color: #660000;
}

.btn-outline-primary,
.btn-outline-secondary {
    color: #7b0000;
    border-color: #7b0000;
    background-color: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    color: #ffffff;
    background-color: #7b0000;
    border-color: #7b0000;
}

.btn:disabled,
.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
    pointer-events: none;
}

.btn-primary:disabled,
.btn-primary[disabled] {
    background-color: #9b6b6b;
    border-color: #9b6b6b;
    color: #f1e8e8;
}

.report-block-title {
    text-transform: uppercase;
    font-weight: normal;
    color: #999;
}

.link-ellipsis {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.accordion-button {
    min-width: 0;
}

.accordion-button > .d-flex {
    min-width: 0;
    width: 100%;
}

.accordion-button > .d-flex > div {
    min-width: 0;
    flex: 1 1 auto;
}

.link-flagged .accordion-button {
    background-color: #fde2e2;
}

.link-flagged .accordion-button:not(.collapsed) {
    background-color: #fde2e2;
}

.accordion-button .text-muted.small a {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.text-brand {
    color: #7b0000 !important;
}

.tip-muted {
    color: #a9a9a9;
}

.how-it-works-steps .step-title {
    text-transform: none;
    letter-spacing: 0.4px;
    font-weight: normal !important;
}

@media (max-width: 991px) {

    .site-shell,
    .site-card {
        width: 100%;
    }

    .page-shell {
        padding: 22px;
    }

    .main-nav {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .page-shell {
        padding: 18px;
    }

    .site-shell,
    .site-card {
        width: 100%;
        max-width: 100%;
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr;
    }

    .site-footer .footer-title {
        font-size: 13px;
    }
}
