html * {
    max-height: 1000000px;
}

html {
    font-size: 200%;

    position: relative;

    box-sizing: border-box;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: inherit;
}

@media all and (min-width: 960px) {
    body {
        font-size: 16px;
    }
}

@media all and (max-width: 1199px) and (min-width: 960px) {
    #wrapper {
        margin-left: 18em;
        width: calc(100vw - 20em);
    }
}

@media all and (max-width: 1599px) and (min-width: 1200px) {
    #wrapper {
        margin-left: 25em;
        width: calc(100vw - 30em);
    }
}

@media all and (min-width: 1600px) {
    #wrapper {
        margin-left: 30em;
        width: calc(100vw - 40em);
    }
}

@media all and (max-width: 959px) and (min-width: 600px) {
    body {
        font-size: 24px;
    }
}

.mobile-spacing {
    line-height: 1.5em;
}

@media all and (max-width: 959px) {
    .hide-on-phones {
        display: none !important;
    }

    select.vertical-space-phones {
        margin-bottom: 0.5em;
        margin-top: 0.5em;
    }

    .mobile-spacing {
        line-height: 2em;
    }
}

body {
    font-family: Trebuchet MS1, Trebuchet MS, sans-serif;

    margin: 0 0 2em;
    padding: 0;

    color: #333;
    background-color: #E2E1E0;
}

h3 {
    margin-top: 0;
}

h2 {
    font-size: 1.5em;

    margin-top: 0;
}

#header {
    width: 100%;
    height: 120px;

    background-color: #fff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

#header-image {
    width: 51%;
    min-width: 800px;
    height: 100%;
    margin: 0 auto;

    background-color: #488214;
    background-image: url('../img/banner2.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% auto;
}

#phone-top-menu {
    position: fixed;
    background-color: white;
    width: 100%;
    z-index: 98;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);
    height: 4em;
    top: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    transition: top 0.3s;
    border-bottom: 0.25em solid;
    border-image: linear-gradient(to right, #fff, #70a523, #70a523, #70a523, #fff) 30;
}

@media all and (min-width: 960px) {
    #phone-top-menu {
        display: none;
    }
}

.phone-menu-button {
    width: 5em;
    height: 5em;
    line-height: 7em;
    text-align: center;
}

.phone-menu-button .material-icons {
    color: #3E7110;
}

#phone-top-menu .title {
    flex-grow: 1;
    text-align: center;
    font-family: Bradley Hand;
}

#phone-top-menu .title svg {
    width: 100%;
    height: 1.75em;
    margin-top: 0.5em;
}

#phone-top-menu .title a {
    text-decoration: none;
}

#phone-top-menu .title a:link {
    color: white;
}

#phone-top-menu .title a:visited {
    color: white;
}

#phone-top-menu .title a:hover {
    color: white;
}

#phone-top-menu .title a:active {
    color: white;
}

.phone-menu-button .material-icons {
    font-size: 250%;
}

#side-bar-mask {
    opacity: 0;
    width: 0;
    height: 100%;
    background-color: #00000099;
    position: fixed;
    top: 0;
    z-index: 999;
}

#side-bar-mask.open {
    animation-name: showMask;
    animation-duration: 0.5s;
    opacity: 1;
    width: 100%;
}

#side-bar-mask.close {
    animation-name: hideMask;
    animation-duration: 0.5s;
    opacity: 0;
    width: 0;
}

@keyframes showMask {
    from {
        opacity: 0;
        width: 0;
    }

    1% {
        opacity: 0;
        width: 100%;
    }

    to {
        opacity: 1;
        width: 100%;
    }
}

@keyframes hideMask {
    from {
        opacity: 1;
        width: 100%;
    }

    99% {
        opacity: 0;
        width: 100%;
    }

    to {
        width: 0;
    }
}

#side-bar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
    background-color: white;
    border-right: 1px solid grey;
    line-height: 2.5em;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: 0.5s;
    overflow-x: hidden;
}

@media all and (max-width: 959px) {
    #side-bar {
        font-size: 150%;
        width: 75vw;
        left: -75vw;
    }

    #side-bar-title-container .material-icons {
        font-size: inherit;
    }
}

/* start open on desktop */
@media all and (min-width: 960px) {
    #side-bar {
        width: 20em;
    }
}

@media all and (max-width: 1199px) and (min-width: 960px) {
    #side-bar {
        width: 16em;
    }
}

#side-bar-title-container {
    margin: 0.25em 1em 0 1.5em;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#side-bar-title-container #close {
    font-size: 2.5em;
    color: #666;
    margin-top: 0.3em;
}

#side-bar .title svg {
    width: 75%;
    height: 10em;
}

#side-bar-button-container {
    margin: 0.5em;
}

#side-bar-button-container a,
.menu-button-sub-group a {
    text-decoration: none;
}

#wrapper {
    min-width: 60vw;
    margin-top: 0.75em;
    transition: 0.5s;
}

@media all and (max-width: 959px) {
    #wrapper {
        margin-top: 4.75em;
    }

    #side-bar .title svg {
        height: 8em;
    }
}

