body{ margin: 0; padding: 0; }
#map {
    position:absolute;
    top:0;
    bottom:0;
    width:100%;
}

.contentlayout{
    position: absolute;
    top: 16px;
    bottom: 16px;
    left: 44px;
    z-index: 3;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 0;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.topbar{
    position: relative;
    z-index: 1;
    margin-bottom: 8px;
    width: 460px;
    height: 36px;
    border-radius: 2px;
    box-shadow: 0 5px 17px -3px rgba(0,0,0,.3);
    color: #fff;
}
.topbar_wrap{
    position: relative;
    min-height: 100%;
    width: 460px;
    box-sizing: border-box;
    border-radius: 2px;
    background: rgba(50,50,50,.9);
}
.topbar_content{
    font-size: 24px;
    padding: 4px;
}
.topdiv{
    position: absolute;
    top: 44px;
}
.topdiv_inner, .authdiv_inner{
    position: relative;
    width: 460px;
}
.div_close:hover {
    opacity: .7;
}
.div_close {
    position: absolute;
    top: 7px;
    right: 7px;
    z-index: 2;
    display: block;
    width: 20px;
    height: 20px;
    cursor: pointer;
}
.div_close:before {
    content: '×';
    width: 10px;
    height: 10px;
    position: absolute;
    top: 0;
    left: 5px;
    color: rgba(180,180,180,.9);
}
.topdiv_wrap, .authdiv_wrap{
    position: relative;
    overflow: hidden;
    margin: 0 0 8px;
    min-height: 0;
    max-height: 100%;
    border-radius: 2px;
    background: rgba(50,50,50,.9);
    box-shadow: 0 5px 20px -5px #000;
    color: #fff;
}
.topdiv_content, .authdiv_content{
    box-sizing: border-box;
    padding: 8px;
}
.authdiv{
    display: none;
    position: absolute;
    bottom: 44px;
    animation: _scale .2s cubic-bezier(.64,1.1,.64,1.1),_opacity .1s linear
}
.bottombar{
    position: absolute;
    bottom: 0;
}
.buttons{
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    background: rgba(50,50,50,.9);
    box-shadow: 0 5px 20px -5px #000;
    color: #fff;
    font-size: 16px;
}
.authdiv_button, .topdiv_button{
    display: table-cell;
    cursor: pointer;
    padding: 8px;
}
.authdiv_button:hover, .topdiv_button:hover{
    //opacity: .7;
    background-color: rgba(200, 200, 200, .1);
}

/* leaflet*/

.leaflet-bar {
    box-shadow: 0 0px 5px -1px #000;
}
.leaflet-right {
    right: 36px;
}
.leaflet-top {
    top: 16px;
}
.leaflet-right .leaflet-control {
    margin-right: 0;
}
.leaflet-top .leaflet-control {
    margin-top: 0;
}
.leaflet-bar a, .leaflet-bar a:hover {
    background-color: rgba(50,50,50,0.9);
    border-bottom: 1px solid #222;
    display: block;
    color: rgba(250,250,250,.8);
}
.leaflet-bar a:hover {
    opacity: .7
}
.leaflet-bar a.leaflet-disabled {
    background-color: rgba(50,50,50,0.7);
    color: rgba(250,250,250,.8);
}

.leaflet-control-attribution {
    display: none;
}

.leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar{
  border: none;
}

/* animation */

@-webkit-keyframes _scale {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes _scale {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@-webkit-keyframes _opacity {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes _opacity {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
.loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #eee;
  z-index: 999999;
}
