:root {
    --job-color: var(--accent-stroke-control-active);
    --job-color-bg: gainsboro;
    --bid-color: var(--accent-foreground-hover);
    --bid-color-bg: gainsboro;
    --gig-marker: var(--accent-fill-rest);
    --quote-marker: #d37400;
    --admin-color: darkviolet;
    --admin-color-bg: coral;
    --notice-color-bg: white;
    --notice-color-border: var(--accent-foreground-rest);
    --warn-color-bg: lightgoldenrodyellow;
    --warn-color-border: black;
    --error-color-bg: white;
    --error-color-border: darkred;
    --success-color-bg: white;
    --success-color-border: darkgreen;
    --result-color-bg: gainsboro;
    --site-base-hue: 218; /* blue */
    --site-presubmit-hue: 218; /* blue */
    --site-submit-hue: 45; /* orange */
    --site-gig-hue: 55; /* yellow */
    --site-postsubmit-hue: 100; /* green */
    --nav-bar-height: 60px;
    --footer-height: 100px;
    --footer-margin-top: 50px;
}


/* HTML: <div class="loader"></div> */
.loader {
    margin-left: auto;
    text-align: center;
    margin-right: auto;
    width: 120px;
    height: 20px;
    -webkit-mask: linear-gradient(90deg,#000 70%,#0000 0) left/20% 100%;
    background: linear-gradient(#000 0 0) left -25% top 0 /20% 100% no-repeat #ddd;
    animation: l7 2s infinite steps(6);
    margin-bottom: 10px;
}

@keyframes l7 {
    100% {
        background-position: right -25% top 0
    }
}

button.components-reconnect-reload-button {
    background-color: var(--accent-fill-rest);
    color: white;
    padding: 6px 20px;
    margin: 10px;
    border-radius: 8px;
}


#components-reconnect-modal {
    position: fixed; /* Stay in place */
    visibility: hidden;
    opacity: 0%;
    top: 0;
    left: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0, 0, 0, 0.5); /* Black with opacity */
    z-index: 1000; /* Ensure it's below your main div */
}
    #components-reconnect-modal.components-reconnect-show {
        visibility: visible;
        opacity: 100%;
        transition: opacity 1s linear 2200ms;
        z-index: 10001;
    }

#components-reconnect-message {
    position: fixed;
    display: block;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    background-color: #eee;
    border-radius: 0.5rem;
    border: solid 2px grey;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    margin-top: 10vh;
    padding: 3rem;
    top: 0;
}

/* Remove outline for non-keyboard :focus */
a:focus {
    outline: none;
}

.colorchecker {
    background-color: orange;
}

.border-job {
    border-top: solid 3px var(--job-color);
    border-radius: 0px;
}

.border-bid {
    border-top: solid 3px var(--bid-color) !important;
    border-radius: 0px;
}

.border-admin {
    border: solid 2px var(--admin-color) !important;
    border-radius: 4px;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    min-height: 100vh;
    min-width: 300px;
}

body {
    background-color: white;
}

html {
    /*background-color: var(--accent-foreground-hover);*/
}

a, .btn-link {
    color: #006bb7;
}

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

.btn:disabled, .btn:disabled:hover {
    cursor: not-allowed;
    pointer-events: all !important;
    opacity: 0.5;
}

.content {
    padding-top: 0px;
    min-height: calc(100vh - var(--nav-bar-height) - var(--footer-height) - var(--footer-margin-top) - 22px);
}

h1:focus {
    outline: none;
}

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

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

.validation-message {
    color: #e50000;
    display: inline;
    font-weight: normal;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpc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U5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) 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;
}

.card-datagrid {
    height: 100%;
    background-color: var(--fill-color);
    border-radius: 5px;
    box-shadow: 0px 2px 1px -1px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 1px 3px 0px rgba(0,0,0,0.12);
    padding: 4px;
    display: flex;
    border: solid 1px grey;
    position: relative;
}

.card {
    height: 100%;
    background-color: var(--fill-color);
    border-radius: 5px;
    box-shadow: 0px 2px 1px -1px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 1px 3px 0px rgba(0,0,0,0.12);
    padding: 4px;
    display: flex;
    border: solid 1px grey;
    position: relative;
}

.map-height {
    min-height: 24em;
}

