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

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.page-divider {
    margin-bottom: 0.2rem !important;
    margin: 0.2rem !important;
}

.page-divider-review {
    margin-top: 0.2rem !important;
    margin-bottom: 1rem !important;
}

.form-review-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.edit-icon {
    cursor: pointer;
    width: 25px;
    height: 25px;
    margin-bottom: 0.2rem !important;
}

.dropdown-toggle-align-important {
    margin-top: 2px !important;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.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;
}

.content {
    padding-top: 1.1rem;
}

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

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZ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ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: #1b6ec2;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Loading");
}

code {
    color: #c02d76;
}

/* Application Design */


h3 {
    margin-top: 20px !important;
}

.banner-background {
    background-color: #045691 !important;
    height: 75px;
    color: white;
    font-size: 1.5rem;
}

/* AboutProgram */

.about-registration-link {
    color: #005293 !important;
    font-size: 20px !important;
    font-weight: bolder !important;
    text-decoration: none !important;
}

    .about-registration-link:hover {
        color: #0089fa !important;
        text-decoration: underline !important;
    }

/* PostRegistration */    
.card {
    border: none !important;
}

.card-text {
    color: #4a4a4a !important;
    font-family: 'Open Sans',Helvetica,Verdana,Tahoma,sans-serif;
}


.row {
    --bs-gutter-x: 0rem !important
}

/* NavMenu */
.navCustomFont {
    color: #005293 !important;
    font-weight: 600;
    line-height: 1.5;
}

.navLanguageFont {
    color: #E05206 !important;
    border-color: #E05206 !important;
    border-width: 1px !important;
    font-weight: 600 !important;
    line-height: 1.5;
}

.language {
    color: #4a4a4a !important;
    font-weight: 500;
    line-height: 1.5;
}

/*Buttons*/
.modal-header {
    background-color: #045691 !important;
    color: white !important;
}

.btn-close {
    margin-left: auto !important;
}

.btn-back {
    width: fit-content !important;
    min-width: 120px !important;
    height: 40px;
    background-color: #6F7C7D !important;
    color: white !important;
    font-size: 22px !important;
    border: none !important;
    padding: 0px 2px 0px 2px !important;
}

.btn-next {
    width: fit-content !important;
    min-width: 120px !important;
    height: 40px !important;
    background-color: #005293 !important;
    color: white !important;
    font-size: 22px !important;
    border: none !important;
    padding: 0px 2px 0px 2px !important;
}

.btn-preview {
    width: fit-content !important;
    min-width: 120px !important;
    height: 40px !important;
    background-color: #005293 !important;
    color: white !important;
    font-size: 22px !important;
    border: none !important;
    padding: 0px 2px 0px 2px !important;
}

.btn-review-submit {
    width: fit-content !important;
    min-width: 100px !important;
    height: 38px !important;
    background-color: #005293 !important;
    color: white !important;
    line-height: 1.5 !important;
    font-size: 1rem !important;
    border: none !important;
    padding: 0px 2px 0px 2px !important;
}

.btn-review-back {
    width: fit-content !important;
    min-width: 100px !important;
    height: 38px !important;
    background-color: #6F7C7D !important;
    color: white !important;
    line-height: 1.5 !important;
    font-size: 1rem !important;
    border: none !important;
    padding: 0px 2px 0px 2px !important;
}

.btn-print {
    width: fit-content !important;
    min-width: 220px !important;
    height: 40px !important;
    font-size: 16px !important;
    margin-left: 10px !important;
    background-color: #6F7C7D !important;
    color: white !important;
    border: none !important;
    padding: 0px 2px 0px 2px !important;
}

.btn-returntoguide {
    width: fit-content !important;
    min-width: 350px !important;
    height: 40px !important;
    font-size: 16px !important;
    margin-left: 10px !important;
    background-color: #005293 !important;
    color: white !important;
    border: none !important;
    padding: 0px 2px 0px 2px !important;
}

    .btn-returntoguide a {
        color: white !important;
        text-decoration: none !important;
    }

