﻿.ant-menu {
    color: #fff;
    background-color: #094123;
    background-color: var(--b-theme-primary);
}

span.ant-menu-item {
    background-color: #094123;
    background-color: var(--b-theme-primary);
}

.ant-menu-horizontal > .ant-menu-item, .ant-menu-horizontal > .ant-menu-submenu {
    top: 0 !important;
}

.ant-menu-item:hover {
    color: #aaa;
}

.ant-menu-item > a:hover {
    color: #aaa;
}

.ant-menu-submenu:hover {
    color: #aaa;
}

.ant-menu-submenu-open:hover {
    color: #aaa;
}

.ant-menu-submenu > a:hover {
    color: #aaa;
}

.ant-menu-submenu-title:hover {
    color: #aaa;
}

.ant-menu-submenu-title > a:hover {
    color: #aaa;
}

.ant-menu-submenu > .ant-menu {
    background-color: #eee;
    color: #000;
}

.ant-menu-horizontal > .ant-menu-item:hover {
    color: #aaa;
    border-bottom: 2px solid #aaa;
}

.ant-menu-inline, .ant-menu-vertical, .ant-menu-vertical-left {
    border-right: none;
}

.ant-menu.ant-menu-root.ant-menu-inline, .ant-menu.ant-menu-root.ant-menu-vertical {
    overflow-x: hidden;
}

.ant-menu-submenu-title {
    width: 100%;
}

header.b-layout-header {
    z-index: 1000 !important;
}

.b-layout-header {
    z-index: 1000 !important;
}


.menu-logo {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.menu-logo-image {
    height: 64px;
    background-color: #FFFFFF;
}

section.b-layout {
    overflow-x: auto !important;
}

.fantasy-app {
    color: #094123;
}

.fantasy-app-bg {
    background-color: #094123;
    color: #ffffff;
}

.fantasy-app-bg-tns {
    background-color: #094123;
    background-color: rgba(9, 65, 35, 0.5);
    color: #ffffff;
}

.sc-app { color: #1E0064; }

.sc-app-bg {
    background-color: #1E0064;
    color: #ffffff;
}

.sc-app-bg-tns {
    background-color: #1E0064;
    background-color: rgba(30, 0, 100, 0.5);
    color: #ffffff;
}

.ds-app { color: #FF0056; }

.ds-app-bg {
    background-color: #FF0056;
    color: #ffffff;
}

.ds-app-bg-tns {
    background-color: #FF0056;
    background-color: rgba(255, 0, 86, 0.5);
    color: #ffffff;
}

.punter-app { color: #000000; }

.punter-app-bg {
    background-color: #000000;
    color: #ffffff;
}

.punter-app-bg-tns {
    background-color: #000000;
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.linear-progress {
    background: silver;
    width: 50vw;
    margin: 20% auto;
    height: 1rem;
    border-radius: 10rem;
    overflow: hidden;
    position: relative;
}

.linear-progress:after {
    content: '';
    position: absolute;
    inset: 0;
    background: blue;
    /* ReSharper disable once CssNotResolved */
    scale: var(--blazor-load-percentage, 0%) 100%;
    transform-origin: left top;
    transition: scale ease-out 0.5s;
}

.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");
}

.social-icon {
    height: 35px;
    margin-top: -10px;
}

.social-icon-small {
    height: 18px;
    margin-top: -6px;
}

.filtered-table {
    position: relative;
}

.filtered-table > .ant-table-container > .ant-table-content {
    min-height: 300px;
}

.ant-table {
    display: inline-block;
}

.sticky-header-table .ant-table {
    display: inline;
}

.sticky-header-table .ant-table-container {
    display: inline;
}

.sticky-header-table .ant-table-content {
    display: inline;
}

.sticky-header-table thead th {
    position: sticky !important;
    position: -webkit-sticky !important;
    z-index: 2;
    top: 70px;
}

.sticky-header-column {
    position: sticky !important;
    position: -webkit-sticky !important;
}

.good {
    color: darkgreen !important;
    font-weight: bold !important;
}

.bad {
    color: darkred !important;
}

.flag {
    color: darkorange !important;
}

.icon-area {
    width: 18px;
    text-align: center;
}

.multi-select-control > :first-child > :first-child {
    padding-right: 30px !important;
}

.expand-col {
    background-color: #fafafa !important;
}

/* Markdown table styles for article content */
.article-content table {
    border-collapse: collapse;
    margin: 20px 0;
    width: 100%;
    max-width: 100%;
}

.article-content table th,
.article-content table td {
    border: 1px solid #ddd;
    padding: 8px 12px;
    text-align: left;
}

.article-content table th {
    background-color: #f2f2f2;
    font-weight: bold;
    text-align: center;
}

.article-content table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.article-content table tr:hover {
    background-color: #f5f5f5;
}