.gigsgrid {
    height: fit-content;
    overflow-y: auto;
    min-height: 370px;
}

@media (max-width: 600px) {
    .gigsgrid {
        min-height: 220px;
    }
}


.mapminustab-height {
    min-height: 21em;
}

.card-fittedheight {
    height: fit-content;
    margin-bottom: 6px;
}

.card-vertical-offset {
    padding-top: 20px;
}

.card-row {
    display: flex;
    font-weight: bold;
    width: 100%;
}

.card-floated-right {
    float: right;
    width: 50%;
    min-width: 00px;
    height: 15em;
    background: lightblue;
    padding: 4px;
}

.text-offsetdown {
    margin-top: 5px;
}

.txt-centered {
    text-align: center;
}

.txt-label {
    font-weight: bold;
}

.txt-indent {
    margin-left: 3ch !important;
    text-align: left;
}

.txt-indent-small {
    margin-left: 1ch;
    text-align: left;
}

.txt-indent-large {
    margin-left: 6ch;
    text-align: left;
}

.txt-comment {
    font-size: 0.9em;
    font-weight: normal;
}

.txt-title {
    text-align: center;
    font-weight: bold;
    text-decoration: underline;
    font-size: large;
    margin: 12px 0px 10px 0px;
}

.txt-reply {
    font-size: 0.8em;
    font-style: italic;
}

.bigbutton {
    margin-right: 8px;
    margin-left: 8px;
    min-width: 6ch;
    height: 5ch;
    font-size: large;
    box-shadow: lightgrey 2px 2px;
    border-radius: 8px;
}

.bigbutton-tb-margin {
    margin-top: 8px;
    margin-bottom: 8px;
}

.mediumbutton {
    margin: 8px;
    min-width: 6ch;
    height: 4.5ch;
    font-size: medium;
    box-shadow: lightgrey 2px 2px;
    border-radius: 8px;
}

.text-box {
    white-space: pre-line;
    border: 1px dotted whitesmoke;
    border-radius: 4px;
    max-width: 100%;
    padding: 4px;
    margin-bottom: 1rem;
}

    .text-box:hover {
        border: 1px solid lightgrey;
    }

hr {
    height: 1px !important;
    border: solid 1px;
    border-radius: 20px;
    margin: 4px 0px 4px 0px;
}

.spacer {
    padding-top: 1ch;
}

svg {
    vertical-align: text-top;
}

.gigbudget {
    padding: 2px;
    margin: 4px 0px;
    font-weight: bold;
    border-top: solid 0px var(--accent-stroke-control-active);
    box-sizing: border-box;
    align-items: center;
    min-height: 2.2em;
    width: fit-content;
}

.gigcategory {
    font-size: small;
    color: grey;
    margin-right: 1ch;
    padding-right: 4px;
    white-space: nowrap;
}

.gigcategory-box {
    padding: 2px 4px 7px 4px;
}

.gigtitle {
    font-size: large;
    font-weight: bold;
    padding: 4px 6px 2px 0px;
    margin-top: auto;
    margin-bottom: auto;
    margin-right: auto;
    width: 100%;
}

.gigdetails-heading {
    font-size: medium;
    font-weight: bold;
    margin-left: 2px;
    padding: 0px 1ch;
    margin-top: 1.2ch;
    margin-bottom: 4px;
    width: fit-content;
}

.gigmisc {
    padding-left: 5px;
    padding-bottom: 2ch;
    line-height: 3ch;
}

.flexcontainer {
    display: flex;
    width: 100%;
}

.form-floating {
    padding-top: 2px;
    padding-bottom: 8px;
    position: relative;
}

.txt-validation {
    position: absolute;
    top: 2px;
    right: 4px;
    font-size: small;
}

.txt-medium {
    font-size: medium;
}

.txt-small {
    font-size: small;
}

@media (max-width: 768px) {
    .txt-small {
        font-size: x-small;
    }
}

.txt-subtle {
    color: grey;
}


.flexfitted {
    flex-grow: 1;
}

.prompt {
    font-size: large;
    font-weight: bold;
    text-align: center;
}

.app-container-centered {
    text-align: center;
    margin: auto;
    width: max-content;
}

.grecaptcha-badge {
    visibility: hidden !important;
}

.paging-controls {
    margin: 0px 4%;
    font-size: 12px;
}
