@import "fonts.css";
@import "input.css";
@import "notification.css";
/*@import "menu.css";*/
/*@import "modal.css";*/
/*@import "modal-custom.css";*/
/*@import "baro.css";*/
@import "find.css";
/*@import "sticker.css";*/
@import "resultat.css";
@import "info.css";
@import "loading.css";

body, html {
    margin: 0;
    background: #dfdfdf;
    color: #eee;
    font-family: open_sansregular, Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
}

img {
    width: 100%;
    vertical-align: middle;
    border: none;

}


#logo {
    position: fixed;
    top: 10px;
    left: 10px;
    width: 270px;
    z-index: 10;
    /*opacity: 0.8;*/
    transition: 0.3s;
    transform: translateX(-120%);
}

#logo.visible {
    transform: translateX(0);
}



#map {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}


#loading {
    position: fixed;
    bottom: 20px;
    right: 0;
    background: rgba(41, 40, 47, 0.8);
    color: #CCC;
    font-family: open_sansregular, sans-serif;
    font-size: 11px;
    display: flex;
    padding: 0 10px 0 5px;
    border-radius: 30px 0 0 30px;
    align-items: center;
    transition: 0.2s;
    transform: translateX(120%);
}

#loading .loaderBall {
    width: 20px;
    height: 20px;
}

#loading.visible {
    transform: translateX(0);
}


#small_info {
    display: inline-block;
    margin-left: 5px;
}


#copyright {
    position: fixed;
    bottom: 10px;
    left: 10px;
    text-align: left;
    color: #999;
    font-size: 11px;
    font-family: open_sansregular, sans-serif;
    cursor: pointer;
}

#copyright img {
    width: 17px;
    vertical-align: baseline;
    margin-bottom: -1px;
}


#copyright a,
#copyright a:visited{
    color: #7a7a7a;
    text-decoration: none;
}



/* SCROLLING */

* {
    -webkit-overflow-scrolling: touch;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0);
}

::-webkit-scrollbar-thumb {
    /*border: 1px solid #b5ff24;*/
    border-radius: 5px;
    background: rgb(210,210,210);
}

* {
    scrollbar-color: rgb(210,210,210) transparent;
    scrollbar-width: 5px;
}





/* MAPBOX SPECIAL */
.mapboxgl-ctrl-logo {
    display: none !important;
}

.mapbox-gl-draw_ctrl-draw-btn {
    display: none!important;
}


body.mobile #logo {
    width: 30vw;
}


/* DROM */
#drom {
    z-index: 10;
    position: fixed;
    top: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;

    .item {
        font-family: open_sansregular, sans-serif;
        padding: 5px 10px 5px 10px;
        border-radius: 5px 0 0 5px;
        backdrop-filter: blur(20px);
        color: #009fed;
        font-size: 10px;
        cursor: pointer;
        margin-bottom: 5px;
    }

}

/* LEGENDE */

#legende {
    position: fixed;
    bottom: 30px;
    left: 10px;
    z-index: 10;
    backdrop-filter: blur(20px);
    padding: 5px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    border-radius: 5px;
    pointer-events: none;

    .item {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 3px;
        width: 100%;

        .square {
            width: 25px;
            height: 20px;
            border-radius: 2px;
            flex-shrink: 0;
            margin-right: 5px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 12px;
            font-family: open_sansbold, sans-serif;
        }

        .label {
            font-family: open_sansregular, sans-serif;
            font-size: 8px;
            color: #333;
        }

    }

}


body.mobile #legende { display: none; }