.item {
    position: relative;

    width: 100%;
    margin-top: 0.75em;
    padding: 1em 1em 1em 1em;

    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

@media all and (min-width: 960px) {
    .item {
        border-radius: 1em;
    }
}

.center {
    text-align: center;
}

.nowrap {
    white-space: nowrap;
}

.loading-item {
    width: 1.5em;
    margin: 1em auto 0 auto;
}

.item.video-item {
    padding: 1em;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
}

.video-list {
    display: flex;
    flex-wrap: wrap;
    margin: -0.5em;
    margin-top: 0.5em;
    padding: 0;
}

.video-list-item {
    display: flex;
    padding: 0.5em;
    width: 25%;
    list-style-type: none;
}

@media all and (min-width: 1600px) {
    .video-list-item {
        width: 20%;
    }
}

@media all and (max-width: 1599px) and (min-width: 1300px) {
    .video-list-item {
        width: 25%;
    }
}

@media all and (max-width: 1299px) and (min-width: 960px) {
    .video-list-item {
        width: calc(100%/3);
    }
}

@media all and (max-width: 959px) and (min-width: 600px) {
    .video-list-item {
        width: 50%;
    }
}

.item.video-item .default {
    font-size: 77px;

    padding: 0.6em 0;
}

.item.video-item img {
    width: 100%;
}

.item.video-item input {
    font-size: 1.5em;

    width: 100%;
}

.video-carousel-container {
    display: inline-block;
    width: calc(100% - 9em);
}

.video-carousel {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: hidden;
    align-items: center;
}

.video-carousel-nav-button {
    margin: 0.5em;
    font-size: 2em;
    display: inline-block;
    vertical-align: text-bottom;
}

.carousel-item {
    height: 200px;
    padding: 0 1.5em;
    flex: 0 0 auto;
}

.carousel-item:not(:first-child) {
    border-left: 2px #CCCCCC solid;
}

.carousel-item img {
    height: calc(200px - 4em);
}

@media all and (max-width: 959px) {
    .video-carousel-container {
        width: 100%;
    }

    .carousel-item {
        height: 300px;
    }

    .carousel-item img {
        height: calc(300px - 4em);
    }

    .video-carousel {
        overflow-x: auto;
    }
}

.item.half-width {
    display: inline-block;

    width: calc(100%/2 - 0.375em);
    padding: 1em;

    vertical-align: top;
}

.borderless-item.half-width {
    display: inline-block;

    width: calc(100%/2 - 0.375em);

    vertical-align: top;
}

.item.third-width {
    display: inline-block;

    width: calc(100%/3);
    padding: 1em;

    vertical-align: top;
}

.borderless-item.third-width {
    display: inline-block;
    width: calc(100%/3);
    vertical-align: top;
}

.borderless-item.two-thirds-width,
.item.two-thirds-width {
    display: inline-block;

    width: calc(2 * 100%/3 - 0.75em);

    vertical-align: top;
}

.item-flex-row {
    display: flex;
    gap: 0.75em;
    margin-top: 0.75em;
}

/* TODO - doesn't seem to work :/ */
.item-flew-row .item {
    margin: 0;
}

.item.half-width,
.item.third-width,
.borderless-item.third-width,
.borderless-item.two-thirds-width,
.item.two-thirds-width {
    margin: 0;
}

@media all and (min-width: 960px) {
    .item-flex-row {
        flex-direction: row;
    }
}

@media all and (max-width: 959px) {
    .item-flex-row {
        flex-direction: column;
    }

    .item.half-width,
    .item.third-width,
    .borderless-item.third-width,
    .borderless-item.two-thirds-width,
    .item.two-thirds-width {
        width: 100%;
    }

    .row-button-content-row-name {
        width: calc(100% - 1.5em);
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        float: right;
    }
}

.row-button-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1em;
    background: #FFF;
}

.row-button {
    padding: 1em;
    outline: 1px solid #488214;
    margin-top: 1px;
    margin-left: 1px;
    flex-grow: 1;
}

.row-button:hover {
    background-color: #eee;
    cursor: pointer;
    outline-color: #333;
}

.row-button.selected {
    background-color: #eee;
}

/* .row-button-title {

} */

.row-button-content {
    font-size: 0.75em;
    line-height: 1.5em;
}

.item.animator {
    float: left;
    width: 240px;
    height: 360px;
    margin: 0.75em 0.75em 0 0;
    padding: 0;
}

.item.pattern-info {
    overflow: hidden;

    width: auto;
    min-height: 360px;
}

.item.pattern-info.no-animator {
    min-height: auto;
}

.small-item {
    width: 8em;
    margin: 1em auto 0 auto;
    padding: 1em;

    text-align: center;

    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.borderless-item {
    position: relative;

    overflow: hidden;

    width: 100%;
    margin-top: 0.75em;
    padding: 0;

    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);

    display: table;

    border-top: 0.25em solid;
    border-image: linear-gradient(to right, #fff, #70a523, #70a523, #70a523, #fff) 30;
}

#player.borderless-item {
    border-top: 0;
}

.numbers-league-summary-container {
    margin-top: 1em;
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    align-items: flex-start;
}

.numbers-league-summary-item {
    flex: calc(50% - 1em);
    max-width: calc(50% - 0.5em);
    background: #FFF;
}

.menu-button-group {
    display: block;
}

.menu-button {
    display: block;
    text-wrap: nowrap;
    margin-bottom: 0.5em;
    padding: 0.25em 0 0.1em 1em;
    border-radius: 0.5em
}

.menu-button .material-icons {
    color: #3E7110;
}

@media all and (max-width: 959px) {
    .menu-button {
        margin-bottom: 0;
    }

    .menu-button .material-icons {
        font-size: 125%;
    }
}

.menu-button-sub-group .menu-button {
    margin-bottom: 0.25em;
    padding: 0.15em 0 0 1em;
}

.menu-button:hover {
    background-color: #EEE;
    cursor: pointer;
}

.menu-button i {
    vertical-align: sub;
}

.menu-button-sub-group {
    height: 0;
    overflow-y: hidden;
    transition: 0.5s;
    margin-left: 2.5em;
}

.menu-button-sub-group .menu-button {
    line-height: 2em;
}

.not-selectable {
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE10+/Edge */
    user-select: none;
    /* Standard */
}

@media all and (max-width: 959px) {
    .numbers-league-summary-item {
        flex: 100%;
        max-width: initial;
    }
}

.menu-filler {
    overflow: auto;

    padding: 0.5em 0;
}

a:link {
    color: #333;
    outline: none;
    -webkit-tap-highlight-color: #0000;
}

a:visited {
    color: #333;
    outline: none;
    -webkit-tap-highlight-color: #0000;
}

a:hover {
    color: #333;
    outline: none;
    -webkit-tap-highlight-color: #0000;
}

a:active {
    color: #333;
    outline: none;
    -webkit-tap-highlight-color: #0000;
}

.sub-item {
    display: inline-block;

    max-width: 40em;

    vertical-align: top;
}

.row-item {
    width: 100%;

    margin-top: 1.5em;
}

.note-tooltip {
    position: relative;
    z-index: 24;

    display: inline-block;
}

.note-tooltip span {
    display: none;
}

.note-tooltip:hover {
    z-index: 25;

    cursor: pointer;
}

