:root {
    --dark-blue: #001B33;
    --accent: #FFBD32;
    --primary-color: rgb(2, 26, 45);
    --secondary-color: rgb(196, 11, 17);
}

@font-face {
    font-family: proxima-light;
    font-display: swap;
    src: url(../fonts/Proxima_Nova_Regular.otf);
}

@font-face {
    font-family: proxima-bold;
    font-display: swap;
    src: url(../fonts/Proxima_Nova_Bold.otf);
}

@font-face {
    font-family: 'gobold-regular';
    src: url('../fonts/GoboldRegular.otf') format('opentype');
}

@font-face {
    font-family: 'norwester';
    src: url('../fonts/norwester.otf') format('opentype');
}

@font-face {
    font-family: 'freeroad';
    src: url('../fonts/FreeroadRegular.ttf');
}

@font-face {
    font-family: 'gilroy';
    src: url('../fonts/Gilroy-Medium.ttf');
}

@font-face {
    font-family: proxima-nova;
    /*Mais facil manter o nome da fonte antiga do que mudar a fonte em todo o codigo*/
    font-display: swap;
    src: url('/fonts/Futura Std Heavy.otf');
}

@font-face {
    font-family: proxima-nova;
    font-display: swap;
    src: url('/fonts/Futura Std Medium.otf');
    font-weight: 200;
}

@font-face {
    font-family: proxima-nova;
    font-display: swap;
    src: url('/fonts/Futura Std Bold.otf');
    font-weight: bold;
}

* {
    touch-action: manipulation;
    scrollbar-color: var(--primary-color) grey;
    scrollbar-width: thin;
    text-transform: uppercase;
}

ul.horizontal {
    font-family: proxima-nova, arial;
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
}

ul.horizontal li {
    float: left;
}

ul.horizontal li a {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

ul.horizontal li a:hover:not(.active) {
    background-color: #000;
}

ul.horizontal li a.active {
    background-color: #d90404;
}

ul.horizontal2 {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e7e7e7;
    background-color: #f3f3f3;
}

ul.horizontal2 li {
    float: left;
}

ul.horizontal2 li a {
    display: inline-block;
    color: #666;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

ul.horizontal2 li a:hover:not(.active) {
    background-color: #ddd;
}

ul.horizontal2 a.active {
    color: white !important;
    background-color: #d90404 !important;
}

.width94 {
    width: 94%;
}

@media screen and (max-width: 600px) {
    .width94 {
        width: 100%;
    }
}

.switchPoint {
    height: 30px;
    width: 30px;
    background: white;
    border-radius: 5px;
    text-align: center;
    color: black;
    font-size: 16pt;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.switchPointPopup {
    z-index: 5;
}

.switchPointPopup .mapboxgl-popup-content {
    background: black !important;
    opacity: 0.8;
    color: white;
    z-index: 5;
}

.switchPointPopup .mapboxgl-popup-content button {
    color: white;
}

.switchPointPopup .mapboxgl-popup-tip {
    border-top-color: black;
    opacity: 0.8;
    z-index: 5;
}


body {
    margin: 0;
    padding: 0;
    font-family: freeroad;
    text-transform: uppercase;
}

.targetMarker {
    border-radius: 50%;
    color: white;
    padding: 2px;
    width: 30px;
    height: 30px;
    line-height: 2.6;
    text-align: center;
    font-size: 12pt;
}

* {
    touch-action: manipulation;
}

*:focus {
    outline: none;
}

a {
    text-decoration: none;
    color: inherit;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    font-size: 10pt;
    color: white;
    opacity: 1; /* Firefox */
}

.slideshow {
    height: 100px;
    /*margin: 0 auto;*/
    position: fixed;
    bottom: 0;
    left: 0;
    transform: translate3d(0, 0, 0);
    display: flex;
    width: calc(100% - 400px);
    overflow: hidden;
	z-index: 4;
}

.move {
    height: 100%;
    transform: translate3d(0, 0, 0);
    display: flex;
    animation: moveSlideshow 30s linear infinite;
}

.move > img {
    height: 100%;
    width: auto;
    margin-right: 5px;
}


.slideshow:hover .move {
    animation-play-state: paused;
}

@keyframes moveSlideshow {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
        /*The width of the page needs to be taken into consideration*/
    }
}

#LiveTableHeadMainM > th {
	padding: 5px 1px;
	background-color: var(--accent);
	text-align: center;
}

#threedbutton {
    color: var(--dark-blue);
    z-index: 1;
    background: var(--accent);
    padding: 10px;
    padding-top: 15px;
    font-size: 20pt;
    border-radius: 100px;
    cursor: pointer;
    opacity: 0.6;
}

