/*!new-schedule.css*/

@import url('https://fonts.googleapis.com/css2?family=Rubik&display=swap');

.schedule {
    min-height: 100vh;
}

.lite.bracket .schedule {
    min-height: auto;
    padding-left: 0;
    padding-right: 0;
}

.lite.bracket .schedule #weeks {
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 767px) {
    #col-schedule-wrapper {
        padding: 0;
        /* Sticky descendants don't work if parent container is overflow hidden */
        overflow: visible;
    }

    .public-schedule-page #col-schedule-wrapper {
        padding: 0 0.3rem;
    }

    /** Attempts to fix width going over viewport width by adjusting margins and paddings **/
    #col-schedule-wrapper > .stickem-container.row {
        margin: 0;
    }
    #col-schedule-wrapper > .stickem-container.row .standings-wrapper,
    #col-schedule-wrapper > .stickem-container.row .schedule-panel-wrapper {
        padding: 0;
    }

    .schedule-panel, .standings-wrapper > .panel {
        border-radius: 0;
    }
}

.schedule-panel > .panel-heading {
    display: flex;
    align-items: center;
}

.schedule-panel > .panel-heading > .panel-title {
    flex: 1;
    font-size: 14px;
}

.schedule p {
    margin: 1.5em 0;
}

.schedule-maker-pro-panel.schedule-panel.ll-panel-common {
    border: none;
    border-radius: 1.6rem 1.6rem 0 0;
}

.schedule-maker-pro-panel.schedule-panel.ll-panel-common > .panel-heading {
    border-radius: 1.6rem;
}

.schedule-maker-pro-panel .admin-toggle > .inner > .toggle-label {
    font-size: 1.25rem;
}

.not-public .visible-public {
    display: none !important;
}
.public .hidden-public {
    display: none !important;
}
.not-public #floating-buttons {
    border: 0;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 10px;
    background-color: #f7f7f7;
    font-family: Raleway, Lato, Arial, sans-serif;
}
.public-schedule-page .hidden-public-schedule-page {
    display: none;
}
.public-schedule-page .visually-hidden-public-schedule-page {
    visibility: hidden;
}

#floating-buttons .private-alert {
    display: none;
    color: #707070;
}

#floating-buttons .wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

@media (min-width: 768px) {
    .not-public #floating-buttons {
        display: flex;
        justify-content: end;
    }

    #floating-buttons .wrapper {
        z-index: 2;
    }

    .not-public #floating-buttons .private-alert {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .not-public #floating-buttons,
    .not-public #floating-buttons .private-alert {
        color: #555;
    }

    .user-not-authenticated #floating-buttons {
        border: 0;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        font-size: 10px;
        background-color: #f7f7f7;
        font-family: Raleway, Lato, Arial, sans-serif;
    }

    .user-not-authenticated #floating-buttons .private-alert {
        color: #707070;
    }

    .user-not-authenticated #floating-buttons .ll-btn-admin {
        padding: 0.6rem 0.8rem;
        min-width: 100px;
        font-size: 10px;
    }
}

@media (max-width: 767px) {
    #floating-buttons .wrapper {
        display: flex;
        flex-direction: row;
        justify-content: start;
        width: 100%;
    }

    #floating-buttons .filter-buttons-toggle.visible-xs {
        display: inline-block !important;
    }

    .unclaimed.not-public #floating-buttons {
        left: 0;
        right: 0;
    }
}

#footerwrap {
    padding-bottom: 70px;
}

/* -------------------------------------------------- */
/* Various Highlight Classes */
/* -------------------------------------------------- */

.team-highlight > div {
    background: rgba(130, 195, 40, .3);
}

.schedule .schedule-match {
    border-radius: 1rem;
    margin-bottom: 1px;
}

.schedule .schedule-match .schedule-match-buttons-wrapper .button-icon,
.schedule .schedule-match .schedule-match-buttons-wrapper .icon {
    width: 1.5rem;
    justify-content: center;
}

.schedule .team-highlight:not(.bye-highlight) > .match-info {
    background: rgba(130, 195, 40, .2);
}
[data-schedule_type="tournament"] .schedule-match.bye-highlight {
    display: none !important;
}

.schedule .bye-highlight.team-highlight > div:not(.match-info) {
    background: rgba(200,0,0, .5);
    color: #f4c7c5;
}
.unscheduled .match-info, .no-possible-timeslots .match-info {
    color: #b70000;
}

.unscheduled-highlight .match-info {
    color: #b70000;
}

.unscheduled-highlight > .match-info {
    background-color: #ffdede;
}

.schedule .bye-highlight .match-info,
.schedule .bye-highlight .match-vs,
.schedule .unpaid .match-info {
    color:rgba(0,0,0,0)
}

.schedule .po-bye-highlight {
    background: rgba(120, 220, 250, .25);
}
.schedule .po-bye-highlight .match-info {
    background: rgba(120, 220, 250, .3);
}
.schedule .po-bye-highlight .match-info .datetime-dropdown,
.schedule .po-bye-highlight .match-teams .match-vs {
    visibility: hidden;
}

.free-highlight,
.free-highlight .match-info {
    background: rgba(65, 150, 65, 0.15);
}

.unregistered-highlight, .unregistered-highlight .match-info {
    background: rgba(255, 255, 150, 0.3);
}

.locked-highlight,
.locked-highlight .match-info {
    background: rgba(0, 0, 0, 0.05);
}

.locked-highlight .dropdown > .dropdown-toggle {
    cursor: default;
}

.locked-highlight .match-venue.dropdown-toggle.disabled,
.locked-highlight .match-start.dropdown-toggle.disabled,
.locked-highlight .match-referee.dropdown-toggle.disabled {
    opacity: 1 !important;
}

.violation-highlight,
.violation-highlight .match-info {
    background: rgba(217, 83, 79, 0.18);
}

.violation-highlight .match-info {
    border-top-color: rgba(0, 0, 0, 0.05);
}

.conflict-highlight,
.conflict-highlight .match-info {
    transition: background-color ease-in-out 300ms;
    position: relative;
}

.conflict-highlight:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid #b7000099;
    border-radius: 0.5rem;
    background: #b7000022;
    box-shadow: inset 0 2px 4px rgba(183, 0, 0, 0.06), inset 0 1px 2px rgba(183, 0, 0, 0.12);
}


.pink-highlight,
.pink-highlight .match-info {
    background-color: rgba(207, 101, 155, 0.1)
}

.match-with-violation {
    position: relative;
}

.match-with-violation:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px dashed #b70000;
    border-radius: 0.5rem;
}

.delay-highlight,
.delay-highlight .match-info {
    background: rgba(255, 248, 125, 0.18);
}

.winner:not(.bye) {
    font-weight: bolder;
}
.bye {
    color: #555555;
}

.unregistered-team {
    color: #555;
    font-style: italic;
}

.admin-toggles-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    transition: padding-bottom 125ms ease;
}

.admin-toggle {
    display: inline-block;
    color: #333;
    background-color: #f3f3f3;
    font-size: 1.25rem;
    border-radius: 1.6rem;
    position: relative;
    height: 28px;
    cursor: pointer;
    overflow: hidden;
}

.admin-toggle > .inner > .toggle-label {
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    padding: 0.8rem 0.5rem;
}

.admin-toggle:not(:hover).off > .inner > .toggle-label {
    color: #bdc3c7;
}

.admin-toggle > .inner > .toggle-label > .toggle-label-icon {
    margin-left: 1rem;
}

.admin-toggle > .inner {
    display: flex;
    height: 100%;
}

.admin-toggle > .inner > div {
    display: inline-block;
    padding: 0;
}

.admin-toggle:not(.compact) > .inner > div:last-child > .toggle-button,
.admin-toggle:not(.compact) > .inner > .toggle-label:last-child {
    padding-right: 0.8rem;
}

.admin-toggle.with-border-separation > .inner > div:not(:last-child) {
    border-right: 2px solid #fff;
}

.admin-toggle .toggle-label-icon {
    display: none;
}

.admin-toggle.with-label-icon .toggle-label-icon {
    display: inline-flex;
}

.admin-toggle.compact > .inner > .input-pill {
    min-width: 40px;
}

.admin-toggle.compact >.inner > .input-pill.with-eye {
    width: 36px;
}