.note-tooltip:hover span {
    position: absolute;
    top: -45px;
    right: 30px;

    display: block;

    width: 250px;
    padding: 0.5em;

    opacity: 0.9;
    color: #fff;
    border-radius: 0.5em;
    background-color: #333;
}

@media all and (max-width: 959px) {

    .note-tooltip .fa,
    .records-table .fa.fa-film {
        font-size: 1.5em;
    }

    .note-tooltip:hover span {
        width: 500px;
        right: 45px;
    }
}

.padding1 {
    padding: 1em;
}

.padding05 {
    padding: 0.5em;
}

.left-margin {
    margin-left: 2em;
}

.records-table,
.tabbed-records-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    word-break: break-word;
}

.records-table .title,
.tabbed-records-table .title {
    font-size: 1.25em;

    margin: 0;
}

.records-table tr.title,
.tabbed-records-table tr.title {
    height: 3em;
}

.records-table tr,
.tabbed-records-table tr,
.inline-table tr {
    border-top: 1px solid #488214;
}

.records-table tr:first-child,
.records-table tr:nth-child(2),
.inline-table tr:first-child {
    border-top: 0;
}

.records-table tr.title {
    border-top: 1px solid #488214;
    border-bottom: 1px solid #488214;
}

.inline-table {
    width: 100%;

    border-collapse: collapse;

    text-align: center;
}

.left {
    text-align: left;
}

.records-table td,
.inline-table td,
.tabbed-records-table td,
.records-table th,
.inline-table th,
.tabbed-records-table th {
    height: 1.5em;
    padding: 0.25em 0.5em;
}

.records-table td.left,
.inline-table td.left,
.records-table th.left,
.inline-table th.left {
    padding-left: 1em;
}

.records-table th,
.no-word-break {
    word-break: normal;
}

.records-table tr:hover {
    background-color: #eee;
}

@media all and (max-width: 959px) {

    .records-table td,
    .inline-table td,
    .records-table th,
    .inline-table th {
        height: 2.5em;
    }
}

.gold-bg {
    border-left: 0.3em solid #ffd700;
}

.silver-bg {
    border-left: 0.3em solid #c0c0c0;
}

.bronze-bg {
    border-left: 0.3em solid #cd7f32;
}

.highlight-bg {
    border-left: 0.3em solid #70a523;
}

.gold-text {
    color: #9f8600;
}

.silver-text {
    color: #888888;
}

.bronze-text {
    color: #954a00;
}

.highlight-text {
    color: #488214;
}

.approve-text {
    color: #077E8C;
}

.pending-text {
    color: #F29339;
}

.reject-text {
    color: #D9512C;
}

.neutral-text {
    color: #666666;
}

.small-text {
    font-size: 75%;
}

.slightly-small-text {
    font-size: 90%;
    color: #666;
}

.world-record-label {
    font-size: 67%;
    color: white;
    background-color: #a4c18a;
    border-radius: 0.25em;
    padding: 0.2em 0.3em;
}

.comparison-highlight {
    background-color: rgb(212, 241, 170);
}

.comparison-highlight-equal {
    background-color: rgb(236, 253, 195);
}

#footer {
    position: absolute;
    bottom: 0;
    left: 0;

    overflow: hidden;

    width: 100%;
    height: 80px;

    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

#footer-image {
    width: 274px;
    height: 80px;
    margin: 0 auto;

    background-color: #488214;
}

#footer-image img {
    margin-left: -1px;
}

.close-button {
    position: absolute;
    top: 0;
    right: 0;

    display: block;

    width: 1.75em;
    height: 1.75em;

    border: 1px solid #488214;
    background: url('../img/cross.png') no-repeat center center;
    background-color: #488214;
    background-size: contain;
}

.notes {
    display: inline-block;

    width: 1.5em;
    height: 1.5em;

    background: url('../img/notes.png') no-repeat center center;
    background-color: #488214;
    background-size: contain;
}

.video {
    display: inline-block;

    width: 1.5em;
    height: 1.5em;

    background: url('../img/video.png') no-repeat center center;
    background-color: #488214;
    background-size: contain;
}

.sub-item-2 {
    display: inline-block;

    padding: 0 1em 1em 0;

    vertical-align: middle;
}

.sub-item-3 {
    display: inline-block;

    padding-left: 1em;

    vertical-align: middle;
}

.full-link {
    display: inline-block;
}

.min-half-width {
    min-width: 50%;
}

.table-filter {
    display: inline-block;
    float: right;

    width: 1.5em;
    margin: 0 0.2em;

    text-align: center;

    color: inherit;
    border: 1px solid #488214;
    border-radius: 0.25em;
    background-color: rgba(0, 0, 0, 0);
}

.table-filter:hover {
    cursor: pointer;
}

.table-filter.on {
    color: #fff;
    background-color: #488214;
}

.trophy-container {
    display: flex;
    align-items: center;
}

.trophy {
    display: inline-block;

    width: 1.2em;
    height: 1em;

    text-align: center;
    color: #488214;
    position: relative;
    font-size: 2em;
}

.gold {
    color: #ffd700;
}

.silver {
    color: #c0c0c0;
}

.bronze {
    color: #cd7f32;
}

.trophy .trophy-number {
    position: absolute;
    color: #ffffff;
    width: 100%;
    left: 0;
    top: 0.25em;
    font-size: 0.5em;
}

.social-img {
    display: inline-block;

    width: 2em;
    height: 2em;
    margin: 0 0.25em;

    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
}

.badge-group-label {
    font-weight: bold;
    cursor: pointer;
    padding: 0.5em 0;
}

.badge-group-label .fa-chevron-down {
    transition: 0.5s ease;
}

.badge-group {
    margin: 0.5em 0 2em 0;
}

.badge-group-row {
    display: flex;
    align-items: stretch;
}

.badge-group-row-right {
    display: inline;
}

.badge-container {
    display: inline-flex;
    align-items: center;
    padding: 0.5em 0.25em;
    position: relative;
}

.badge-description {
    display: inline-block;
    margin: 0.5em 0 0.5em 1em;
}

.badge-progress-icon-container {
    font-size: 150%;

    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 3em;
    min-width: 3em;

    color: #999;
}