#threedbutton:hover, #threedbutton.active {
    opacity: 1;
}

#statusBar {
    position: fixed;
    top: 0;
    z-index: 20;
    width: 100%;
    height: 50px;
    font-size: 20pt;
    font-family: 'proxima-light';
    color: white;
    background-color: red;
    text-align: center;
    line-height: 1.9;
}

/*______________altimetry menu__________*/
#altimetryMenu {
    display: flex;
    z-index: 10;
    padding: 30px 0px 10px 20px;
    color: white;
    position: fixed;
    bottom: calc(50px - 30vh);
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 30vh;
    opacity: 0.5;
    transition: opacity 0.5s, bottom 0.5s;
    -webkit-transition: opacity 0.5s, bottom 0.5s;
    box-sizing: border-box;
}

#altimetryMenu:hover {
    z-index: 10;
    padding: 30px 0px 10px 20px;
    color: white;
    position: fixed;
    bottom: calc(50px - 30vh);
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 30vh;
    opacity: 1;
    transition: opacity 0.2s, bottom 0.5s;
    -webkit-transition: opacity 0.2s, bottom 0.5s;
    box-sizing: border-box;
}

#altimetryMenuButton {
    position: absolute;
    box-sizing: border-box;
    top: 0;
    left: 0;
    z-index: 10;
    text-align: center;
    padding-top: 7.5px;
    height: 30px;
    width: 100%;
}

#altimetryMenuButtonIcon {
    cursor: pointer;
}

#altimetryMenuItems {
    position: static;
    display: flex;
    width: 100%;
    height: 100%;
}

#mainCanvas {
    position: static;
    z-index: 10;
    width: calc(100% - 200px);
    height: 100%;
}

#targetCanvas, #altimetryCanvas {
    position: absolute;
}

#altimetryMenuOptions {
    width: 200px;
    display: flex;
    flex-flow: nowrap column;
    justify-content: space-evenly;
    align-items: center;
}

#altimetryMenuOptions button {
    cursor: pointer;
    text-transform: uppercase;
    width: 125px;
    color: white;
    background: none;
    letter-spacing: 1px;
    border: 2px solid white;
    border-radius: 20px;
    font-size: 13px;
    transition: background-color 0.3s;
    -webkit-transition: background-color 0.3s;
}

#altimetryMenuOptions button:hover {
    transition: background-color 0.3s;
    -webkit-transition: background-color 0.3s;
}


/*______________side Menu_______________*/
#sideMenu {
    overflow: hidden;
    color: white;
    position: fixed;
    z-index: 10;
    top: 0;
    right: 0;
    background-color: rgba(0,0,0,0.8);
    width: 100%;
    max-width: 400px;
    height: 100vh;
    opacity: 0.7;
    transition: opacity 0.5s, right 0.5s ease, height 0.5s;
    -webkit-transition: opacity 0.5s, right 0.5s ease, height 0.5s;
}

#sideMenu:hover {
    opacity: 0.8;
    transition: opacity 0.2s, right 0.5s ease, height 0.5s;
    -webkit-transition: opacity 0.2s, right 0.5s ease, height 0.5s;
}

#sideMenu .closeMenu {
    margin-left: 20px;
}

#sideMenu .hide {
    visibility: hidden;
}