.admin-toggle > .inner > div > input {
    margin: 0;
}

.admin-toggle .toggle-button {
    color: #777;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    height: 100%;
}

.admin-toggle .toggle-button.toggled {
    color: #106313;
}

/* .compact class already used */
.admin-toggle.admin-toggle-compact > .inner {
    display: flex;
    padding: 0.5rem 1rem;
    gap: 1rem;
}

.admin-toggle.admin-toggle-compact .toggle-button {
    padding: 0 !important;
}

#team-highlight-toggle.toggle-button.toggled,
#team-highlight-eraser.toggle-button.toggled {
    color: #21cb28;
    background-color: #e6ffe6;
}

#team-highlight-toggle.toggle-button > .highlight-toggle-off {
    display: none;
}

#team-highlight-toggle.toggle-button.toggled > .highlight-toggle-on {
    display: none;
}
#team-highlight-toggle.toggle-button.toggled > .highlight-toggle-off {
    display: inline-block;
}
.team-highlighter--enabled .match-team {
    cursor: pointer;
    user-select: none;
}
.team-highlighter--enabled .team-wrapper.draggable-hover .match-team {
    cursor: grab;
}

.team-highlight-active {
    border-radius: 0.5rem;
    background-color: var(--highlight-color, initial);
    color: var(--text-color, initial);
}

.admin-toggle > .inner > .input-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0.8rem;
}

.admin-toggle >.inner > .input-pill > .pretty {
    margin: 0;
}

.admin-toggle >.inner > .input-pill input {
    margin: 0;
}

.admin-toggle >.inner > .input-pill > .pretty.p-switch .state::before {
    border-color: #777;
}

.admin-toggle >.inner > .input-pill > .pretty.p-switch .state label::after {
    background-color: #777 !important;
}

.admin-toggle >.inner > .input-pill > .pretty.p-switch input:checked ~ .state::before {
    background-color: #777 !important;
}

.admin-toggle >.inner > .input-pill > .pretty.p-switch input:checked ~ .state label::after {
    background-color: #f3f3f3 !important;
}

#toggle-past-matches .pretty.p-toggle .state.p-off .icon {
    color: inherit;
}

#toggle-past-matches:not(:hover) .pretty.p-toggle .state.p-on .icon {
    color: #bdc3c7;
}

@media (min-width: 768px) {
    .fixed-top {
        position: fixed;
        top: 0;
    }

    .sticky-top {
        position: sticky;
        top: 0;
        left: 0;
        z-index: 4;
        transition: padding 125ms ease;
    }

    .sticky-top.sticky {
        padding-top: 0.25rem !important;
        padding-bottom: 0.25rem !important;
        transition: padding 125ms ease;
    }

    .schedule-toolbar .admin-toggle:hover {
        background-color: rgb(230, 255, 230);
        justify-content: center;
        align-items: center;
    }

    .schedule-toolbar .admin-toggle:hover > .inner::after {
        content: '';
        width: calc(100% - 28px);
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        pointer-events: none;
    }

    .schedule-toolbar .admin-toggle:hover > .inner > div:not(:last-child) {
        border-color: transparent;
    }

    .schedule-toolbar .admin-toggle:hover,
    .admin-toggle:hover .toggle-button,
    .admin-toggle:hover .input-pill,
    .admin-toggle:hover .toggle-label {
        color: #21cb28;
    }

    .schedule-toolbar .admin-toggle:hover .toggle-button.toggled {
        color: #106313;
    }

    .schedule-toolbar .admin-toggle:hover > .inner > .input-pill > .pretty.p-toggle .state.p-off .icon {
        color: #62d566;
    }

    .schedule-toolbar .admin-toggle:hover > .inner > .input-pill > .pretty.p-switch .state::before {
        border-color: #21cb28;
    }

    .schedule-toolbar .admin-toggle:hover > .inner > .input-pill > .pretty.p-switch .state label::after {
        background-color: #21cb28 !important;
    }

    .schedule-toolbar .admin-toggle:hover > .inner > .input-pill > .pretty.p-switch input:checked ~ .state::before {
        background-color: #21cb28 !important;
    }

    .schedule-toolbar .admin-toggle:hover > .inner > .input-pill > .pretty.p-switch input:checked ~ .state label::after {
        background-color: rgb(230, 255, 230) !important;
    }

    .schedule-toolbar .admin-toggle.compact {
        margin: 0;
        border-radius: 0;
    }
    .schedule-toolbar .admin-toggle.compact + .admin-toggle.compact {
        margin-left: 0.25rem;
    }
    .schedule-toolbar .admin-toggle.compact .input-pill {
        display: none;
    }
    .schedule-toolbar .admin-toggle.compact.first {
        border-top-left-radius: 6px;
        border-bottom-left-radius: 6px;
    }
    .schedule-toolbar .admin-toggle.compact.first .input-pill {
        display: flex;
        justify-content: center;
        padding-left: 0.5rem;
    }
    .schedule-toolbar .admin-toggle.compact.last {
        border-top-right-radius: 6px;
        border-bottom-right-radius: 6px;
    }
    .schedule-toolbar .admin-toggle.compact .toggle-label-icon {
        display: none;
    }
}

.public-schedule-toolbar {
    border-bottom: 1px solid oklch(0.97 0.001 106.424);
    position: relative;
}