.badge-progress-icon-container .fa-check-circle,
.badge-group-label .fa-check-circle {
    color: #70a523;
}

.badge-group-label .fa-clock {
    color: #999999;
}

.badge-group-label .fa-clock,
.badge-group-label .fa-check-circle {
    margin-right: 0.5em;
}

.badge-progress-icon-container i {
    position: absolute;
    left: calc(50% - 0.5em);
    top: calc(50% - 0.5em);

    background-color: #FFF;
}

.badge-progress-track-bottom {
    position: absolute;
    left: calc(50% - 0.1em);
    top: 50%;

    width: 0.2em;
    height: 50%;

    border-left: dotted 0.2em #DDD;
}

.badge-progress-track-middle {
    position: absolute;
    left: calc(50% - 0.1em);
    top: 0;

    width: 0.2em;
    height: 100%;

    border-left: dotted 0.2em #DDD;
}

.badge-progress-track-top {
    position: absolute;
    left: calc(50% - 0.1em);
    bottom: 50%;

    width: 0.2em;
    height: 50%;

    border-left: dotted 0.2em #DDD;
}

@media all and (max-width: 959px) {
    .badge-description {
        width: calc(100% - 7em);
    }
}

.badge-stack {
    display: inline-block;
    position: relative;
    width: 3.5em;
    height: 3em;
}

.badge-stack .badge-outer {
    position: absolute;
}

.badge-stack .badge-outer:nth-child(1) {
    left: 0;
    top: 0;
    z-index: 4;
}

.badge-stack .badge-outer:nth-child(2) {
    left: 0.25em;
    top: 0.25em;
    z-index: 3;
    opacity: 75%;
}

.badge-stack .badge-outer:nth-child(3) {
    left: 0.5em;
    top: 0.5em;
    z-index: 2;
    opacity: 50%;
}

.badge-stack .badge-outer:nth-child(4) {
    left: 0.75em;
    top: 0.75em;
    z-index: 1;
    opacity: 25%;
}

.badge-outer {
    font-size: 75%;

    display: inline-block;

    color: #fff;
    border-width: 0.5em;
    border-style: solid;
    border-radius: 1em;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.badge-outer.small {
    width: 3em;
    height: 3em;

    text-align: center;
}

.badge-outer.medium {
    position: relative;

    width: 6em;
    height: 6em;

    text-align: center;
}

.badge-container .overlay {
    position: absolute;

    background-color: white;

    width: 4.5em;
    height: 2.25em;

    opacity: 60%;
    top: calc(50% - 2.25em);
}

.badge_outer.clickable {
    cursor: pointer;
}

.badge-outer.large {
    position: relative;

    width: 24em;
    height: 6em;
}

.badge-top {
    position: absolute;
    left: 0;
    top: 0;

    font-size: 200%;

    width: 100%;
    height: 1.75em;
    padding-top: 0.3em;

    border-bottom-width: 0.125em;
    border-bottom-style: solid;
    border-radius: 0.3em 0.3em 0 0;
}

.badge-bottom {
    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 1.5em;
    padding-top: 0.2em;

    border-radius: 0 0 0.6em 0.6em;
}

.badge-bottom .small-name {
    font-size: 70%;
}

.badge-completion-icon {
    position: absolute;
    left: 0.3em;
    top: 0.3em;

    width: 1em;
    height: 1em;
}

.badge-inside {
    font-size: 125%;

    width: 100%;
    height: 100%;

    border-radius: 0.5em;
}

.badge-stack .badge-inside {
    padding-top: 0.2em;
}

.badge-left {
    font-size: 250%;
    text-align: center;

    position: absolute;
    left: 0;
    top: 0;

    padding-top: 0.4em;

    width: 2em;
    height: 2em;

    border-radius: 0.2em 0 0 0.2em;
}

.badge-top-right {
    font-weight: bold;

    position: absolute;
    left: 5.3em;

    width: 17.8em;
    height: 1.7em;

    padding: 0.3em 0.5em 0 0.5em;

    border-radius: 0 0.5em 0 0;
}

.badge-bottom-right {
    position: absolute;
    left: 5.3em;
    bottom: 0;

    width: 17.8em;
    height: 3em;

    padding: 0.2em 0.5em 0 0.5em;

    border-radius: 0 0 0.6em 0;
}

.badge-progress-summary-container {
    margin-bottom: 1em;
    border: 1px solid #70a523;
    padding: 1em;
    border-radius: 0.5em;
}

.progress-bar-container {
    width: 100%;

    padding: 0 0 0.75em 0;
}

.progress-bar-label {
    margin-bottom: 0.25em;
}

.progress-bar-background {
    width: 100%;
    height: 1em;

    background-color: #DDD;

    border: 1px solid #999;
    border-radius: 0.5em;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

@media all and (min-width: 960px) {
    .progress-bar-container {
        max-width: 800px;
    }
}

.progress-bar-complete {
    font-size: 75%;
    text-align: right;

    height: 100%;

    color: #ffffff;
    background-color: #70a523;

    padding-right: 0.5em;

    border-radius: 0.67em;
}

.item.badge-summary {
    padding-bottom: 2em;
}

.badge-summary .badge-container {
    padding: 0.5em;
}

.badge-ratity-label {
    font-weight: bold;
    margin-top: 1.5em;
}

.fas.fa-film.big {
    font-size: 100px;

    padding: 0.2em 0;
}

.form-row-label,
.form-row-label-inline {
    display: inline-block;

    width: 7em;
}

.form-row-label.long {
    width: 10em;
}

.form-row-full-width {
    width: 100%;
    padding: 0 1em;
    margin-top: 1em;
}

@media all and (max-width: 959px) {
    .form-row-label {
        width: 80% !important;
    }

    .form-row-label.short {
        width: 70% !important;
    }
}

@media all and (min-width: 960px) {
    .form-row {
        display: flex;
        align-items: center;
    }
}

.form-row {
    margin: 0.5em 0.5em 0 0.5em;
}

.form-row.no-flex {
    display: block;
}

.form-row.space {
    margin-top: 1.5em;
}

.form-row.small-space {
    margin-top: 0.5em;
}

.form-row .icon {
    display: inline-block;

    width: 3em;

    text-align: center;
}

input[type=number].catches {
    width: 8em !important;
}

input.long {
    width: 40em;
}

input.med {
    width: 25em;
}

input.short {
    width: 5em;
}

@media all and (max-width: 959px) {

    input[type=text],
    input[type=number],
    input[type=url],
    input[type=email],
    input[type=password] {
        font-size: 1.5em;

        width: 90% !important;
        margin-top: 0.5em;
        margin-left: 0.5em;
        padding: 0.1em 0.25em 0.1em 0.25em;

        border: 1px solid #333;
        border-radius: 8px;

        -webkit-appearance: none;
        -moz-appearance: none;
    }

    input.short-on-mobile {
        width: 70% !important;
    }

    input[type=checkbox] {
        width: 1.5em;
        height: 1.5em;

        -webkit-transform: scale(2);
        /* Safari and Chrome */
        -moz-transform: scale(2);
        /* FF */
        -ms-transform: scale(2);
        /* IE */
        -o-transform: scale(2);
        /* Opera */
        transform: scale(2);
    }

    select {
        font-size: 1.5em;
    }

    textarea {
        border: 1px solid #333;
    }

    #add-record-date-container,
    #edit-date-container,
    #add-world-record-date-container {
        margin-top: 0.5em;
        margin-left: 1em;
    }

    .duration-input-container {
        margin-top: 0.5em;
        margin-left: 1.25em;
    }

    .add-world-records #juggler,
    .add-world-records #pattern {
        margin: 0.5em;
    }

    span[id^='delete-world-record-'] {
        font-size: 150%;
        padding: 0.25em;
    }
}