#sideMenu .container {
    height: calc(100% - 50px);
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: center;
}

#sideMenu .menuItem {
    width: 90%;
}

#navContainer {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

#search {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: content-box;
    width: 180px;
    padding: 2px 5px;
    color: var(--dark-blue);
    background-color: #E4E4E4;
}

#searchInput {
    font-size: 13px;
    border: none;
    color: var(--dark-blue);
    background-color: transparent;
}

#searchInput::placeholder {
    color: var(--dark-blue);
}

#search i {
    margin: 5px;
}

#replayButton button {
    background-color: red;
    color: white;
    border: 1px solid red;
    font-size: 12pt;
    font-family: gobold-regular;
    border-radius: 2px;
    margin: 0;
    cursor: pointer;
}

#closeMenuIcon {
    padding: 15px 0px;
    cursor: pointer;
}

.verticalLine {
    height: inherit;
    width: 0;
    border: 1px solid white;
}

#menuTopBar .topBarContainer {
    display: flex;
    justify-content: center;
}

#menuTopBar i {
    cursor: pointer;
    color: white;
    font-size: 15pt;
    padding: 2px 15px;
}

#menuTopBar .clicked {
    color: var(--accent)
}

.menuTime {
    font-size: 10pt;
}

.menuTime table {
    width: 100%;
    text-align: center;
}

.menuTableRoute {
    border: 2px solid transparent;
    border-radius: 100px;
    padding: 2px;
}

.menuTable {
    overflow-y: scroll;
    overflow-x: auto;
    margin-top: 15px;
    min-height: 70px;
}

#athleteTable, #liveResultsTable {
    width: 100%;
    text-align: center;
    color: white;
    font-size: 13px;
    border-collapse: collapse;
}

#athleteTable thead, #liveResultsTable thead {
    height: auto;
    position: -webkit-sticky;
    top: 0;
}

#athleteTable > thead > tr > th {
    padding: 5px;
}

#athleteTable thead tr, #liveResultsTable thead tr {
    font-family: gobold-regular, sans-serif;
    background-color: var(--accent);
    color: black;
    font-size: 14px;
    padding: 20px;
}

#athleteTable td, #liveResultsTable td {
    padding: 5px;
    text-align: left;
}

#liveResultsTable td {
    white-space: nowrap;
}

#athleteTable th, #liveResultsTable th {
    text-align: left;
}

.tableLine {
    cursor: pointer;
    border-bottom: 1px solid #9E9F9E;
}

.tableBubble {
    width: 12px;
    height: 12px;
    margin: 0 auto;
    border: 1px solid white;
    border-radius: 50%;
    background-color: black;
}

#menu3 {
    overflow-y: scroll;
}

#menuMapOptions {
    margin-top: 40px;
    display: flex;
    flex-flow: wrap row;
}

#streetsStreets, #outdoorsStreets, #satelliteStreets, #lightStreets, #darkStreets {
    text-align: center;
    width: 33%;
    cursor: pointer;
    margin-bottom: 30px;
}

#menuMapOptions i {
    font-size: 35pt;
}

.menuMapOptionsTitle {
    padding: 7px 0px 7px 0px;
    font-size: 10pt;
}

.menuMapOptionsImgFrame {
    background-color: white;
    margin: 0 auto;
    border-radius: 5px;
    width: 54px;
    height: 54px;
}

.menuMapOptionsImgFrame img {
    border: 2px solid white;
    border-radius: 5px;
}

#menuOptionsContainer {
    display: flex;
    width: 100%;
    flex-flow: row wrap;
}

.menuOptionsItems {
    font-size: 11px;
    line-height: 2.3;
    width: 60%;
    padding: 10px 0px;
}

.checkbox {
    cursor: pointer;
    border: 2px solid white;
    height: 20px;
    width: 20px;
    border-radius: 5px;
    float: left;
    margin-right: 5px;
    text-align: center;
}

.checkbox i {
    font-size: 12pt;
}


