:root {
    --success: #00853F;
    --successDarken: #006630;
    --danger: #FC1921;
    --dangerDarken: #d40a10;
    /* [adam]: these defaults will be overriden by jurisdiction themes */
    --primary: #0089ca;
    --primaryDarken: #005da5;
    --secondary: #333;
    --bodyText: #414141;
    --headerBackground: #005da5; /* TODO figure out which style this goes to */
    --footerBackground: #272727;
    --headerBottomStroke: #CE3539;
    --linkColor: var(--primary);
    --iconColor: #c5d6e9;
    --weightThin: 100;
    --weightLight: 300;
    --weightRegular: 400;
    --weightMedium: 500;
    --weightBold: 700;
    --weightBlack: 900;
}

/* ----- Roboto Fonts ----- */
@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 400; /* regular */
    font-display: swap;
    src: url(../fonts/roboto-v20-400-italic.woff) format('woff');
}
@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 500; /* medium */
    font-display: swap;
    src: url(../fonts/roboto-v20-500-italic.woff) format('woff');
}
@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 700; /* bold */
    font-display: swap;
    src: url(../fonts/roboto-v20-700-italic.woff) format('woff');
}
@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 900; /* black */
    font-display: swap;
    src: url(../fonts/roboto-v20-900-italic.woff) format('woff');
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400; /* regular */
    font-display: swap;
    src: url(../fonts/roboto-v20-400-normal.woff) format('woff');
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500; /* medium */
    font-display: swap;
    src: url(../fonts/roboto-v20-500-normal.woff) format('woff');
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700; /* bold */
    font-display: swap;
    src: url(../fonts/roboto-v20-700-normal.woff) format('woff');
}
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 900; /* black */
    font-display: swap;
    src: url(../fonts/roboto-v20-900-normal.woff) format('woff');
}
/* ----- Montserrat Fonts ----- */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400; /* regular */
    font-display: swap;
    src: url(../fonts/Montserrat-Regular.ttf) format('truetype');
}
@font-face {
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 400; /* regular */
    font-display: swap;
    src: url(../fonts/Montserrat-Italic.ttf) format('truetype');
}
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700; /* bold */
    font-display: swap;
    src: url(../fonts/Montserrat-Bold.ttf) format('truetype');
}
@font-face {
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 700; /* bold */
    font-display: swap;
    src: url(../fonts/Montserrat-BoldItalic.ttf) format('truetype');
}