/* Form */
.circle-nav {
    font-weight: bold;
}

.form1color {
    background-color: lightgray !important;
}

.label-color {
    color: #4A4A4A !important;
}

.custom-select {
    width: 384px !important;
    height: 38px !important;
    border: 1px solid #ced4da !important;
    background-position: right .75rem center;
    background-size: 16px 12px !important;
}

.custom-select::before,
.custom-select::after {
    --size: 0.3rem;
    position: absolute;
    content: "";
    right: 1rem;
    pointer-events: none;
}

.custom-select::before {
    border-left: var(--size) solid transparent;
    border-right: var(--size) solid transparent;
    border-bottom: var(--size) solid black;
    top: 40%;
}

.custom-select::after {
    border-left: var(--size) solid transparent;
    border-right: var(--size) solid transparent;
    border-top: var(--size) solid black;
    top: 55%;
}

.fw-bolder-color {
    color: #005293 !important;
    font-size: 20px;
    font-weight: bolder;
}

.fw-phone-header {
    color: #005293 !important;
    font-weight: bolder;
}

.form-group.required .control-label:after {
    content: "*";
    color: red;
    margin-left: 2px !important;
}

.liner {
    height: 2px;
    background: #ddd;
    width: 50%;
    margin: auto;
    left: 0;
    right: 0;
    top: 70%;
    z-index: 1;
}

.list-group-item {
    padding: .25rem 0.5rem !important;
}

/* Form Complete */
.customFont {
    color: #4a4a4a !important;
    font-family: 'Open Sans',Helvetica,Verdana,Tahoma,sans-serif;
}

/* Footer */
.copyright {
    color: #4a4a4a !important;
    font-weight: 500;
    line-height: 1.5;
}

.navCustomFont {
    color: #005293 !important;
    font-weight: 600;
    line-height: 1.5;
}

.footer, .push {
    height: 10em;
    clear: both;
}

.custom .row {
    --bs-gutter-x: 0rem !important;
}

.custom {
    width: auto !important;
}

/* Smaller devices */
/* Tablets (landscape), small laptops */
@media screen and (max-width: 1024px) {
    h3 {
        margin-left: 50px;
    }

    .card-display {
        display: flex !important;
        justify-content: center !important;
    }

    .card {
        width: 60rem;
        border: none !important;
    }

    .custom {
        margin-left: 50px !important;
    }
}

/* Tablets (portrait) */
@media screen and (max-width: 768px) {
    h3 {
        margin-left: 30px;
    }

    .custom {
        margin-left: 60px !important;
    }
}

/* Phones (landscape) */
@media (max-width: 576px) {

    /* Footer */

    .navCustomFont {
        margin-top: 0 !important;
        margin-left: 10px !important;
        font-size: 12px;
    }

    .copyright {
        font-size: 12px;
        margin-left: 10px !important;
    }
}

/* Phones (portrait) */
@media screen and (max-width: 500px) {
    .card {
        width: 15rem;
        border: none;
    }

    .mobile-margin {
        margin-left: 10px;
    }
}

@media screen and (max-width: 375px) {
    .custom {
        margin-left: 20px !important;
    }
}

/* Hide printable section on screen */
.print-only {
    display: none;
}

