#mapPanel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#amap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
*:focus {
    outline: none;
}
input[type="checkbox"] {
    width:20px;
    height:20px;
}
#devMenu {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px;
}
.dev-input {
    border: 1px solid #aaaaaa;
    margin-right: 10px;
    padding: 5px;
}
#mapToolbars {
    display: flex;
    flex-direction: column;
    align-items:center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    pointer-events: none;
    touch-action: none;
}
#mapToolbars > div {
    pointer-events: all;
    touch-action: auto;
}
.ui-toolbar {
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.9);
    margin: 7px;
    box-shadow: 0 0 5px 0 rgba(50, 50, 50, 0.6);
    border-radius: 5px;
}
#compass {
    margin: 7px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 5px 0 rgba(50, 50, 50, 0.6);
}
#compass img {
    max-width: 32px;
    max-height: 32px;
}
#zonesMenu.dropdown {
    background-color: transparent;
    position: absolute;
    top: 40px;
    left: 0;
    box-shadow: none;
}
#zonesDropdown {
    background-color: #fff;
    color: #000;
    padding: 8px 5px;
    font-size: 16px;
    border: 1px solid #aaa;
    border-radius: 5px;
}
.zoombtn, .zonebtn, .zonegrp {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
    width: 32px;
    height: 32px;
    background-color: transparent;
    border: none;
    color: #000000;
    pointer-events: all;
    touch-action: auto;
    padding: 5px;
}
.zonebtn {
    width: 100%;
}
.zonebtn:first-child, .zoombtn:first-child, .zonegrp:first-child {
    border-radius: 5px 5px 0 0;
}
.zonebtn:last-child, .zoombtn:last-child {
    border-radius: 0 0 5px 5px;
}
.zonebtn:not(:last-child), .zoombtn:not(:last-child) {
    border-bottom: 1px solid #cccccc;
}
.zoombtn {
    font-size: 26px;
}
.zonebtn.selected {
    background-color: #333333;
    color: #ffffff;
}
.zonebtn.hidden {
    display: none;
}
.zonegrp {
    width: 100%;
    justify-content: flex-start;
}
.zonegrp.selected {
    background-color: #666666;
    color: #ffffff;
}
.zonebtn.not-in-path {
    opacity: 0.2;
    pointer-events: none;
    touch-action: none;
}
#pathDirection {
    position: absolute;
    left: 0;
    top: 110%;
    width: 140px;
    height: 210px;
    background-color: transparent;
    text-align: center;
}
#pathDirection #dirArrowBg {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0 auto;
    width: 100%;
    height: 70px;
    background-color: rgb(150,20,20);
    border-radius: 50%;
    box-shadow: rgb(120, 20, 20) 0 1px 1px,
                rgb(120, 20, 20) 0 2px 1px,
                rgb(120, 20, 20) 0 3px 1px,
                rgb(120, 20, 20) 0 4px 1px,
                rgb(120, 20, 20) 0 5px 1px,
                rgb(120, 20, 20) 0 6px 1px,
                rgb(120, 20, 20) 0 7px 1px,
                rgb(120, 20, 20) 0 8px 1px,
                rgb(120, 20, 20) 0 9px 1px,
                rgb(120, 20, 20) 0 10px 1px;
}
#pathDirection #dirArrow {
    width: 80%;
    height: 100%;
    margin: 0 auto;
    background-image: url('dir_arrow_anim.gif');
    background-repeat: no-repeat;
    background-size: 90% 90%;
    background-color: transparent;
    background-position: center;
}
#pathDirection #dirText {
    position: absolute;
    top: 85px;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 100%;
    background-color: rgb(120, 20, 20);
    color: #ffffff;
    text-align: center;
    line-height: normal;
    font-size: 16px;
    padding: 5px 10px;
    box-shadow: 0 0 30px 4px rgba(0, 0, 0, 0.5);
}
#poiPinPoint {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 16px), 60% calc(100% - 16px), 50% 100%, 40% calc(100% - 16px), 0% calc(100% - 16px));
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 16px), 60% calc(100% - 16px), 50% 100%, 40% calc(100% - 16px), 0% calc(100% - 16px));
    transform: translateX(-50%);
    border-radius: 5px;
    color: #ffffff;
    font-size: 12px;
}
#poiPinPointContent {
    padding: 5px;
    max-width: 200px;
    min-width: 60px;
    margin-bottom: 16px;
    text-align: center;
}
#zoneTransition {
    width: fit-content;
    height: fit-content;
    background-color: #222222;
    color: #ffffff;
    border: 1px solid #aaaaaa;
    font-size: 30px;
    position: absolute;
    top: 10%;
    left: 0;
    right: 0;
    margin: 0 auto;
    padding: 30px;
    z-index: 2;
    text-align: center;
}
#zoneTransition img {
    margin-top: 20px;
    max-width: 120px;
    max-height: 120px;
}
#startNode {
    position: absolute;
    background-color: transparent;
    transform: translateX(-50%);
    height: 128px;
    width: 64px;
    background-image: url("you_are_here_anim.gif");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
#searchMenu {
    width: fit-content;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    margin: 5px auto;
    background-color: #f1f1f1;
    border-radius: 15px;
    border: 1px solid #cccccc;
}
.autocomplete {
    position: relative;
    display: inline-block;
}
#searchMenuInput {
    background-color: transparent;
    width: 300px;
    border: none;
    padding: 8px 10px;
}
.autocomplete-items {
    position: absolute;
    z-index: 99;
    top: 110%;
    left: 0;
    right: 0;
    max-height: 360px;
    overflow: hidden auto;
    border: 1px solid #cccccc;
    color: #000;
}
.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
    background-color: #e9e9e9;
}
.autocomplete-active {
    background-color: #1d1d1d !important;
    color: #ffffff;
}

div.service_node_html {
    width: 32px;
    height: 32px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
div.service_node_html img {
    max-width: 22px;
    max-height: 22px;
}
div.service_node_html.selected {
    background-color: #FF0000 !important;
    display: none;
}

div.poi_node_html {
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
div.poi_node_html img {
    max-width: 44px;
    max-height: 44px;
    padding: 5px;
}
div.poi_node_html.selected {
    background-color: #FF0000 !important;
    display: none;
}

div.zone_label {
    position: absolute;
    left: 100px;
    font-size: 26px;
    background-color: #eeeeee;
    color: #000000;
    padding: 5px 10px;
    border-radius: 5px;
}

#lazyLoading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
}
#lazyLoading img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    max-height: 50px;
    background-color: rgba(255,255,255,0.9);
    border-radius: 10px;
}