.public-schedule-toolbar.scroll-toggle-listener.scroll-toggle-sticky.scroll-sticky-on {
    z-index: 10;
    background-color: #fff;
    width: 100%;
    border-bottom: none;
    transform: translateY(var(--sticky-y, 0));
    padding-left: var(--sticky-left, 0);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.public-schedule-toolbar.scroll-toggle-listener.scroll-toggle-sticky {
    transition-property: padding;
    transition-duration: .125s;
    transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
}

.public-schedule-toolbar.scroll-toggle-listener.scroll-toggle-sticky .ll-btn.btn {
    transition-property: width, padding, transform;
    transition-duration: .125s;
    transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
}

.public-schedule-toolbar.scroll-toggle-listener.scroll-toggle-sticky .toolbar-icon {
    transition: font-size .125s cubic-bezier(0.215, 0.610, 0.355, 1.000);
}

.public-schedule-toolbar.scroll-toggle-listener.scroll-toggle-sticky .toolbar-label {
    transition-property: opacity, height;
    transition-duration: .125s;
    transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
}

.public-schedule-toolbar.scroll-toggle-listener.scroll-toggle-sticky.scroll-sticky-on .toolbar-label {
    height: 0;
    opacity: 0;
}

.public-schedule-toolbar.scroll-toggle-listener.scroll-toggle-sticky.scroll-toggle-on:not(.scroll-sticky-on) {
    display: none;
}

.public-schedule-toolbar .public-schedule-tabs .ll-btn.btn {
    border: none;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .public-schedule-toolbar.scroll-toggle-listener.scroll-toggle-sticky .ll-btn.btn  {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        gap: 1rem;
    }

    .public-schedule-toolbar.scroll-toggle-listener.scroll-toggle-sticky.scroll-sticky-on .ll-btn.btn {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        flex: 1 1 0;
        min-width: auto;
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 767px) {
    .public-schedule-toolbar .ll-btn.btn {
        font-size: 1.6rem !important;
        padding: 0.8rem 1rem;
        border-radius: 2rem;
        margin: 0;
        display: flex;
        flex-direction: column;
        background-color: transparent;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1 1 auto;
        max-width: 18rem;
        box-shadow: none;
    }

    .public-schedule-toolbar [data-lltab].ll-btn.btn {
        min-width: 9rem;
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }

    .public-schedule-toolbar .ll-btn.btn:hover {
        background-color: transparent;
    }

    .public-schedule-toolbar .ll-btn.btn:focus,
    .public-schedule-toolbar .ll-btn.btn:active {
        box-shadow: none !important;
    }

    .public-schedule-toolbar .toolbar-icon {
        font-size: 1.8rem;
    }

    .public-schedule-toolbar .toolbar-label {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .public-schedule-toolbar .schedule-filters-toggle .notification-icon {
        top: -2px;
        right: -3px;
    }

    .public-schedule-toolbar.scroll-toggle-sticky.scroll-sticky-on .schedule-filters-toggle .notification-icon {
        top: 0;
        right: 5px;
    }

    .admin-toggles-container {
        gap: 1rem;
    }

    #team-highlighter {
        flex: 1;
        margin: 0;
    }

    .admin-toggle {
        margin: 0;
        height: auto;
    }

    .admin-toggle:not([data-toggle="dropdown"]) {
        flex: 0 0 calc(50% - 0.5rem);
    }

    .admin-toggle,
    .admin-toggle .toggle-label {
        font-size: 1.4rem !important;
        color: #777;
    }

    .admin-toggle,
    .admin-toggle .toggle-label {
        font-size: 1.4rem !important;
    }

    .admin-toggle >.inner .toggle-button,
    .admin-toggle > .inner > .input-pill {
        padding: 1rem;
    }

    .admin-toggle[data-toggle="dropdown"] .toggle-label {
        padding-right: 1.5rem !important;
    }
}

/** Overlay between navbar and toolbar to hide background content while animating. **/
.public-schedule-toolbar.translate-down-reveal-up.scroll-toggle-listener.scroll-toggle-toggling::before {
    position: absolute;
    top: -10px;
    left: 0;
    content: ' ';
    width: 100%;
    height: 0;
    z-index: -1;
    background-color: #fff;
}

.public-schedule-toolbar.translate-down-reveal-up.scroll-toggle-listener.scroll-toggle-toggling::before {
    height: 10px;
    transition: height .275s cubic-bezier(0.215, 0.610, 0.355, 1.000);
}

.match-vs .badge.dupe-count,
.badge.dupe-count {
    display: none;
}

.dupe-highlight .badge.dupe-count,
.dupe-highlight .match-vs .badge.dupe-count {
    display: inline-flex;
    position: absolute;
    left: -22px;
    top: 4px;
    cursor: default;
}

@media (min-width:1200px) {
    .dupe-highlight .badge.dupe-count,
    .dupe-highlight .match-vs .badge.dupe-count {
        left: -2px;
        margin: 0 0.5rem;
    }
}

.schedule .schedule-match.updating {
    position: relative;
}

.schedule .schedule-match.updating > .updating-overlay {
    background: rgba(255, 255, 255, 0.3);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.schedule .schedule-match.updating > .updating-overlay > span {
    color: rgba(0, 0, 0, 0.3);
    font-size: 26px;
}

.schedule .lock-week-toggle {
    font-size: 14px;
    padding: 5px;
}

.top-schedule-extra-admin-buttons-container {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    border: 2px dashed #ededed;
    border-left: 0;
    border-right: 0;
}

.schedule .lock-all-toggle > span {
    padding: 10px;
}

.schedule .lock-toggle.disabled,
.schedule .lock-date-toggle.disabled,
.schedule .lock-week-toggle.disabled,
.schedule .lock-all-toggle.disabled {
    cursor: progress !important;
}

.schedule .review-flag-toggle {
    opacity: .5;
}

.schedule .review-flag-toggle.on {
    opacity: 1;
    color: #ef5454;
}

/*Filter classes*/

.free-highlight,
.free-slots--hidden .free-highlight {
    display: none;
}

.free-slots--shown .free-highlight {
    display: block;
}

.free-slots--shown .only-free-slots-alert {
    display: none;
}

.scored--hidden .scored-match--hidden {
    display: none;
}

.locked--hidden .locked-highlight {
    display: none;
}

.past--hidden .past-match--hidden {
    display: none !important;
}

.filter--on .filter--hidden:not([data-filter-effect]) {
    display: none !important;
}

.filter--on .filter--hidden[data-filter-effect="muted"] {
    opacity: .6;
}

.filter--on .filter--hidden.rendering-brackets {
    display: block !important;
    visibility: hidden !important;
}

.schedule--playoff.loading-brackets {
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}


/* -------------------------------------------------- */
/* Standings */
/* -------------------------------------------------- */

.standings {
    padding-top: 15px;
    overflow-x: scroll;
}

#standings-toggle:active .panel-title-text,
#standings-toggle:hover .panel-title-text {
    text-decoration: underline;
}

.standings-toggle-container > span {
    display: inline-block;
    width: 14px;
}

.scorers,
.standings > *:not(button) {
    color: #333333;
    font-weight: 300;
}
.standings-sort-description {
    line-height: 1;
}

.standings > .row {
    padding-left: 6px;
    padding-right: 6px;
}

.standings .table>thead>tr>th {
    border-bottom: 1px solid #EEEEEE;
}

.standings .table-hover>tbody>tr:hover {
    background-color: #e6e6e6;
}

.standings .division-standings .col-xs-12 {
    padding: 0 3px;
}

.standings td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.standings .group-standings-title {
    border-radius: 1rem;
}

.standings-sort-description {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #ddd;
}

.schedule .schedule-week {
    margin-bottom: 15px;
}

.schedule .schedule-week:focus-visible,
*:focus-visible {
    outline: none;
}

.schedule .schedule-week .week-title,
.division-standings h3 {
    color: #333333;
    margin: 0;
}
.schedule .schedule-week .week-title a {
    color: #333;
}

.schedule .schedule-date .date-grouper,
.schedule .playoff .schedule-date h5 {
    border-radius: 1rem;
    margin-bottom: 0.2rem;
}

.schedule .schedule-date .date-grouper.sticky {
    position: sticky;
    z-index: 3;
    transition: var(--topbar-top-transition);
}

.schedule .schedule-date .date-grouper.sticky .week {
    font-size: 85%;
    margin-left: 0.25rem;
}

.schedule .schedule-date .date-grouper:not(.sticky) .week {
    display: none;
}

.schedule .schedule-date.schedule-day--slice .date-grouper {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .schedule .schedule-date.schedule-day--slice .date-grouper {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

.schedule .schedule-date.schedule-day--slice .slice-control,
.schedule .schedule-date.schedule-day--slice .slice-control--datepicker-toggle {
    font-size: 1.6rem;
}

.schedule h5,
.group-standings h5 {
    padding: 7px 5px;
    margin: 0 -15px 5px;
    background: #555555;
    color: #eeeeee;
    margin-bottom: 0;
    font-weight: normal;
}

.division-standings + .division-standings {
    margin-top: 30px;
}

tr.last-playoff-spot.standings-row {
    border-bottom: 1px solid #eee;
}

.standings th:nth-child(n+3),
.standings td:nth-child(n+3) {
    text-align: center;
}

.standings .seed-highlight {
    border-left: 2px solid #43a047;
}

.standings .disqualified-highlight {
    border-left: 2px solid rgb(239 68 68);
}

@media (min-width: 768px) {
    .standings-toggle-container {
        font-size: 85%;
    }

    .standings {
        overflow-x: auto;
    }

    .standings td {
        max-width: 170px;
    }
}

@media screen and (min-width: 992px) {
    .scorers,
    .standings {
        margin-right: 0;
        margin-left:  0;
    }

    .stickem-container {
        position: relative;
    }

     .stickit-end {
        bottom: 0;
        position: absolute;
    }

     .stickem-placeholder {
        height: 1px;
    }

     .stickem {
        position: absolute;
    }

     .stickit {
        position: fixed;
    }

}

@media screen {
    .stickem-sticky.stickem-container {
        position: relative;
    }
    
    .stickem-sticky .stickit-end {
        bottom: var(--stickem-stickit-end-bottom, 0);
        position: absolute;
    }
    
    .stickem-sticky .stickem-placeholder {
        height: 1px;
    }
    
    .stickem-sticky .stickem {
        position: absolute;
    }
    
    .stickem-sticky .stickit {
        position: fixed;
    }
}

@media (max-width: 991px) {
    .stickem-sticky .stickem {
        position: initial;

    }

    .standings-wrapper.stickem {
        position: initial;
        width: 100% !important;
    }
}

.rules-modal p {
    font-family: Raleway, Lato, Arial, sans-serif;
}

.calendar-modal p,
.calendar-modal li {
    font-family: Raleway, Lato, Arial, sans-serif;
    font-size: 14px;
}

/* -------------------------------------------------- */
/* Custom Standings Modal (select, view, forms...)    */
/* -------------------------------------------------- */

#standings-modal {
    overflow-y: auto;
}

#standings-modal .standings-select-form-group {

}

#standings-modal .ll-selectpicker-btn {
    padding-right: 3rem;
}

#standings-modal .standings-select-form-group .bootstrap-select > .ll-btn:hover,
#standings-modal .standings-select-form-group .bootstrap-select > .ll-btn:focus {
    z-index: 3;
}

