﻿body {
    padding: 0;
    margin: 0;
}

html, body {
    height: 100%;
    width: 100vw;
}

#mapID {
    /*height: calc(100% - 40px);*/
    height: calc(100% - 44px);
    width: 100vw;
    /*margin-top: 52px;*/
}

#header {
    background-color: #fee000;
    position: relative;
    width: 100vw;
    height: 44px;
    z-index: 500;
}

#headerImg {
    max-width: 150px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

/*#btn_info {
    float: right;
    margin-right: 10px;
}*/

#btn_info {
    position: fixed;
    top: 4px;
    right: 10px;
    width: 36px;
    height: 36px;
    z-index: 1100000;
}

#infoDiv {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    background-color: #fee000;
    z-index: 1100000;
    display: none;
}

#btn_infoClose {
    position: fixed;
    top: 4px;
    right: 10px;
    width: 16px;
    height: 16px;
    z-index: 1100000;
    padding: 10px;
}

#infoHeaderImg {
    width: 198px;
    height: 51px;
    position: relative;
    left: 50%;
    transform: translate(-50%,0%);
}

#infoContent {
    font-family: 'Microsoft JhengHei';
    font-size: 16px;
    font-weight: 400;
    color: 	#3e3a39;
    line-height: 28px;
    padding: 16px;
    text-align: justify;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-55%);
    max-width: 542px;
}

#mapControlDiv {
    position: fixed;
    top: 54px;
    right: 10px;
    width: 50px;
    z-index: 400;
}

#mapControlDiv div {
    background-color: #fff;
    border: 2px solid rgba(0,0,0,.2);
    border-bottom: 1px solid #ccc;
    text-align: center;
    /*color: #7a807d;*/
    font-size: 18px;
    font-family: 'Microsoft JhengHei';
    font-weight: 500;
    /*width: 43px;
    height: 30px;*/
    cursor: pointer;
    padding-bottom: 3px;
    padding-top: 3px;
}

#btn_mapDay {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

#btn_mapNight {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    color: #F6B800;
}


#locateDiv {
    position: fixed;
    /*bottom: 25px;*/
    bottom: 23px;
    right: 10px;
    width: 40px;
    /*margin: 10px;*/
    z-index: 600;
}

#locateDiv .btn {
    width: 30px;
    height: 30px;
    padding: 5px;
    background-color: #7a807d;
    border-radius: 10px;
}

#footer {
    /*background-color: #ffffff;*/
    position: fixed;
    left: 0px;
    bottom: 20px;
    width: 100vw;
    height: 72px;
    z-index: 500;
}

#footer img {
    max-width: 220px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.leaflet-layer:nth-of-type(1) img {
  /*filter: grayscale(100%);*/
  filter: saturate(0%) brightness(50%);
}