﻿@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

.roboto-thin {
    font-family: "Roboto", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.roboto-light {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.roboto-regular {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.roboto-medium {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.roboto-bold {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.roboto-black {
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-style: normal;
}

body, html {
    height: 100%;
    margin: 0;
}

#map {
    height: 100vh;
}

#params {
    height: 50px;
    background-color: #fff;
    color: #000;
    font-size: 40px;
    display: none;
}

.leaflet-div-icon {
    background: none;
    border: 0;
}

.leaflet-popup-content {
    margin: 13px 14px 13px 10px;
    line-height: 1.3;
    font-size: 13px;
    font-size: 1.08333em;
    min-height: 1px;
}



#legende {
    position: fixed;
    left: 10px;
    bottom: 10px;
    z-index: 111111;
    width: 320px;
    max-height: calc(100% - 300px);
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    display: none;
    overflow-x: auto;
}

    #legende .bateau {
        font-family: "Barlow Condensed", sans-serif;
        font-size: 14px;
    }

    #legende .legende-size-team {
        width: 20px;
        height: 20px;
        padding-right:5px;
    }

    #legende .legende-team {
        width: 20px;
        height: 20px;
    }

    #legende .legende-team-chrono {
        font-family: "Barlow Condensed", sans-serif;
        font-size: 14px;
        text-align: center;
        padding-top: 1px;
    }

    #legende .legende-team-faun img {
        width:20px;
    }



.container-btn {
    position: absolute;
    bottom: 10px;
    left: 10px;
    margin: 0;
    padding: 0;
    z-index: 1001;
}


    .container-btn button {
        color: #1E4B6E;
        border: none;
        cursor: pointer;
        font-size: 32px;
        background: none;
        margin: 0;
        padding: 0;
    }




#boatinfo {
    position: absolute;
    padding: 2px 5px 2px 5px;
    z-index: 1000;
    width: 100%;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 18px;
    background-color: #fff;
    border: 1px solid #ccc;
    display: none;
}

    #boatinfo table {
        width: 100%;
        padding-right: 10px !important;
        font-size: 16px;
    }

        #boatinfo table tr td:nth-child(2n) {
            text-align: right;
        }

    #boatinfo #LabelDms {
        display: inline-block;
    }

    #boatinfo #DtfNm, #boatinfo #Position {
        display: inline-block;
    }

    


#waiting {
    z-index: 11111;
    background: #54B0F6;
    padding: 20px;
    color: #fff;
    font-weight: 600;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 18px;
    text-align: center;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display:none;
}


#loading {
    z-index: 11111;
    background: #54B0F6;
    padding: 20px;
    color: #fff;
    font-weight: 600;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 18px;
    text-align: center;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}


.progress-container {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    z-index:11111111;
    display:none;
}

.progress-input {
    width: 100%;
}

.progress-text {
    font-weight: 600;
    font-family: "Barlow Condensed", sans-serif;
    text-align: center;
    margin-top: 5px;
}

.tournant-marker div {
    background: #fff;
    border-radius: 50%;
    width: 8px;
    height: 8px;
    border: 1px solid white;
    box-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.etiquette-marker div {
    background: #00abff;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
    white-space: nowrap;
    border: 1px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}