@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/includes/fonts/roboto-regular.woff2") format("woff2");
}

@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/includes/fonts/roboto-700.woff2?v=2") format("woff2");
}

:root {
    --green: #3DAC98;
    --light-green: #e0ffc7;
    --dark-green: #2a7a6c;
    --orange: #f49624;
    --light-orange: #ffddbb;
    --dark-orange: #bf751b;
    --gray: #999999;
    --light-gray: #d8d8d8;
    --dark-gray: #666666;
    --red: #d90000;
    --gold: #EEC15A;
    --silver: #B2ABA3;
    --bronze: #AD7248;
    --broken-white: #ececec;
    --dark-text: #212529;
    --bs-focus-ring-color: rgba(61, 172, 152, 0.25);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 0.25rem rgba(61, 172, 152, 0.25);
}

.opacity-50 {
    opacity: 50%;
}

.opacity-25 {
    opacity: 25%;
}

html {
    scroll-behavior: smooth;
}

hr {
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
}

body {
    font-family: Roboto, Tahoma, sans-serif;
    overflow-x: hidden;
    padding-top: 4.4rem !important;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    box-sizing: border-box;
}

form {
    margin: 0px;
    padding: 0px;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

span {
    font-family: inherit;
}

h1 {
    padding: 0.5rem 0rem;
    margin: 0rem;
    font-weight: bold;
    font-size: 1.5rem;
}

.icon {
    text-decoration: none;

    width: 1.2em;
}

.icon.icon-inline {
    line-height: inherit;
}

.icon-exclamation-triangle {
    color: var(--red);
}

nav.header,
nav h1 {
    font-size: 1.2rem;
}

h2 {
    margin: 0px;
    padding: 0.7rem 0rem 0.7rem 0rem;
    font-size: 1.8rem;
}

h3 {
    margin: 0.6rem 0 0.4rem 0;
    font-weight: bold;
    font-size: 1.2rem;
}

p {
    margin: 0rem;
    padding: 0.5rem 0rem 0.5rem 0rem;
}

h2 > p {
    padding-top: 0rem;
}

a,
a:hover {
    color: inherit;
    text-decoration: underline;
}

    nav a, nav a:hover, a.btn {
        text-decoration: none;
    }

table,
tr,
td {
    font-size: inherit;
    font-family: inherit;
    background-color: inherit;
    color: inherit;
}

input,
textarea,
select,
option {
    font-size: inherit;
    font-family: inherit;
}

* {
    box-sizing: border-box;
}

.content {
    background-color: var(--broken-white);
    flex: 1 0 auto;
}

div.block {
    position: relative;
    overflow: hidden;
}

.match-node {
    width: 120px;
    border-radius: 26px;
    background-color: white;
    height: 58px;
}

ol, ul {
    padding-top: 4px;
    padding-inline-start: 1em;
    margin: 0px;
}

.ot {
    min-width: 300px;
}

    .ot td {
        padding: 6px 6px 3px 0px;
    }

        .ot td input[type="radio"] {
            margin: 8px 2px 3px 0px;
        }

.text-shadow {
    text-shadow: 0.1rem 0.1rem 0.1rem rgba(0, 0, 0, 1);
}

.box-shadow {
    box-shadow: 0.1rem 0.1rem 0.1rem rgba(0, 0, 0, 1);
}

.box-rounded {
    border-radius: 25px;
}

.box-glow {
    color: white;
    box-shadow: 0 0 10px #fff, 0 0 8px #eedc8b, 0 0 6px #eedc8b, 0 0 9px #eedc8b, 0 0 12px #eedc8b;
}

.box-halo {
    color: white;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.bw-picture-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

div.bw-picture-frame {
    background-color: #ffffff;
    color: var(--dark-gray);
    border: 5px solid #ffffff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}

.box {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0.2rem 0.2rem 0.1rem rgba(0, 0, 0, 0.5);
}

.overlay {
    position: relative;
    top: -30px;
}

.picture-frame {
    background-image: radial-gradient(white, black);
}

.btn-transparent {
    background-color: transparent;
    color: inherit;
}

    .btn-transparent:hover {
        background-color: lightgray;
        color: inherit;
    }

.btn .icon {
    line-height: 1.4rem;
    font-size: 1.2rem;
}

.btn * {
    vertical-align: middle;
}

.input-group-prepend .btn > div,
.input-group-append .btn > div {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.line-height-small {
    line-height: 1.2;
}

img.season {
    max-height: 280px;
}

.col-form-label {
    padding: 3px 0px;
}

.orange {
    color: var(--orange);
}

.bg-orange {
    background-color: var(--orange);
}

.green {
    color: var(--green);
}

.bg-green {
    background-color: var(--green);
}

.red {
    color: var(--red);
}

.bg-black {
    background-color: black;
}

.white {
    color: white;
}

.bg-white {
    background-color: white;
}

.gold {
    color: var(--gold);
}

.silver {
    color: var(--silver);
}

.bronze {
    color: var(--bronze);
}

.bg-trophy-1 {
    background-color: var(--gold);
}

.bg-trophy-2 {
    background-color: var(--silver);
}

.bg-trophy-3 {
    background-color: var(--bronze);
}

.bg-red {
    background-color: var(--red);
}

.light-gray {
    color: var(--light-gray);
}

.bg-light-gray {
    background-color: var(--light-gray);
}

.gray {
    color: var(--gray);
}

.w-auto {
    width: auto !important;
}

.bg-gray {
    background-color: var(--gray);
}

.dark-gray {
    color: var(--dark-gray);
}

.bg-dark-gray {
    background-color: var(--dark-gray);
}

.bg-light-orange {
    background-color: var(--light-orange);
}

.bg-light-green {
    background-color: var(--light-green);
}

.important {
    padding: 10px 15px;
    font-size: 1.2rem;
    font-weight: bold;
}

input[type="number"] {
    width: 100px;
}

input[type="date"] {
    width: 200px;
}

input[type="tel"] {
    width: 200px;
}

a.file {
    position: relative;
    overflow: hidden;
}

    a.file input {
        position: absolute;
        opacity: 0;
        right: 0;
        top: 0;
    }

.image-upload {
    background: #000;
    color: #ccc;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.field {
    margin-bottom: 5px;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.transparent-overlay {
    background: rgb(0,0,0,0.6);
}

.transparent-overlay .menu-bar,
.transparent-overlay .list-group-item {
    background-color: transparent;
    color: white;
    transition: background-color 0.3s ease;
}

.menu-bar.transparent-overlay {
    background-color: rgb(0,0,0,0.6);
}

.transparent-overlay .info-bar .text {
    color: var(--light-gray) !important;
}

.transparent-overlay .list-group-item {
    border-top: 1px solid var(--dark-gray);
}

.map-number {
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    min-width: 24px;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    line-height: 24px;
    font-size: 14px;
    font-weight: bold;
}

.banner {
    min-height: 105px;
}

.banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(40%) brightness(30%);
}

/* A page that drops the nav bar (View.NavBar = false) renders no .navbar at all, so the
   body padding reserving room for it has nothing to reserve. */
body:not(:has(.navbar)) {
    padding-top: 0 !important;
}

.hero {
    /* fills what is left of the viewport under the fixed nav bar */
    min-height: calc(100vh - 4.4rem);
    overflow: hidden;
}

body:not(:has(.navbar)) .hero {
    min-height: 100vh;
}

/* a hero that heads a page rather than being one: leaves room for what follows */
.hero.hero-short,
body:not(:has(.navbar)) .hero.hero-short {
    /* one and a half sport tiles (140px each) */
    min-height: 210px;
}

/* the tall hero reserves a thumb's worth of space under its button; this one centres its
   line in the space left under the logo (logo bottom ~68px, hero bottom 210px) */
.hero-short .hero-content {
    padding-bottom: 1em !important;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(45%);
}

/* the two marks ride a container across the top, so they sit on the page's gutters */
.hero-top {
    position: absolute;
    top: 1em;
    left: 0;
    right: 0;
}

/* block, or the inline anchor's line box is shorter than the logo and only part of it clicks */
.hero-logo a {
    display: block;
}

.hero-logo img,
.hero-corner img {
    width: 2.25rem;
    height: 2.25rem;
}

.hero-logo img {
    /* flatten the logo's own colours to solid white, keeping its transparency:
       brightness(0) takes every opaque pixel to black, invert turns that white.
       Not on the federation mark — it picks its own file (-white / -color). */
    filter: brightness(0) invert(1);
}

.hero-content {
    /* the block of words + button occupies the bottom third of the hero */
    padding-bottom: 8vh !important;
}

.hero-rotate {
    position: relative;
    height: 1.8em;
    color: var(--orange);
}

/* three lines, 4s each: one cycle is 12s and each line waits its turn */
.hero-rotate span {
    position: absolute;
    left: 0;
    right: 0;
    opacity: 0;
    animation: hero-rotate 12s infinite;
}

.hero-rotate span:nth-child(2) {
    animation-delay: 4s;
}

.hero-rotate span:nth-child(3) {
    animation-delay: 8s;
}

@keyframes hero-rotate {
    0%, 27% { opacity: 1; }
    33%, 94% { opacity: 0; }
    100% { opacity: 1; }
}

.btn-big {
    font-size: 1.5rem;
    padding: 0.6rem 3rem;
    border-radius: 2rem;
}

.sport-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1px;
    background-color: #222222;
}

.sport-tile,
.sport-tile:hover {
    text-decoration: none;
}

.sport-grid .banner {
    min-height: 0;
    aspect-ratio: 2 / 1;
    /* auto-fit lets a lone tile span the full grid width; without this the aspect
       ratio would turn that into a ~950px tall banner on a wide screen */
    max-height: 140px;
}

.banner-scrim .banner-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #000 15%, transparent 65%);
}

.center-relative {
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.navbar {
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 0.5rem 0.5rem rgba(0, 0, 0, 0.3);
    z-index: 999 !important;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 70%, rgba(255, 255, 255, 0.5) 100%);
    color: var(--dark-gray);
}

.navbar-toggler {
    padding: 2px 4px;
}

.fixed-height-box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 3.4rem;
}

img.brand {
    max-height: 3.4rem;
    max-width: 10rem;
}

.flag img, img.flag {
    height: 24px;
    border: solid 1px var(--light-gray);
}

    footer .apps img {
        max-width: 150px;
        padding: 6px 6px 12px 6px;
    }

    footer .terms {
        font-size: 0.8rem;
    }

    footer .social {
        font-size: 2rem;
    }

        footer .social a {
            padding: 0.5rem;
        }

.carousel-item {
    max-height: 70vh !important;
}

.carousel-caption p {
    padding: 0;
}

.carousel-caption {
    padding-bottom: 0px;
}

.carousel-search .carousel-item {
    max-height: 70vh !important;
}

.carousel-item-next,
.carousel-item-prev,
.carousel-item.active {
    transition: transform 1.5s ease;
}

.carousel-indicators {
    bottom: -18px;
}

    .carousel-indicators li {
        width: 10px;
        height: 10px;
        border-radius: 100%;
    }

.carousel-search {
    position: relative;
}

.btn-primary, .btn-primary:visited {
    background-color: var(--green) !important;
    border-color: var(--green) !important;
}

    .btn-primary:hover {
        background-color: var(--dark-green) !important;
    }

    .btn-primary:active {
        background-color: var(--dark-gray) !important;
        border-color: var(--dark-gray) !important;
        color: white !important;
    }

.btn-outline-primary, .btn-outline-primary:visited {
    color: var(--green) !important;
    border-color: var(--green) !important;
    background-color: transparent !important;
}

    .btn-outline-primary:hover {
        color: white !important;
        background-color: var(--green) !important;
        border-color: var(--green) !important;
    }

    .btn-outline-primary:active {
        background-color: var(--dark-green) !important;
        border-color: var(--dark-green) !important;
        color: white !important;
    }

.nav-tabs, .nav-tabs .nav-link {
    border-bottom: 0px !important;
}

    .nav-tabs .nav-link.active {
        background-color: var(--light-gray) !important;
    }

.btn-secondary, .btn-secondary:active, .btn-secondary:visited {
    background-color: white !important;
    color: black !important;
}

    .btn-secondary:hover {
        background-color: var(--dark-gray) !important;
        color: white !important;
    }

.nav-link {
    padding: .75rem !important;
}

.bootstrap-autocomplete {
    padding: 0px;
    font-size: 14px;
    text-decoration: none;
}

    .bootstrap-autocomplete a {
        padding: 4px 10px 4px 10px;
        text-decoration: none;
    }

a img {
    opacity: 1;
    transition: .3s ease;
}

a:hover img {
    opacity: 0.7;
    transition: .5s ease;
}

.buttons {
    gap: 12px 8px;
}

.logo-carousel {
    width: 100%;
    overflow: hidden;
    padding: 16px 0;
}

.logo-track {
    display: flex;
    width: max-content;
    animation: scroll 45s linear infinite;
}

    .logo-track img {
        height: 60px;
        margin: 0 32px;
        object-fit: contain;
    }

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.list-group {
    font-weight: bold;
    font-size: 1rem;
}

@keyframes cmPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(0.6); opacity: 0.45; }
}

