﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.background-with-image {
    margin: 0;                                 /* Remove any default margins */
    height: 100vh;                             /* Ensure the body fills the viewport height */
    background-image: url('ai_generated.png'); /* Replace with your image path */
    background-size: cover;                    /* Scale the image to cover the entire page */
    background-position: center;               /* Center the image */
    background-repeat: no-repeat;              /* Prevent repeating the image */
}

a, .btn-link {
    color: #0366d6;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-left: 1px;
    margin-right: 1px;
    margin-top: 1px;
    margin-bottom: 1px;
}

tr {
    word-break: break-word;
    text-align: justify;
    background-color: #fff;
    margin-left: 1px;
    margin-right: 1px;
    margin-top: 1px;
    margin-bottom: 1px;
}

td {
    word-break: break-word;
    text-align: justify;
    margin-left: 1px;
    margin-right: 1px;
}

.btn-primary {
    color: #dfdfdf;
    border-color: #1861ac;
    background-color: #00008B;
}

.btn-sitespecific {
    color: #dfdfdf;
    border-color: #1861ac;
    background-color: #00008B;
}

    .btn-sitespecific:hover {
        color: #00008B;
        border-color: #1861ac;
        background-color: #dfdfdf;
    }

.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;
}

.pageTitleDiv {
    color: darkblue;
    text-align: center;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.notification-bottom {
    text-align: right;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
}

.textmonospace {
    font-family: "Lucida Console", "Courier New", monospace;
}

#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+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.topcontainer {
    display: flex; /* Enable flexbox layout */
    justify-content: space-between; /* Position elements on opposite sides */
    align-items: center; /* Vertically align elements */
    width: 100%; /* Full width container */
    padding: 10px; /* Optional padding for spacing */
}

.center-component-with-max-width {
    width: 100%;
    max-width: 800px;
    justify-content: center;
    margin: auto;
}

.sidebar-wrapper {
    position: relative;
    width: 100%; /* Ensures the wrapper spans the page width */
}