@media all and (min-width: 960px) {
    .keywords-input {
        width: 300px;
    }
}

.keywords-input {
    margin: 0;
}

#add-record-date-container {
    display: inline-block;
}

.duration-input-container {
    display: inline-block;
}

.hide {
    display: none;
}

.error-feedback {
    font-size: 0.8em;

    margin-top: 1em;
    margin-left: 2em;

    color: #c00;
}

.likes-container {
    display: inline-block;

    padding: 0 0.5em;

    color: #ccc;
}

.likes-container:hover {
    cursor: pointer;

    color: #333;
}

.likes-container.selected {
    color: #488214;
}

.difficulty-circle:hover {
    cursor: pointer;
}

@media all and (max-width: 959px) {
    .difficulty-circle-container {
        font-size: 1.5em;

        display: block;
    }
}

.settings-icon,
.follow-icon {
    position: absolute;
    top: 0;
    right: 0;
}

.settings-icon {
    font-size: 1.5em;
    padding: 0.5em;
}

.follow-icon {
    padding: 1em;
}

.about-textarea,
.group-desc-textarea,
.practice-log-notes-textarea {
    width: 100%;
    height: 10em;
}

@media all and (max-width: 959px) {
    textarea {
        font-size: 1.2em;

        height: 15em;
    }
}

.big-font {
    font-size: 1.25em;
}

.small-font {
    font-size: 0.8em;
}

.no-underline {
    text-decoration: none;
}

.underline {
    text-decoration: underline;
}

select {
    margin: 0 0.25em;
    max-width: 95%;
    text-overflow: ellipsis;
}

.social-link-item {
    position: relative;

    width: 100%;
    max-width: 800px;
    height: 4.5em;

    border-top: 1px solid #333;
}

@media all and (max-width: 959px) {
    .social-link-item {
        height: 9em;
        margin: 1em 0;
    }

    #social-links-container input[type=text] {
        width: 300px !important;
    }
}

.social-link-item .icon {
    position: absolute;
    top: 0.75em;
    left: 0.5em;

    width: 3em;
}

.social-link-item .site {
    padding-bottom: 0.5em;
}

.social-link-item .site-link-container {
    position: absolute;
    top: 0.75em;
    right: 8em;
    left: 4em;
    width: calc(100% - 7em);
}

.social-link-item .link {
    padding-left: 0.25em;
}

.social-link-item .remove-control {
    position: absolute;
    top: 0.75em;
    right: 0.5em;

    cursor: pointer;
}

.social-link-item .test-control {
    position: absolute;
    right: 0.5em;
    bottom: 0.75em;

    cursor: pointer;
}

.edit-patterns-control {
    display: inline-block;

    margin: 0 1em;
}

@media all and (max-width: 959px) {
    .edit-patterns-control {
        display: block;
    }

    .edit-patterns-control.top {
        margin: 0.25em 0 0.75em 0;
    }

    .edit-patterns-control.bottom {
        margin: 0.75em 0 0.25em 0;
    }
}

.edit-record-container {
    display: table;
}

.edit-record-item {
    display: table-row;

    width: 100%;
}

.edit-record-item:hover {
    cursor: pointer;

    background-color: #eee;
}

.edit-record-item div[class*='-item'] {
    display: table-cell;

    padding: 1em;

    text-align: center;
    vertical-align: middle;

    border-bottom: 1px solid #488214;
}

.edit-record-item:last-child div[class*='-item'] {
    border-bottom: none;
}

.edit-record-item .duration-item {
    width: calc(0.22 * (100% - 1em));
    ;
}

.edit-record-item .date-item {
    width: calc(0.28 * (100% - 1em));
    ;
}

.edit-record-item .notes-item {
    width: calc(0.5 * (100% - 1em));

}

.edit-record-item .close-item {
    width: 1em;
}

#edit-date-container {
    display: inline-block;
}

.edit-record-delete-button {
    position: absolute;
    top: 0;
    right: 0;

    padding: 1em;

    cursor: pointer;
}

#group-name-character-count {
    margin-left: 1em;
}

@media all and (max-width: 959px) {
    #group-name-character-count {
        display: block;
    }

    .create-group-tooltip {
        float: right;

        margin-right: 3em;
    }
}

.create-group-tooltip {
    margin-left: 1em;
}

div[id^='prop-container-'],
div[id*=' prop-container-'] {
    margin-left: 1em;
}

.email-preference-row {
    display: flex;
    width: 100%;
    align-items: center;
    margin-top: 1em;
}

.email-preference-row .checkbox-container {
    display: inline-block;
    width: 4em;
    text-align: center;
}