html {
    position: relative;
    min-height: 100%;
}
body {
    color: var(--bodyText);
    /*
    [adam]: margin-bottom pushes content for footer; footer pos:abs bottom so 
    short content still has footer "fixed" to bottom
    */
    margin-bottom: 40px;
    /* [adam]: values after Roboto were taken from Bootstrap's default font stack */
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

a:not(.btn) {
    color: var(--linkColor);
    text-decoration: underline;
}
a:hover {
    color: var(--primaryDarken);
    text-decoration: underline;
}

.buttonNav {
    background-color: var(--secondary);
    border: 1px solid var(--secondary);
    border-radius: 1px; 
    color: white;
    font-weight: normal;
    padding: 3px 5px;
    font-size: 0.625rem;
    text-decoration: none;
}
.buttonNav:hover {
    color: white;
}
button {
    display: block;
    background-color: var(--primary);
    border-radius: 3px; 
    color: white;
    /* TODO maybe bump font-size */
    font-weight: bold;
    padding: 5px 20px;
    border: 1px solid var(--primary);
}

button:hover {
    background-color: var(--primaryDarken);
    border: 1px solid var(--primaryDarken);
}
ul {
    padding-left: 1.5rem;
}
ul.disc {
    list-style-type: disc;
}

h1, .h1 {
    font-size: 2.25rem;
    font-weight: bold;
}
h2, .h2 {
    font-size: 1.5rem;
    font-weight: 500; /* medium */
    line-height: 2rem;
    margin: 0 0 2rem;
}
h3, .h3 {
    /* TODO double-check these styles (pasted from below) & update as needed */
    font-size: 36px;
    font-weight: normal;
    line-height: 36px;
    margin-bottom: 20px;
}

label, .col-form-label {
    font-size: 0.875rem;
    font-weight: bold;
}

input[type="checkbox"] {
    accent-color: var(--primary);
}

.flex-spacer {
    flex: 1;
}

[v-cloak] {
    display: none !important;
}

/********** BEGIN Bootstrap Overrides **********/
.col-form-label {
    margin-bottom: 0.5rem;
    padding-bottom: 0;
}
.form-control {
    border-radius: 5px;
}
.form-control,
.form-control:focus {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) inset;
}
.btn {
    font-size: 1.125rem;
    font-weight: var(--weightBlack);
    padding: 0.5rem 1rem;
}
.btn.disabled, .btn:disabled {
    cursor: default;
    opacity: 0.2;
}
.btn-primary.disabled, .btn-primary:disabled {
    background-color: var(--primary);
    border-color: var(--primary);
}
.btn + .btn {
    margin-left: 1.25rem; /* 20px @ 16px base */
}
.btn-outline-success,
.btn-outline-success:hover,
.btn-outline-success:focus,
.btn-outline-success:not(:disabled):not(.disabled):active,
.btn-outline-danger,
.btn-outline-danger:hover,
.btn-outline-danger:focus,
.btn-outline-danger:not(:disabled):not(.disabled):active,
.btn-outline-primary,
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:not(:disabled):not(.disabled):active {
    background-color: transparent;
    background-image: none;
}
.btn-success {
    background-color: var(--success);
    border-color: var(--success);
}
.btn-success:hover {
    background-color: var(--successDarken);
    border-color: var(--successDarken);
}
.btn-outline-success {
    border-color: var(--success);
    color: var(--success);
}
.btn-outline-success:hover,
.btn-outline-success:focus,
.btn-outline-success:not(:disabled):not(.disabled):active {
    border-color: var(--successDarken);
    color: var(--successDarken);
}
.btn-danger {
    background-color: var(--danger);
    border-color: var(--danger);
}
.btn-outline-danger {
    border-color: var(--danger);
    color: var(--danger);
}
.btn-outline-danger:hover,
.btn-outline-danger:focus,
.btn-outline-danger:not(:disabled):not(.disabled):active {
    border-color: var(--dangerDarken);
    color: var(--dangerDarken);
}
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}
.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:not(:disabled):not(.disabled):active {
    border-color: var(--primaryDarken);
    color: var(--primaryDarken);
}
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:hover {
    background-color: var(--primaryDarken);
    border-color: var(--primaryDarken);
}

.modal p:last-child {
    margin-bottom: 0;
}

.modal-dialog .close, .alert .close {
    background-color: transparent;
    border: none;
}
.modal-backdrop {
    opacity: 0.5
}
.form-control {
    --bg-position-amount: 0.5rem;
}
.was-validated .form-control:invalid,
.form-control.is-invalid {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='red' viewBox='0 0 600 600'%3E%3Cpath d='M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z'/%3E%3C/svg%3E");
    background-position: right var(--bg-position-amount, 0) center;
    border-color: var(--danger);
}
.was-validated .form-control:valid,
.form-control.is-valid {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2300853F' viewBox='0 0 512 512'%3E%3Cpath d='M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z'/%3E%3C/svg%3E");
    background-position: right var(--bg-position-amount, 0) center;
}
select.form-control {
    --bg-position-amount: 1rem;
}
input[type="date"].form-control.is-invalid,
input[type="date"].form-control.is-valid {
    --bg-position-amount: 1.95rem;
    padding-right: 0;
}
.invalid-feedback {
    color: var(--danger);
    font-size: 0.875rem;
}
.bg-danger {
    background-color: var(--danger) !important;
    color: white;
}
.bg-success {
    background-color: var(--success) !important;
    color: white;
}

.text-primary {
    color: var(--primary) !important;
}
.text-secondary {
    color: var(--secondary) !important;
}
.text-danger {
    color: var(--danger) !important;
}
.text-success {
    color: var(--success) !important;
}