.cm-live-dot {
    display: inline-block;
    width: 0.8em;
    height: 0.8em;
    border-radius: 50%;
    background: var(--orange);
    vertical-align: middle;
    animation: cmPulse 1.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .cm-live-dot {
        animation: none;
    }

    /* no cross-fade: the first line simply stands */
    .hero-rotate span {
        animation: none;
    }

    .hero-rotate span:first-child {
        opacity: 1;
    }
}

.comp-tab {
    display: inline-flex;
    align-items: center;
    padding: 2px 12px;
    color: inherit;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.comp-tab:hover, .comp-tab:focus {
    color: inherit;
    text-decoration: underline;
}

.comp-tab-active {

    font-weight: bold;
    border-bottom-color: var(--green);
}

.bg-gray-gradient {
    background: linear-gradient(90deg, #3a3a3a 0%, #777 100%);
}

.alert-success {
    background: linear-gradient(90deg, #c3e6cb 0%, #e5f4e9 100%);
}

.alert-primary {
    background: linear-gradient(90deg, #b8daff 0%, #e0eefe 100%);
}

.alert-warning {
    background: linear-gradient(90deg, #ffe8a1 0%, #fff6d9 100%);
}

.alert-danger {
    background: linear-gradient(90deg, #f1b0b7 0%, #fadde0 100%);
}

.cm-breadcrumb a {
    color: inherit;
    text-decoration: underline;
    opacity: .85;
}

.cm-breadcrumb a:hover {
    opacity: 1;
}

.cm-breadcrumb-sep {
    margin: 0 .4rem;
    opacity: .6;
}

.list-group-item {
    color: inherit;
    background-color: inherit;
}

.list-group .list-group-item:hover {
    color: inherit;
    background-color: white;
}

.transparent-overlay .list-group-item:hover,
.transparent-overlay .list-group-item:focus {
    background-color: black;
    color: white;
}

.menu-bar {
    font-weight: normal;
    color: var(--dark-text);
}

    .menu-bar .info-bar .text {
        color: var(--gray) !important;
    }

.info-bar .text {
    position: relative;
    line-height: 1rem;
    font-size: 0.8rem;
    font-weight: normal;
}

.bg-green .info-bar .text, .bg-orange .info-bar .text {
    color: var(--light-gray);
}

.menu-bar img, img.club {
    max-height: 60px;
    max-width: 180px;
}

img.club-large {
    max-height: 90px;
    max-width: 270px;
}

.menu-bar .header {
    min-width: 0.5rem;
}

.info-bar .left-icon {
    display: inline-block;
    text-align: center;
    width: 40px;
}

    .info-bar .left-icon .icon {
        font-size: 1.5em;
        padding: 0px 5px;
    }

.radio-bar label {
    cursor: pointer;
    width: 100%;
}

    .radio-bar label > .info-bar {
        flex: 1;
    }

    .radio-bar input[type=radio] {
        appearance: none;
        width: 1.25em;
        height: 1.25em;
        flex-shrink: 0;
        border: 2px solid var(--gray);
        border-radius: 50%;
        transition: border-color .15s, box-shadow .15s;
    }

        .radio-bar input[type=radio]:checked {
            border-width: 0.4em;
            border-color: var(--green);
        }

        .radio-bar input[type=radio]:focus-visible {
            box-shadow: 0 0 0 0.25rem rgba(61, 172, 152, 0.25);
        }

.signal-bars {
    display: flex;
    align-items: flex-end;
    column-gap: 2px;
    padding-left: 8px;
}

    .signal-bars span {
        width: 5px;
        border-radius: 1px;
    }

    .signal-bars span:nth-child(1) { height: 4px; }
    .signal-bars span:nth-child(2) { height: 8px; }
    .signal-bars span:nth-child(3) { height: 12px; }
    .signal-bars span:nth-child(4) { height: 16px; }

.icon-red {
    background-color: var(--red);
    color: white;
    border-radius: 5px;
    width: 50px;
    height: 38px;
    padding: 10px 17px;
}

div.quote {
    font-style: italic;
    font-size: 1.2rem;
    text-align: center;
}

div.author {
    font-size: 0.8rem;
    text-align: center;
}

    div.author:before {
        content: "-"
    }

.icon {
    display: inline-block;
    text-align: center;
}

div.team div.player {
    margin: 5px;
    padding: 0px;
}

div.profile-img img, img.profile-img {
    margin: 0px;
    max-width: 200px;
    max-height: 130px;
    border-radius: 50%;
}

div.profile-img-large img {
    max-width: 300px;
    border-radius: 50%;
}

.profile-img-doubles { display: inline-flex; }
.profile-img-doubles img:first-child { position: relative; z-index: 1; filter: drop-shadow(3px 3px 2px rgba(0,0,0,.5)); }
.profile-img-doubles img + img { margin-left: -25px; }
.profile-img-doubles.separate img + img, .profile-img-doubles.separate a + a { margin-left: 4px; }
.profile-img-doubles.separate img:first-child { filter: none; }
.profile-img-large .profile-img-doubles img { max-width: 200px; max-height: 200px; }
.profile-img-large .profile-img-doubles img + img { margin-left: -140px; }
.match-lineup .profile-img-doubles img:first-child { filter: none; }
.match-lineup .profile-img-doubles img + img { margin-left: 5px; }

.profile-img-name {
    text-align: center;
    display: inline-block;
    margin: 0px 5px;
}

.facepile {
    display: flex;
    align-items: center;
}
.facepile img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #fff;
    object-fit: cover;
    flex: none;
}
.facepile .face {
    position: relative;
    flex: none;
}
.facepile .face .initial {
    position: absolute;
    left: 0;
    right: 5px;
    bottom: 4px;
    text-align: center;
    font-size: 11px;
    line-height: 1;
    color: #fff;
}
.facepile .face + .face {
    margin-left: -10px;
}
.facepile .more {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #e4e6e9;
    color: #666;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}
.facepile .caption {
    margin-left: 10px;
    min-width: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.day-signals {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: -6px;
}
.day-signals .signal-group + .signal-group {
    margin-left: 16px;
}
.signal-icon {
    margin-right: 3px;
}
.signal-icon .icon {
    font-size: 0.85em;
}

.large {
    font-size: 1.3em;
    font-weight: bold;
}

.large-icon {
    font-size: 1.6em;
    display: inline-block;
}

.x-large {
    font-size: 1.6em;
    font-weight: bold;
}

.xx-large {
    font-size: 2em;
    font-weight: bold;
}

.xxx-large {
    font-size: 3em;
    font-weight: bold;
}

.rankingInfo .x-large {
    min-width: 40px;
}

.rankingInfo .info {
    margin: 5px 0px 0px 10px;
    vertical-align: top;
    display: inline-block;
}

    .rankingInfo .info .name {
        display: block;
    }

    .rankingInfo .info .matches {
        font-size: 0.8em;
    }

.match .player .rank {
    min-width: 30px;
    color: var(--gray);
    text-align: right;
    margin-right: 6px;
}

.chart {
    height: 180px;
}

table.infos th, td {
    padding: 3px 6px;
}

.profile .image {
    width: 60px;
}

.spacer {
    line-height: 40px;
}

.day-picker td {
    text-align: center;
    padding: 3px;
    font-size: small;
}

    .day-picker td a {
        width: 70px;
    }

.chat {
    font-size: 14px;
    padding: 10px;
}

.content:has(.chat-fill) {
    display: flex;
    flex-direction: column;
}
.content:has(.chat-fill) > .container {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.chat-fill {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: 1;
    overflow-y: auto;
}

.agent-input {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding-left: 15px;
    padding-right: 15px;
    background-color: var(--light-gray);
    box-shadow: 0 -4px 6px -4px rgba(0, 0, 0, 0.12);
}

.agent-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.agent-input .input-wrapper {
    position: relative;
    flex: 1 1 auto;
}
.agent-input .input-wrapper input.form-control {
    padding-right: 2.5rem;
}
.agent-input .input-wrapper input.form-control[readonly] {
    --progress: 0%;
    background-image: linear-gradient(
        to right,
        #fff              0%,
        #fff              var(--progress),
        var(--light-gray) var(--progress),
        var(--light-gray) 100%
    );
}
.agent-input .input-wrapper .input-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
    color: var(--gray);
}
.agent-input .input-wrapper .input-icon:hover {
    color: var(--green);
}

.agent-input .input-wrapper .input-icon:not([data-input-id]),
.agent-input .input-wrapper .input-icon[data-input-id=""] {
    display: none;
}

body:has(.agent-input) .chat-fill { padding-bottom: 0; }

    .chat .date {
        padding: 0px;
        color: var(--gray);
        text-align: center;
    }

    .chat .match {
        text-align: center;
        margin-bottom: 5px;
    }

    .chat .btn {
        min-height: 36px;
    }

.bubble {
    padding: 4px 8px;
    margin: 5px 5px 10px 5px;
    max-width: 85%;
    border-radius: 5px;
    position: relative;
    box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.2);
}

    .bubble .time {
        color: var(--gray);
    }

    .bubble .header {
        padding-bottom: 2px;
    }

    .bubble .user a {
        color: inherit;
        text-decoration: underline;
    }

    .bubble .text > :first-child { margin-top: 0; }
    .bubble .text > :last-child { margin-bottom: 0; }
    .bubble .text ul { padding-left: 1.5em; }

.bubble-left:after {
    content: " ";
    position: absolute;
    width: 0;
    height: 0;
    left: -10px;
    right: auto;
    top: 0px;
    bottom: auto;
    border: 10px solid;
}

.bubble-right:after {
    content: " ";
    position: absolute;
    width: 0;
    height: 0;
    right: -10px;
    left: auto;
    top: 0px;
    bottom: auto;
    border: 10px solid;
    border-color: var(--light-green) transparent transparent transparent;
}

.bubble-left.bg-light-orange:after {
    border-color: var(--light-orange) transparent transparent transparent;
}

.bubble-left.bg-white:after {
    border-color: white transparent transparent transparent;
}

.bubble-right {
    margin-left: auto;
}

.bubble-center {
    margin: 5px auto 10px auto;
}

.time-picker a {
    font-size: 0.8em;
    margin: 4px;
    min-width: 60px;
}

a.btn-light-gray {
    background-color: #ffffff;
}

    a.btn-light-gray:hover {
        background-color: #dddddd;
    }

a.btn-green {
    background-color: var(--green);
    color: white;
}

    a.btn-green:hover {
        background-color: var(--dark-green);
        color: white;
    }

a.btn-orange {
    background-color: var(--orange);
    color: white;
}

    a.btn-orange:hover {
        background-color: var(--dark-orange);
        color: white;
    }

a.btn-red {
    background-color: white;
    color: var(--red);
    border: 1px solid black;
}

a.btn-black {
    background-color: black;
    color: white;
    border: 1px solid var(--dark-gray);
}

    a.btn-black:hover {
        background-color: var(--dark-gray);
        color: white;
    }

.scale-large {
    font-weight: bold;
    font-size: 2em;
}

.scale-medium {
    font-weight: bold;
    font-size: 1.4em;
}

#fader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(102, 102, 102);
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 99999;
    opacity: 0;
}

.sticky-bottom-submit {
    position: sticky;
    bottom: 1em;
    z-index: 10;
}

/* Sticky bar with its own content (e.g. a live count next to the buttons): opaque, flush bottom */
.sticky-bottom-bar {
    position: sticky;
    bottom: 0;
    z-index: 10;
    background: white;
    border-top: 1px solid #dee2e6;
}

.book-times {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 12px 8px;
}

.book-times .btn {
    width: 100%;
    white-space: nowrap;
}

@media (max-width: 1199.98px) {
}

@media (max-width: 767.98px) {
    .scale-large {
        font-size: 1.4em;
    }

    .scale-medium {
        font-size: 1.2em;
    }
}

.row,
.container-fluid {
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.check-button-group:not(.btn-group) {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
}

.check-button span::before {
    content: "\2713\00a0";
    opacity: 0;
}

.check-button.active span::before {
    opacity: 1;
}

@media (hover: hover) and (pointer: fine) {

    .check-button:hover {
        background-color: var(--green) !important;
        border-color: var(--green) !important;
        color: white !important;
    }
}

.chat .bubble .chat-action {
    display: inline-block;
    margin: 6px 6px 0 0;
    font-size: 0.9em;
}

.chat .bubble .chat-action .icon {
    font-size: 1em;
    line-height: inherit;
}

.club-pricing ul        { list-style: none; padding-left: 0; margin: 0; }
.club-pricing li        { padding: 0.25em 0; }
.club-pricing > ul > li > strong { font-size: 1.05em; }
.club-pricing ul ul        { padding-left: 0.5em; margin-top: 0.25em; }
.club-pricing ul ul li     { font-size: 0.95em; color: #555; }
.club-pricing ul ul ul li  { font-size: 0.9em;  color: #777; }
