/* ===================== DEVELOP WIDTH = 1400px ===================== */
html,
body {
    font-family: system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    "Noto Sans",
    "Liberation Sans",
    Arial,
    sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol",
    "Noto Color Emoji";
    font-size: 100%;
    font-style: normal;
    font-weight: normal;
    scroll-behavior: smooth;

    header {
        background-color: #F8F9FA;
    }
}

app {
    display: block;
}

/* ===================== Error Display ===================== */
#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;
}

/* ===================== CONTAINER SIZING ===================== */
.width-90 {
    max-width: 90%;
}

.width-80 {
    max-width: 80%;
}

.width-75 {
    max-width: 75%;
}

.width-70 {
    max-width: 70%;
}

.width-60 {
    max-width: 60%;
}

.width-55 {
    max-width: 55%;
}

.width-50 {
    max-width: 50%;
}

.width-all {
    max-width: 100%;
}

.mr-sm-2 {
    margin-right: 2em;
}

@media (min-width: 1400px) {
    .width-90 {
        max-width: 1260px;
    }

    .width-80 {
        max-width: 1120px;
    }

    .width-75 {
        max-width: 1050px;
    }

    .width-70 {
        max-width: 980px;
    }

    .width-60 {
        max-width: 840px;
    }

    .width-55 {
        max-width: 770px;
    }

    .width-50 {
        max-width: 700px;
    }
}

@media (max-width: 768px) {

    .width-90,
    .width-80,
    .width-80,
    .width-75,
    .width-70,
    .width-60,
    .width-55,
    .width-50 {
        max-width: unset;
    }
}

/* ===================== BACKGROUND COLORS ===================== */
.bg-midnight-blue {
    background-color: #00376e;
}

.bg-steeltoe-blue {
    background-color: #0066cc;
}

.bg-grey {
    background-color: #f3f6f8;
}

.bg-dk-midnight-blue {
    background-color: #001f3f;
}

.bg-yellow {
    background-color: #ffd700;
}

.blue-slant {
    background-image: url(../images/top-bottom-slanted.svg);
    padding: 9% 0 0 0;
    background-repeat: no-repeat;
    background-position-y: -1px;
    background-position-x: 50%;
}

.left-yellow-slant {
    background-image: url(../images/left-yellow-slant.svg);
    padding: 5% 0 0 0;
    background-repeat: no-repeat;
    background-position-y: -1px;
    background-size: 51% auto;
}

.yellow-slant::before {
    background-image: url(../images/yellow-slant.png);
    background-repeat: no-repeat;
    background-position-x: 50%;
    background-position-y: 52%;
    content: "";
    display: block;
    position: relative;
    height: 200px;
    width: 100%;
    z-index: -1;
}

.yellow-slant {
    min-height: 200px;
}


/* ===================== FONT COLORS ===================== */
.yellow {
    color: #ffd700;
}

.grey {
    color: #373737;
}

.black {
    color: black;
}

.steeltoe-blue {
    color: #0066cc;
}

.midnight-blue {
    color: #00376e;
}

/* ===================== BORDER COLORS ===================== */
.border-yellow {
    border-color: #ffd700;
    border-width: 2px;
    border-style: solid;
}

.border-steeltoe-blue {
    border-color: #0066cc;
    border-width: 1px;
    border-style: solid;
}

.border-bottom-steeltoe-blue {
    border-bottom-color: #0066cc;
    border-bottom-width: 2px;
    border-bottom-style: solid;
}

/* ===================== BOOTSTRAP OVERRIDE ===================== */
.row {
    width: 100%;
}

.hide {
    display: none;
}

.container {
    padding: 0;
}

[data-bs-theme="light"] .dropdown-item.active,
[data-bs-theme="light"] .dropdown-item:active {
    color: #0066cc;
    text-decoration: none;
    background-color: #eeeeee;
}