.alert {
    --red: #fc1921;
    background-color: #fcc;
    border: 2px solid var(--red);
    color: inherit;
    font-size: 0.75rem;
    padding-right: 40px;
}
@media (min-width: 576px) {
    .alert {
        font-size: 0.875rem;
    }
}
.custom-select {
    -webkit-appearance: auto;
    appearance: auto;
    background-image: none;
}
.custom-select.is-valid, .was-validated .custom-select:valid {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2300853F' viewBox='0 0 512 512'%3E%3Cpath d='M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z'/%3E%3C/svg%3E");
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}
.custom-select.is-invalid, .was-validated .custom-select:invalid {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='red' viewBox='0 0 600 600'%3E%3Cpath d='M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z'/%3E%3C/svg%3E");
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}
.bg-primary {
    background-color: var(--primary) !important;
}
.bg-secondary {
    background-color: var(--secondary) !important;
}
.bg-success {
    background-color: var(--success) !important;
}
.bg-success-darken {
    background-color: var(--successDarken) !important;
}
.bg-warning {
    background-color: var(--warning) !important;
}
.bg-danger {
    background-color: var(--danger) !important;
}
.bg-danger-darken {
    background-color: var(--dangerDarken) !important;
}
.custom-control-input:checked ~ .custom-control-label::before {
    border-color: var(--primary);
    background-color: var(--primary);
}
/********** END Bootstrap Overrides **********/

.block-my-1,
.block-mt-1 {
    margin-top: 1.25rem;
}
.block-my-1,
.block-mb-1 {
    margin-bottom: 1.25rem;
}
.block-my-2,
.block-mt-2 {
    margin-top: 1.875rem;
}
.block-my-2,
.block-mb-2 {
    margin-bottom: 1.875rem;
}
[class*="block-m"] p:last-child,
[class*="block-m"] ul:last-child,
[class*="block-m"] .form-group:last-child {
    margin-bottom: 0;
}

.underlined {
    border-bottom: 1px solid #E6E6E6;
}

a.selected {
    background-color: var(--primaryDarken);
    border: 1px solid var(--primaryDarken);
    text-decoration: none;
}

.mainHeader--thick {
    /* [adam]: bg-img set from within the View itself */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-bottom: 10px solid var(--headerBottomStroke);
    color: white;
    height: 190px;
}
.mainHeader--thick img {
    display: block;
    max-width: 400px;
    width: 100%;
}
.mainHeader--thin {
    background-color: var(--headerBackground);
    color: white;
    padding: 0.5rem;
}
@media (min-width: 768px) { /* Bootstrap md */
    .mainHeader--thin {
        padding: 0.5rem 1.5rem;
    }
}
.mainHeader--thin h1 {
    display: block;
    font-family: MontSerrat, Roboto, sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 2rem;
    margin: 0;
}
.mainHeader--thin img {
    display: block;
    margin-right: 20px;
    height: 35px;
}

.mainHeader__innerWrapper {
    display: flex;
    height: 100%;
}
.mainHeader__innerWrapper--thick {
    align-items: center;
    flex-direction: column;
    justify-content: flex-end;
}
.mainHeader__innerWrapper--thick .site__subheading {
    font-size: 1.5rem;
    margin: 0.5rem 0 0.25rem;
}
.mainHeader__innerWrapper--thin {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    margin: 0.25rem 1.875rem;
}

.k2doLogo {
    font-weight: var(--weightRegular) !important;
}
.k2doLogo b {
    /* no need to set "italic" here; the Montserrat is using BoldItalic */
    display: inline-block !important;
    font-weight: var(--weightBold) !important;
    margin-right: 0.2rem !important;
}
#officialWebsite {
    font-size: 0.875rem;
    margin: 0;
    text-transform: uppercase;
}

.mainNav {
    float: right;
    position: relative;
    z-index: 1;
}

/* TODO remove this in favor of Bootstrap classes (used in 5 views) */
.loginH1 {
    text-align: center;
    font-weight: normal;
    margin-bottom: 20px;
}

.mainContent .form-group {
    width: 300px;
    display: inline-block;
    margin-right: 20px;
}