#standings-modal .ll-alert.alert {
    padding: 1.6rem;
    border-radius: 1.6rem;
}

#standings-modal .ll-alert.alert > .inner > .message {
    padding: 0;
    text-align: left;
}


#standings-modal .alert a {
    text-decoration: underline;
    color: inherit;
}

#standings-modal .text-label {
    font-weight: 700;
    font-size: 14px;
    max-width: 100%;
    margin-bottom: 5px;
}

#standings-modal .standings-form {
    margin-top: 17px;
}

#standings-modal .standings-form #id_decimals {
    max-width: 100px;
}

#standings-modal .standings-form  .toggle label {
    margin: 0;
}

#standings-modal .sort a {
    display: block;
    width: 13px;
    height: 13px;
    outline: none;
    text-align: center;
}

#standings-modal .block {
    display: flex;
    align-items: center;
}

#standings-modal .columns .sortable-item-input {
    font-weight: 500;
    padding: 0.5rem 1.5rem;
}

#standings-modal .property.name {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-align: left;
    padding: 0;
}

#standings-modal .scoring .column {
    padding-left: 30px;
    cursor: default;
}

#standings-modal .header {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-left: 5px;
}

#standings-modal .headers > .header > .header-inner {
    text-align: center;
    padding: 0 3px 2px 2px
}

#standings-modal .update-points-btn {
    margin-top: 10px;
}

#standings-modal .modal-footer .btn {
    margin-right: 0.5rem;
}

#standings-modal .modal-footer .btn + .btn {
    margin-left: 0;
}

@media (min-width: 992px) {
    #standings-modal .modal-dialog {
        width: 800px;
    }
}

@media screen and (max-width: 991px) {
    #standings-modal .modal-footer .pull-right {
        width: 100%;
    }

    #standings-modal .modal-footer .btn {
        width: 100%;
        padding-top: 1rem;
        padding-bottom: 1rem;
        margin: 0.5rem 0
    }
}

#standings-modal .modal-header a.disabled {
    cursor: default;
}

#standings-modal .toggle-block label {
    margin-bottom: 0;
}

#standings-modal .toggle-block .help-block {
    margin-top: -5px;
}

#standings-modal .search {
    display: block;
}

#standings-modal .search input[type="text"] {
    min-width: 100%;
}

#standings-modal .search .icons .icon.clear {
    margin-top: -10px;
}


@media screen and (min-width: 768px) {
    #standings-modal .column {
        padding-right: 1rem;
    }
}

#standings-modal .columns-block .column form > .row {
    display: flex;
    margin: 0;
}

#standings-modal .columns-block .column .send-to-section-block {
    display: flex;
    padding: 0;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 767px) {
    #standings-modal .columns-block .column {
        padding-bottom: 3rem;
    }

    #standings-modal .columns-block .column .block:nth-child(2) {
        flex-direction: column;
    }

    #standings-modal .columns-block .column .send-to-section {
        font-size: 20px;
    }

    #standings-modal .property.name {
        font-size: 14px;
    }

    #standings-modal .header.visible-xs {
        margin-top: 12px;
        padding-left: 15px;
    }

    #standings-modal .column .drag-handle-container {
        padding-top: 6px;
    }

    #standings-modal .column .drag-handle {
        font-size: 20px;
    }

    #standings-modal .modal-footer button.save-as-new-btn,
    #standings-modal .modal-footer button.save-btn {
        float: left;
    }

    #standings-modal .modal-footer button {
        margin-top: 6px;
    }

    #standings-modal .scoring .column form > .row {
        flex-direction: column;
    }
}

/* -------------------------------------------------- */
/* Manage Venues */
/* -------------------------------------------------- */
.venue-help li {
    position: relative;
    margin-left: 30px;
    margin-bottom:6px;
    line-height:1.2;
}

.venue-help li i.fa {
    position: absolute;
    left: -30px;
    top:5px
}


/* -------------------------------------------------- */
/* Schedule */
/* -------------------------------------------------- */

.schedule {
}

.schedule > *:not(button,.alert) {
    color: #000000;
}

.schedule .top-schedule-alerts .alert {
    border: none;
    margin-top: 0;
    margin-bottom: 5px;
}

.schedule .top-schedule-alerts .alert .close-wrapper button {
    position: relative;
}

.public-schedule-page .schedule .top-schedule-alerts .alert {
    border-radius: 1.6rem;
    font-size: 1.25rem;
    padding: 1rem;
}

.public-schedule-page .schedule .top-schedule-alerts .alert .close {
    font-size: 1.8rem;
    right: 0;
    top: 0;
}

.admin-rights .schedule .top-schedule-alerts {
    margin: 0 -1.5rem;
}

.schedule .top-schedule-alerts .alert .icon {
    margin-right: 3px;
}

.top-schedule-alerts .highlight-unscheduled-toggle {
    transition: all 150ms ease-in-out;
    opacity: .6;
}

.top-schedule-alerts .highlight-unscheduled-toggle.active {
    opacity: 1;
}

.schedule #all-violations-toggle {
    cursor: pointer;
    font-size: 12px;
}

.schedule #all-violations-toggle i {
    font-size: 10px;
}

.match-info {
    font-size: 80%;
    color: #666666;
    line-height: 1.5em;
    padding: 0.3rem 0.6rem;
    border-top: 1px solid #EEEEEE;
    background: #fafbfb;
    border-radius: 1rem;
}

.match-info .match-division,
.match-info .match-playoff {
    transition: filter 150ms ease-in;
}

.match-info .match-playoff .match-playoff-expand {
    font-size: 0.875rem;
}

.match-info .match-division:hover,
.match-info .match-playoff:hover {
    filter: brightness(60%);
}

.match-referee {
    color: #222;
    white-space: nowrap;
}

.schedule-match .referee-dropdown .main-referee.active {
    font-weight: 700;
}

.schedule-match .referee-dropdown .assigned-referee {
    display: none;
}

.schedule-match .referee-dropdown .assigned-referee.active {
    display: inline-block;
}

.live-search-block {
    padding: 0 2rem;
    margin: 0.5rem 0;
}

.live-search-block input[type="search"] {
    width: auto;
}

.schedule .schedule-week .week-title {
    position: relative;
    margin-bottom: 0.15rem;
}

.off-week-wrapper .off-week h3.week-title {
    text-transform: uppercase;
    text-align: center;
    color: #ececec;
    background: #555;
    padding: 20px 0;
    margin: 0.5rem 0 !important;
    font-weight: 100;
    border-radius: 1.6rem;
}
.off-week-wrapper {
    margin: 40px 0 20px;
}
.off-week {
    margin-top: 1px !important;
}

.schedule .schedule-playoff-round h5,
.schedule .bracket-heading {
    background: rgba(255,255,255,.5);
    color: #2c2c2c;
}
.schedule .schedule-playoff-round h5 {
    margin-top: 1px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 6px;
    font-weight: 800;
    color: #424242;
}

