html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.background-pattern {
    background-color: #fffdfd;
    background: radial-gradient(circle, transparent 20%, #fffdfd 20%, #fffdfd 80%, transparent 80%, transparent), radial-gradient(circle, transparent 20%, #fffdfd 20%, #fffdfd 80%, transparent 80%, transparent) 27.5px 27.5px, linear-gradient(#fff8f8 2.2px, transparent 2.2px) 0 -1.1px, linear-gradient(90deg, #fff8f8 2.2px, #fffdfd 2.2px) -1.1px 0;
    background-size: 55px 55px, 55px 55px, 27.5px 27.5px, 27.5px 27.5px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.btn-primary {
    color: #ffffff;
    background-color: #B40000;
    border-width: 0;
    height: 40px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .btn-primary:hover, .btn-primary:active {
        background-color: #8B7227;
        box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
    }

    .btn-primary:focus {
        background-color: #b40000;
        box-shadow: none !important;
    }

    .btn-primary:focus:hover {
        background-color: #8B7227;
    }

    .btn-primary:disabled {
        background-color: #B40000;
    }

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.btn.btn-lg {
    color: #ffffff;
    background-color: #B40000;
    height: 50px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn.btn-lg:hover {
    background-color: #8B7227;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

.btn-lg:focus {
    box-shadow: none !important;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

table {
    width: 100%;
}

th {
    text-align: center;
    padding-bottom: 10px;
}

td {
    text-align: center;
    padding-bottom: 10px;
}

tr:not(:first-child) td {
    padding-top: 15px;
}

tr:last-child td {
    padding-bottom: 0px;
}

tr {
    border-bottom: 1px solid #ccc;
    vertical-align: top;
}

tr:last-child {
    border-bottom: none;
}

@media (max-width: 840px) {
    .desktop-only {
        display: none;
    }
}

@media (min-width: 841px) {
    .mobile-only {
        display: none;
    }
}

.click-hover-text:hover {
    color: #B40000;
    cursor: pointer;
}

.form-control:focus {
    box-shadow: none !important;
}

a {
    color: #b40000
}

a:hover {
    color: #8b7227;
}

.form-check-input:checked, .form-check-input:focus {
    background-color: #B40000;
    border-color: #B40000;
    box-shadow: none;
}

.btn-outline-primary {
    color: #B40000;
    border-color: #B40000;
}

.btn-outline-primary:focus, .btn-outline-primary.focus {
    box-shadow: none !important;
    outline: none !important;
}

.btn-outline-primary:hover, .btn-outline-primary:active, .btn-outline-primary.active
{
    background-color: #b40000;
    border-color: #B40000;
    color: white;
    box-shadow: none;
}

.btn-outline-primary:disabled {
    background-color: #B40000;
}

/* Keep the box metrics in sync with .select-compact in the mobile stylesheet. */
.select-fit {
    width: 200px;
    max-width: 100%;
    padding: 0.375rem 2rem 0.375rem 0.5rem;
    background-position: right 0.5rem center;
    background-size: 16px 12px;
}