.mainContent table.results {
    border-top: 1px solid #DDDDDD;
    width: 100%;
    margin-bottom: 20px;
}
.mainContent table.results tr:nth-child(odd) { background-color: #f9f9f9; }
.mainContent table.results td {
    padding: 10px;
    border-right: 3px solid white;
    border-bottom: 1px solid #DDDDDD;
}
.mainContent table.results th {
    padding: 10px;
    border-bottom: 1px solid #DDDDDD;
}
.resultsBin {
    border: 1px solid var(--primary);
    border-radius: 5px;
    height: 100%;
    min-height: 250px;
    overflow: hidden;
}
.resultsBin__header {
    background-color: var(--primary);
    color: white;
    font-size: 1.125rem;
    font-weight: var(--weightBold);
    padding: 10px 20px;
}

.resultsGraphical__subGraphicalData {
    white-space: nowrap;
}
.resultsGraphical__subGraphicalData:not(:last-child)::after {
    content: ' | ';
}

.login .form-group { width: 350px; margin: 0 auto 10px;}
.login a { display: block; text-align: center; margin-bottom: 10px;}
.login button { margin: 0 auto;}


form { margin-bottom: 20px;}


.submit button {
    margin: 30px auto;
}

.footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: var(--footerBackground);
    color: white;
    font-size: 0.875rem;
}
.footer small {
    font-size: 1em;
    padding: 0.75rem 0;
}
#siteLinks {
    justify-self: start;
}
#siteCopyright {
    justify-self: center;
}
#languageDropdown {
    border: 1px solid #444;
    border-bottom: none;
    border-radius: 0.25rem 0.25rem 0 0;
    bottom: 100%;
    right: 0;
    position: absolute;
}
#selectedLanguage {
    font-size: 1rem;
}
#selectLanguage button {
    border: none;
    display: block;
    width: 100%;
}
#selectLanguage button + button {
    margin-left: 0;
}

footer a:not(.btn) {
    color: white;
}

.callToAction {text-align: center; padding-top: 20px;}

/* THANK YOU SPECIFIC STYLES */
.thankYou h3 {line-height: 45px;margin-bottom: 5px;}
.thankYou h4 {margin-bottom: 20px;}
.thankYou p, .results p {font-size: 18px;}
.thankYou img {
    display: block;
    width: 200px;
    margin: 10PX auto 20px;
    opacity: 0.5;
}

/* DISCLAIMER AND RULES STYLES */
.rules h3, .rules h4 {text-align: center;}

/* [adam]: appears to be unused */
a.cancelButton {background-color: red;}
a.cancelButton:hover {background-color: darkred;}

/* [adam]: using .formShim class for now until I can safely test other views for jurisdictions */
.formShim label {
    font-size: 0.875rem;
    /* [adam]: Eric's mock has 900, but I don't think the site is using Roboto, so 500 works for now */
    font-weight: 500;
}

.hide {
    display: none;
}

.dependent-question {
    padding-left: 50px;
}

.survey-header {
    text-align: center;
    margin-bottom: 20px;
}

/* [adam]: only used in Views/Shared/Components/Survey/Default.cshtml */
.survey-instruction {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
    font-weight: normal;
}

.faIcon--prominent {
    color: var(--iconColor);
    display: block;
    font-size: 10rem;
    text-align: center;
}

.modalHeader--danger {
    background-color: #C21D00;
    color: white;
}
.modalHeader--danger .close {
    background-color: transparent;
    border: none;
    color: white;
    opacity: 1;
    outline: none;
}
.modalHeader--danger .close:not(:disabled):not(.disabled):hover,
.modalHeader--danger .close:not(:disabled):not(.disabled):focus {
    opacity: 1;
}

/*  _SignUpForm DL Example modal */
.dl-close-x {
    font-size: 3rem;
    line-height: .5;
    color: var(--bodyText);
    opacity: 1;
}

.dl-close-btn {
    background-color: var(--bodyText);
    padding: .35rem 1.5rem;
}

.simplePage__heading {
    text-align: center;
}
.simplePage__heading b {
    display: block;
    /* [adam]: <b> semantically means "stylistically different"; heading is bold, but b is normal */
    font-weight: normal;
}

.warning-modal-body {
    min-height: 125px;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    color: transparent;
    background: none;
    z-index: 1;
}

input[type="date"]:before {
    font-family: 'FontAwesome';
    content: '\f133';
    right: 30px;
    position: absolute;
}