.schedule .schedule-playoff-round h6 {
    border-top: 1px solid #e5e5e5;
    padding-left: 4px;
    padding-top: 6px;
    padding-bottom: 4px;
    margin: 0 -15px;
    font-weight: 600;
    color: #999;
    background: #f5f5f5;}

.schedule .schedule-playoff-round {
    margin-bottom: 10px;
}

.schedule .schedule-playoff-round.bye-round .po-bye-highlight {
    background: rgba(180, 180, 220, 0.25);
}
.schedule .schedule-playoff-round.bye-round .po-bye-highlight .match-info {
    background: rgba(115, 125, 126, 0.3);
}

.match-teams .team-wrapper:first-child,
.match-teams .team-wrapper.left-team {
    padding-right: 0;
}

.match-teams .team-wrapper:last-child,
.match-teams .team-wrapper.right-team {
    padding-left: 0;
}

.match-info > .row > div,
.match-teams > .team-wrapper {
    padding-right: 0;
    padding-left: 0;
}
.match-info > .row {
    margin-right: 0;
    margin-left: 0;
}
.match-teams.row {
    margin-right: -4px;
    margin-left: -4px;
    padding-bottom: 1px;
}

.simple.schedule .match-teams {
    padding: 0.5rem 0;
}

.schedule-match > div {
    /*separate text from screen edge*/
    padding-left: 4px;
    padding-right: 4px;
}

.match-teams > div {
    padding-bottom: 0;
}

.team-wrapper .match-team {
    display: inline-flex;
    align-items: center;
    column-gap: 0.5rem;
}

.team-wrapper:first-child .match-team {
    text-align: left;
}

.team-wrapper.left-team {
    display: inline-flex;
    justify-content: flex-start;
}

.team-wrapper.left-team .match-team {
    padding-left: 0.5rem !important;
}

.team-wrapper.left-team .match-team .team-display {
    order: 1;
}

.team-wrapper.left-team .match-team .forfeit-indicator {
    order: 2;
}

.team-wrapper:last-child .match-team {
    text-align: right;
}

.team-wrapper.right-team {
    display: inline-flex;
    justify-content: flex-end;
}

.team-wrapper.right-team .match-team {
    padding-right: 0.5rem !important;
}

.team-wrapper.right-team .match-team .team-display {
    order: 2;
}

.team-wrapper.right-team .match-team .forfeit-indicator {
    order: 1;
}

span.team-name {
    display: inline-block;
    max-width: 70%;
    white-space: nowrap;
    overflow: hidden;
}

.team-wrapper .match-team,
.team-wrapper {
    height: 1.8em;
}

.score-inputs {
    display: none;
}
.entering-scores #score-form[data-scoring-permission] .score-inputs,
.entering-scores .schedule-match[data-scoring-permission] .score-inputs {
    display: block;
}
.entering-scores #score-form[data-scoring-permission] .static-scores,
.entering-scores .schedule-match[data-scoring-permission] .static-scores {
    display: none;
}

.entering-scores .bye-highlight .score-inputs {
    display: none !important;
}

.visible-entering-scores {
    display: none !important;
}

.entering-scores .visible-entering-scores {
    display: initial !important;
}

.entering-scores .hidden-entering-scores {
    display: none !important;
}

.match-vs {
    min-height: 1.8em;
}
/* V/@ */
.match-vs span.hidden-print {
    color: #757575;
}

.schedule.simple .schedule-match .match-teams .match-vs {
    display: flex;
    align-items: center;
    justify-content: center;
}

.schedule .schedule-match .match-teams .match-vs {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    padding-left: 0;
    padding-right: 0;
}

.schedule .schedule-match .score-inputs {
    position: relative;
    width: 61px; /* 25px for each input + 10px for the : separator */
    margin: 0 auto;
}

.schedule.simple .schedule-match .score-inputs {
    width: auto;
}

.schedule .schedule-match .score-inputs .expand-scores {
    position: absolute;
    left: 60px;
    top: 4px;
    font-size: 10px;
}
@media (max-width: 767px) {
    .schedule .schedule-match .score-inputs .expand-scores {
        display: none;
    }
}

@media (min-width: 768px) {
    .collapse-extra-scores-wrapper {
        display: none;
    }

    .lite .schedule .top-schedule-alerts .ll-alert {
        border-radius: 1.6rem;
    }
}

.schedule .schedule-match .score-inputs .expand-scores a {
    padding: 2px 5px;
}

.schedule .schedule-match .score-inputs .expand-scores a,
.schedule .schedule-match .score-inputs .expand-scores a:focus {
    outline: none;
}

.schedule .schedule-match .extra-scores .extra-scores-wrapper {
    display: inline-block;
}

.schedule .schedule-match .extra-scores .extra-score {
    color: #808080;
    font-size: 12px;
    margin: 0 1px;
}

.schedule .schedule-match .extra-scores .ot-label {
    color: #808080;
    font-size: 12px;
    margin: 0 -1px 0 0;
}

#score-form .schedule .schedule-match .extra-score-input-group {
    margin-top: -3px;
    margin-bottom: 3px;
}

#score-form .schedule .schedule-match .extra-score-input-group .block-label {
    margin-bottom: -3px;
}

#score-form .schedule .schedule-match .extra-score-inputs {
    margin-top: 2px;
}

#score-form .schedule .schedule-match .ot-scores {
    margin-top: -4px;
}
.schedule .schedule-match .ot-scores {
    margin-top: -9px;
}
#score-form .schedule .schedule-match .subscores {
    margin-top: -4px;
    margin-bottom: 0;
}
.schedule .schedule-match .subscores {
    margin-top: -9px;
    margin-bottom: 4px;
}

.schedule .schedule-match .score-inputs input.disabled,
.schedule .schedule-match .score-inputs input:disabled {
    background-color: #fafafa;
}

.schedule .schedule-match .match-comment,
.schedule .schedule-match .match-comment * {
    font-size: 11px;
    color: #666666;
    line-height: 18px;
}

.schedule .schedule-match .match-comment p {
    margin: 0;
}

.date-dropdown-menu {
    text-align: center;
    font-family: Raleway, Lato, Arial, sans-serif;
}

.date-dropdown-menu > li > input {
    display: inline-block;
}

/** Match violation **/

.schedule .violations .inner {
    padding: 0;
}

.schedule .violations .inner > ul {
    margin: 0;
}

.schedule .violations-block {
    color: #b70000;
}

.schedule .schedule-match  .violations-block {
    padding: 0;
}

.schedule .schedule-match  .violations-block > .row {
    margin-left: 0;
    margin-right: 0;
}

.schedule .schedule-match .view-violations {
    font-size: 11px;
    font-style: italic;
    cursor: pointer;
}

.schedule .schedule-match .view-violations .caret {
    margin-bottom: 2px;
}

.schedule .schedule-match .violations {
    font-size: 13px;
}

.schedule .schedule-match .violations ul > li > ul > li {
    margin-left: 18px;
}

.schedule .dropdown-menu .close {
    margin-right: 10px;
    font-size: 100%;
}

.schedule .schedule-match .violations .inner {
    background: rgba(217, 83, 79, 0.10);  /* like .violation-highlight but with less alpha */
}

.schedule .violations .violation-item {
    display: flex;
    padding: 0.5rem 2rem;
}

.schedule .violations .violation-item:nth-child(2n),
.schedule .violations .violation-item:nth-child(2n) .highlight {
    background-color: rgba(217, 83, 79, .25);
}

.violation-item .violation-content {
    display: flex;
    width: 100%;
    flex-direction: column;
}

.violation-item .violation-header {
    margin-bottom: 0.5rem;
}

.violation-item .violation-header .violation-title {
    display: inline-flex;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 0 0.5rem 0.1rem;
    border-radius: 0.8rem;
}

.violation-item  .violation-body {
    display: flex;
    width: 100%;
    cursor: pointer;
    flex: 1;
}

.violation-body .badge-block {
    display: inline-block;
    background-color: #e7c7c6;
    border-radius: 0.8rem;
    padding: 0 0.5rem 0.2rem;
}

.violation-item .violation-body .parts-block {
    margin-left: 3rem;
}

.violation-item .part-item .icon-wrapper {
    margin-right: 1rem;
}

.violation-item .violation-body .target-block {
    display: flex;
}

.violation-item .violation-body .target-title {
    margin-right: 1rem;
    width: clamp(50px, 100%, 100px);
}

.violation-item .violation-body .target-subtitle {
    flex: 1;
}

@media (min-width: 768px) {
    .violation-item  .violation-body .target-block {
        width: 50%;
    }

    .violation-item .violation-body.with-table .target-block,
    .violation-item .violation-body.with-table .parts-block {
        flex: 1;
    }
}

@media (max-width: 767px) {
    .violation-item  .violation-body {
        display: block;
    }
    .violation-item  .violation-body .target-block {
        margin-bottom: 0.5rem;
    }

    .violation-item .violation-body.with-table .parts-block {
        margin-left: 0;
    }
}

/** Shared violation styles: violation in .schedule-match and violation alert on modals **/

.violation-body {
    font-weight: normal;
}

.violation-body .target-block {
    text-align: left;
}

.violation-body .target-title {
    font-weight: 700;
}

.violation-body .parts-block {
    margin-left: 1rem;
}

