@import "fonts.css";
@import "input.css";
@import "notification.css";
@import "picker.custom.css";
@import "picker.custom.date.css";
@import "picker.custom.time.css";
@import "menu.css";
@import "modal.css";
@import "find.css";
@import "sticker.css";
@import "legende.css";
@import "insert.css";
@import "credits.css";
@import "connect.css";
@import "imports.css";
@import "exports.css";
@import "loading.css";
@import "account.css";
@import "help.css";
@import "helper.css";
@import "stats.css";
@import "coup_de_pouce.css";
@import "mapbox-draw-1.0.9.css";

body, html {
    margin: 0;
    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;
    background: #6c7079;
}

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

}

strong {
    font-family: open_sansbold, sans-serif;
    font-weight: normal;
}

/*
#logo {
    position: fixed;
    top: 40px;
    left: -70px;
    display: flex;
    width: 280px;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    font-size: 20px;
    font-family: roboto_bold, sans-serif;
    box-sizing: border-box;
    pointer-events: none;
    transform: rotate(-45deg);
    color: #e0e0e0;
    filter: drop-shadow(3px 3px 15px rgba(0,0,0,0.1));
}
*/


#logo {
    position: fixed;
    top: 10px;
    left: 10px;
    width: 300px;
    /*filter: drop-shadow(1px 1px 3px rgba(0,0,0,0.3));*/
    opacity: 1;
}


#map {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    font-family: open_sansregular, Helvetica, Arial, sans-serif!important;
}

.map_buttons {
    position: absolute;
    top: 70px;
    right: 0;
}

.map_buttons .map_btn {
    width: 25px;
    height: 25px;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFFFFF;
    /*border: 1px solid #676465;*/
    border-radius: 5px 0 0 5px;
    border-right: none;
    padding: 5px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}


.layers_buttons {
    position: fixed;
    bottom: 66px;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.layers_buttons .layer_btn {
    margin: 0 30px 0 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    /*border: 1px solid rgba(0,0,0,0.1);*/
    padding: 8px 30px 5px 30px;
    color: #222222;
    max-width: 170px;
    font-size: 12px;
    box-shadow: 0 5px 12px rgba(0,0,0,0.15);
    pointer-events: all;
    transition: 0.3s;
    border: 2px solid transparent;
}

.layers_buttons .layer_btn:hover {
    /*transform: scale(1.1);*/
}

.layers_buttons .layer_btn .showhide {
    position: relative;
    margin: 10px 0 7px 0;
    display: flex;
    justify-content: center;
    align-items: center;

}

/*
.layers_buttons .layer_btn .showhide .item {
    z-index: 2;
    text-transform: uppercase;
    font-size: 9px;
    font-family: open_sansbold, sans-serif;
    color: #979797;
}
*/


.layers_buttons #btn_noirs button.on {
    border-color: #eb0000;
}

.layers_buttons #btn_blancs button.on {
    border-color: #71d504;
}

.layers_buttons #btn_stationnements button.on {
    border-color: #0090be;
}

.layers_buttons .layer_btn .showhide .item.show {
    display: block;
}

.layers_buttons .layer_btn .showhide .item.hide {
    display: none;
}

.layers_buttons .layer_btn.on .showhide .item.show {
    display: none;
}

.layers_buttons .layer_btn.on .showhide .item.hide {
    display: block;
}

/*
.layers_buttons .layer_btn.on .stroke {
    background: #a2db00;
    left: 5px;
}*/

.layers_buttons .layer_btn .title  {
    font-family: open_sansbold, sans-serif;
    color: #1d406b;
    text-transform: uppercase;
}
.layers_buttons .layer_btn .explain  {
    margin-top: 1px;
    text-align: center;
    line-height: 1;
}



#selection {
    position: fixed;
    top: 300px;
    left: 20px;
    width: 300px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    /*border: 1px solid rgba(0,0,0,0.1);*/
    box-sizing: border-box;
    padding: 20px;
    color: #222222;
    box-shadow: 0 5px 12px rgba(0,0,0,0.15);
    transition: 0.5s;
    transform: translateX(-120%);
    opacity: 0;
    pointer-events: none;
    font-size: 14px;
    /*backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);*/
}

#selection.visible {
    transform: translateX(0);
    opacity: 1;
    pointer-events: all;
}

#selection .close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    background-image: url(../images/close-grey.svg);
    background-repeat: no-repeat;
    background-size: contain;
}

