@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --HOA_Color: #345d5e;
    --HOA_Font: Optima;
}

html, body {
    font-family: 'Optima', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.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;
}

.components-reconnect-show, .components-reconnect-failed, .components-reconnect-rejected {
    display: none;
}

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: var(--HOA_Color);
    color: white;
    text-align: center;
    font-family: var(--HOA_Font);
}

h1, hoa {
    color: var(--HOA_Color);
    font-family: var(--HOA_Font);
}

h2, hoa {
    color: var(--HOA_Color);
    font-family: var(--HOA_Font);
}

h3, hoa {
    color: var(--HOA_Color);
    font-family: var(--HOA_Font);
}

h4, hoa {
    color: var(--HOA_Color);
    font-family: var(--HOA_Font);
}

h5, hoa {
    color: var(--HOA_Color);
    font-family: var(--HOA_Font);
}

a, hoa {
    color: var(--HOA_Color);
    font-family: var(--HOA_Font);
}

li, hoa {
    color: var(--HOA_Color);
    font-family: var(--HOA_Font);
}

ul, hoa {
    color: var(--HOA_Color);
    font-family: var(--HOA_Font);
}

p, hoa {
    color: var(--HOA_Color);
    font-family: var(--HOA_Font);
    font-size: large;
}

.hoa_menu .mud-nav-link.active:not(.mud-nav-link-disabled) {
    color: #00b300;
}

.hoa_menu .mud-nav-link {
    color: var(--HOA_Color);
    white-space: nowrap;
}

.hidden {
    display: none;
}

/*Marquee*/
.marquee {
    position: relative;
    overflow: hidden;
    --offset: 5vw;
    --move-initial: calc(150% + var(--offset));
    --move-final: calc(-150% + var(--offset));
}

@media only screen and (max-width: 600px) {
    .marquee__inner {
        width: 1200px;
        display: flex;
        position: relative;
        transform: translate3d(var(--move-initial), 0, 0);
        animation: marquee 30s linear infinite;
        animation-play-state: running;
    }
}

@media only screen and (min-width: 900px) {
    .marquee__inner {
        width: 1500px;
        display: flex;
        position: relative;
        transform: translate3d(var(--move-initial), 0, 0);
        animation: marquee 20s linear infinite;
        animation-play-state: running;
    }
}

@media only screen and (max-width: 600px) {
        .marquee span {
            font-size: 4vw;
            padding: 1vw;
        }
    }

    @media only screen and (min-width: 900px) {
        .marquee span {
            font-size: 1.5vw;
            padding: 1vw;
        }
    }

    .marquee:hover .marquee__inner {
        animation-play-state: running;
    }

    @keyframes marquee {
        0% {
            transform: translate3d(var(--move-initial), 0, 0);
        }

        100% {
            transform: translate3d(var(--move-final), 0, 0);
        }
    }

    /* END Marquee */