.violation-body .parts-block > .part-item {
    width: 100%;
    display: flex;
}

.violation-body .parts-block > .part-item > .icon {
    display: inline-block !important;
    width: 14px;
    font-size: 14px !important;
}

.violation-body .highlight {
    background-color: rgba(255, 255, 255, .3);
}
.violation-body .match-list .match {
    margin-bottom: 0.5rem;
}

.violation-body .match-list .match .matchup {
    font-weight: 700;
}

/** Violation alerts on modals **/

.violation-breakdown .violation-breakdown-title,
.violation-breakdown .violation-breakdown-title .small {
    color: inherit;
    font-weight: bold;
}

.violation-breakdown .violation-list {
    margin: 0 2px;
}

.violation-breakdown .violation-list,
.violation-breakdown .violation-list ul {
    padding: 0;
}

.violation-breakdown .violation-list li {
    list-style: none;
}

.violation-breakdown .violation-list > li > ul > li {
    list-style: circle;
    margin-left: 15px;
}

.violation-list-wrapper {
    width: 100%;
}

.violation-breakdown .match-list-violations .match-violations {
    padding: 0 1px;
}

.violation-breakdown .match-list-violations .violation-item-container {
    border: 2px dashed rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    margin-bottom: 10px;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.1);
}

.violation-breakdown .violation-list .violation-title {
    font-size: 14px;
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.15);
    padding: 0.2rem 0.7rem;
    border-radius: 0.8rem;
    font-weight: normal;
}

.violation-breakdown .violation-list .violation-body .target-block {
    margin-bottom: 0.5rem;
}

.violation-breakdown .violation-list .violation-body .border-block.small {
    font-size: 85%;
}

.schedule .dropdown-menu input[type=text],
.schedule .dropdown-menu input[type=number] {
    width: 100px;
    margin: 0 15px;
    padding: 15px 5px;
    text-align: center;
    color: #333333;
}

.ui-timepicker-wrapper .ui-timepicker-list li {
	padding-left: 20px;
	padding-right: 20px;
	text-align: center;
}

.schedule .dropdown-menu .btn {
    width: 100px;
    margin: 15px;
    color: #ffffff;
}

.match-vs input,
#score-form .match-vs input,
#score-form .extra-score-inputs input {
    width: 25px;
    padding: 0 2px;
    font-size: 13px;
    margin: 0 -2px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
}

.match-vs input:focus,
#score-form .match-vs input:focus,
#score-form .extra-score-inputs input:focus {
    outline: 1px solid #d5d5d5;
}

.schedule.simple .match-vs {
    font-size: 16px;
}

#score-form .schedule.simple .score-inputs input {
    font-size: 16px;
    padding: 0.3rem;
    width: 28px;
    height: 28px;
    border-radius: 0.8rem;
    margin: 0 0.1rem;
}

.schedule-week > h3 > .btn {
    visibility: hidden;
}

.schedule-week:hover > h3 > .btn {
    visibility: visible;
}

.fixture {
    font-weight: bolder;
    margin-right: 10px;
}

.team-color[style="color: #ffffff;"]{
    text-shadow: 0 0 1px #333;
}
.team-color.primary,
.team-color.secondary {
    margin-right: 8px;
    display: inline-block;
    position: relative;
}

.team-color.secondary {
    margin-right: -32px;
    margin-left: 8px;
}

.past {
    display: none;
    /*opacity: .7;*/
}

.past-hide {
    display: none;
}

.match-number {
    color: #000000;
    margin-right: 7px;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
    background: #C5E1A5;
    font-weight: bold;
    color: #33691E;
}

.ui-state-active:hover,
.ui-widget-content .ui-state-active:hover,
.ui-widget-header .ui-state-active:hover {
    background: #C5E1A5;
    font-weight: bold;
    color: #2b5b1a;
}

.ui-draggable-helper {
    background: rgba(100,100,100,0.3);
}
.match-team.ui-draggable-helper,
.match-teams.ui-draggable-helper {
    padding: 2px 5px;
}

@media (max-width: 767px) {
    .schedule .dropdown-menu > li > a {
        color: #1d1d1d;
    }

    /** Attempts to fix width going over viewport width by adjusting margins and paddings **/
    .container.content {
        padding: 0;
        /** For sticky elements to work **/
        overflow: visible;
    }
    .container.content > .row,
    .container.content .above-schedule-column,
    .container.content #section-edit-wrapper .schedule-action-buttons-wrapper {
        margin: 0;
    }
    .container.content > .row > .section-edit,
    .container.content > .row > #section-edit-wrapper > .section-edit {
        padding: 0;
    }
    .container.content > .row .schedule-maker-lite-panel-wrapper {
        padding: 0 0.3rem;
    }
    .bracket .container.content > .row .schedule-maker-lite-panel-wrapper {
        padding: 0 1.5rem;
    }

    .bracket .container.content > .row .schedule-maker-lite-panel-wrapper .playoff-brackets {
        padding-left: -1.5rem;
        padding-right: -1.5rem;
    }

    .container.content > .row > #section-schedule-wrapper > #schedule-column {
        margin: 10px 0;
        padding: 0;
    }

    .container.content > .row > .section-edit.section-edit-lite {
        padding-bottom: 1rem;
    }
}

.reallocate-week-btn, .clear-schedule-from-week-btn {
    display: none;
}

#schedule-column .reallocate-week-btn,
#schedule-column .clear-schedule-from-week-btn {
    display: initial;
}
#schedule-column .clear-schedule-from-week-btn {
    border-width: 2px;
    border-style: dashed;
    opacity: 0;
    transition: opacity .15s ease-in;
}
#schedule-column .week-title:hover .clear-schedule-from-week-btn {
    opacity: 1;
    transition: opacity .15s ease-in;
}

.week-action-buttons {
    display: inline-flex;
}

.week-action-buttons .action-button {
    font-size: 14px;
    padding: 0.5rem;
    margin: 0 0.5rem;
    cursor: pointer;
}

.week-action-buttons .swap-week-dropdown-menu {
    box-shadow: none;
}

.swap-week-dropdown-menu {
    max-height: 250px;
}

/* -------------------------------------------------- */
/* Admin Buttons */
/* -------------------------------------------------- */

.admin-buttons {
    margin-top: 1em;
}

.admin-buttons .btn {
    margin-top: 1em;
    width: 200px;
}

/* -------------------------------------------------- */
/* Filter Buttons */
/* -------------------------------------------------- */

.muted {
    opacity: 0.5;
}

.filter-buttons-wrapper.in,
.filter-buttons-wrapper.collapsing {
    display: flex !important;
}

.filter-buttons-container {
    display: flex;
    width: 100%;
}

.filter-buttons-container .filter-buttons {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    justify-content: end;
    gap: 0.6rem;
    width: calc(100% - 42px);
}

.filter-buttons-container .bootstrap-select {
    margin: 4px 0;
    max-width: 100%;
    box-shadow: none !important;
    height: auto;
}

.filter-buttons-container .filter-wrapper {
    display: inline-block;
    width: 33.333%;
    height: auto;
}

/* Special rule to target 4-element case to be displayed as 2x2. */
.filter-buttons-container .filter-wrapper:first-child:nth-last-child(4),
.filter-buttons-container .filter-wrapper:first-child:nth-last-child(4) ~ * {
    width: 50%;
}

.filter-buttons-container > .inner {
    display: flex;
    width: 100%;
}

.filter-buttons-container .filter-wrapper .inner-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 115px !important;
}

.filter-buttons-container .filter-wrapper .inner-wrapper .btn-group {
    margin: 0;
    background-color: transparent;
}

.schedule-filters .cycle-filter {
    color: #999;
    padding: 0.2rem;
}

.filtering .filter-wrapper {
    position: relative;
    color: #999;
}
.filtering .dropdown-toggle,
.filtering .dropdown-menu.inner,
.filtering .bs-searchbox > .form-control,
.filtering .bs-actionsbox .actions-btn,
.filtering .cycle-filter,
.filtering .reset-filters {
    opacity: 0.65 !important;
    pointer-events: none;
    user-select: none;
    cursor: not-allowed !important;
}

.filter-buttons .bs-searchbox {
    display: flex;
}