#selection .title {
    font-family: open_sansbold, sans-serif;
    font-size: 24px;
    /*margin-bottom: 10px;*/
    color: #1d406b;
}

#selection .explain {
    font-size: 13px;
    color: #6d6d6d;
}





#setup {
    position: fixed;
    right: 0;
    top: 200px;
    width: 300px;
    background-color: #FFFFFF;
    border-radius: 8px 0 0 8px;
    /*border: 1px solid rgba(0,0,0,0.1);*/
    box-sizing: border-box;
    padding: 20px 30px 20px 20px;
    color: #222222;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    transition: 0.5s;
    transform: translateX(120%);
    opacity: 0;
    pointer-events: none;
    font-size: 14px;
}

#setup.visible {
    transform: translateX(0);
    opacity: 1;
    pointer-events: all;
}

#setup .close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    background-image: url(../images/close-grey.svg);
    background-repeat: no-repeat;
    background-size: contain;
}


#slider {
    margin: 20px 0 10px 0;
    -webkit-appearance: none;
    /*margin-right: 15px;*/
    width: 100%;
    height: 5px;

    background: #ff4500;

    border-radius: 5px;
    border: none;
    padding: 0;
    /*
    background-image: linear-gradient(#ff4500, #ff4500);
    background-size: 70% 100%;
    background-repeat: no-repeat;*/
    /*cursor: ew-resize;*/
}





/* Special styling for WebKit/Blink */
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: 1px solid #ff4500;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: #ffffff;
    cursor: ew-resize;
}

/* All the same stuff for Firefox */
input[type=range]::-moz-range-thumb {
    border: 1px solid #ff4500;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: #ffffff;
    cursor: ew-resize;
}

/* All the same stuff for IE */
input[type=range]::-ms-thumb {
    border: 1px solid #ff4500;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: #ffffff;
    cursor: ew-resize;
}










/* SMOOTHING */

* {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    font-weight: 400;
}

@-moz-document url-prefix() {
    body {
        font-weight: lighter !important;
    }
}











/* 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: rgba(63, 65, 73, 0.9);
}

* {
    scrollbar-color: rgba(0,0,0,0.17) transparent;
    scrollbar-width: 5px;
    scrollbar-width: thin;
}




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

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


/* INFO */
#info {
    display: none;
    z-index: 10;
    position: fixed;
    bottom: 10px;
    left: 10px;
    background: #00ADCC;
    color: #FFF;
    font-size: 12px;
}



/* ------------ MOBILE -------------------- */

body.mobile {
    width: 160px;
    opacity: 1;
}

body.mobile #logo {
    width: 160px
}

body.mobile .layers_buttons {
    right: 0;
    bottom: 20px;
    flex-direction: column;
    width: 170px;
    justify-content: flex-start;
    align-items: flex-end;
}

body.mobile .layers_buttons .layer_btn {
    margin: 5px 0 5px 0;
    border-radius: 8px 0 0 8px;
    border-right: none;
    padding: 3px 18px 3px 18px;
    width: 100%;
}

body.mobile .layers_buttons .layer_btn .title {
    font-size: 10px;
}

body.mobile .layers_buttons .layer_btn .explain {
    display: none;
}

body.mobile .layers_buttons .layer_btn .showhide {
    /*display: none;*/
}


body.mobile #selection {
    bottom: 25px;
    top: initial;
    left: 0;
    width: 190px;
    font-size: 9px;
    border-radius: 0 8px 8px 0;
}

body.mobile #selection .close {
    top: 7px;
    right: 7px;
    width: 15px;
    height: 15px;
}


body.mobile #selection .title {
    font-size: 18px;
}

body.mobile #setup {
    top: initial;
    bottom: 145px;
    font-size: 10px;
    padding: 20px 10px 10px 10px;
}

body.mobile #setup .close {
    top: 7px;
    right: 7px;
    width: 15px;
    height: 15px;
}

body.mobile #slider {
    margin-top: 10px;
}



/* DROM */
#drom {
    z-index: 10;
    position: fixed;
    top: 215px;
    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;
    }

}

body.mobile #drom {
    display: none;
}

/* PRECISIONS */
#precisions {
    z-index: 10;
    position: fixed;
    bottom: 10px;
    margin-right: auto;
    margin-left: auto;
    padding: 10px;
    color: #222;
    font-size: 11px;
    font-family: open_sansregular, sans-serif;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    width: 600px;
}

body.mobile #precisions {
    display: none;
}

