﻿div#whole-map {
    position: absolute;
    color: #0f2849;
    display: block;
    top: 50px;
    width: 100%;
    height: 100%;
}

div#gpsData {
    width: 290px;
    border-left: 1px solid black;
    float: right;
    height: calc(100% - 50px);
    background-color: white;
}

@media (max-width: 700px) and (orientation: portrait) {
    div#gpsData {
        width: 100%;
        position: absolute;
        border-top: 1px solid black;
        float: left;
        bottom: 0;
        height: 175px;
    }
}
div.gps-etape {
    padding-top: 5px;
    font-weight: 700;
    color: black;
    width: 290px;
    height: 148px;
    float: left;
}

div.gps-etape select.etape {
    width: 175px;
}


    div.gps-list {
        font-size: 12px;
        color: #fff;
        width: 290px;
        height: calc(100% - 148px);
        overflow: auto;
        min-height: 50px;
        padding: 0px;
        display: block;
    }

    @media (max-width: 700px) and (orientation: portrait) {
        div.gps-list {
            height: 100%;
            width: calc(100% - 215px);
            float: left;
        }
    }

    div.showDetailList {
        height: calc(100% - 208px);
    }

    @media (max-width: 700px) and (orientation: portrait) {
        div.showDetailList {
            height: 100%;
        }
    }

    div.gps-list table {
        font-size: 11px;
        width: 270px;
        text-align: center;
        line-height: 10px;
        border: none;
        margin: 0;
        margin-bottom: -54px;
    }


    div#map {
        margin-right: 290px;
        margin-top: 0px;
        height: 100%;
    }

    @media (max-width: 700px) and (orientation: portrait) {
        div#map {
            margin-bottom: 150px;
            margin-right: 0px;
            margin-top: 0px;
            height: calc(100% - 125px);
        }
    }

    div#gps-mr {
        height: 100%;
    }

        div#gps-mr div.menu {
            height: 30px;
            float: left;
            width: 100%;
            overflow: hidden;
        }

    div#map-title {
        height: 28px;
        width: 100%;
        padding-top: 1px;
        text-align: center;
    }

        div#map-title h1 {
            font-size: 16px;
            margin-right: 30%;
            line-height: 28px;
            margin: 0px;
        }

    div#map-canvas {
        width: 100%;
        height: calc(100% - 80px);
    }

    div#gps-mr ul {
        margin: 0;
        padding: 1px;
        width: 453px;
    }

        div#gps-mr ul li {
            display: block;
            width: 150px;
            height: 28px;
            float: left;
            padding: 2px;
            text-align: center;
            font-weight: bold;
            line-height: 25px;
            cursor: pointer
        }

            div#gps-mr ul li.act, div#gps-mr ul li.sel {
                color: white;
                background-color: #0f2849;
                line-height: 24px;
                border: 1px solid #0f2849;
            }


    div#whole-map div#overMap {
        position: absolute;
        top: 40px;
        left: 20px;
        font-size: 20px;
        opacity: .9;
        font-weight: 700;
        color: #fff;
        z-index: 1000;
        width: 348px
    }

        div#whole-map div#overMap div.gps-instr {
            float: right;
            width: 32px;
            height: 32px;
            cursor: pointer;
            margin-left: 5px;
            font-size: 28px;
            line-height: 32px
        }

            div#whole-map div#overMap div.gps-instr span {
                font-size: 14px
            }

        div#whole-map div#overMap div.speed {
            padding-left: 8px;
            width: 24px;
            opacity: .9
        }

        div#whole-map div#overMap div.play {
            background-image: url(Images/icon-play-32.png)
        }

        div#whole-map div#overMap div.pause {
            background-image: url(Images/icon-pause-32.png)
        }

        div#whole-map div#overMap div.start {
            background-image: url(Images/icon-skip-backward-32.png)
        }

        div#whole-map div#overMap div.end {
            background-image: url(Images/icon-skip-forward-32.png)
        }

        div#whole-map div#overMap div#gps-currentTime {
            width: 200px
        }

        div#whole-map div#overMap div#gps-progressTime {
            font-size: 12px;
            display: none
        }

        div#whole-map div#overMap div#gps-timeline {
            margin-top: 3px;
            width: 180px;
            height: 5px;
            border: 1px solid #fff;
            cursor: pointer
        }

        div#whole-map div#overMap div#gps-progress {
            height: 5px;
            width: 0;
            background-color: #fff
        }

    div#map-finish-result, div#map-result {
        clear: left;
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
        font-size: 12px;
        height: calc(100% - 104px);
        overflow-y: auto;
        background-color: white;
    }

        div#map-finish-result div {
            float: left;
            width: 50%;
        }

            div#map-finish-result div table {
                width: 90%;
            }

        div#map-finish-result h3, div#map-result h3 {
            margin-top: 10px;
        }

        div#map-finish-result td, div#map-result td {
            padding: 5px;
            text-align: center;
        }

        div#map-finish-result tr:nth-child(odd), div#map-result tr:nth-child(odd) {
            background-color: #f7f7f7;
        }

        div#map-finish-result th, div#map-result th {
            padding: 3px;
            text-align: center;
        }

        div#map-finish-result label, div#map-result label {
            margin: 0px;
        }


    div.gps-detail {
        border-top: 1px solid black;
        width: 100%;
        display: none;
        color: black;
        padding-bottom: 10px;
        height: 60px;
        font-weight: bold;
    }

    div.showDetail div.gps-detail {
        display: block;
    }

    @media (max-width: 700px) and (orientation: portrait) {
        div.showDetail div.gps-detail {
            display: none;
        }
    }

    div .gps-detail img {
        filter: brightness(0%);
        height: 20px;
    }

    div .gps-detail h3 {
        width: 150px;
        display: inline-block;
        font-size: 16px;
        margin-left: 10px;
        margin-top: 3px;
        margin-bottom: 3px;
    }

    div.gps-detail a.close {
        display: inline-block;
        float: right;
        margin-right: 15px;
        margin-top: 5px
    }

    div.gps-detail table {
        width: 100%;
        margin: 0px;
        border: 0;
    }

        div.gps-detail table tr {
            height: 22px;
            padding: 0px;
        }

        div.gps-detail table th {
            height: 22px;
            line-height: 22px;
            padding: 0px;
            border: 0;
        }

        div.gps-detail table img {
            height: 20px;
            display: inline-block;
            vertical-align: middle;
        }

        div.gps-detail table span {
            display: inline-block;
            vertical-align: middle;
        }

    div.gps-list table td, div.gps-list table th {
        padding: 0px;
    }

        div.gps-list table th.lock {
            text-align: left;
            padding-left: 7px;
        }

    table.gps-listHand tr {
        cursor: pointer;
        border: none;
    }

    div.gps-list table th {
        line-height: 13px;
        color: #2a2c2c;
        border: none;
    }

    div.gps-list table td {
        height: 17px;
        border: none;
    }

    div.gps-list td div {
        width: 12px;
        height: 14px;
        display: block;
        float: left;
        margin: 2px 0 0 0;
    }

    div.gps-list td input {
        width: 12px;
        height: 14px;
        display: block;
        float: left;
        margin: 2px 0 4px 0;
        margin-left: 6px;
        margin-right: 3px;
        border: 1px solid #0f2849;
    }

    div#whole-map div.gps-list tr.gps-black, div#whole-map div.gps-list tr.gps-black a {
        color: black
    }

    div#whole-map div.gps-list tr.gps-mediumblue, div#whole-map div.gps-list tr.gps-mediumblue a {
        color: mediumblue;
    }

    div#whole-map div.gps-list table tr.over, div#whole-map div.gps-list table tr.selected {
        background-color: #c6d7ee;
    }

    div.gps-etape label {
        margin-left: 13px;
        font-size: 13px;
    }

    div.gps-etape input {
        margin-left: 10px;
        margin-top: 0px;
        margin-right: 0px;
        width: 13px;
        height: 14px;
        color: black;
        border: 1px solid #0f2849;
    }

    div.gps-etape select {
        min-width: 50px;
        width: 150px;
        margin-left: 14px;
        margin-top: 4px;
        margin-right: 3px;
        margin-bottom: 5px;
        padding: 2px;
        display: inline-block;
        font-size: 13px;
        border: 1px solid #0f2849;
        -webkit-appearance: menulist;
    }

    .gps-etape h3 {
        display: inline;
        float: left;
        margin: 3px 5px 3px 14px;
        font-size: 18px;
    }

    div#whole-map div.gps-etape div#countdown {
        font-size: 25px;
        width: 100%;
        text-align: center;
        font-family: Courier New
    }

    .loader {
        z-index: 2000;
        position: absolute;
        top: 200px;
        left: 0;
        right: 0;
        margin: auto;
        border: 16px solid #f3f3f3;
        border-radius: 50%;
        border-top: 16px solid #3498db;
        width: 80px;
        height: 80px;
        -webkit-animation: 1s linear infinite spin;
        animation: 1s linear infinite spin
    }


@media (max-width: 700px) and (orientation: portrait) {
    div .gps-etape {
        width: 215px;
    }

        div.gps-etape select {
            width: 90px;
        }

            div.gps-etape select.etape {
                width: 115px;
            }
}
table.total-results span.skip {
    text-decoration: line-through;
    color: gray
}
table.login {
    margin: 0px auto;
    margin-top: 30px;
}
    table.login input {
        margin-left: 10px;
        margin-top: 0px;
        margin-right: 0px;
        height: 14px;
        color: black;
        border: 1px solid #0f2849;
    }

    table.login td {
        border: 0px;
    }
        table.login td a {
            border: 1px solid #0f2849;
            padding: 3px;
        }