.filter-buttons .bs-searchbox > .form-control {
    width: 100% !important;
    margin: 0 !important;
}

.filter-buttons .bs-actionsbox .btn-group button {
    width: 50% !important;
}

/** Filter buttons (compact version, in schedule toolbar) **/

.filter-buttons.filter-buttons-compact {
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.filter-buttons.filter-buttons-compact .filter-wrapper {
    width: auto;
    max-width: 120px;
    padding: 0;
}

.filter-buttons.filter-buttons-compact .filter-wrapper .dropdown-toggle {
    padding-right: 2.25rem;
}

.filter-buttons.filter-buttons-compact .dropdown-toggle {
    padding-left: 1rem;
    padding-right: 1.75rem;
}

.filter-buttons.filter-buttons-compact .dropdown-toggle .caret {
    right: 10px;
}

.filter-buttons.filter-buttons-compact .empty-label-text {
    display: none;
}

/** Filter buttons row (full width) **/
.filter-buttons.filter-buttons-row {
    flex-wrap: wrap;
    justify-content: start;
}

.filter-buttons.filter-buttons-row .filter-wrapper {
    width: auto !important;
}

.filter-buttons.filter-buttons-row .dropdown-toggle {
    width: 100%;
}

.filter-buttons.filter-buttons-row .dropdown-toggle {
    padding-right: 2.5rem !important;
}

@media (max-width: 767px) {
    .filter-buttons-container .cycle-filter {
        visibility: hidden;
    }
}

@media (min-width: 768px) {

    #schedule-column .filter-buttons-container {
        padding: 0 1.5rem;
    }

    .filter-buttons-container .bootstrap-select.cycling {
        max-width: calc(100% - 22px);
        padding-left: 0.1rem;
        padding-right: 0.1rem;
    }

    .filter-buttons-container .bootstrap-select.cycling > .dropdown-menu {
        min-width: calc(100% + 22px) !important;
        transform: translateX(-17px);
    }

    .filter-buttons-container .cycle-filter {
        display: none;
        width: 11px;
    }
}

.filter-buttons-container .cycle-filter:hover {
    color: #4f4f4f;
}

.filter-buttons-container .filter-option {
    text-overflow: ellipsis;
}

.filter-buttons-container .reset-filters-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    min-width: 33px;
}

.filter-buttons-container .reset-filters {
    color: #43a047;
}

.filter-buttons-container .reset-filters .text {
    display: none;
}

@media (max-width: 767px) {
    .filter-buttons-wrapper {
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 100;
        background-color: #fff;
        display: flex;
        justify-content: center;
        border-radius: 1.6rem;
        width: 100%;
    }

    .filter-buttons-wrapper > .filter-buttons-container {
        margin: 0.5rem;
    }

    .filter-buttons-wrapper .filter-buttons-toggle-container {
        display: flex;
        justify-content: center;
        margin: 0.5rem;
    }

    .filter-buttons-wrapper .filter-buttons-toggle {
        padding: 5px 10px;
        font-size: 18px;
        color: #4f4f4f;
    }

    .filter-buttons-wrapper .filter-buttons-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 1.6rem;
    }

    .filter-buttons-wrapper .filter-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        /*padding: 0 60px 0 0;  !* This gets intercom widget out of the way *!*/
        padding: 0;
        width: 100%;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .filter-buttons-wrapper .filter-buttons .filter-wrapper {
        width: 100% !important;
        display: flex;
        margin: 0;
    }

    .filter-buttons-wrapper .filter-buttons .filter-wrapper:first-child {
        margin-top: 0;
    }

    .filter-buttons-container .filter-wrapper .inner-wrapper {
        flex: 1;
        max-width: 100%;
    }

    .filter-buttons-wrapper .filter-buttons .bootstrap-select {
        width: calc(100% - 64px) !important;
        margin: 0;
    }

    .filter-buttons-wrapper .filter-buttons .bootstrap-select.with-icon .ll-filter-btn {
        position: relative;
    }

    .filter-buttons-wrapper .filter-buttons .bootstrap-select.with-icon .mobile-icon {
        display: none;
        position: absolute;
        top: 0;
        left: 20px;
        z-index: 2;
    }

    .filter-buttons-wrapper .filter-buttons .bootstrap-select.with-icon.has-value .mobile-icon {
        display: inline-flex;
        align-items: center;
        height: 100%;
        color: #505050;
    }

    .filter-buttons-wrapper .filter-buttons .bootstrap-select.with-icon.has-value .ll-filter-btn:focus .mobile-icon,
    .filter-buttons-wrapper .filter-buttons .bootstrap-select.with-icon.has-value .ll-filter-btn:active .mobile-icon,
    .filter-buttons-wrapper .filter-buttons .bootstrap-select.with-icon.has-value .ll-filter-btn:hover .mobile-icon {
        color: #fff;
    }

    .filter-buttons-wrapper .filter-buttons .bootstrap-select.with-icon .ll-filter-btn {
        transition: none;
    }

    .filter-buttons-wrapper .filter-buttons .bootstrap-select.with-icon.has-value .ll-filter-btn {
        padding-left: 44px;
    }

    .filter-buttons-wrapper .filter-buttons .bootstrap-select.dropup > .ll-filter-btn.dropdown-toggle ~ .dropdown-menu {
        max-width: 100%;
        border-radius: 2rem 2rem 0 0;
    }

    .filter-buttons-wrapper .filter-buttons .ll-filter-btn ~ .dropdown-menu .bs-actionsbox > .btn-group > .actions-btn {
        border-radius: 2rem;
    }

    .filter-buttons-wrapper .filter-buttons .ll-filter-btn ~ .dropdown-menu .bs-actionsbox > .btn-group > .actions-btn:first-child:not(:last-child) {

        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .filter-buttons-wrapper .filter-buttons .ll-filter-btn ~ .dropdown-menu .bs-actionsbox > .btn-group > .actions-btn:last-child:not(:first-child) {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .filter-buttons-wrapper .filter-buttons .ll-filter-btn ~ .dropdown-menu .bs-searchbox > input.form-control {
        font-size: 14px;
    }

    .filter-buttons-wrapper .filter-buttons .bootstrap-select.btn-group.show-tick .dropdown-menu li a span.text {
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        margin-right: 0;
        padding-right: 14px;
    }

    .filter-buttons-wrapper .filter-buttons .bootstrap-select .dropdown-menu > li > a {
        font-size: 15px;
        padding-top: 6px;
        padding-bottom: 6px;
        display: flex;
        align-items: center;
    }

    .filter-buttons-wrapper .filter-buttons .bootstrap-select.btn-group.show-tick .dropdown-menu li.selected a span.check-mark {
        position: absolute;
        top: 0;
        right: 15px;
        transform: translateY(50%);
        margin-top: 0;
    }

    .filter-buttons-wrapper .filter-buttons .bootstrap-select .dropdown-menu > li.selected a .text {
        font-weight: 700;
    }

    .filter-buttons-wrapper .filter-buttons .cycle-filter {
        padding: 0 1.25rem;
        font-size: 18px;
    }

    .filter-buttons-wrapper .filter-buttons-container .reset-filters-container {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 10px 0;
    }

    .filter-buttons-wrapper .filter-buttons-container .reset-filters {
        font-size: 1.875rem;
        border-radius: 20px;
        width: 100%;
    }

    .filter-buttons-wrapper .filter-buttons-container .reset-filters .inner {
        display: flex;
        align-items: center;
    }

    .filter-buttons-wrapper .filter-buttons-container .reset-filters .text {
        display: inline-block;
        margin-left: 0.5rem;
        font-weight: 700;
    }

    .filter-buttons-wrapper .filter-buttons .ll-filter-btn {
        font-size: 16px;
        padding: 10px 20px;
        border-radius: 20px;
    }


}

@media (min-width: 1200px) {
    /** Filter buttons row (full width) **/
    .filter-buttons.filter-buttons-row {
        flex-wrap: nowrap;
    }
}

/* -------------------------------------------------- */
/* Other Buttons */
/* -------------------------------------------------- */

.partial-schedule-buttons {
    padding: 0 15px;
}

.slice-control--datepicker .ui-datepicker {
    position: absolute;
    top: 42px;
    left: 0;
}

@media (min-width: 768px) {
    .slice-control--datepicker .ui-datepicker {
        top: 28px;
    }
}

/*===========================
  Schedule Top Buttons
============================ */
.button-wrapper {
    padding: 0;
    text-align: center;
}

.public-schedule-buttons {
    display: flex;
    flex-wrap: wrap;
}

.public-schedule-buttons .button-wrapper {
    flex: 1;
    max-width: 250px;
    padding: 0 5px;
}

.public-schedule-buttons .button-wrapper a, .public-schedule-buttons .button-wrapper button {
    width: 100%;
    padding: 6px 20px;
}

.button-wrapper a, .button-wrapper button, .button-wrapper select {
    width: 95%;
    margin: 4px 0;
}

.standings-configuration {
    cursor: pointer;
}

/*===========================
  Schedule Panels
============================ */

/* Common between LITE and PRO schedule makers and schedules */

.ll-panel-common {
    border-color: #eaeaea;
}

.ll-panel-common > .panel-heading {
    font-family: Raleway, "Helvetica Neue", Arial, Helvetica, sans-serif;
    color: #333;
    background-color: #f5f5f5;
    border: 0;
    padding: 2rem;
    display: flex;
    align-items: center;
    min-height: 70px;
}

.ll-panel-common > .panel-heading .tooltip {
    font-family: Lato, Arial, sans-serif;
}

.ll-panel-common > .panel-heading > .panel-title {
    font-family: Raleway, "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #666;
    flex: 1;
}

.schedule-header-buttons {
    display: flex;
    align-items: center;
    height: 28px;
    width: fit-content;
    background-color: #f3f3f3;
    border-radius: 1.6rem;
    padding: 0.25rem 0.6rem;
}

.schedule-header-buttons .panel-heading-button {
    padding: 0.25rem 0.5rem;
    margin: 0;
    color: #777;
}

.schedule-header-buttons .panel-heading-button:active,
.schedule-header-buttons .panel-heading-button:hover {
    color: #585858;
    box-shadow: none;
}

@media (max-width: 767px) {
    .schedule-header-buttons {
        height: 4rem;
        background-color: transparent;
        padding: 0;
        flex-wrap: wrap;
    }

    .schedule-header-buttons .panel-heading-button {
        background-color: #f3f3f3;
        border-radius: 1.6rem;
    }
}

.delay-mode-button.panel-heading-button.active {
    color: rgb(132 204 22);
}

.panel-heading-button.lock-toggle-button {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.panel-heading-button.lock-toggle-button > span {
    padding: 0.25rem 0.5rem;
}

.panel-heading-button:not(:disabled) > .loader {
    display: none;
}
.panel-heading-button:disabled > .loader {
    display: inline-block !important;
}
.panel-heading-button:disabled > .icon {
    display: none !important;
}

.public-schedule-toggle[data-hide="false"] .public-toggle-on {
    display: none !important;
}
.public-schedule-toggle[data-hide="true"] .public-toggle-on {
    display: inline-flex;
}
.public-schedule-toggle[data-hide="true"] .public-toggle-off {
    display: none !important;
}

@media (max-width: 767px) {
    .ll-panel-common {
        border: 0;
        box-shadow: none;
    }

    .ll-panel-common,
    .ll-panel-common > .panel-heading {
        transition: border-radius ease-in-out 500ms;
    }

    .ll-panel-common.panel-collapsed,
    .ll-panel-common.panel-collapsed > .panel-heading {
        border-radius: 1em;
        transition: border-radius ease-in-out 500ms;
    }

    .schedule-header-buttons .panel-heading-button {
        font-size: 16px;
        padding: 0.5rem 1rem;
    }

    .panel-heading-button.lock-toggle-button {
        padding: 0;
    }

    .panel-heading-button.lock-toggle-button > span {
        padding: 0.5rem 1rem;
    }
}

/** Schedule toolbar **/
.schedule-toolbar .schedule-toggle {
    color: #777;
}

.schedule-toolbar.fixed {
    position: fixed;
    top: 0;
    z-index: 20;
    max-width: fit-content;
    background-color: rgba(255 255 255 / .75);
    border-radius: 1.6rem;
    backdrop-filter: blur(8px);
    padding: 0.75rem 0.5rem;
}

.schedule-toolbar.fixed .hidden-fixed {
    display: none !important;
}

.schedule-toolbar.fixed .filter-buttons.filter-buttons-row {
    flex-wrap: wrap;
    justify-content: start;
    row-gap: 0.4rem;
}

.schedule-toolbar.fixit {
    transition: none;
}

.schedule-toolbar.fixit.fixed.fixit-transition {
    transition: var(--scroll-transform-transition);
}

/** One column layout (full width standings & schedule) **/
.public-schedule .standings-collapse {
    display: none !important;
}

.public-schedule.one-column .standings-collapse {
    display: flex !important;
}

.public-schedule.one-column .standings-container {
    display: flex;
    flex-direction: column;
}

.public-schedule.one-column .stickem-sticky .stickem.standings-wrapper {
    position: initial;
}

.public-schedule.one-column .stickem-placeholder {
    display: none;
}

.public-schedule.one-column.no-standings .schedule-panel-wrapper {
    margin-top: 0;
}

.standings-page .switch-layout-toggle {
    display: none !important;
}

.standings-page .standings-controls {
    display: none !important;
}

#one-column-scrollspy-container {
    opacity: 0;
    transition: opacity .15s ease-in-out;
}

.public-schedule.one-column #one-column-scrollspy-container {
    opacity: 1;
}

