[v-cloak]>* {
    display: none
}

* {
    overflow: hidden;
}

#app {
    overflow: auto;
    height: 100%;
}

html,
body {
    min-height: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: black url(/img/g-script.png) center center no-repeat;
    background-size: 70%;
    min-height: 100%;
    margin: 0;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: Roboto, Noto Sans, -apple-system, BlinkMacSystemFont, sans-serif;
}

.live-table-item {
    margin-bottom: -1px;
}

.live-table-item,
.header {
    transition: all 1s ease-in-out;
    font-size: 30px;
    background: #eee;
    width: 100%;
    display: table-row;
    border: none;
}

.header {
    background: black;
    color: white;
    font-weight: bold;
}

.header div {
    font-size: 70%;
}

.header div,
.live-table-item div {
    padding: 5px 20px;
    display: table-cell;
    white-space: nowrap;
    vertical-align: middle;
}

.live-table-item div.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-table-item div.rank {
    font-weight: bold;
    font-size: 80%;
    border-right: 1px solid #00000015;
    text-align: center;
    position: relative;
}

.live-table-enter,
.live-table-leave-to {
    opacity: 0;
    z-index: 1;
    transform: translateY(30px);
}

.live-table-item.live-table-leave-active {
    position: absolute !important;
    opacity: 0;
    transform-origin: center;
    transform: scale(0.7) translateX(100%);
    z-index: 2;
}

.live-page {
    display: block !important;
    overflow: auto;
}

.live-page>div {
    width: 100%;
    position: relative;
    margin: 0;
}

.live-table-item {
    transform-origin: center;
    position: relative;
    z-index: 1;
}

.live-table-move {
    z-index: 1;
}

.live-table-item.live-table-move.updated,
.live-table-enter-active.updated {
    z-index: 2;
}

.live-table-item.running {
    animation: blink 1s infinite;
    -webkit-animation: blink 1s infinite;
}

.live-table-item>.result_class {
    /*background: lightgray;*/
}

.live-table-item.class_A>.result_class {
    background: black;
    color: red;
}

.live-table-item.class_B>.result_class,
.live-table-item.class_C1>.result_class,
.live-table-item.class_C2>.result_class {
    background: black;
    color: white
}

.live-table-item.class_C3>.result_class,
.live-table-item.class_D1>.result_class {
    background: red;
    color: white;
}

.live-table-item.class_D2>.result_class,
.live-table-item.class_D3>.result_class {
    background: yellow;
    color: black
}

.live-table-item.divider {
    height: 1px;
    background: #000;
}

.live-table-item.divider>div {
    padding: 0;
}

.place_1>div.best,
.place_1>div.pilot {
    font-weight: 900;
}

.place_2>div.best,
.place_2>div.pilot {
    font-weight: 500;
}

.place_1>div.pilot,
.place_2>div.pilot,
.place_3>div.pilot {
    text-decoration: underline;
}


.place_1>div.rank,
.place_2>div.rank,
.place_3>div.rank {
    font-size: 0;
    color: transparent;
    background-size: contain !important;
}

.place_1>div.rank {
    background: url("/img/icon_live_1st.png") no-repeat center center;
}

.place_2>div.rank {
    background: url("/img/icon_live_2nd.png") no-repeat center center;
}

.place_3>div.rank {
    background: url("/img/icon_live_3rd.png") no-repeat center center;
}

.place_1.class_pro>div.rank {
    background-image: url("/img/icon_live_1st_white.png");
}

.place_2.class_pro>div.rank {
    background-image: url("/img/icon_live_2nd_white.png");
}

.place_3.class_pro>div.rank {
    background-image: url("/img/icon_live_3rd_white.png");
}

.class_pro>div,
.tournament-ladder .division_pro {
    /*background-color: #525252;*/
    background-color: #323232;
    color: #fff;
}

.class_pro.place_1>div,
.class_pro.place_2>div,
.class_pro.place_3>div {
    background-color: #323232;
}

.class_skilled>div {
    background-color: #dd5545;
}

.class_skilled.place_1>div,
.class_skilled.place_2>div,
.class_skilled.place_3>div {
    background-color: #dd5545;
}

.class_amateur>div {
    background-color: #eab335;
}

.class_amateur.place_1>div,
.class_amateur.place_2>div,
.class_amateur.place_3>div {
    background-color: #eab335;
}

.class_novice>div {
    background-color: #b9b9b9;
}

.class_novice.place_1>div,
.class_novice.place_2>div,
.class_novice.place_3>div {
    background-color: #b9b9b9;
}

.live-table-item>.result_class {
    text-align: center;
    position: relative;
}

.live-table-item>div {
    position: relative;
    border-bottom: 1px solid #00000015;
}

.live-table-item:nth-child(even)>div:after {
    content: "";
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: #000;
    opacity: 0.05;
    pointer-events: none;
}

.live-table-item.division .result_class {
    font-size: 80%;
    text-transform: uppercase;
}

.no_overflow {
    overflow: visible;
}

.class_column {
    text-align: center;
    padding: 5px 40px 5px 0;
}