/* ===================== Styles for Blazor content ===================== */
#main {
    h1 {
        font-style: normal;
        font-weight: bold;
        font-size: 3rem;
        line-height: 1em;
    }

    h2 {
        font-style: normal;
        font-weight: bold;
        font-size: 2.375rem;
    }

    h3 {
        font-style: normal;
        font-weight: bold;
        font-size: 1.5rem;
    }

    h4 {
        font-style: normal;
        font-weight: bold;
    }

    a,
    .navbar-nav .nav-link,
    .navbar-nav .show > .nav-link {
        color: #0066cc;
    }

    .special-link {
        font-style: normal;
        font-weight: bold;
        text-transform: uppercase;
        color: #ffd700 !important;
        font-size: smaller;
    }

    .small {
        font-size: .765em;
    }
}

/* ===================== FONT STYLING ===================== */

.font-sm {
    font-size: 90%;
}

.font-normal {
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
}

.line-height-30 {
    line-height: 30px;
}

.line-height-35 {
    line-height: 35px;
}

.line-height-40 {
    line-height: 40px;
}

/* ===================== PAGE ITEMS ===================== */

#footer {
    padding-top: 5%;
}

.bottom-bar .col,
.bottom-bar .col .nav-link {
    color: white;
}

.bottom-bar .col .nav-link {
    color: white;
}

.btn:hover {
    box-shadow: 1px 1px 4px 0px #eeeeee;
}

.breadcrumbs {
    padding: 4% 0 0 0;
}

.breadcrumbs ul {
    font-weight: bold;
    padding: 0;
}

.breadcrumbs ul li {
    color: #00376e !important;
    list-style: none;
    display: inline-block;
}

.breadcrumbs ul li.delimiter {
    padding: 0 10px 0 10px;
    font-weight: normal;
}

.breadcrumbs ul li a {
    text-decoration: none;
    font-weight: normal;
    color: #00376e;
}

.banner {
    background-color: #001f3f;
    font-size: 114%;
}

.get-started-button {
    text-transform: uppercase;
    border-color: #ffd700;
    border-width: 3px;
    border-style: solid;
    text-align: center;
    font-size: 83%;
}

.banner .sign {
    border-color: #ffd700;
    border-width: 2px;
    border-style: solid;
    text-align: center;
}

.banner .desc {
    color: white;
}

.component,
.component-dark {
    margin: 3% 2% 4% 0 !important;
    padding: 3% !important;
    text-align: left;
    border: 1px solid #eeeeee;
    border-top: 11px solid #ffd700;

    a {
        text-decoration: none;
    }
}

.component-dark:hover {
    box-shadow: 3px 3px 13px 0px #0066cc;
}

.component:hover {
    box-shadow: 3px 3px 13px 0px #eeeeee;
}

.component:last-child,
.component-dark:last-child {
    margin-right: 0 !important;
}

.component-dark .title {
    color: white;
}

.component .title {
    color: #00376e;
}

.component-dark .desc {
    color: white;
    margin: 3% 0 3% 0;
    min-height: 90px;
}

.component .desc {
    color: #373737;
    margin: 3% 0 3% 0;
    min-height: 90px;
}
.news {
    border-top: 1px dotted steelblue;
    margin-bottom: 5px;
    padding-bottom: 5px;
}
.news .date {
    font-size: 75%;
    text-transform: uppercase;
    line-height: 25px;
}

.news .date span {
    font-size: 88%;
}

.news .title {
    font-weight: bold;
}

.news .desc {
    margin: 1% 0 1% 0;
}

.news .special-link {
    font-size: 80%;
}

.stat {
    font-size: 150%;
}

.stat .number {
    font-weight: bold;
    font-size: 150%;
    color: #0066cc;
}

.stat .desc {
    color: #0066cc;
    font-size: 90%;
}

.nav-tabs {
    margin: 10px 0 0 0;
}

.sticky-top .nav-item.active {
    font-weight: bold;
    border-bottom: 0;
}


.dropdown-item {
    padding: .25rem 1.5rem !important;
    display: block !important;
    color: #0066cc;
}

.note .row,
.note .col {
    margin: 0 !important;
}

.note-title {
    text-transform: capitalize;
    color: white;
    padding: 5px;
}