.public-schedule.one-column .schedule-panel-wrapper {
    margin-top: 4.5rem;
}

.public-schedule.one-column .schedule {
    padding-top: 0;
}

@media (min-width: 992px) {
    .public-schedule.one-column .schedule-panel-wrapper {
        width: 100% !important;
    }

    .one-column .one-column--row,
    .public-schedule.one-column .schedule-panel,
    .public-schedule.one-column .standings-wrapper,
    .public-schedule.one-column.lite.bracket .schedule-panel,
    .public-schedule.one-column.lite.bracket.regular .schedule-toolbar:not(.fixed),
    .public-schedule.one-column:not(.bracket).no-standings .schedule-panel {
        width: 87.5% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .schedule-match,
    .schedule-match > .match-info,
    .schedule-match > .match-droppable,
    .schedule-match > .match-playoff-expand,
    .date-grouper {
        transition-property: font-size, margin, padding, line-height;
        transition-duration: .15s;
        transition-timing-function: ease-in-out;
    }

    .schedule-wrapper.full-width .schedule-match,
    .public-schedule.one-column .schedule-match {
        font-size: 1.6rem;
        margin-bottom: 0.35rem;
    }

    .schedule-wrapper.full-width .schedule-match > .match-info,
    .public-schedule.one-column .schedule-match > .match-info {
        padding: 0.6rem 1rem;
    }

    .schedule-wrapper.full-width .schedule-match > .match-droppable,
    .public-schedule.one-column .schedule-match > .match-droppable {
        padding-left: 0.6rem;
        padding-right: 0.6rem;
    }

    .schedule-wrapper.full-width.schedule-match .match-playoff-expand,
    .public-schedule.one-column .schedule-match .match-playoff-expand {
        font-size: 1rem;
        line-height: 1.25rem;
        margin-top: 0.25rem;
    }

    .schedule-wrapper.full-width .date-grouper,
    .public-schedule.one-column .date-grouper {
        font-size: 1.5rem;
    }
}

@media (max-width: 991px) {
    .public-schedule.one-column .schedule-panel-wrapper {
        margin-top: 0;
    }
}

/** Schedule maker LITE **/

.schedule-wrapper {
    transition: width .3s ease-in-out;
}

.schedule-wrapper.full-width {
    width: 87.5%;
    right: auto;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    max-width: calc(100vw - 120px);  /* Collapsed schedule maker panel */
}

.schedule-wrapper.animating {
    right: auto;
}

/** Scrollspy **/
.dashboard-enabled .ll-scrollspy {
    left: 7rem !important;
}

.ll-scrollspy .text {
    display: none;
}

@media (max-width: 1340px) {
    .schedule-maker-lite-panel-wrapper .ll-scrollspy,
    .ll-scrollspy-container {
        display: none !important;
    }
}