
::selection {
    background: transparent;
}
::-moz-selection {
    background: transparent;
}

html{
    height: 100%;
}

body{
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: Arial,Helvetica,sans-serif;
}

a{
    text-decoration: none;
}

a, a:hover, a:focus, a:active, a:visited {
    color: #404040;
}

#header {
    position: relative;
    width: 100%;
    height: 60px;
    z-index: 30;
    border-bottom: 1px solid black;
    background-color: #f7f7f7;
    vertical-align: middle;
    font-size: 0.8rem;
}

#header a.nav-link{
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 20px;
}

#header a.nav-link.enabled{
    text-decoration: underline;
}

#coordinate{
    display: inline-block;
    position: absolute;
    right: 20px;
    top: 40px;
}

#logo{
    display: inline-block;
    margin: 0 20px 5px 40px;
    height: 55px;
}

#mapContainer{
    position: absolute;
    top: 61px;
    height: calc(100% - 60px);
    width: 100%;
    padding: 0;
    margin: 0;
    background-color: #e8e8e8;
}

#tileCanvas{
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
    height: 1600px;
    width: 1600px;
    background-color: transparent;
}

#tileCanvas .tile{
    display: inline-block;
    position: absolute;
    width: 256px;
    height: 256px;
    padding: 0;
    margin: 0;
}

#tilePanLayer{
    position: relative;
    z-index: 20;
    height: 100%;
    background-color: transparent;
}

#centerCross{
    display: inline-block;
    position: absolute;
    width: 16px;
    height: 15px;
    z-index: 30;
    top: calc(50% - 8px);
    left: calc(50% - 8px);
    cursor: pointer;
}

#centerInfo{
    display: inline-block;
    position: absolute;
    top: calc(50% - 8px);
    left: calc(50% + 20px);
    z-index: 30;
    padding: 30px 5px 5px 5px;
    background-color: #f7f7f7;
    border-radius: 10px;
    font-size: 0.8rem;
}

#centerInfo div{
    padding: 5px;
}

div.closeButton{
    display: inline-block;
    position: absolute;
    top: 0;
    right: 5px;
    font-size: 1.5rem;
    cursor: pointer;
}

#osmLabel{
    display: inline-block;
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 5px;
    background-color: rgba(200, 200, 200, 0.5);
    border-radius: 5px;
    font-size: 0.8rem;
}

.mapButton{
    display: inline-block;
    position: absolute;
    width: 30px;
    height: 30px;
    left: 20px;
    font-size: 1.2rem;
    z-index: 30;
}

#zoomIn{
    top: 20px;
}

#zoomOut{
    top: 60px;
}

#toggleCross{
    top: 100px;
}

#refresh{
    top: 140px;
}