.centered {
    text-align: center;
}

.hit {
    font-size: 80%;
    padding-right: 0 !important;
}

.penalties {
    font-size: 80%;
    padding-left: 0 !important;
}

.live-table-item.place_null>div {
    color: #777;
}

.moto {
    font-size: 75%;
}

.img {
    width: 100%;
    background: #000;
    display: block;
}


.live-table-item .number {
    font-size: 80%;
}

.general_rank {
    padding: 0 3px !important;
    text-align: center;
    background: #000 !important;
    font-size: 60%;
    font-weight: bold;
    color: #aaa;
}


.tournament-ladder {
    background: #fff;
    display: table;
    position: relative;
}

.tournament-ladder .stage-title {
    color: white;
    text-align: center;
    padding: 2px 0;
}

.tournament-ladder .division_skilled,
.tournament-ladder .division_skilled .results {
    background-color: #ff8686;
}

.tournament-ladder .division_skilled .pair,
.tournament-ladder .division_skilled .stage-title,
.tournament-ladder .division_skilled .final {
    background-color: #ff6e6e;
}

.tournament-ladder .division_amateur,
.tournament-ladder .division_amateur .results {
    background-color: #ffe466;
}

.tournament-ladder .division_amateur .pair,
.tournament-ladder .division_amateur .stage-title,
.tournament-ladder .division_amateur .final {
    background-color: #fcd51d;
}

.tournament-ladder .division_novice,
.tournament-ladder .division_novice .results {
    background-color: #c5c5c5;
}

.tournament-ladder .division_novice .pair,
.tournament-ladder .division_novice .stage-title,
.tournament-ladder .division_novice .final {
    background-color: #b3b3b3;
}

.tournament-ladder .connectors {
    display: block;
    pointer-events: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.tournament-ladder .connectors>div {
    position: absolute;
}

.tournament-ladder .connectors>div>div {
    width: 50%;
    height: 50%;
    position: absolute;
}

.tournament-ladder .connectors>div>div.left-arrow {
    top: 0;
    left: 0;
    border-right: 1px solid white;
    border-top: 1px solid white;
}

.tournament-ladder .connectors>div.reversed>div.left-arrow {
    border-top: 0;
    border-bottom: 1px solid white;
    top: auto;
    bottom: 0;
}

.tournament-ladder .connectors>div>div.right-arrow {
    right: 0;
    bottom: 0;
    border-left: 1px solid white;
    border-bottom: 1px solid white;
    width: calc(50% - 1px);
}

.tournament-ladder .connectors>div.reversed>div.right-arrow {
    bottom: auto;
    top: 0;
    border-top: 1px solid white;
    border-bottom: 0
}

.tournament-ladder .division {
    display: flex;
}

.tournament-ladder .division .final {
    display: flex;
    width: 300px;
    flex-direction: column;
}

.tournament-ladder .division .final .title {
    color: #000000;
    opacity: 0.4;
    font-size: 18px;
    text-align: center;
}

.tournament-ladder .division .final .title span {
    text-transform: uppercase;
}

.tournament-ladder .division .final .places {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tournament-ladder .division .final .places span {
    vertical-align: middle;
    opacity: 0.5;
    font-weight: bold;
}

.tournament-ladder .division .final .places i {
    display: inline-block;
    vertical-align: middle;
    height: 36px;
    width: 48px;
    margin-right: 10px;
    background-size: contain;
}

.tournament-ladder .division .final .places .first i {
    background: url("/img/icon_live_1st_white.png") no-repeat center;
}

.tournament-ladder .division .final .places .second i {
    background: url("/img/icon_live_2nd_white.png") no-repeat center;
}

.tournament-ladder .division .final .places .third i {
    background: url("/img/icon_live_3rd_white.png") no-repeat center;
}

.tournament-ladder .division .final .places .first span {
    opacity: 1;
    color: white;
    border-bottom: 2px solid white;
}

.tournament-ladder .division .stage {
    flex: 3;
    display: flex;
    flex-direction: column;
    padding-bottom: 10px;
}

.tournament-ladder .division .stage .pair-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-grow: 3;
    margin: 0 20px;
    overflow: visible;
    max-width: 450px;
}

.tournament-ladder .division .stage .pair-wrapper.in-progress .pair {
    animation: blink 1s infinite;
    -webkit-animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0.2;
    }
}

@-webkit-keyframes blink {
    50% {
        opacity: 0.2;
    }
}

.tournament-ladder .division .stage.is-uneven .pair-wrapper.is-single {
    flex-grow: 0;
}

.tournament-ladder .division .stage .pair-wrapper.is-for-second-place {
    flex-grow: 1;
    opacity: 0.5;
}

.tournament-ladder .division .stage.is-uneven .pair-wrapper.is-single:last-of-type {
    flex-grow: 3;
}

.tournament-ladder .division .stage .pair {
    flex-grow: 1;
    border: 1px solid white;
    margin: 10px 0px;
    box-shadow: 3px 3px 3px 0 rgba(0, 0, 0, 0.3);
}

