﻿:root {
    /* STRUCTURE (blue) */
    --ath-struct: #2f5b8a;
    --ath-struct-soft: rgba(47,91,138,0.08);
    --ath-struct-border: rgba(47,91,138,0.25);
    /* ACCENT (orange) */
    --ath-accent: #ff6a00;
    --ath-accent-hover: #ff8126;
    --ath-accent-soft: rgba(255,106,0,0.15);
    /* HEADER gray */
    --ath-header-bg: #2b2f33;
    --ath-header-bg-soft: #3a3f44;
    /* BACKGROUND */
    --ath-bg: #f4f6f8;
    --ath-card: #ffffff;
    /* TEXT */
    --ath-text: #1c1f23;
    --ath-text-muted: #6c757d;
    /* BORDER */
    --ath-border: rgba(0,0,0,0.08);
    /* SHADOW */
    --ath-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

:root,
[data-bs-theme=light] {
    --ons-result: darkblue;
    --ons-sidebar-color: #white;
    --ons-navbar-color: white;
    /*--ons-navbar-color: rgb(33, 37, 41);*/
    --ons-navbar-text-color: black;
    --ons-wind-color: #333;
    --ons-muted-color: #626262;
    --ons-muted-border-color: #c2bfbf;
    --ons-nav-link-color: black;
    /*--ons-bg-dark-header: rgb(5,1,32);*/
    --ons-bg-dark-header: rgb(33, 37, 41);
    /* --ons-bg-dark-header: rgb(33, 37, 41); */ /* poslední */
    /*--ons-bg-discipline-header: #0b5ea0;*/
    --ons-bg-discipline-header: rgb(21, 57, 90);
    /*--ons-bg-discipline-header: rgb(34,46,60); původní */
    /*--ons-bg-discipline-header: rgb(19,67,105);*/
    --ath-dark: #2b2f33;
}

[data-bs-theme=dark] {
    --ons-result: gold;
    --ons-sidebar-color: #222;
    /*--ons-navbar-color: #111;*/
    --ons-navbar-color: rgb(33, 37, 41);
    --ons-navbar-text-color: white;
    --ons-wind-color: #ccc;
    --ons-muted-color: #b4b4b4;
    --ons-muted-border-color: #3b3a3a;
    --ons-nav-link-color: white;
    --ons-bg-dark-header: #222;
    /*--ons-bg-discipline-header: #222;*/
    /*--ons-bg-discipline-header: rgb(19,67,105);*/
    --ons-bg-discipline-header: rgb(34,46,60);
    /*--ons-bg-discipline-header: #395e60;*/


    --ath-struct: #4a8fdc;
    --ath-struct-soft: rgba(74,143,220,0.15);
    --ath-struct-border: rgba(74,143,220,0.35);
    --ath-header-bg: #1b1f24;
    --ath-header-bg-soft: #252a30;
    --ath-bg: #121417;
    --ath-card: #1b1f24;
    --ath-text: #f1f3f5;
    --ath-text-muted: #9aa4ad;
    --ath-border: rgba(255,255,255,0.08);
    --ath-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

@font-face {
    font-family: WorldAthletics;
    src: url("../fonts/WorldAthleticsHeadline.otf") format("opentype");
}
@font-face {
    font-family: WorldAthletics;
    font-weight: bold;
    src: url("../fonts/WorldAthletics-Bold.otf") format("opentype");
}
@font-face {
    font-family: WorldAthletics;
    font-weight: initial;
    src: url("../fonts/WorldAthletics-Regular.otf") format("opentype");
}
body {
    font-family: 'WorldAthletics', serif;
}

.bg-dark-header {
    background-color: var(--ons-bg-dark-header);
    /*background-color: var(--ons-bg-discipline-header);*/
    /*background-color: var(--ons-navbar-color);*/
    color: white;

    border-radius: 10px;
    border-width: 5px 0px 0px 0px;
    border-top-color: #d45b00;
  
}

.btn-primary {
    background-color: #025085;
}

.container-xxl {
    max-width: 100%;
}

.text-white-a {
    color: white !important;
}

.center {
    text-align: center;
}
.aright{
    text-align:right;
}

.text-white {
    color: var(--ons-nav-link-color) !important;
}

.ml-auto {
    margin-left: auto;
}

.pull-right {
    float: right;
}

.navbar {
    border-bottom: 1px solid;
    background-color: var(--ons-navbar-color);
}

    .navbar .nav-link, .form-check-label {
        color: var(--ons-navbar-text-color) !important;
    }

.nav-pills .nav-link.active {
    background-color: var(--ons-bg-discipline-header);
}

 .bd-footer {
    background-color: #2d343e !important;
    color: white;
    padding-top: 20px;
}
.footer-copyright {
    background: #272d35;
    padding: 20px 0px;
}
/* culture */
input[type=radio] {
    display: none
}

.wwwZobrazeni input[type=radio] {
    display: inline-block !important;
    margin: 0 !important;
    left: 0
}

input[type=radio] + label {
    display: inline-block;
    margin: -2px;
    padding: 4px 12px;
    background-color: #e7e7e7;
    border-color: #ddd
}

input[type=radio]:checked + label {
    background-image: none;
    background-color: #d0d0d0
}

.culture-flag {
    margin: 0 0 0 10px;
    padding: 3px;
    cursor: pointer
}

.event-logo {
    background: white;
    padding: 3px;
    border-radius: 3px;
}
/* sidebar */
.main-sidebar {
    border-right: 1px solid black;
    background-color: var(--ons-sidebar-color) !important;
}


.nav-item i {
    margin-right: 8px;
}

.nav-link {
    color: var(--ons-nav-link-color);
}

.secundary {
    margin-left: 25px
}
/* phase header */
.resulttable th, .resultstable th, .dataTable th, #pointResultTable thead th {
    /*font-size: 80%;*/
    /*background-color: #f5f5f5 !important;*/
    /* background-color: #0d6efd;
    color: white;*/
}

.table-sm td {
    padding: 2px;
    font-size: 95%;
}

.table-sm th {
    padding: 2px;
    font-size: 80%;
    text-transform: uppercase;
    color: cadetblue;
   
}

#excelButtons {
    float: right;
    font-size: 12px;
    /*background: #f5f5f5;*/
    display: block;
    /*padding: 10px;*/
    /*width: 100%;*/
    text-align: right;
    margin-bottom: 10px;
    padding: 20px 40px 20px 0;
}

    #excelButtons i {
        font-size: 14px;
    }