.sidebar {
    align-items: center;
    background-image: linear-gradient(45deg, darkblue 0%, #f0f080 70%);
    display: flex;
    gap: 0.5rem;
    justify-content: flex-start;
    position: sticky; /* Keeps the sidebar visible at the top */
    top: 0;
    transition: transform 0.3s ease-in-out; /* Smooth animation */
    width: 100%; /* Stretch across the top of the page */
    z-index: 2; /* Ensures it stays above the main content */
}

.sidebar.hidden {
    transform: translateY(-100%); /* Moves the sidebar out of view */
}

:root {
    --smartpoll-fontsize-largest: 14px;
    --smartpoll-fontsize-large: 13px;
    --smartpoll-fontsize-small: 12px;
    --smartpoll-fontsize-smallest: 11px;
    --smartpoll-rowsize-largest: 20px;
    --smartpoll-rowsize-large: 18px;
    --smartpoll-rowsize-small: 17px;
    --smartpoll-rowsize-smallest: 16px;
    --smartpoll-isdesktop: 1;
    --smartpoll-ismobile: 0;
}

.menu-button {
    background-color: #00008B;
    border: none;
    color: white;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.menu-select {
    appearance: none; /* Makes the select look more consistent across browsers */
    background-color: #00008B;
    color: white;
    cursor: pointer;
}

.image-button {
}

.menu-button + .menu-select, menu-select + menu-button {
    margin-left: 0.5rem; 
}

.extrascaled-markupstring {
    transform-origin: top left;
    width: fit-content;
}

.scaled-markupstring {
    transform-origin: top left;
    width: fit-content;
}

.scaled-text {
    font-size: 16px;
}

.scaled-button {
}

.pie-chart div figcaption .pie-key-list li {
}

table tr .list-row {
}

table td .list-row {
}

p .page-paragraph {
}

div .pagecontent {
}

.bar-label-right {
    text-align: left;
    font-weight: bold;
}

.mobile-hidden {
}

.element-with-minheight-3-lines {
}

@media (max-width: 499px) and (orientation: landscape) {
    :root {
        --smartpoll-isdesktop: 0;
        --smartpoll-ismobile: 1;
    }

    .sidebar {
        height: 60px;
    }

    .menu-button {
        border-radius: 3px;
        font-size: var(--smartpoll-fontsize-smallest);
        height: 58px;
        margin: 5px 0;
        padding: 4px 4px; /* Make buttons fit within the thin sidebar */
        width: 150px;
    }

    .menu-select {
        border-radius: 3px;
        font-size: var(--smartpoll-fontsize-smallest);
        height: 58px; /* Ensures it's not too small */
        margin-left: 10px; /* Adds spacing from the left side */
        padding: 4px 10px; /* Make buttons fit within the thin sidebar */
        width: 100px;
    }

    .image-button {
        height: 24px;
        width: 24px;
    }

    .extrascaled-markupstring {
        transform: scale(0.68);
    }

    .scaled-markupstring {
        transform: scale(0.8);
    }

    .scaled-text {
        font-size: 12px;
    }

    .scaled-button {
        font-size: var(--smartpoll-fontsize-smallest);
        width: 120px;
        height: 30px;
    }

    .pie-chart div figcaption .pie-key-list li {
        font-size: var(--smartpoll-fontsize-smallest);
    }

    table tr .list-row {
        height: calc(3 * var(--smartpoll-rowsize-large));
        border-bottom: 0.2px solid lightgray;
    }

    table td .list-row {
        height: calc(3 * var(--smartpoll-rowsize-large));
    }

    p .page-paragraph {
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .bar-label-right {
        width: 120px;
        padding-right: 1px;
        font-size: var(--smartpoll-fontsize-smallest);
    }

    .mobile-hidden {
        width: 0px;
        height: 0px;
        visibility: hidden;
    }

    .element-with-minheight-3-lines {
        min-height: 70px;
    }
}

@media (min-width: 500px) and (max-width: 649px) and (orientation: landscape) {
    :root {
        --smartpoll-isdesktop: 0;
        --smartpoll-ismobile: 1;
    }

    .sidebar {
        height: 75px;
    }

    .menu-button {
        border-radius: 3px;
        font-size: var(--smartpoll-fontsize-large);
        height: 60px;
        margin: 6px 0;
        padding: 5px 5px;
        width: 200px;
    }

    .menu-select {
        border-radius: 3px;
        font-size: var(--smartpoll-fontsize-large);
        height: 60px;
        margin-left: 12px;
        padding: 5px 12px;
        width: 150px;
    }

    .image-button {
        height: 27px;
        width: 27px;
    }

    .extrascaled-markupstring {
        transform: scale(0.75);
    }

    .scaled-markupstring {
        transform: scale(0.9);
    }

    .scaled-text {
        font-size: 13px;
    }

    .scaled-button {
        font-size: var(--smartpoll-fontsize-small);
        width: 120px;
        height: 30px;
    }

    .pie-chart div figcaption .pie-key-list li {
        font-size: var(--smartpoll-fontsize-small);
    }

    table tr .list-row {
        height: calc(3 * var(--smartpoll-rowsize-large));
        border-bottom: 0.2px solid lightgray;
    }

    table td .list-row {
        height: calc(3 * var(--smartpoll-rowsize-large));
    }

    p .page-paragraph {
        margin-top: 6px;
        margin-bottom: 6px;
    }

    div .pagecontent {
        padding: 0.2rem;
    }

    .bar-label-right {
        width: 120px;
        padding-right: 1px;
        font-size: var(--smartpoll-fontsize-small);
    }

    .mobile-hidden {
        width: 0px;
        height: 0px;
        visibility: hidden;
    }

    .element-with-minheight-3-lines {
        min-height: 70px;
    }
}

@media (min-width: 650px) and (max-width: 1920px) and (orientation: landscape) {
    .sidebar {
        height: 75px;
    }

    .menu-button {
        border-radius: 3px;
        font-size: var(--smartpoll-fontsize-large);
        height: 60px;
        margin: 6px 0;
        padding: 5px 5px; 
        width: 200px;
    }

    .menu-select {
        border-radius: 3px;
        font-size: var(--smartpoll-fontsize-large);
        height: 60px; 
        margin-left: 12px; 
        padding: 5px 12px; 
        width: 150px;
    }

    .image-button {
        height: 30px;
        width: 30px;
    }

    .extrascaled-markupstring {
        transform: scale(0.88);
    }

    .scaled-markupstring {
        transform: scale(0.95);
    }

    .scaled-text {
        font-size: 14px;
    }

    .scaled-button {
        font-size: var(--smartpoll-fontsize-large);
        width: 150px;
        height: 40px;
    }

    .pie-chart div figcaption .pie-key-list li {
        font-size: var(--smartpoll-fontsize-large);
    }

    table tr .list-row {
        height: calc(3 * var(--smartpoll-rowsize-large));
        border-bottom: 0.2px solid lightgray;
    }

    table td .list-row {
        height: calc(3 * var(--smartpoll-rowsize-large));
    }

    p .page-paragraph {
        margin-top: 7px;
        margin-bottom: 7px;
    }

    div .pagecontent {
        padding: 0.3rem;
    }

    .bar-label-right {
        width: 150px;
        padding-right: 1px;
        font-size: var(--smartpoll-fontsize-large);
    }

    .element-with-minheight-3-lines {
        min-height: 70px;
    }
}

@media (min-width: 1921px) and (orientation: landscape) {
    .sidebar {
        height: 75px;
    }

    .menu-button {
        border-radius: 4px;
        font-size: var(--smartpoll-fontsize-largest);
        height: 65px;
        margin: 7px 0;
        padding: 7px 4px; 
        width: 250px;
    }

    .menu-select {
        border-radius: 4px;
        font-size: var(--smartpoll-fontsize-largest);
        height: 65px; 
        margin-left: 14px; 
        padding: 6px 14px; 
        width: 250px;
    }

    .image-button {
        height: 36px;
        width: 36px;
    }

    .scaled-button {
        font-size: var(--smartpoll-fontsize-largest);
        width: 250px;
        height: 40px;
    }

    .pie-chart div figcaption .pie-key-list li {
        font-size: var(--smartpoll-fontsize-largest);
    }

    table tr .list-row {
        height: calc(3 * var(--smartpoll-rowsize-large));
        border-bottom: 0.2px solid lightgray;
    }

    table td .list-row {
        height: calc(3 * var(--smartpoll-rowsize-large));
    }

    p .page-paragraph {
        margin-top: 12px;
        margin-bottom: 8px;
    }

    div .pagecontent {
        padding: 0.4rem;
    }

    .bar-label-right {
        width: 200px;
        padding-right: 1px;
        font-size: var(--smartpoll-fontsize-largest);
    }

    .element-with-minheight-3-lines {
        min-height: 70x;
    }
}

@media (max-width: 499px) and (orientation: portrait) {
    :root {
        --smartpoll-isdesktop: 0;
        --smartpoll-ismobile: 1;
    }

    .sidebar {
        height: 60px;
    }

    .menu-button {
        border-radius: 3px;
        font-size: var(--smartpoll-fontsize-smallest);
        height: 58px;
        margin: 5px 0;
        padding: 4px 4px; 
        width: 150px;
    }

    .menu-select {
        border-radius: 3px;
        font-size: var(--smartpoll-fontsize-smallest);
        height: 58px; 
        margin-left: 10px; 
        padding: 4px 10px; 
        width: 100px;
    }

    .image-button {
        height: 24px;
        width: 24px;
    }

    .extrascaled-markupstring {
        transform: scale(0.68);
    }

    .scaled-markupstring {
        transform: scale(0.85);
    }

    .scaled-text {
        font-size: 12px;
    }

    .scaled-button {
        font-size: var(--smartpoll-fontsize-smallest);
        width: 120px;
        height: 30px;
    }

    .pie-chart div figcaption .pie-key-list li {
        font-size: var(--smartpoll-fontsize-smallest);
    }

    table tr .list-row {
        height: calc(3 * var(--smartpoll-rowsize-large));
        border-bottom: 0.2px solid lightgray;
    }

    table td .list-row {
        height: calc(3 * var(--smartpoll-rowsize-large));
    }

    p .page-paragraph {
        margin-top: 2px;
        margin-bottom: 2px;
    }

    div .pagecontent {
        padding: 0.1rem;
    }

    .bar-label-right {
        width: 120px;
        padding-right: 1px;
        font-size: var(--smartpoll-fontsize-smallest);
    }

    .mobile-hidden {
        width: 0px;
        height: 0px;
        visibility: hidden;
    }

    .element-with-minheight-3-lines {
        min-height: 100px;
    }
}

@media (min-width: 500px) and (max-width: 649px) and (orientation: portrait) {
    :root {
        --smartpoll-isdesktop: 0;
        --smartpoll-ismobile: 1;
    }

    .sidebar {
        height: 75px;
    }

    .menu-button {
        border-radius: 3px;
        font-size: var(--smartpoll-fontsize-small);
        height: 65px;
        margin: 6px 0;
        padding: 5px 5px; 
        width: 200px;
    }

    .menu-select {
        border-radius: 3px;
        font-size: var(--smartpoll-fontsize-small);
        height: 65px; 
        margin-left: 1rem; 
        padding: 5px 11px; 
        width: 150px;
    }

    .image-button {
        height: 27px;
        width: 27px;
    }

    .extrascaled-markupstring {
        transform: scale(0.75);
    }

    .scaled-markupstring {
        transform: scale(0.92);
    }

    .scaled-text {
        font-size: 13px;
    }

    .scaled-button {
        font-size: var(--smartpoll-fontsize-small);
        width: 120px;
        height: 30px;
    }

    .pie-chart div figcaption .pie-key-list li {
        font-size: var(--smartpoll-fontsize-small);
    }

    table tr .list-row {
        height: calc(3 * var(--smartpoll-rowsize-large));
        border-bottom: 0.2px solid lightgray;
    }

    table td .list-row {
        height: calc(3 * var(--smartpoll-rowsize-large));
    }

    p .page-paragraph {
        margin-top: 3px;
        margin-bottom: 3px;
    }

    div .pagecontent {
        padding: 0.2rem;
    }

    .bar-label-right {
        width: 120px;
        padding-right: 1px;
        font-size: var(--smartpoll-fontsize-small);
    }

    .mobile-hidden {
        width: 0px;
        height: 0px;
        visibility: hidden;
    }

    .element-with-minheight-3-lines {
        min-height: 100px;
    }
}

@media (min-width: 650px) and (max-width: 799px) and (orientation: portrait) {
    .sidebar {
        height: 75px;
    }

    .menu-button {
        border-radius: 3px;
        font-size: var(--smartpoll-fontsize-large);
        height: 60px;
        margin: 6px 0;
        padding: 5px 5px;
        width: 200px;
    }

    .menu-select {
        border-radius: 3px;
        font-size: var(--smartpoll-fontsize-large);
        height: 60px;
        margin-left: 12px;
        padding: 5px 12px;
        width: 150px;
    }

    .image-button {
        height: 30px;
        width: 30px;
    }

    .extrascaled-markupstring {
        transform: scale(0.88);
    }

    .scaled-markupstring {
        transform: scale(0.95);
    }

    .scaled-text {
        font-size: 14px;
    }

    .scaled-button {
        font-size: var(--smartpoll-fontsize-large);
        width: 150px;
        height: 40px;
    }

    .pie-chart div figcaption .pie-key-list li {
        font-size: var(--smartpoll-fontsize-large);
    }

    table tr .list-row {
        height: calc(3 * var(--smartpoll-rowsize-large));
        border-bottom: 0.2px solid lightgray;
    }

    table td .list-row {
        height: calc(3 * var(--smartpoll-rowsize-large));
    }

    p .page-paragraph {
        margin-top: 5px;
        margin-bottom: 5px;
    }

    div .pagecontent {
        padding: 0.3rem;
    }

    .bar-label-right {
        width: 150px;
        padding-right: 1px;
        font-size: var(--smartpoll-fontsize-large);
    }

    .element-with-minheight-3-lines {
        min-height: 100px;
    }
}

@media (min-width: 800px) and (orientation: portrait) {
    .sidebar {
        height: 75px;
    }

    .menu-button {
        border-radius: 3px;
        font-size: var(--smartpoll-fontsize-large);
        height: 60px;
        margin: 6px 0;
        padding: 5px 5px;
        width: 200px;
    }

    .menu-select {
        border-radius: 3px;
        font-size: var(--smartpoll-fontsize-large);
        height: 60px;
        margin-left: 12px;
        padding: 5px 12px;
        width: 150px;
    }

    .image-button {
        height: 36px;
        width: 36px;
    }

    .scaled-button {
        font-size: var(--smartpoll-fontsize-largest);
        width: 250px;
        height: 40px;
    }

    .extrascaled-markupstring {
        transform: scale(0.88);
    }

    .scaled-markupstring {
        transform: scale(0.95);
    }

    .scaled-text {
        font-size: 15px;
    }
    .scaled-button {

        font-size: var(--smartpoll-fontsize-large);
        width: 150px;
        height: 40px;
    }

    .pie-chart div figcaption .pie-key-list li {
        font-size: var(--smartpoll-fontsize-largest);
    }

    table tr .list-row {
        height: calc(3 * var(--smartpoll-rowsize-large));
        border-bottom: 0.2px solid lightgray;
    }

    table td .list-row {
        height: calc(3 * var(--smartpoll-rowsize-large));
    }

    p .page-paragraph {
        margin-top: 12px;
        margin-bottom: 8px;
    }

    div .pagecontent {
        padding: 0.4rem;
    }

    .bar-label-right {
        width: 200px;
        padding-right: 1px;
        font-size: var(--smartpoll-fontsize-largest);
    }

    .element-with-minheight-3-lines {
        min-height: 100px;
    }
}

.hidden {
    display: none; /* Completely hides the content */
}

.toggle-btn {
    position: absolute;
    top: 0.2rem; /* Adjusts position to the top-right */
    right: 0.5rem; /* Ensures it’s to the right of the sidebar */
    background-color: #00008B;
    color: white;
    border: none;
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    cursor: pointer;
    z-index: 3; /* Ensures it sits above the sidebar */
    border-radius: 0.25rem;
    height: 1.5rem; /* Makes it small */
}

table .bar {
    border: solid 1px;
}

.bar-chart {
    margin: auto;
    width: 90%;
}

.bar {
    display: flex;
    align-items: center;
    margin: 3px 0;
}

.bar-label-left {
    width: 160px;
    text-align: right;
    padding-right: 4px;
    font-weight: bold;
}

.bar-fill {
    height: 24px;
    background-color: #4caf50;
    transition: width 0.5s ease-in-out;
    color: white;
    padding-left: 3px;
    display: flex;
    align-items: center;
}

.bar-container {
    flex: 1;
    background-color: #ddd;
    position: relative;
}

.locate-to-bottom {
    position: fixed;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
}

.dotted-rectangle-solid {
    display: inline-block;
    padding: 10px;
    border: 2px solid black;
    width: 100%;
    background-color: lightyellow;
}

.chart-2d {
    justify-content: center;
    align-items: center;
    background-color: azure;
    width: 80%;
    height: 60%;
    margin: 0 auto;
}