﻿html {
    font-family: "Kanit", sans-serif;
}

body {
    padding-bottom: 0px !important;
    padding-top: 0 !important;
    background-color: #222831;
    font-family: "Kanit", sans-serif;
}

h1 {
    /*margin-top: 30px;*/
    /*margin-bottom: 30px;*/
}

footer {
    padding-top: 20px;
    background-color: #1A1E25;
}

main {
    background-color: #222831;
    color: white;
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.b-example-divider {
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
}

.bi {
    vertical-align: -.125em;
    fill: currentColor;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

    .nav-scroller .nav {
        display: flex;
        flex-wrap: nowrap;
        padding-bottom: 1rem;
        margin-top: -1px;
        overflow-x: auto;
        text-align: center;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

.navbar {
    z-index: 500;
}

.bg-dark {
    --bs-bg-opacity: 1;
    background-color: @Model.NavBarColor !important;
}

.btn-primary {
    background-color: #E1C038;
    border-color: #E1C038;
}

.card {
    background-color: #1A1E25;
}

.card-header {
    background-color: #1A1E25;
}

.card-footer {
    background-color: rgba(0, 130, 0, 0.8);
}

.fa {
    /*font-size: 100px;*/
    color: white;
}

/* Note: `.table { --bs-table-color: ... }` is set per-theme in Theme.razor so
   it follows the club's MainTextColor (and FooterTextColor when inside a
   .card). Hard-coding the value here previously assumed every club was on a
   dark theme — which made tables disappear (white-on-white) on light-themed
   clubs. Keep the global rule themed, not hard-coded. */

.list-group {
    background-color: #1A1E25;
}

.list-group-flush {
    background-color: #1A1E25;
}

.list-group-item {
    background-color: #1A1E25;
}

.header-container {
    margin-top: 120px;
}

/*
    Breathing room between authored page content and the site footer, so a CMS page or
    news article doesn't finish hard against it.

    Deliberately applied to the wrapper AROUND the content rather than to .cms-content
    itself. Stylesheets written in the editor are rewritten to match only .cms-content
    and its descendants, so a rule like `* { margin: 0 }` — which any pasted page reset
    contains — would flatten a margin set on the content element. It cannot reach the
    element containing it, so the gap set here survives whatever the author writes.
*/
.content-footer-gap {
    margin-bottom: 96px;
}

@media (max-width: 767.98px) {
    /* Proportionate on a phone, where 96px is most of a screen. */
    .content-footer-gap {
        margin-bottom: 48px;
    }
}

.modal {
    color: black;
}