.page-content h2 {
    line-height: 1.65em;
}

.printonly {
    display: none;
}

.phaseHeader {
    /*background: #0b5ea0;*/
    /*background: #0d6efd;*/
    color: white;
    border: 0 !important;
    text-align: left;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}

    .phaseHeader th {
        color: white !important;
        border: 0 !important;
        padding-top: 7px;
        padding-bottom: 7px;
        padding-left: 5px;
        padding-right: 5px;
    }

    .phaseHeader .phase-name {
        font-size: 16px;
    }

    .phaseHeader .date {
        font-size: 13px;
        font-weight: normal;
        color: white !important;
    }

table.phaseHeader .submeeting {
    padding-top: 0 !important;
    font-size: 12px;
}

.phase {
    color: #0b5ea0 !important;
    text-transform: none;
    font-size: 21px;
}

.disciplineName {
    font-weight: bold;
}

.athletepintname {
    display: none;
}
.athleteclub {
    color: var(--ons-muted-color);
}

.qualifyheader, .qualify {
    padding: 0px 0px 0 5px !important;
    border-left: 0 !important;
}

.qualify, .dqRule {
    color: #0b5ea0 !important;
    font-size: 14px;
    font-weight: bold;
}

.position {
    width: 70px;
}

.attempt {
    padding-left: 5px !important;
    padding-right: 5px !important;       
}
.attempt small{
    font-style: italic;
}
.attempt .badge-outline{
    background: green !important;
    color:white;
    font-size:80%;
    font-weight:normal;
    border: 0;
}

    .attempt small {
        font-style: italic;
    }

.badge-outline {
    color: var(--ons-muted-color);
    border: 1px solid #999;
    background-color: transparent;
    font-weight:normal;
}

.bold {
    font-weight: bold;
}

.main-result-header {
    font-size: 18px !important;
}
.muted{
    opacity:0.7;
}
th.rnk, th.bib, th.phase {
    width: 60px;
}
th.flg {
    width: 40px;
}

.rnk, .bib, .flg, .phase{
    text-align: center;
}
td.bib, td.phase {
    font-size: 85% !important;
    color: var(--ons-muted-color) !important;
}
td.phase{
    font-style:italic;
}
td.rnk{
    font-size:110%;
}
th.diff, td.diff{
    text-align: right;
}

.resultheader, .resultcell {
    border-right: 0 !important;
    padding-right: 10px !important;   
}

