@import url('./icon/iconfont.css');
/* 弹框样式 */
.ild-popup {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    z-index: 8888;
    /*display: none;*/
    min-width: 280px;
    min-height: 80px;
    font-size: 14px;
    text-align: start;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 6px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    line-break: auto;
}

.ild-popup-title {
    padding: 0 10px;
    margin: 0;
    height: 30px;
    line-height: 30px;
    font-size: 15px;
    font-weight: bold;
    background-color: #f7f7f7;
    border-bottom: 1px solid #ebebeb;
    border-radius: 5px 5px 0 0;
}

.ild-popup-content {
    padding: 9px 14px;
}

.ild-popup-closer {
    float: right;
    color: #333333;
    height: 30px;
    line-height: 30px;
    text-decoration: none;
}

.ild-popup-closer:hover {
    color: #3c8dbc;
    font-weight: bold;
}

.ild-popup-arrow {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    left: 50%;
    margin-left: -11px;
    bottom: -11px;
    border-width: 10px;
    border-color: transparent;
    border-style: solid;
    border-top-color: rgba(0, 0, 0, .2);
    border-bottom-width: 0;
}

.ild-popup-arrow:after {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    margin-left: -10px;
    content: " ";
    bottom: 1px;
    border-width: 10px;
    border-color: transparent;
    border-style: solid;
    border-top-color: #fff;
    border-bottom-width: 0;
}



/* 鼠标位置坐标样式 */
.ild-mouse-position {
    position: absolute;
    bottom: 40px;
    left: 10px;
    margin: 0;
    padding: 0;
    z-index: 8888;
}

/* 鼠标位置坐标样式 */
.ild-overviewmap,
.ild-overviewmap.ol-uncollapsible {
    bottom: 0;
    left: auto;
    right: 0;
    top: auto;
}
/* 地图工具条样式 */
.toolbar-nav {
    background-color: #ffffff;
    border: 0 #e7e7e7;
    border-radius: 2px;
    padding: 0 15px;
    box-shadow: 1px 2px 1px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    font-family: "Microsoft YaHei", serif;
    overflow: visible;
}

.toolbar-icon {
    font-size: 18px !important;
}

.toolbar-search {
    position: absolute;
    display: inline-block;
    padding: 0px 15px;
    /*cursor: pointer;*/
}

.toolbar-search-content {
    display: inline-block;
    padding: 0 15px;
}

.toolbar-search-content > .iconfont {
    color: #777777;
    position: absolute;
    top: 10px;
}

.toolbar-search-content > .iconfont.icon-search {
    left: 8px;
    top: 9px;
}

.toolbar-search-content .iconfont.icon-cancel {
    right: 10px;
    top: 9px;
}

.toolbar-search-input {
    display: inline-block;
    border: none;
    outline-style: none;
    height: 32px;
    /*margin-left: 5px;*/
}

.toolbar-search-result {
    position: absolute;
    display: none;
    width: 290px;
    left: 0;
    top: 36px;
    padding: 0px;
}

.search-results-content {
    max-height: 500px;
    list-style: none;
    padding: 0;
    margin: 5px 0;
}

.search-results-content li {
    color: #777777;
    background: white;
    padding: 8px 15px;
    cursor: pointer;
}

.search-results-content li:hover {
    /*color: white;*/
    background: rgba(219, 213, 213, 0.5);
}

.search-results-content li p {
    display: inline;
    margin: 0 0 0 10px;
}

.search-results-content .lonlat {
    display: none;
}

.toolbar-dropdown {
    position: relative;
    display: inline-block;
}

.toolbar-dropdown-button {
    display: block;
    background-color: #ffffff;
    color: #777777;
    width: 110px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    vertical-align: middle;
}

.toolbar-menu {
    display: none;
    position: absolute;
    right: 0;
    min-width: 110px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.toolbar-menu a {
    color: #777777;
    padding: 8px 12px;
    text-decoration: none;
    display: block;
}

.toolbar-menu a .layer-invisible {
    color: #fc4f4f;
}

.toolbar-menu a:hover {
    cursor: pointer;
    color: #3c8dbc;
    text-decoration: none;
    font-weight: bold;
}

.toolbar-menu a:hover .layer-invisible {
    cursor: pointer;
    color: #3c8dbc;
    text-decoration: none;
    font-weight: bold;
}

.toolbar-dropdown:hover {
    cursor: pointer;
}

.toolbar-dropdown:hover .toolbar-dropdown-button {
    background-color: #3c8dbc;
    color: #ffffff;
    text-decoration: none;
}

.toolbar-dropdown:hover .toolbar-menu {
    display: block;
}

.toolbar-menu .menu-divider {
    height: 1px;
    padding: 0 5px;
    background-color: #cccccc;
}

/* 测量气泡样式 */
.tooltip {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    color: white;
    padding: 4px 8px;
    opacity: 0.7;
    white-space: nowrap;
}

.tooltip-measure {
    opacity: 1;
    font-weight: bold;
}

.tooltip-static {
    background-color: #ffcc33;
    color: black;
    border: 1px solid white;
}

.tooltip-measure:before,
.tooltip-static:before {
    border-top: 6px solid rgba(0, 0, 0, 0.5);
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    content: "";
    position: absolute;
    bottom: -6px;
    margin-left: -7px;
    left: 50%;
}

.tooltip-static:before {
    border-top-color: #ffcc33;
}