﻿:root {
    --bb-font-weight: 500;
    --bb-title-color: #1f2f3d;
    --bb-sub-font-size: 1.2rem;
}

.navbar {
    --bs-navbar-color: rgba(255,255,255,.85);
    --bs-navbar-hover-color: rgb(255,255,255);
}

.layout {
    --bb-layout-sidebar-banner-background: #702cf8;
}

#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: 1095;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.layout {
    --bb-footer-height: 0px;
}

    .layout.has-footer {
        --bb-footer-height: 40px;
    }

.is-fixed-tab .tabs-body {
    height: calc(100vh - 89px - var(--bb-footer-height));
    overflow: auto;
}

    .is-fixed-tab .tabs-body .tabs-body-content {
        height: auto;
        min-height: 100%;
    }

.bb-sub {
    margin-top: .25rem;
    font-size: 86%;
    color: #c0c4cc;
}

.table-header-group-th1 {
    border-bottom-width: 2px !important;
    border-bottom-color: var(--bs-secondary);
}

    .table-header-group-th1 .table-cell {
        height: 58px;
    }

    .table-header-group-th1 .table-cell,
    .table-header-group-th2 .table-cell {
        justify-content: center !important;
    }

.menu .nav-link.nav-table {
    color: var(--bs-info);
    font-weight: bold;
}

    .menu .nav-link.nav-table:hover {
        color: unset;
    }

.custom-popover {
    --bs-popover-border-color: var(--bs-primary);
    --bs-popover-header-bg: var(--bs-primary);
    --bs-popover-header-color: var(--bs-white);
    --bs-popover-body-padding-x: 1rem;
    --bs-popover-body-padding-y: 1rem;
}

.custom-rate {
    --bb-rate-font-size: 1.7rem;
    --bb-rate-height: 30px;
    --bb-rate-width: 30px;
    --bb-rate-active-color: var(--bs-primary);
}

.connection-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    opacity: 0.5;
}

.connection-body {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 1rem;
    color: #696969;
}

.connection-body-tail {
    border-right: 1px solid #d8d8d8;
    width: 1px;
    margin-left: 1rem;
}

.connection-link {
    color: #1371C3;
    text-decoration: underline;
    font-weight: bolder;
    margin-left: 0.5rem;
}

.connection-box {
    border-radius: var(--bs-border-radius);
    border: 1px solid #ddd;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

    .connection-box .connection-mask,
    .connection-box .connection-body {
        position: absolute;
    }

.connection-body img {
    height: 110px;
    margin-left: 1rem;
}

@media (min-width: 768px) {
    :root {
        --bs-header-height: 50px;
        --bs-sidebar-width: 300px;
    }

    .header-img span {
        display: none;
    }

    .chart {
        max-width: 740px;
    }

        .chart .btn i + span {
            display: inline;
        }

    header.hide {
        transform: translate3d(0,calc(-100% - 2px),0);
    }

    .ms-learn {
        right: 1rem;
    }

    .coms-demo .card {
        cursor: pointer;
    }

    .header-img span {
        display: none;
    }

    .home-section {
        margin: 2rem;
    }
}