.resultcell {
    font-weight: bold;
    color: var(--ons-result) !important;
    font-size:115%;    
}
.resultheader, .resultcell{
    text-align: right;
}

.results-logo {
    max-width: 33px;
    padding-right: 3px;
}

.resultwind {
    color: var(--ons-wind-color);
    font-weight: normal;
    font-size: 0.8rem;
    font-style: italic;
}
.startlistnote{
    float:right;
}

.offBadge, .unoffBadge, .progressBadge, .judgingBadge, .startlistBadge {
    padding: 3px 5px;
    text-align: center;
    font-weight: normal;
    font-size: 11px;
    width: 100px;
    margin-left: 5px;
    text-decoration: none;
    color: white;
    text-transform: uppercase;
}

.judgingBadge {
    background: blue;
    border: 1px solid darkblue;
}

.offBadge {
    background: green;
    border: 1px solid darkgreen;
}

.unoffBadge {
    background: orange;
    border: 1px solid rgb(229, 126, 0);
}

.progressBadge {
    background: #0dcaf0;
    color: #222;
    border: 1px solid darkblue;
}

.startlistBadge {
    background: #565656;
    border: 1px solid #444242;
}



table.phaseHeader th.action-buttons a {
    color: #FFFFFF;
    display: inline-block;
    float: right;
    font-size: 0.8em;
    height: 16px;
    margin: 3px 3px -1px;
    text-indent: -1000em;
    width: 16px;
}

table.phaseHeader th.start-result-btns a {
    background-color: #025085;
    border-radius: 4px 4px 4px 4px;
    color: #FFFFFF !important;
    display: inline-block;
    font-size: 16px;
    margin: 0 2px;
    padding: 6px 8px;
    text-decoration: none;
    font-weight: normal;
    text-align: center;
    text-transform: uppercase;
}

table.phaseHeader th.start-result-btns {
    width: 245px !important;
    text-align: right;
}

    table.phaseHeader th.start-result-btns a.selected {
        text-decoration: underline;
    }

table.phaseHeader th.action-buttons a.photoFinish {
    background: url('images/icon_photofinish.png') no-repeat 0 0 transparent;
}

table.phaseHeader th.action-buttons a.pdf {
    background: url('images/icon_pdf.png') no-repeat 0 0 transparent;
}

table.phaseHeader th.action-buttons a.excel {
    background: url('images/icon_excel.png') no-repeat 0 0 transparent;
}

table.phaseHeader th.action-buttons a.info {
    background: url('images/icon_info.png') no-repeat 0 0 transparent;
}

.competitorCount td {
    border: 0 !important;
    text-align: right;
}


th.verticalJumps {
    width: 400px;
    line-height: 1.2em;
    text-align: left;
}

.verticalJumps span {
    display: inline-block;
    text-align: center;
    width: 40px;
}

td.attemptvertical span {
    display: inline-block;
    text-align: center;
    width: 40px;
    font-size: 80%
}
td.splitsColumn span, th.splitsColumn span {
    display: inline-block;
    text-align: right;
    width: 80px;
    font-size: 80%
}

th.splitsColumn {
    width: 720px;
}

@media(min-width: 1500px) {
    th.splitsColumn {
        width: 1100px;
    }
}


@media(min-width: 1800px) {
    th.splitsColumn {
        width: 1300px;
    }
}

    .card1, .card2, .card3, .card4, .card5, .card6 {
        padding-left: 3px;
        padding-right: 3px;
        height: 20px;
        display: inline-block;
        border-radius: 3px;
        color: white;
        font-size: 10px;
        width: 12px;
        padding-top: 1px;
    }

    /* cards */
    .card1 {
        background: rgb(217, 37, 48);
    }

    .card2 {
        background: yellow;
    }

    .card3 {
        background: yellow;
    }

    .card4 {
        background: yellow;
    }

    .card5 {
        background: yellow;
    }

    .card6 {
        background: purple;
        ;
    }

    /*not important*/
    table.resulttable td.attemptvertical {
        border-left: 1px solid #ccc;
        border-right: 1px solid #ccc;
        /*background-color: #F9F9F9;*/
    }

    table.resulttable .k-alt td.attemptvertical {
        border-left: 1px solid #fccc;
        border-right: 1px solid #ccc;
        /*background-color: rgb(235,235,235);*/
    }

    table.resulttable td.attempt {
        /*background-color: #F9F9F9;*/
        text-align: center;
        font-size: 80%;
    }

    table.resulttable .k-alt td.attempt {
        /*background-color: rgb(235,235,235);*/ /*#F9F9F9;*/
    }

    table.resulttable .brdr-l {
        border-left: 1px solid #ccc;
        /*background-color: #F9F9F9;*/
    }

    table.resulttable td.split {
        /*background-color: #F9F9F9;*/
        text-align: right;
        font-size: 80%;        
    }

    .splits-div {
        overflow-x: scroll;
        left: -260px;
    }

        .splits-div .split {
            width: 80px;
        }