.tournament-ladder .division .stage .is-single .pair {
    margin: 21.5px 0px;
}

.tournament-ladder .division .stage .pair .pilot {
    padding: 2px 0 2px 5px;
    min-height: 19px;
    display: flex;
    justify-content: space-between;
}

.tournament-ladder .division .stage .pair .pilot>div {
    white-space: nowrap;
    text-overflow: ellipsis;
}

.tournament-ladder .division .stage .pair .pilot>div.pilot-name,
.tournament-ladder .division .stage .pair .pilot>div.motor {
    flex: 1;
    min-width: 50px;
}

.tournament-ladder .pair .is-loser>div {
    color: #666;
}

.tournament-ladder .pair .is-loser .pilot-name,
.tournament-ladder .pair .is-loser .number,
.tournament-ladder .pair .is-loser .motor {
    text-decoration: line-through;
}

.tournament-ladder .division .stage.is-first {
    min-width: 350px;
    flex: 4;
}

.tournament-ladder .division .stage.is-first .pair-wrapper {
    max-width: 550px;
}

.tournament-ladder .division .stage .pair .pilot>div.number {
    width: 40px;
    text-align: center;
    overflow: visible;
}

.tournament-ladder .division .stage .pair .pilot>div.class {
    width: 35px;
    text-align: center;
    overflow: visible;
}

.tournament-ladder .division .stage .pair .empty-pilot {
    padding: 2px 5px;
    min-height: 19px;
}

.tournament-ladder .division .stage .pair .results {
    border-left: 2px solid white;
    display: flex;
    margin: -2px 0 -2px 0;
    padding: 2px 5px;
    overflow: visible;
    font-size: 18px;
    line-height: 100%;
}

.tournament-ladder .division .stage .pair .round {
    min-width: 20px;
    text-align: center;
    line-height: 105%;
}

.tournament-ladder .division .stage .pair .results i {
    display: block;
    width: 100%;
    height: 100%;
    background: url("/img/icon_on_hold.png") no-repeat center center;
    background-size: 70%;
}

.tournament-ladder .division .stage .pair .round b {
    font-weight: normal;
    color: #ff5252;
}

.tournament-ladder .division .stage .pair .round span {
    color: #777;
}

.tournament-ladder .division .stage .pair .round e {
    color: #fff;
}


@media (max-width: 1402px) {

    .live-table-item,
    .header {
        font-size: 25px;
    }

    .class_column {
        padding: 4px 32px 4px 0;
    }

    .header div,
    .live-table-item div {
        padding: 4px 16px;
    }
}

@media (max-width: 1160px) {

    .live-table-item,
    .header {
        font-size: 20px;
    }

    .class_column {
        padding: 3px 26px 3px 0;
    }

    .header div,
    .live-table-item div {
        padding: 3px 13px;
    }
}

@media (max-width: 933px) {

    .live-table-item,
    .header {
        font-size: 15px;
    }

    .class_column {
        padding: 2.5px 20px 2.5px 0;
    }

    .header div,
    .live-table-item div {
        padding: 2.5px 10px;
    }
}

@media (max-width: 712px) {

    .live-table-item,
    .header {
        font-size: 12px;
    }

    .class_column {
        padding: 2px 16px 2px 0;
    }

    .header div,
    .live-table-item div {
        padding: 2px 8px;
    }

    .general_rank {
        padding: 0 2px !important;
    }

}

@media (max-width: 572px) {

    .live-table-item,
    .header {
        font-size: 9px;
    }

    .class_column {
        padding: 1.5px 12px 1.5px 0;
    }

    .header div,
    .live-table-item div {
        padding: 1.5px 6px;
    }
}

@media (max-width: 370px) {

    .live-table-item,
    .header {
        font-size: 8px;
    }

    .class_column {
        padding: 1px 10px 1px 0;
    }

    .header div,
    .live-table-item div {
        padding: 1px 5px;
    }

    .general_rank {
        padding: 0 1px !important;
    }
}

@media (max-width: 435px) {

    .live-table-item,
    .header {
        font-size: 7px;
    }

    .class_column {
        padding: 1px 8px 1px 0;
    }

    .header div,
    .live-table-item div {
        padding: 1px 4px;
    }
}

@media (max-width: 330px) {

    .live-table-item,
    .header {
        font-size: 6px;
    }

    .class_column {
        padding: 1px 5px 1px 0;
    }

    .header div,
    .live-table-item div {
        padding: 1px 3px;
    }
}

.zoom-controls {
    z-index: 1000;
    position: fixed;
    top: 15px;
    left: 15px;
    font-size: 20px;
    background: white;
    width: 52px;
    padding: 5px;
    text-align: center;
}

.zoom-controls button {
    font-size: 30px;
    font-weight: bold;
    width: 100%;
}

.live-grid {
    display: block;
}

.live-grid .header,
.live-grid .live-table-item {
    display: grid;
    grid-template-columns: 3% 10% 43% 30% 16%;
}

.live-grid .live-table-item.divider {
    height: 2px;
}

.live-grid .general_rank {
    display: flex !important;
    align-items: center;
    justify-content: center;
}