/*地图*/

.mapBox {
    position: relative;
    flex: 1;
    box-shadow: 0 1px 20px 0 rgba(76, 197, 254, 0.3) inset;
    border: 1px solid;
    border-image: linear-gradient(0deg, rgba(12, 196, 252, .5), rgba(2, 115, 255, .5)) 2 2;
}
.iframe{
    height: 100%;
    width: 100%;
}

/*图例*/

.mapBoxLegend {
    position: absolute;
    top: 38px;
    left: 33px;
    width: 180px;
    height: 122px;
    background: rgba(8, 9, 35, 0.85);
    box-shadow: 0 1px 20px 0 rgba(76, 197, 254, 0.3) inset;
    border: 1px solid rgba(5, 146, 247, .6);
    border-radius: 5px;
    display: flex;
}

.mapBoxLegend ul {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin: 10px 20px;
    font-size: 14px;
    color: rgba(197, 232, 250, 1);
    line-height: 20px;
}

.mapBoxLegend ul li {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.mapBoxLegend ul .blue::before,
.mapBoxLegend ul .green::before,
.mapBoxLegend ul .purple::before {
    content: "";
    display: inline-block;
    margin-right: 10px;
    width: 32px;
    height: 16px;
    border-radius: 7px;
    border: 2px solid;
}

.mapBoxLegend ul .purple::before {
    border-color: rgba(213, 126, 255, 1);
    background: rgba(131, 69, 247, 0.7);
}

.mapBoxLegend ul .blue::before {
    background: rgba(0, 109, 201, 0.73);
    border-color: rgba(88, 196, 254, 1);
}

.mapBoxLegend ul .green::before {
    background: rgba(9, 199, 2, 0.73);
    border-color: rgba(183, 254, 220, 1);
}


.mapLegend {
    margin: 0;
    position: absolute;
    top: 26px;
    left: 20px;
    display: flex;
    flex-direction: column;
    z-index: 9999;
    background: rgba(8, 9, 35, 0.85);
    box-shadow: 0 1px 20px 0 rgba(76, 197, 254, 0.3) inset;
    border: 1px solid rgba(5, 146, 247, .6);
}

.mapLegendList {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin: 10px 20px;
    font-size: 14px;
    color: rgba(174, 220, 244, 1);
    line-height: 20px;
}

.mapLegendList > li {
    display: flex;
    padding: 10px;
    align-items: center;
}

/*颜色图标*/

.mapLegendList .colorIcon::before {
    content: "";
    display: inline-block;
    margin-right: 10px;
    width: 32px;
    height: 16px;
    border-radius: 7px;
    border: 2px solid;
}
.mapLegendList .yhColorIcon::before {
    content: "";
    display: inline-block;
    margin-right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    border: 2px solid;
}

/*字体图标*/

.mapLegendList .fontIcon::before {
    font-size: 20px;
    line-height: 1em;
    text-align: center;
    vertical-align: middle;
    padding: 6px;
    background: rgba(9, 7, 31, 1);
    box-shadow: 0 0 20px 0 rgba(29, 124, 217, .8) inset;
    border-radius: 50%;
    border: 2px solid rgba(31, 121, 239, 1);
}

/*图例文字*/

.mapLegendList .legendText {
    display: inline-block;
    box-shadow:0px 4px 8px 0px rgba(7,19,49,0.9),0px 0px 20px 0px rgba(29,124,217,.8) inset;
    border-radius: 16px;
    border: 2px solid;
    padding: 5px 15px;
    margin-left: 10px;
    font-size: 14px;
}
.mapLegendList .legendText.blue,
.mapLegendList .blue::before {
    border-color: rgba(88, 196, 254, 1);
    background: rgba(0, 109, 201, 0.73);
}
.mapLegendList .legendText.green,
.mapLegendList .green::before {
    background: rgba(9, 199, 2, 0.73);
    border-color: rgba(183, 254, 220, 1);
}
.mapLegendList .purple::before {
    background: rgba(131, 69, 247, 0.7);
    border-color: rgba(213, 126, 255, 1);
}

.mapLegendList .red::before {
    background: rgba(173, 74, 137, 0.9);
    border-color: rgba(255, 255, 255, 0.5);
}

/*地图工具栏*/

.toolbar {
    position: absolute;
    left: 22px;
    bottom: 19px;
    height: 87px;
    background: rgba(11, 24, 56, 1);
    box-shadow: 0 4px 8px 0 rgba(4, 8, 22, 0.68), 0 0 12px 0 rgba(7, 104, 181, 0.5) inset;
    border-radius: 8px;
    border: 1px solid rgba(5, 146, 247, .6);
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.toolbar > li {
    width: 100px;
    height: 75px;
    padding: 5px 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.toolbar > li i,
.toolbar > li span {
    position: relative;
    z-index: 1;
    text-align: center;
    line-height: 1.4em;
}
.toolbar > li i{
    font-size: 36px;
}
.toolbar > li::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 130%;
    top: 0;
    bottom: 0;
    margin: auto;
    right: -2px;
    background: radial-gradient(#29B9F9, transparent,transparent);
}
.toolbar > li:last-child::after{
    display: none;
}
.toolbar > li::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 10px;
    left: 10px;
    margin: auto;
    background: rgba(0, 54, 120, 0.76);
    box-shadow: 0 0 20px 0 rgba(0, 162, 253, 1) inset;
    border-radius: 6px;
    border: 1px solid rgba(5, 146, 247, 1);
    display: none;
    z-index: 0;
}
.toolbar > .activeLink::before,
.toolbar > li:hover::before {
    display: block;
}