.menuTitle {
    border-bottom: 1px solid white;
    font-size: 15px;
    padding-left: 3px;
    padding-bottom: 3px;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.menuTitle i {
    font-size: 12px;
}

.legendItemBubble {
    padding: 3px;
    font-size: 11px;
}

.itemBubble {
    padding: 5px;
    border-radius: 50%;
    border: 1px solid white;
    float: left;
    margin-right: 5px;
}


#routeLegend {

}

#routeLegend .content {
    overflow: hidden;
    -webkit-transition: height 0.3s;
}

#routeLegend .legendItemRoute {
    padding: 3px;
    font-size: 11px;
    display: flex;
    align-items: center;
    letter-spacing: 1.5px;
}

#routeLegend .legendItemRoute div {
    width: 50px;
    height: 3px;
    margin-right: 10px;
    border-radius: 3px;
}

/*----------------------------------------*/


#athleteInfoBox {
    z-index: 10;
    position: fixed;
    top: 50px;
    left: 40px;
    border-radius: 10px;
    height: 280px;
    width: 300px;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 8px;
    color: #EAEAE8;
    box-sizing: border-box;
    line-height: 1.5;
}

#athleteInfoBoxTitle {
    padding: 10px;
    letter-spacing: 1px;
    font-size: 13px;
    font-weight: 100;
}

#athleteInfoBoxClose {
    position: absolute;
    right: 10px;
    top: 5px;
    cursor: pointer;
}

.athleteBoxColumn {
    width: 50%;
    height: 186px;
    padding-left: 10px;
}

.athleteBoxColumn div {
    font-size: 9.5px;
    padding-bottom: 10px;
}

.athleteInfoLabel {
    letter-spacing: 1px;
}

#athleteBoxLastTime {
    color: #D8812A;
    position: absolute;
    bottom: 0px;
    padding: 10px;
    font-size: 9pt;
    letter-spacing: 1px;
}

#athleteBoxBubble {
    background-color: grey;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    border: 3px solid white;
    position: absolute;
    bottom: 14px;
    right: 14px;
}

#ctrlContainer {
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 60px;
    left: 10px;
    align-items: center;
    transition: bottom 0.5s;
    -webkit-transition: bottom 0.5s;
	z-index: 5;
}

#zoomCtrl {
    margin-top: 15px;
    padding-top: 10px;
    width: 88px;
    height: 40px;
    background-color: var(--dark-blue);
    text-align: center;
    border-radius: 11px;
    z-index: 5;
    color: #EAEAE8;
    box-sizing: border-box;
}

#zoomCtrl div {
    box-sizing: border-box;
    cursor: pointer;
    float: left;
    width: 50%;
}

#compassCtrl {
    width: 150px;
    height: 150px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    border: 6px solid rgba(0, 0, 0, 0);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

#compassCtrl img {
    cursor: grab;
    user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}


#map {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

.videoMarker {
    position: relative;
    background: white;
    color: black;
    border-radius: .4em;
    padding: 5px;
    font-size: 19pt;
    cursor: pointer;
}


.videoMarker:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-top-color: white;
    border-bottom: 0;
    margin-left: -10px;
    margin-bottom: -10px;
}

.marker, .replayMarker {
    background-size: cover;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px white solid;
    /* border-radius */
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    /* box-shadow */
    -webkit-box-shadow: rgba(0, 0, 0, 0.6) 0px 0 10px;
    -moz-box-shadow: rgba(0, 0, 0, 0.6) 0 0 10px;
    box-shadow: rgba(0, 0, 0, 0.6) 0 0 10px;
}

.markerLabel {
    display: flex;
    margin-left: 8px;
    font-size: 11pt;
    /* border-radius */
    -webkit-border-radius: 10px 6px 6px 10px;
    -moz-border-radius: 10px 6px 6px 10px;
    border-radius: 10px 6px 6px 10px;
    /* box-shadow */
    -webkit-box-shadow: rgba(0, 0, 0, 0.6) 0px 0 10px;
    -moz-box-shadow: rgba(0, 0, 0, 0.6) 0 0 10px;
    box-shadow: rgba(0, 0, 0, 0.6) 0 0 10px;
}

