﻿html, body {
    overscroll-behavior-y: contain;
}

html, body, main, #loadingMap {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: none;
    overflow: hidden;
    font-family: "Luciole", Arial, sans-serif;
    user-select: none;
}

.controlFloor {
    margin-top: 110px !important;
}

#controlDivProfil {
    border: none;
    background: none;
    border-radius: 0;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-content: center;
    width: 400px;
}
/*    
    #controlDivProfil:hover {
        width: fit-content;
    }
*/
/*      
    #controlDivProfil:hover ~ #controlDivStart,
    #controlDivProfil:hover ~ #controlDivDest,
    #controlDivProfil:hover ~ #controlDivRoute {
        filter:opacity(0.5);
        transition:all ease 1s;
    }
*/

#logoAPPStore {
    position:absolute;
    z-index:999999;
    top:30px;
    left:5px;
    border:3px solid grey;
    border-radius:100%;
    width:50px;
    height:50px;
    display:none;
}

#dropdownButtonLang {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    padding: 0px 5px;
}

.dropdown-container {
    position: relative;
    display: inline-block;
    width: 40%;
    height: 100%;
}
.dropdown-button {
    cursor: pointer;
    overflow: hidden;
    background-color: #fff;
    border-radius: 10px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    height: 42px;
    margin: 5px;
}
    .dropdown-button img {
        margin-right: 10px;
        height: 20px;
        width: 20px;
    }
.dropdown-content {
    display: none;
    position: absolute;
    bottom: 55px;
    left: 5px;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 10px;
    overflow-x: hidden;
    overflow-y: auto;
    width: max-content;
    border: 2px solid rgba(0, 0, 0, 0.2);
    max-height: 50vh;
}
    .dropdown-content div {
        color: black;
        padding: 12px 16px;
        padding-left: 55px;
        text-decoration: none;
        display: flex;
        align-items: center;
        cursor: pointer;
        justify-content: flex-start;
    }
        .dropdown-content div:hover {
            background-color: #ddd;
        }
    .dropdown-content img {
        margin-right: 10px;
        height: 20px;
        width: 20px;
    }
.show {
    display: block !important;
}
.dropDownOptions {
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    width: 100%;
    height: 100%;
    white-space: nowrap;
    display: flex;
    box-sizing: border-box;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: center;
}
#controlDivProfil:hover .profilOptions {
    padding-right: 10px;
}


.hand_0 { /* TP */
    background-image: url('/admin/res/img/type_profil/i_profil_TP.png');
}
.hand_1 { /* DV */
    background-image: url('/admin/res/img/type_profil/i_profil_DV.png');
}
.hand_2 { /* PMR */
    background-image: url('/admin/res/img/type_profil/i_profil_PMR.png');
}
.hand_3 { /* DA */
    background-image: url('/admin/res/img/type_profil/i_profil_DA.png');
}
.hand_4 { /* JP */
    background-image: url('/admin/res/img/type_profil/i_profil_JP.png');
}
.hand_5 { /* DC */
    background-image: url('/admin/res/img/type_profil/i_profil_DC.png');
}
.hand_6 { /* SPORT */
    background-image: url('/admin/res/img/type_profil/i_profil_SPORT.png');
}
.hand_7 { /* LSF */
    background-image: url('/admin/res/img/type_profil/i_profil_LSF.png');
}
.hand_8 { /* FALC */
    background-image: url('/admin/res/img/type_profil/i_profil_FALC.png');
}




#controlDivStart, #controlDivDest {
    width: 350px;
    position: absolute;
    left: 55px;
    text-align: center;
    overflow: hidden;
}

#controlDivStart {
    top: 10px;
    z-index: 9999;
}

