@import url('https://assets.bux.osu.edu/bux-webfonts2/bux-webfonts2.css');

:root {
    --main-color: #ba0c2f;
    --serif: 'BuckeyeSerif', serif;
    --sans: 'BuckeyeSans', sans-serif;
}

.mt-4 {
    margin-top: 0 !important;
}

.nav {
    --bs-nav-link-color: var(--main-color) !important;
    --bs-nav-link-hover-color: var(--main-color) !important;
    border-bottom-color: var(--main-color) !important;
}

.nav-tabs {
    font-size: 24px !important;
}

h1, h2, h3, h4, h5, h6, label {
    color: var(--main-color);
}

.nav-tabs .nav-link.active {
    color: #555 !important;
}

#selected_seasons {
    margin-top: 40px !important;
    margin-bottom: 60px !important;
    margin-right: 10px !important;
    margin-left: 10px !important
}

.noUi-connect {
    background: var(--main-color) !important;
}

.noUi-handle {
    border-radius: 50% !important;
}

.season-range {
    display: none;
}

.btn {
    background-color: #fff;
    border-color: #ccc;
    color: #000000;
}

.btn:hover {
    background-color: #ba0c2f;
    color: #fff;
    border-color: #ba0c2f;
}

.btn:active, .btn:focus-visible {
    background-color: #ba0c2f !important;
    border-color: #ba0c2f !important;
    box-shadow: none;
    color: #fff !important;
}

#sidebar {
    background-color: #f5f5f5 !important;
    border: 1px solid #ddd !important;
    border-radius: 10px !important;
}

#sidebar label {
    margin-top: 1rem;
    display: block;
}

#sidebar select {
    margin-bottom: 1rem;
}

.impossible-diagonal, .x-axis-ticks,
.x-axis-title, .y-axis-title {
    text-anchor: middle;
}

.y-axis-ticks {
    text-anchor: end;
}

.impossible-diagonal, .count-label {
    text-anchor: middle;
    fill: #ffffff;
    pointer-events: none;
}

.logo {
    pointer-events: none;
}

.tile.occurred {
    fill: #ba0c2f;
}

.tile {
    fill: #ffffff;
    stroke: #000000;
    stroke-width: .5px;
}

.tile.impossible {
    fill: #a7b1b7 !important;
}

.tile.impossible-diagonal {
    fill: #000 !important;
    stroke: #000 !important;
}

.tooltip {
    position: absolute;
    visibility: hidden;
    background: #000;
    color: #ffffff;
    padding: 6px 6px;
    border-radius: 4px;
    font-size: 12px;
    pointer-events: auto;
    max-width: 250px;
}

.tooltip a, .tooltip span  {
    color: #66ccff !important;
    text-decoration: underline;
}

.table-value, .table-title,
.table-subtitle, .final-table-title,
.final-table-subtitle, .final-table-header,
.final-table-game-center, .final-table-game-left,
p, .form-select,
.next-closest, .final-table-header-left,
.nav, .nav-tabs,
.nav-tabs > li > a,
h1, h2, h3, h4, h5, h6, label,
.bootstrap-select > .dropdown-toggle, .bootstrap-select .dropdown-menu li a,
.x-axis-ticks, .y-axis-ticks,
.impossible-diagonal, .count-label,
.swal2-popup, .btn {
    font-family: var(--serif) !important;
}

.x-axis-title, .y-axis-title,
.tooltip {
    font-family: var(--sans) !important;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #ba0c2f !important;
}

.table-value, .table-title,
.table-subtitle, .next-closest,
.final-table-game-center {
    text-align: center !important;
}

.final-table-title, .final-table-subtitle,
.final-table-game-left {
    text-align: left !important;
}

.table-value {
    background-color: var(--main-color) !important;
    color: #fff !important;
    font-size: 80px !important;
}

.table-title {
    font-size: 30px !important;
    color: var(--main-color) !important;
}

.table-title, .table-subtitle,
.final-table-title, .final-table-subtitle {
    font-weight: bold !important;
}

.table-subtitle {
    font-size: 22px !important;
    color: black !important;
}

.final-table-title {
    font-size: 26px !important;
    color: black !important;
}

.final-table-subtitle {
    font-style: italic !important;
    font-size: 20px !important;
    color: black !important;
}

.final-table-header {
    border-bottom-width: 1px !important;
    border-bottom-style: solid !important;
    border-bottom-color: black !important;
    font-size: 20px !important;
    color: #333333 !important;
    font-weight: normal !important;
}

.final-table-header-left {
    text-align: left !important;
    border-bottom-width: 1px !important;
    border-bottom-style: solid !important;
    border-bottom-color: black !important;
    font-size: 20px !important;
    color: #333333 !important;
    font-weight: normal !important;
}


.final-table-game-center, .next-closest,
.final-table-game-left {
    font-size: 22px !important;

}

.tab-pane table {
    margin: auto !important;
}

table {
    border-collapse: collapse !important;
    border-spacing: 0 !important;
}

.set-table {
    max-width: 300px !important;
    word-wrap: break-word !important;
    white-space: normal !important;
}

.no-data-message {
    font-size: 30px;
    color: #ba0c2f !important;
}

.form-check-input:checked {
    background-color: #ba0c2f;
    border-color: #ba0c2f;
}

.form-check-input:focus {
    box-shadow: none;
    border-color: #ba0c2f;
}

.loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loader.show {
    display: flex;
}

.loader .spinner-border {
    color: #ba0c2f !important;
    width: 3rem;
    height: 3rem;
}

.loader p {
    margin-top: 1rem;
    font-weight: bold;
    color: #ba0c2f;
    font-size: 1.1rem;
}