.markerLabelId {
    color: white;
    border-radius: 10px 0px 0px 10px;
    padding: 2px 5px 0px 5px;
}

.markerLabelName {
    background-color: white;
    border-radius: 0px 6px 6px 0px;
    padding: 2px 5px 0px 5px;
}

.hideMarkerLabel {
    display: none;
}

.hideMarkerName {
    display: none;
}

.markerDistance {
    background-size: cover;
    background-color: red;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    color: white;
    line-height: 1.9;
    text-align: center;
    font-size: 9pt;
    -webkit-box-shadow: 0px 0px 16px 1px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 0px 16px 1px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 16px 1px rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.targetMarker {
    background-color: white;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    color: black;
    text-align: center;
    font-size: 10pt;
}

.markerFinishLine {

}

.notification {
    /*position: absolute;*/
    margin: 0 auto;
    text-align: center;
    border-radius: 10px;
    padding: 5px;
    font-size: 12pt;
    background: white;
}

#event_logo {
    position: fixed;
    bottom: 70px;
    width: calc(100% - 200px);
    display: flex;
    left: 150px;
	pointer-events: none;
	z-index: 5;
}

#event_logo img {
    max-height: 150px;
}

.timeLeft {
    position: fixed;
    top: 0;
    width: 100%;
    opacity: 0.9;
    color: white;
    font-family: monospace;
    text-align: center;
    font-size: 20pt;
}

.timeLeft span {
    background-color: black;
    padding: 0 25px;
    opacity: 0.9;
}

.timeLeft button {
    color: black;
    font-size: 13pt;
    text-transform: uppercase;
    font-weight: bold;
    border: none;
    padding: 13px;
    cursor: pointer;
}

/*____________PARA TELEMOVEIS________*/
@media screen and (max-width: 850px) {
    * {
        touch-action: manipulation;
    }

    .slideshow {
        height: 50px;
    }

    #altimetryMenu, #compassCtrl {
        display: none;
    }

    #sideMenu, #sideMenu:hover {
        height: 100%;
    }

    #athleteInfoBox {
        left: 10px;
    }

    #ctrlContainer {
        bottom: 20px;
        left: 5px;
        touch-action: manipulation;
    }

    .desktop {
        display: none;
    }

    #event_logo {
        position: fixed;
        bottom: 20px;
        right: 20px;
    }

    #event_logo img {
        max-height: 100px;
    }
}


.closerLinesTop > td {
    padding-top: 0px;
}

.closerLinesBottom > td {
    padding-bottom: 0px;
}


/* atheletepopup2*/
#athletePopupInfoContainer{
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 1000000;
    /*max-width: 800px;*/
    width: 580px;
    max-height: 600px;
    overflow-y: auto;
    pointer-events: none;
}

