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

h1:focus {
    outline: none;
}

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

.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+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5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bGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) 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: #cc8f3a;
            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;
}

.top-bar {
    position: sticky;
    top: 0;
    z-index: 1;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.star {
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background-color: #fff;
    position: absolute;
    opacity: 0.5;
    display: block;
    -webkit-animation: starFlicker;
    animation: starFlicker;
    -webkit-animation-duration: 3s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

.blurred-back {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

.income-table {
    margin: 1em 0;
}

    .income-table tr td {
        border: 1px solid gold;
        padding: .5em;
        text-align: center;
    }

    .income-table tr th {
        border: 1px solid gold;
        padding: .5em;
        text-align: center;
    }

td {
    vertical-align: middle;
    text-align: center;
}

    td a, td input, td img {
        vertical-align: middle;
        display: inline-block;
    }

.borderless-table > tr > td {
    border: none;
    text-align: center;
    vertical-align: middle;
    margin: 0;
}

.flex-r-100 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}

.flex-r {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.flex-c {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flex-c-start {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

.flex-c-sa {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.scrollable-menu {
    display: none;
}

.dropdown:focus-within .scrollable-menu {
    display: block;
}

.makeshift-select {
    text-align: center;
    height: fit-content;
}

    .makeshift-select div {
        cursor: pointer;
        background-color: white;
        color: black;
        padding: .25em;
    }

.ms-option {
    height: fit-content;
    text-align: start;
}

.error-highlight {
    border: 3px solid red;
}

.container-env {
    position: relative;
    text-align: center;
    color: black;
    margin-bottom: 2vh;
}

.bottom-left {
    position: absolute;
    bottom: 8px;
    left: 16px;
}

.top-left {
    position: absolute;
    top: 8px;
    left: 16px;
}

.top-right {
    position: absolute;
    top: 8px;
    right: 16px;
}

.bottom-right {
    position: absolute;
    bottom: 8px;
    right: 16px;
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.top-centered {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bottom-mid-centered {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bottom-centered {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.delete-modal {
    background-color: red;
    margin: 0;
    color: black;
}

    .delete-modal tr td {
        border-color: black;
    }

    .delete-modal h5 {
        color: black;
    }

    .delete-modal tr th {
        border-color: black;
    }

.btn-grad {
    background-image: linear-gradient(to right, #5C258D 0%, #4389A2 51%, #5C258D 100%);
    margin: 5px;
    padding: 8px 22px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 10px #eee;
    border-radius: 10px;
    display: block;
    height: fit-content;
}

    .btn-grad:hover {
        background-position: right center; /* change the direction of the change here */
        color: #fff;
        text-decoration: none;
    }

.slide-right, .slide-left {
    overflow: hidden;
    display: flex;
}

    .slide-right * {
        animation: slide-hor 2s forwards;
        transform: translateX(-100%);
    }

    .slide-left * {
        animation: slide-hor 2s forwards;
        transform: translateX(100%);
    }

.slide-up {
    width: 50%;
    overflow: hidden;
    margin-bottom: 10em;
}

    .slide-up * {
        animation: slide-vert 2s forwards;
        transform: translateY(100%);
    }

.slide-down {
    width: 50%;
    overflow: hidden;
    margin-top: 10em;
}

    .slide-down * {
        animation: slide-vert 2s forwards;
        transform: translateY(-100%);
    }

@keyframes slide-hor {
    to {
        transform: translateX(0);
    }
}

@keyframes slide-vert {
    to {
        transform: translateY(0);
    }
}

.footer {
    margin-top: auto;
}

.fade-in {
    animation: fade-in 1s 1 linear;
    opacity: 1;
}

.first-dot {
    animation: fade-in 1s infinite linear;
    animation-direction: alternate;
    opacity: 0;
}

.second-dot {
    animation: fade-in 1s infinite linear;
    animation-direction: alternate;
    animation-delay: .5s;
    opacity: 0;
}

.third-dot {
    animation: fade-in 1s infinite linear;
    animation-direction: alternate;
    animation-delay: 1s;
    opacity: 0;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes starFlicker {
    0% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        opacity: 0.2;
    }
}

.pretty-btn {
    background-color: gold !important;
    color: black !important;
    border-radius: 2em !important;
}

button {
    box-shadow: rgba(255, 215, 0, 0.2) 0px 0px 24px, rgba(255, 215, 0, 0.2) 0px 0px 39px, rgba(255, 215, 0, 0.2) 0px 0px 60px;
}

a {
    text-decoration: none;
}

.main-page-main-text {
    align-items: start;
    width: fit-content;
}

.floating {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

.main-img {
    width: fit-content;
}

.modal-dialog {
    width: fit-content !important;
    max-width: 80% !important;
}

@media (max-width: 640.98px) {
    .service-block {
        width: 100%;
    }

    .main-page-main-text {
        max-width: 95%;
        align-items: center;
    }

    .main-img {
        height: 10em;
    }

    .flexible-width {
        max-width: 95%;
    }

    .footer-company-holder {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    .preview-goodie-invert {
        display: flex;
        flex-direction: column-reverse;
        height: fit-content;
        width: 98%;
        justify-content: space-evenly;
        margin-top: 2em;
        align-items: center;
        padding: 2em;
    }

    .preview-goodie {
        display: flex;
        flex-direction: column;
        height: fit-content;
        width: 98%;
        justify-content: space-evenly;
        margin-top: 2em;
        align-items: center;
        padding: 2em;
    }

    .preview-headers-invert, .preview-headers {
        text-align: center;
    }

    .preview-img {
        width: 50vw;
    }

    .preivew-text {
        height: fit-content;
        padding: 1em;
        width: 100%;
    }

    .switch-flex {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
    }

    .switch-flex-space {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
    }

    .webpage-block {
        border-radius: 10px;
        border: solid silver 1px;
        padding: 1em;
        margin: 1em;
        background-color: #063558;
        width: 90%;
    }
}

@media (min-width: 641px) {
    .service-block {
        width: fit-content;
    }

    .main-page-main-text {
        max-width: 50%;
    }

    .main-img {
        height: 20em;
    }

    .flexible-width {
        max-width: 30%;
    }

    .footer-company-holder {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .preview-goodie-invert, .preview-goodie {
        display: flex;
        flex-direction: row;
        height: fit-content;
        width: 98%;
        justify-content: space-evenly;
        margin-top: 2em;
        align-items: center;
        padding: 2em;
    }

    .preview-headers-invert {
        text-align: end;
    }

    .preview-headers {
        text-align: start;
    }

    .preview-img {
        width: 25vw;
    }

    .preivew-text {
        height: fit-content;
        padding: 1em;
        width: 50%;
    }

    .switch-flex {
        display: flex;
        flex-direction: row;
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
    }

    .switch-flex-space {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        width: 100%;
        flex-wrap: wrap;
    }

    .webpage-block {
        border-radius: 10px;
        border: solid silver 1px;
        padding: 1em;
        margin: 1em;
        background-color: #063558;
        width: 40%;
    }
}