.email-preference-row .text-container {
    display: inline-block;
    width: calc(100% - 5em);
}

.regional-leaderboard-title-container {
    display: flex;
    align-items: center;
}

.regional-leaderboard-title {
    display: inline-block;
    font-size: 2em;
    text-align: center;
}

.regional-leaderboard-title.left {
    padding-left: 1em;
}

.small-flags {
    line-height: 1.5em;
}

.small-flags .flag {
    width: 1.2em;
    height: 0.9em;
}

.flag {
    display: inline-block;
    width: 6em;
    height: 4.5em;
}

.clickable {
    cursor: pointer;
}

.activity-juggler-container {
    margin-top: 1em;
    border-left: 3px solid #E2E1E0;
    padding-left: 1em;
}

.activity-juggler-container.you {
    border-left-color: #70a523;
}

.activity-juggler-container.first {
    margin-top: 0.25em;
}

.activity-juggler-container img {
    margin: 1em 1em 0 0;
    height: 6em;
}

.activity-number-of-jugglers {
    font-style: italic;
    font-size: 80%;
    margin-top: 0.5em;
}

/* ------------------------ SPINNNER ------------------------*/

.spinner-container {
    display: inline-block;
    font-size: 0.95em;
}

.spinner {
    display: inline-block;

    width: 1.5em;
    height: 1.5em;
    margin-right: 0.5em;

    animation: rotate 0.8s infinite linear;
    vertical-align: bottom;

    border: 3px solid #488214;
    border-right-color: transparent;
    border-radius: 50%;
}

.spinner.small {
    width: 1em;
    height: 1em;

    border-width: 2px;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.spinner-text {
    display: inline-block;
}

.spinner-text:after {
    display: inline-block;
    overflow: hidden;

    width: 0;

    content: '\2026';
    /* ascii code for the ellipsis character */
    -webkit-animation: ellipsis steps(4, end) 1500ms infinite;
    animation: ellipsis steps(4, end) 1500ms infinite;
    vertical-align: bottom;
}

@keyframes ellipsis {
    to {
        width: 1.25em;
    }
}

@-webkit-keyframes ellipsis {
    to {
        width: 1.25em;
    }
}


/* ------------------------ SPINNNER END ------------------------*/


.table-tab-buttons-container {
    display: flex;
    flex-flow: row wrap-reverse;

    width: 100%
}

.table-tab-button {
    display: inline;

    border-left: 1px #488214 solid;
    border-top: 1px #488214 solid;
    border-right: 1px #488214 solid;
    border-radius: 0.5em 1em 0 0;

    text-align: center;

    padding: 0.75em;
}

.table-tab-button.selected {
    background-color: #eee;
    font-weight: 700;
}

.table-tab-button:hover {
    background-color: #eee;
    cursor: pointer;
}

.tabbed-table-title {
    font-size: 1.5em;
    font-weight: 700;
    padding: 0.67em;
}

.practice-log-item .date,
.wr-activity-date {
    font-size: 75%;
    font-style: italic;
    color: #666;
}

.tag {
    display: inline-block;
    background-color: #A4C18A;
    padding: 0.2em 1em;
    margin: 0 0.75em;
    position: relative;
    color: white;
    height: 1.7em;
    font-size: 85%;
}

.tag.not-chosen {
    background-color: #C2D5B1;
}

.tag.not-chosen:before {
    border-color: transparent #C2D5B1 transparent transparent;
}

.tag.chosen {
    background-color: #488214;
}

.tag.chosen:before {
    border-color: transparent #488214 transparent transparent;
}

.tag:hover,
.tag:hover:before {
    cursor: pointer;
}

.tag:before {
    content: "";
    position: absolute;
    top: 0;
    left: -0.75em;
    width: 0;
    height: 0;
    border-color: transparent #A4C18A transparent transparent;
    border-style: solid;
    border-width: 0.85em 0.75em 0.85em 0;
}

.tag:after {
    content: "";
    position: absolute;
    top: calc(50% - 0.15em);
    left: 0.1em;
    float: left;
    width: 0.3em;
    height: 0.3em;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background: #fff;
}

.tag-icon {
    display: inline-block;
    position: relative;
}

.tag-icon i {
    color: #A4C18A;
}

.tag-icon-symbol {
    position: absolute;
    color: white;
    top: calc(50% - 1em);
    left: 0.1em;
    font-size: 70%;
    font-weight: 700;
    width: 100%;
}

@media all and (max-width: 959px) {
    .record-tag-container {
        font-size: 125%;
        margin-left: 2em;
    }

    .tag {
        margin: 1em 0.75em 0 0.75em;
    }
}

.practice-log-tag-container .tag {
    padding: 0 1em;
}

.wr-progression-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: 2em 0;
}

.wr-progression-item {
    border: 1px solid #999;
    padding: 0 1.5em;
    border-radius: 0.5em;
    min-width: 300px;
}

.wr-progression-item-row {
    display: flex;
    align-items: center;
    margin: 1em 0;
}

.wr-progression-track {
    height: 3em;
    border-left: dotted 0.3em #DDD;
}

.wr-progression-item .date {
    font-size: 200%;
    color: #999;
    width: 2.5em;
    text-align: center;
}

.wr-progression-item .date.small {
    font-size: 125%;
    width: calc(8/5 * 2.5em);
}

.wr-progression-item-context {
    font-size: 75%;
    font-style: italic;
}

.wr-progression-item .metadata {
    margin-left: 2em;
}

.wr-juggler-title {
    font-size: 150%;
    font-weight: 700;
    margin-bottom: 0.5em;
}

.wr-juggler-title .flag {
    width: 1.5em;
    height: 0.9em;
}

.wr-juggler-section {
    margin-bottom: 1em;
}

.wr-juggler-profile-button {
    display: inline-block;
    border: 1px solid #999;
    border-radius: 0.5em;
    margin: 0.5em;
    padding: 0.25em 0.75em;
    text-decoration: none;
}

.wr-juggler-profile-button.jr {
    background-color: #488214;
    color: white;
    border: none;
}

.wr-juggler-profile-button.wikipedia {
    font-family: Georgia, serif;
    font-weight: 700;
}