#controlDivDest {
    top: 55px;
    z-index: 999;
}
    #controlDivStart .iconClose,
    #controlDivDest .iconClose {
        position: absolute;
        top: 4px;
        right: 0;
        font-size: 1.8em;
        color: grey;
        cursor: pointer;
        display: none;
    }
    #controlDivStart .iconInput,
    #controlDivDest .iconInput {
        position: absolute;
        top: 8px;
        left: 4px;
        font-size: 1.5em;
        color: grey;
    }

#inputStart, #inputDest {
    border: none;
    width: 100%;
    height: 30px;
    margin: 4px;
    font-family: "Luciole", Arial, sans-serif;
    font-size: 1em;
    font-style: normal;
    padding: 0px 35px 0px 30px;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    outline: none;
    box-sizing: border-box;
    text-overflow: ellipsis;
    user-select: auto;
}

#iframeStart, #iframeDest {
    display: none;
    width: 100%;
    height: calc(100vh - 120px);
    border: none;
    margin: 0px;
    padding: 0px;
    border-top: 1px solid #80808085;
}

#controlDivRoute {
    width: 350px;
    position: absolute;
    top: 100px;
    left: 55px;
    overflow: hidden;
    overflow-y: auto;
    max-height: calc(100vh - 150px);
}

#accessibilite {
    width: 200px !important;
    position: absolute;
    bottom: 0px;
    left: 10px;
    z-index: 99999999;
}

.as-button {
    color: #ffffff;
    background-color: #333333;
    text-decoration: none;
    display: inline-block;
}

.markerDivIcon {
    transform: scale(0.5) translateY(15px);
    transition: transform 0.3s ease;
}
    .markerDivIcon:hover {
        transform: scale(1);
    }

#listRoute {
    border: none;
    margin: 0px;
    display: inline-block;
    list-style: none;
    padding: 5px;
    width: 100%;
    box-sizing: border-box;
}

ol.pathStepElement {
    font-size: 0.6em;
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
}
ol.pathStepElement li {
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: center;
}

.stepElement {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    margin-top: 5px;
    color: white;
    font-size: 0.9em;
    cursor: pointer;
}

    .stepElement .stepContent {
        width: 100%;
        background: #1b3a8a;
        padding: 0.5em;
        border-radius: 5px;
    }

.maneuvre {
    width: 30px;
    height: 40px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 90%;
    margin-right: 5px;
    filter: invert(1);
    font-size: 0.7em;
    font-weight: normal;
    line-height: 9em;
    text-align: center;
}

        .stepElement .maneuvre.last {
            filter: none;
        }

@media only screen and (max-width: 880px) {

    .leaflet-top.leaflet-right {
        height: 100%;
    }
    #controlDivProfil {
        bottom: 5px;
    }
    .dropdown-content {
        bottom: 55px !important;
        top: auto !important;
        left: 5px !important;
        right: auto !important;
    }
}

@media only screen and (max-width: 600px) {

    #logoAPPStore { display:none !important; }

    #controlDivStart, #controlDivDest {
        width: calc(100vw - 75px);
        right: 0px;
    }

    #iframeStart, #iframeDest {
        height: calc(100vh - 350px);
    }

    #controlDivStart {
        top: 0px;
    }

    .leaflet-control-zoom {
        display:none !important;
    }

    .controlFloor {
        margin-top: 57px !important;
        margin-left:10px !important;
    }

    #controlDivProfil {
        width: 335px !important;
        margin: 0px !important;
    }

    #controlDivDest {
        top: 45px;
    }

    #controlDivRoute {
        width: calc(100vw - 70px);
        max-height: calc(100vh - 315px);
        left: calc(100vw - 50px);
        transition: all ease 0.3s;
    }

        #controlDivRoute.openPanel {
            left: 55px;
        }

        #controlDivRoute .stepContent {
            display: none;
        }
        #controlDivRoute .pathStepElement {
            display: none;
        }

        #controlDivRoute.openPanel .stepContent {
            display: block;
        }
        #controlDivRoute.openPanel .pathStepElement {
            display: flex;
        }


}