/* Print form */
@media print {

    @page {
        size: Letter;
    }

    html, body {
        margin: 0 !important;
        padding: 0 !important;
        background: white;
    }

    /* Hide entire app */
    body > * {
        display: none !important;
    }

    /* Hide header image */
    .d-none.d-md-block {
        display: none !important;
    }

    /* Show only print section */
    #print-section {
        direction: ltr !important;
        display: block !important;
        width: 100%;
        margin: 0;
        padding: 0.5in;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 10px;
        box-sizing: border-box;
    }

    #print-section * {
        box-sizing: border-box;
    }

    #print-section strong {
        font-weight: bold;
    }

    #print-section h1,
    #print-section h2,
    #print-section h3,
    #print-section h4,
    #print-section h5 {
        font-weight: bold;
    }

    #print-section em {
        font-style: italic;
    }

    #print-section em strong {
        font-style: italic;
        font-weight: bold;
    }

    /* Page layout */
    #print-section .page {
        position: relative;
        width: 21.6cm;
        height: 27.9cm;
        margin: 0;
        padding: 2.5cm;
    }

    #print-section .page-border {
        position: absolute;
        z-index: 1;
        border: 1px solid black;
        display: block;
        width: 20.2cm;
        height: 26cm;
        margin-left: -0.1cm;
    }

    #print-section .outlined {
        border: 3px double black;
        margin: 0;
        padding: 0.2cm 0.2cm 0.2cm 0.7cm;
        height: 100%;
    }

    #print-section .label-color {
        color: #4A4A4A !important;
    }

    #print-section .fw-bolder {
        font-weight: bolder;
    }

    #print-section .fw-bolder-color {
        color: #005293 !important;
        font-size: 20px;
        font-weight: bolder;
    }

    #print-section .page-divider {
        margin: 0.2rem !important;
    }

    #print-section .page-divider-review {
        margin-top: 0.2rem !important;
        margin-bottom: 1rem !important;
    }

    #print-section .form-review-section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    #print-section .print-row {
        display: flex;
        flex-wrap: wrap;
        margin-top: 0;
        margin-right: 0;
        margin-left: 0;
    }

    #print-section .print-col {
        flex: 1 0 0%;
    }

    /* Base column styles */
    #print-section .print-col-1,
    #print-section .print-col-1-5,
    #print-section .print-col-2,
    #print-section .print-col-2-5,
    #print-section .print-col-3,
    #print-section .print-col-3-5,
    #print-section .print-col-4,
    #print-section .print-col-5,
    #print-section .print-col-6,
    #print-section .print-col-7,
    #print-section .print-col-8,
    #print-section .print-col-9,
    #print-section .print-col-10,
    #print-section .print-col-11,
    #print-section .print-col-12 {
        flex: 0 0 auto;
        padding: 0.1rem !important;
    }

    /* Column widths */
    #print-section .print-col-1 {
        width: 8.33333333%;
    }

    #print-section .print-col-1-5 {
        width: 12.5%;
    }

    #print-section .print-col-2 {
        width: 16.66666667%;
    }

    #print-section .print-col-2-5 {
        width: 20.83333333%;
    }

    #print-section .print-col-3 {
        width: 25%;
    }

    #print-section .print-col-3-5 {
        width: 29.16666667%;
    }

    #print-section .print-col-4 {
        width: 33.33333333%;
    }

    #print-section .print-col-5 {
        width: 41.66666667%;
    }

    #print-section .print-col-6 {
        width: 50%;
    }

    #print-section .print-col-7 {
        width: 58.33333333%;
    }

    #print-section .print-col-8 {
        width: 66.66666667%;
    }

    #print-section .print-col-9 {
        width: 75%;
    }

    #print-section .print-col-10 {
        width: 83.33333333%;
    }

    #print-section .print-col-11 {
        width: 91.66666667%;
    }

    #print-section .print-col-12 {
        width: 100%;
    }

    #print-section .pt-3 {
        padding-top: 1rem !important;
    }

    #print-section .pb-3 {
        padding-bottom: 1rem !important;
    }

    #print-section .print-border {
        border: 1px solid #dee2e6 !important;
    }

    #print-section .print-border-top {
        border-top: 1px solid #dee2e6 !important;
    }

    #print-section .print-border-end {
        border-right: 1px solid #dee2e6 !important;
    }

    #print-section .print-border-bottom {
        border-bottom: 1px solid #dee2e6 !important;
    }

    #print-section .print-border-start {
        border-left: 1px solid #dee2e6 !important;
    }
}