.wr-juggler-profile-button.wiki {
    background-color: #17448e;
    color: white;
    border: none;
}

.wr-juggler-profile-button.youtube {
    background-color: #c4302b;
    color: white;
    border: none;
}

.wr-juggler-profile-button.instagram {
    color: white;
    border: none;
    background: #d6249f;
    background: radial-gradient(circle at 30% 107%, #feb979 0%, #feb979 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%)
}

.list-item {
    border-left: 3px solid #E2E1E0;
    padding-left: 0.5em;
    margin: 0.5em 0 0 0.5em;
}

.list-item.spaced {
    margin: 0.5em 0 1em 0.5em;
}

.wr-rules-list {
    margin: 0;
    padding-left: 2em;
    margin-top: 0.5em;
}

.wr-rules-block {
    margin: 1.5em 0;
}

.add-record-search-results {
    margin-top: 1em;
}

.add-pattern-form-container {
    display: flex;
}

.pattern-types-container {
    width: 300px;
}

.pattern-options-container {
    margin: 2em 0 0 1em;
    min-width: 550px;
}

.add-pattern-form-section {
    margin-bottom: 2em;
}

.add-pattern-form-section.border {
    border-left: 3px solid #E2E1E0;
    padding-left: 1em;
}

.add-pattern-form-section .title {
    margin-bottom: 0.5em;
    font-weight: 700;
}

.add-pattern-form-subsection {
    margin-bottom: 1em;
}

.add-pattern-form-row {
    margin-bottom: 0.5em;
}

.add-pattern-option {
    color: white;
    width: 100%;
    font-size: 85%;
    margin-bottom: 0.5em
}

.add-pattern-option-name {
    font-weight: bold;
    width: 100%;
    padding: 0.5em;
    background-color: #C2D5B1;
    border-radius: 5px;
}

.add-pattern-option-name:hover {
    cursor: pointer;
    background-color: #A4C18A;
}

.add-pattern-option.chosen .add-pattern-option-name {
    background-color: #488214;
    border-radius: 5px 5px 0 0;
}

.add-pattern-option-description {
    width: 100%;
    padding: 0.5em;
    background-color: #A4C18A;
    display: none;
    border-radius: 0 0 5px 5px;
}

.add-pattern-option.chosen .add-pattern-option-description {
    display: block;
}

.pattern-type-details-container:empty {
    margin: 0;
}

.beat-by-beat-container {
    margin-top: 2em;
}

.beat-by-beat-container .add-pattern-form-row {
    margin: 0.5em 0;
}

.beat-by-beat-container .add-pattern-form-row .siteswap,
.beat-by-beat-container .siteswap {
    display: inline-block;
    font-weight: 700;
}

.beat-by-beat-container .add-pattern-form-row .siteswap {
    margin-right: 0.5em;
}

.beat-by-beat-container .add-pattern-form-row .label {
    display: inline-block;
    margin: 0 1em;
}

.error-message {
    font-size: 80%;
    font-style: italic;
    color: #c00;
}

.beat-by-beat-container div[id^='ss-beat-'] {
    margin-right: 0.5em;
}

@media all and (max-width: 959px) {
    .add-pattern-form-container {
        display: block;
    }

    .pattern-types-container {
        width: 100%;
    }

    .pattern-options-container {
        margin: 0;
    }

    .add-pattern-option {
        font-size: 100%;
        margin-bottom: 0.75em
    }

    .add-pattern-option-name {
        padding: 0.75em;
    }

    .add-pattern-option-description {
        padding: 0.75em;
    }

    .beat-by-beat-container div[id^='ss-beat-'] {
        margin: 1em 0;
    }

    .beat-by-beat-container div[id^='ss-beat-']>select,
    .beat-by-beat-container div[id^='ss-beat-']>div {
        margin: 0.25em;
    }

    .beat-by-beat-container .siteswap {
        font-size: 150%;
        margin-right: 1em;
    }

    select {
        border-width: 2px;
        border-radius: 0.25em;
        padding-left: 0.5em;
        background-color: #E2E1E0;
    }

    input {
        border-width: 2px;
        border-radius: 0.25em;
    }

    .approval-buttons {
        display: flex;
        justify-content: space-between;
    }
}

.approval-buttons.space {
    margin-top: 2em;
}

.approval-button {
    display: inline-block;
    cursor: pointer;
    padding: 0.25em 0.5em;
    border-radius: 0.5em;
    border: #333 1px solid;
}

.approval-button:not(:first-child) {
    margin-left: 1em;
}

.approval-button.approve {
    border: #077E8C 1px solid;
    color: #077E8C;
}

.approval-button.reject {
    border: #D9512C 1px solid;
    color: #D9512C;
}

.approval-button.neutral {
    border: #666666 1px solid;
    color: #666666;
}

.approval-button.approve.selected {
    background-color: #077E8C;
    color: white;
}

.approval-button.reject.selected {
    background-color: #D9512C;
    color: white;
}

.approval-button.neutral.selected {
    background-color: #666666;
    color: white;
}

.approval-button.approve:hover {
    background-color: #066D7B;
    color: white;
}

.approval-button.reject:hover {
    background-color: #C8401B;
    color: white;
}

.approval-button.neutral:hover {
    background-color: #666666;
    color: white;
}

.records-table img {
    height: 6em;
}

.records-table .fas.fa-film.big {
    padding: 0;
}

.records-table .video-thumbnail-cell {
    width: 8em;
    padding: 0;
}

.records-table .video-thumbnail-cell img {
    display: block;
    width: 8em;
}

/* @media all and (max-width: 959px) {
    
}*/

table.disabled {
    opacity: 0.6;
}

.faded {
    opacity: 0.5;
}

#youtube-iframe {
    display: block;
}

.video-timeline {
    height: 600px;
    overflow-y: scroll;
    border: 1px solid #488214;
}

.video-timeline-event {
    width: 100%;
    display: flex;
    gap: 1em;
    padding: 0.5em 1em 0.5em 1em;
}

.video-timeline-event.highlight {
    border-left: 0.25em solid #488214;
    padding-left: 0.75em;
    background-color: #EBF1E4;
}

.video-timeline-event:hover {
    cursor: pointer;
    background-color: #EEE;
}