.athletePopupInfo .box {
    font-size: 17pt;
    vertical-align: middle;
    border: 1px solid gray;
    border-radius: 10px;
    padding: 8px;
    margin: 5px;
    text-wrap: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.athletePopupInfo .box .boxHeader {
    font-size: 10pt;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    opacity: 0.7;
}

.athletePopupInfo{
    background-color: var(--primary-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: white;
    margin: 20px;
    border-radius: 10px;
    padding: 20px 20px 10px 20px;
    overflow: hidden;
    pointer-events: auto;
    /*box-shadow: 0 0 5px 0px #00000073;*/
    /*display: flex;*/
}

.athletePopupInfo .header{
    display: flex;
    /*justify-content: space-between;*/
    align-items: center;
    margin-bottom: 10px;
}

.athletePopupInfo .header .name {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
    line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 130%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.athletePopupInfo .header .group i {
    margin: 0 3px;
}

.athletePopupInfo .left {
    margin-right: 10px;
}

.athletePopupInfo .refreshProgressBar {
    width: 0;
    background: white;
    height: 5px;
    border-radius: 5px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.athletePopupInfo button {
   background-color: Black;
   color: White!important;
   border-radius: 5px;
   padding: 2px;
}

.athletePopupInfo .body {
    display: flex;
    flex-wrap: wrap;
}

.athletePopupInfo .item {
    width: 25%;
    display: flex;
    align-items: center;
    text-overflow: ellipsis;
    overflow: auto;
}

.athletePopupInfo .item i {
    margin-right: 5px;
    font-size: 15pt;
}

.athletePopupInfo .routeProgress {
    margin-bottom: 10px;
    position: relative;
    width: 100%;
}

.athletePopupInfo .progressContainer {
    width: 100%;
    height: 10px;
    position: relative;
}

.athletePopupInfo .progressMissing {
    border: 2px solid grey;
    box-sizing: border-box;
    border-radius: 5px;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.athletePopupInfo .progressDone {
    background-color: red;
    border-radius: 5px 0 0 5px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    box-sizing: border-box;
    transition: 1s width;
}

.athletePopupInfo .progressDoneText {
    position: absolute;
    background-color: var(--primary-color);
    padding: 0 5px;
    transition: 1s right;
}

.athletePopupInfo .progressMissingText {
    position: absolute;
    background-color: var(--primary-color);
    padding: 0 5px;
    transition: 1s left;
}

.athletePopupInfo .stats {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
/*     display: grid;
    grid-template-columns: repeat(auto-fill, 130px);
    gap: 10px; */
}

.athletePopupInfo .stats .separator {
    border: 0.5px solid gray;
}

.athletePopupInfo .mainStat {
    /*box-shadow: 0 0 40px 10px #00000069;*/
    /*border-radius: 10px;*/
    padding: 10px;
    /*margin-right: 20px;*/
    position: relative;
    /*min-width: 110px;*/
    /*background: linear-gradient(#151515 0%, rgb(44 44 44));*/
}

.athletePopupInfo .info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}

.athletePopupInfo .statDesc {
    font-size: 9pt;
    text-transform: uppercase;
}

.athletePopupInfo .statChange{
    position: absolute;
    font-size: 9pt;
    top: -5px;
    right: -5px;
}

.athletePopupInfo .statValue {
    font-size: 20pt;
    font-weight: bold;
    position: relative;
    width: fit-content;
    margin-top: 8px;
}

.athletePopupInfo .statUnit {
    font-size: 10pt;
}

.athletePopupInfo .waypoints {
    width: 100%;
    position: relative;
}
.athletePopupInfo .waypoints table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    color: white;
}

.athletePopupInfo .waypoints tbody tr {
    border-top: 1px solid gray;
}

.athletePopupInfo .waypoints tbody .prediction {
    color: #a7a7a7
}

.h-20 {
    height: 20px !important;
}

.h-20 {
    height: 30px !important;
}

i.icon-lg {
    font-size: 20pt;
}

@media (max-width:320px) or (max-width:481px)  {

    #athletePopupInfoContainer{
        position: fixed;
        bottom: 0;
        right: 0;
        z-index: 1000000;
        width: 100%;
        max-height: 600px;
        overflow-y: auto;
        pointer-events: none;
    }

    .athletePopupInfo{
        background-color: var(--primary-color);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        color: white;
        margin: 0;
        border-radius: 0;
        padding: 10px;
        pointer-events: auto;
        /*box-shadow: 0 0 5px 0px #00000073;*/
        /*display: flex;*/
    }

    .athletePopupInfo .refreshProgressBar {
        border-radius: 0;
    }

    .athletePopupInfo .header div:has(.name) {
        max-width: 50%;
        overflow: auto;
        text-overflow: ellipsis;
    }
}


i.button {
    border: 1px solid gray;
    border-radius: 10px;
    padding: 5px;
    cursor: pointer;
}

i.button:hover {
    background: gray;
    color: white;
}