.form-switch{
    padding-right: 5px;
}
.splitsColumn .split em {
    display: block;
    color: var(--ons-muted-color) !important;
    font-size: 90%;
    border-top: 1px solid var(--ons-muted-border-color);
}
    /* Result / startlist switch */
    div.ajaxError {
        background: url('images/bkg_spinner_dark.png') repeat;
        position: absolute;
        border-radius: 0 0 4px 4px;
        -moz-border-radius: 0 0 4px 4px;
        -wekit-border-radius: 0 0 4px 4px;
    }

        div.ajaxError div {
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            background: url('images/icon_attention.png') no-repeat center center;
            border-radius: 0 0 4px 4px;
            -moz-border-radius: 0 0 4px 4px;
            -wekit-border-radius: 0 0 4px 4px;
        }

            div.ajaxError div span {
                color: #f5adad;
                font-size: 1.2em;
                font-weight: bold;
                left: 30%;
                position: absolute;
                text-align: center;
                top: 57%;
                width: 300px;
            }

    div.resultsAjaxSpinner {
        background: url('images/bkg_spinner.png') repeat;
        position: absolute;
        border-radius: 4px;
        -moz-border-radius: 4px;
        -wekit-border-radius: 4px;
    }

        div.resultsAjaxSpinner div {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: url('images/icon_ajaxloader.gif') no-repeat center center;
            border-radius: 4px;
            -moz-border-radius: 4px;
            -wekit-border-radius: 4px;
        }

    @media(max-width: 993px) {
        .main-sidebar {
            margin-left: -280px;
        }

        .results-logo {
            max-width: 20px;
        }

        .table-sm th, .table-sm td {
            font-size: 70% !important;
        }

        th.flg, th.rnk {
            width: 30px;
        }

        .navbar-brand img {
            max-width: 200px !important;
            max-height: 24px;
        }

        table.resulttable td.attempt, .attemptvertical, .athleteclub {
            font-size: 85%
        }

        th.verticalJumps {
            width: 280px;
        }
    }

    @media(max-width: 800px) {
        .h600 {
            display: none;
        }

        .h600d {
            display: none;
        }

        .table-sm td {
            font-size: 70% !important;
        }

        .h600v {
            display: table-cell !important;
        }
        .resultpanel, .ath-heat-body {
            overflow-x: scroll;
        }
        .accordion{
            overflow-x: scroll;
            clear:both;
        }
    }

    @media(min-width: 800px) {
        .w600 {
            display: none;
        }
    }

    .navbar-toggler {
        color: var(--ons-navbar-text-color);
        font-weight: bold;
    }

    .discipline-time {
        padding: 5px;
        /*background: #333 !important;*/
    }

    /* teest */

.nav-scroller{
    margin-bottom: 10px;
}
.nav-scroller .nav-link {
    border: 1px solid grey;
    border-radius: 20px;
    padding: 2px 8px;
}
.nav-scroller .nav-underline{
    gap: 5px;
}


/*
.results-container {
    background-color: var(--ons-sidebar-color) !important;
}*/
.l-bg-cherry {
    background: var(--ath-dark);
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    color: white;
}

        .l-bg-cherry::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 4px;
            background: linear-gradient(180deg,#ff6a00,#ff9a3c);
        }


    .l-bg-blue-dark {
        background: linear-gradient(to right, #373b44, #4286f4) !important;
        color: #fff;
    }

    .l-bg-green-dark {
        background: linear-gradient(to right, #0a504a, #38ef7d) !important;
        color: #fff;
    }

    .l-bg-orange-dark {
        background: linear-gradient(to right, #a86008, #ffba56) !important;
        color: #fff;
    }

    .l-bg-online-dark {
        background: rgb(5,1,32);
        background: linear-gradient(90deg, rgba(5,1,32,1) 8%, rgba(8,5,3,1) 59%, rgba(64,42,3,1) 100%);
        color: #fff;
        /*color:*/
    }