.note-title::before {
    display: inline-block;
    content: "!";
    border-radius: 50%;
    border: 2px solid white;
    background-color: white;
    width: 16px;
    height: 16px;
    line-height: 12px;
    text-align: center;
    color: #3b89d8;
    font-weight: bold;
    margin: 5px 5px 5px 5px;
}

.note-desc {
    color: #636567;
    padding: 15px;
}

.tip-title {
    text-transform: capitalize;
    color: white;
    padding: 5px;
}

.tip-title::before {
    display: inline-block;
    content: "!";
    border-radius: 50%;
    border: 2px solid white;
    background-color: white;
    width: 16px;
    height: 16px;
    line-height: 12px;
    text-align: center;
    color: #1abc9c;
    font-weight: bold;
    margin: 5px 5px 5px 5px;
}

.tip-desc {
    color: #636567;
    padding: 15px;
}

.component-title,
.get-started-title {
    color: #00376e;
    font-weight: bold;
    font-size: 280%;
    padding: 25px 0 25px 0;
}

.component-desc {
    color: #00376e;
    margin: 0 0 6% 0;
    font-size: 150%;
}

.component-button {
    background-color: #0066cc;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    padding: 15px 15% 15px 15%;
    min-width: 275px;
}

.component-button.nav-link {
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 90%;
}

.component-whatis-title,
.component-whyuse-title,
.tutorial .title {
    font-weight: bold;
    color: #00376e;
    font-weight: bold;
    font-size: 2.375rem;
}

.component-whatis-desc,
.component-whyuse-desc,
.tutorial .desc {
    color: #373737;
}

.component-feature {
    margin-bottom: 7%;
    padding-bottom: 7%;
    border-bottom-color: #0066cc;
    border-bottom-width: 2px;
    border-bottom-style: solid;
}

.component-feature-title {
    font-weight: bold;
    font-size: 200%;
    margin-bottom: 9%
}

.component-feature-desc {
    line-height: 1.7em;
}

.component-feature-img {
    border-radius: 50%;
    padding: 13%;
    background-color: #e4f1ff;
    margin: 0 25% 0 25%;
}

.link-light:hover {
    color: lightsteelblue !important;
}

pre > code {
    font-size: 85%;
    padding: .2em .4em;
    color: var(--bs-primary-text-emphasis);
    background-color: #e6e6e6;
}

[data-bs-theme="dark"] {
    body#main {
        header {
            background-color: #212529;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .bg-white {
            background-color: #001f3f !important;
        }

        .component-whatis-desc,
        .component-whyuse-desc,
        .tutorial .desc,
        .component-whatis-title,
        .component-whyuse-title,
        .stat .number,
        .component .desc,
        .component .title,
        .component-title,
        .get-started-title,
        .component-desc,
        .dropdown-item,
        .dropdown-item.active,
        .navbar-nav .nav-link,
        .navbar-nav .show > .nav-link {
            color: white;
        }

        .container a:not(.special-link):not(.btn) {
            color: lightsteelblue;
        }

        .component-button {
            background-color: #ffd700;
            color: #00376e !important;
        }

        .component-button:hover {
            box-shadow: 1px 1px 4px 0px hsl(51, 100%, 63%);
            color: #00376e;
        }

        a.btn, a.btn.btn-default {
            color: white;
        }

        .bg-yellow {
            background-color: #596E8A;

            a {
                color: yellow;
            }
        }

        .yellow-slant::before {
            filter: hue-rotate(180deg) brightness(54%);
        }

        pre > code {
            color: #052C65;
            background-color: #e6e6e6;
        }

        .component-feature-desc .btn-default {
            background-color: #0066cc;
        }

        .icon-cloud {
            content: url("/images/icon-cloud-white.svg");
        }

        .icon-microservices {
            content: url("/images/icon-microservices-white.svg");
        }

        .icon-streams {
            content: url("/images/icon-streams-white.svg");
        }

        .icon-webapps {
            content: url("/images/icon-webapps-white.svg");
        }
    }
}
