html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.navbar {
    background-color: #00560f;
}

.rankPhoto {
    margin: 1px auto;
    border: none;
    width: auto;
    height: 75px;
    background-color: white;
}

.rbox {
    display: block;
    min-width: 40px;
    float: left;
    text-align: center;
    margin: .3rem;
}

td.rankHigh {
    background-color: lemonchiffon;
}

tr.hilight {
    background-color: lightgoldenrodyellow;
    border-bottom: #e15628 2px solid;
}

.phototd {
    background-color: white;
}

.teampoints {
    vertical-align:top;
}

/* PersonView standings list (legacy-like) */
#standings .list-group-item {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

#standings .badge.rounded-pill {
    min-width: 3.25rem;
    font-size: 0.95rem;
    line-height: 1.2;
}

#standings img {
    display: inline-block;
}

/* IOF styles */

:root {
    --bs-primary: #00560f;
    --bs-primary-rgb: 0, 86, 15;
    --bs-btn-bg: #00560f;
    --bs-btn-border-color: #00560f;
}

.btn-outline-primary {
    --bs-btn-color: #00560f;
    --bs-btn-border-color: #00560f;
    --bs-btn-hover-color: #ccc;
    --bs-btn-hover-bg: #00560f;
    --bs-btn-hover-border-color: #00560f;
    --bs-btn-focus-shadow-rgb: 13,110,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #00560f;
    --bs-btn-active-border-color: #00560f;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #00560f;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #00560f;
    --bs-gradient: none;
}

.btn-primary {
    --bs-btn-color: white;
    --bs-btn-bg: #00560f;
    --bs-btn-border-color: #00560f;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #00560f;
    --bs-btn-hover-border-color: #00560f;
    --bs-btn-focus-shadow-rgb: 13,110,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #00560f;
    --bs-btn-active-border-color: #00560f;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #00560f;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #00560f;
    --bs-gradient: none;
}

a {
    -webkit-text-decoration: none;
    text-decoration: none;
    color: #00560f;
}

/* Make discipline buttons equal height (Index page) */
#list ~ .row .btn[data-discipline] {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: normal;
}

    #list ~ .row .btn[data-discipline] img {
        flex: 0 0 auto;
    }

.showOnlyMobile {
    display: none;
}

/* For mobile devices */
@media only screen and (max-width: 992px) {
    .showOnlyMobile {
        display: unset;
    }

    .wcupResultsContainer {
        max-height: 800px;
        overflow-y: auto;
    }
}
