#map_wrapper {
    position: relative;
}

#xmap {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    margin-left: auto;
    margin-right: auto;
    background: black;
}

#map_home_small_area {
    font-size: 14px;
}

#map_home_large_area {
    font-size: 22px;
}

.leaflet-control-div {
    background: white;
    padding: 10px;
}

.leaflet-control-div-title {
    font-size: 16px;
    font-weight: bolder;
    text-align: left;
}

.leaflet-control-div li {
    list-style: none;
    margin-left: 5px;
}

.leaflet-control-div input {
    position: relative;
    top: 2px;
    margin-right: 5px !important;
}

.fullscreen-map {
    width: 100% !important;
    height: 100% !important;
    position: fixed !important;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999999999999;
}

.divicon-size-12 {
    font-size: 12px !important;
    top: -2px !important;
    left: 0px !important;
}

.divicon-size-16 {
    font-size: 16px !important;
    top: -4px !important;
    left: -1px !important;
}

.divicon-size-20 {
    font-size: 20px !important;
    top: -6px !important;
    left: -3px !important;
}

.divicon-size-24 {
    font-size: 24px !important;
    top: -10px !important;
    left: -5px !important;
}

.divicon-size-28 {
    font-size: 28px !important;
    top: -12px !important;
    left: -7px !important;
}

.divicon-size-32 {
    font-size: 32px !important;
    top: -22px !important;
    left: -4px !important;
}

.center-icon {
    color: #FF00FF;
}

.leaflet-information-area {
    width: 300px;
    opacity: 0.9;
}

.leaflet-information-area a {
    display: inline;
    text-decoration: none;
    border-bottom: none;
    color: #337ab7;
}

.leaflet-information-area a:hover {
    display: inline;
    border-bottom: 1px solid #ccc;
    color: #23527c;
}

.leaflet-popup {
    font-size: 16px;
    bottom: 8px !important;
}

.leaflet-popup-tip-container {
    height: 12px !important;
}

.layer-switch {
    background-color: white;
    line-height: 25px;
    padding: 0px 6px;
}

.layer-switch input {
    position: relative;
    top: 2px;
    right: 2px;
    cursor: pointer;
}

.layer-switch label {
    margin: 0px 2px;
    cursor: pointer;
}

/* icon light*/
.active_icon{
    width: 16px;
    height: 16px;
    background-color: #005680;
    border-radius:50%;
    top: -23px;
    box-shadow: 1px 3px 5px 1px #fff;
}

.active_icon:before { /*三角*/
    content: '';
    width: 0;
    height: 0;
    border-top: 12px solid #005680;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    bottom: -6px;
    position:absolute;
    left: 0px;
}

.active_icon:after { /*陰影*/
    content: '';
    width: 6px;
    height: 1px;
    bottom: -7px;
    background-color: #666;
    box-shadow: 0 0 1px 1px #666;
    border-radius: 50%;
    position:absolute;
    left: 4px;
}

.inactive_icon{
    width: 16px;
    height: 16px;
    background-color: #888;
    border-radius:50%;
    top: -23px;
    box-shadow: 0px 2px 5px 3px #fff;
}

.inactive_icon:before {
    content: '';
    width: 0;
    height: 0;
    border-top: 12px solid #888;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    bottom: -6px;
    position:absolute;
    left: 0px;
}

.inactive_icon:after {
    content: '';
    width: 6px;
    height: 1px;
    bottom: -7px;
    background-color: #666;
    box-shadow: 0 0 1px 1px #666;
    border-radius: 50%;
    position:absolute;
    left: 4px;
}


.select_icon_light{
    cursor: pointer;
}

.select_icon_light:before {
    content: '';
    width: 16px;
    height: 6px;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    top: -23px;
    left: -3px;
    background-color: #fd7070;
    position: absolute;
    box-shadow: -1px -1px 2px #222  inset;
}