.video-timeline-event img {
    border-radius: 0.75em;
}

.video-timeline-title,
.video-timeline-main-title {
    width: 100%;
    padding: 0.5em 0.5em 0.5em 1em;
    font-weight: 700;
    font-size: 125%;
}

.video-timeline-title {
    border-top: 1px solid #CCC;
    margin-top: 0.5em;
    padding-top: 0.75em;
}

.video-timeline-main-title {
    font-size: 150%;
    padding: 1em;
    border-bottom: 1px solid #CCC;
    margin-bottom: 0.5em;
}

.img-container {
    display: inline-flex;
    flex-direction: column;
    border-radius: 0.75em;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.img-container.small {
    max-width: 15em;
}

.img-container img {
    border-radius: 0.75em 0.75em 0px 0px;
}

.img-container .img-text {
    font-size: 80%;
    text-align: center;
    font-style: italic;
    padding: 0.75em;
    line-height: 1.5em;
    border-top: 1px solid #CCC;
}

.borderless-item.two-thirds-width.youtube-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.live-competition-state {
    display: inline-block;
    color: white;
    font-size: 75%;
    padding: 0.25em 0.5em;
    border-radius: 0.25em;
    line-height: normal;
}

.live-competition-state-configuring {
    background-color: #ffcc00;
}

.live-competition-state-open-for-entrants {
    background-color: #3865a3;
}

.live-competition-state-closed-for-entrants {
    background-color: #e03b24;
}

.live-competition-state-live {
    background-color: #64a338;
}

.live-competition-state-complete {
    background-color: #87a2c7;
}

.button-container {
    margin: 0.5em 0 0.75em 0;
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 1em;
}

.button-container.left {
    justify-content: left;
}

.simple-button {
    background-color: #E2E1E0;
    border-radius: 0.5em;
    cursor: pointer;
    display: inline-block;
    padding: 0.25em 1em;

    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE10+/Edge */
    user-select: none;
    /* Standard */
}

.simple-button.selected {
    background-color: #466c0d;
    color: white;
    cursor: default;
}

.simple-button.disabled {
    background-color: #ececec;
    color: #999;
    cursor: default;
}

.simple-button:hover:not(.selected):not(.disabled) {
    background-color: #70a523;
    color: white;
}

.simple-button.right {
    float: right;
    margin-right: 0.33em;
}

@media all and (min-width: 960px) {
    .hide-on-not-phones {
        display: none;
    }
}

.hall-of-fame-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 1em 0;
    gap: 1em;
    flex-wrap: wrap;
}

@media all and (max-width: 959px) {
    .hall-of-fame-container {
        flex-direction: column;
    }
}

.hall-of-fame-section {
    border: 1px solid #70a523;
    padding: 1em;
    border-radius: 0.5em;
    flex: 1;
}

@media all and (max-width: 1650px) and (min-width: 960px) {
    .hall-of-fame-section {
        flex: 0 0 calc(50% - 0.5em);
    }
}

.hall-of-fame-section-row {
    margin: 0.5em;
    display: flex;
    gap: 1em;
}

.hall-of-fame-section-row .sub-item-3 {
    padding: 0;
}

.hall-of-fame-section-row.title {
    font-size: 125%;
    font-weight: 700;
    margin-top: 0;
}

.hall-of-fame-section-row .description {
    display: inline-block;
}

.hall-of-fame-section-row .trophy .trophy-number {
    top: 0;
}

#leaderboard-container {
    /* background: rgb(62,113,16);
    background: linear-gradient(135deg, rgb(87 156 26) 0%, rgb(87 156 26) 30%, rgba(28,48,10,1) 100%); */

    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 30s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

#leaderboard-container.fullscreen {
    font-size: 150%;
}

#leaderboard-container .leaderboard-button-container {
    padding: 0.5em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#leaderboard-container.borderless-item {
    border: 0;
}

#leaderboard-container .leaderboard-button-container .simple-button.selected {
    background-color: #666;
}

#leaderboard-container .leaderboard-button-container .simple-button:hover:not(.selected):not(.disabled) {
    background-color: #999;
}

#leaderboard-container #timer {
    font-size: 200%;
    color: #444;
}

#leaderboard.records-table {
    background: #666A;
    color: white;
    width: calc(100% - 4em);
    box-shadow: 0px 0px 10px #0009;
    margin: 2em;
}

#leaderboard.records-table tr {
    border-top: 2px solid #3336;
}

#leaderboard.records-table tr:hover {
    background-color: initial;
}

#leaderboard.records-table tr:first-child {
    border-top: 0;
}

#leaderboard.records-table tr.odd {
    background: #3332;
}

.form-row .simple-button {
    margin-right: 0.5em;
}

.sub-item-container {
    display: flex;
    flex-direction: row;
    gap: 1em;
}

@media all and (max-width: 959px) {
    .sub-item-container {
        flex-direction: column;
    }
}

.sub-third-item {
    border: 1px solid #70a523;
    border-radius: 0.5em;
    padding: 1em;
    flex-grow: 1;
}

.flag-container {
    display: inline-block;
    width: 1.5em;
}

.row-list-item {
    display: flex;
    flex-direction: row;
    justify-content: left;
    gap: 1em;
    border-radius: 1em;
    border-radius: 0.75em;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.league-img {
    position: relative;
    width: 16em;
}

.league-img img {
    border-radius: 0.75em 0 0 0.75em;
    width: 100%;
    height: 100%;
}

.league-img .flag {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 4em;
    height: 3em;
}

.league-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.row-list-item:not(:last-child) {
    margin-bottom: 1em;
}

@media all and (max-width: 959px) {
    .league-img {
        width: 10em;
    }

    .league-img .flag {
        width: 2.8em;
        height: 2.1em;
    }

    .leaflet-popup-content {
        font-size: 1em !important;
    }
}

.leaflet-popup-content {
    font-size: 0.5em !important;
}

.leaflet-control-attribution {
    display: none !important;
}

#competitor-map {
    height: 600px;
}

@media all and (min-width: 960px) {
    .item.nl-juggler-list {
        height: 800px;
        overflow: scroll;
    }

    #competitor-map {
        height: 800px;
    }
}