.leaflet-popup-content {
  width: auto !important;
  margin: 2px !important;
}

.leaflet-container a.leaflet-popup-close-button {
  top: 8px !important;
  right: 15px !important;;
  font-size: 25px !important;
}

.map-air-quality-popup {
  height: 336px;
  /*height: 405px;*/
  width: 380px;
}

.map-fire-popup {
  height: 163px;
  width: 240px;
}

.map-popup-model {
  background: white;
  border-radius: 10px
}

.map-popup-model .boiler-menu {
  height: 22px;
  border-radius: 5px;
  width: 350px;
  border: #cccccc solid 1px;
  margin: auto;
  overflow: hidden
}

.map-popup-model .boiler-pollution-menu-box {
  width: 340px;
  margin: 5px auto;
}

.map-popup-model .boiler-pollution-menu-box .boiler-pollution-menu {
  overflow: hidden;
  width: 180px;
  height: 18px;
  line-height: 16px;
  border-radius: 30px;
  border: #7f828b solid 1px;
}

.map-popup-model .boiler-table-box {
  width: 390px;
  border-radius: 5px;
  overflow: hidden;
  margin: auto
}

.map-popup-model .boiler-table-box table {
  border-radius: 6px;
}

.map-popup-model .boiler-table-box table tr th, table tr td {
  border: #cccccc solid 1px;
  font-size: 14px;
}

.boiler-pollution-menu-box .boiler-pollution-menu .active {
  background: #378fce;
  color: white;
}

.boiler-pollution-menu-box .boiler-pollution-menu li {
  font-size: 12px;
  width: 59px;
}

.map-popup-model .boiler-menu .boiler-menu-button {
  line-height: 20px;
  width: 50%;
  height: 20px;
  font-size: 14px;
}

.map-popup-model .boiler-menu .button-active {
  background: -prefix-linear-zgradient(top, #378fce, #2072bc);
  background: linear-gradient(to bottom, #378fce, #2072bc);
  color: white;
}

.map-popup-model .header {
  border-bottom: #cccccc solid 1px;
  margin: 0 10px;
  height: 35px;
  line-height: 35px;
}

.map-popup-model .map-chart {
  height: 110px;
  width: auto;
}

.map-popup-model .pollution-detail {
  height: 120px;
  width: 360px;
  margin: auto;
}

.map-popup-model .pollution-detail .map-card {
  height: 50px;
  margin: 10px 5px 0;
}

.map-popup-model .pollution-detail .map-card .top {
  width: auto;
  border-radius: 5px 5px 0 0;
  height: 25px;
  line-height: 25px;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: white;
  padding: 0 4px;
}

.map-popup-model .pollution-detail .map-card .top span {
  color: white;
}

.map-popup-model .pollution-detail .map-card .bottom {
  width: auto;
  height: 23px;
  border-radius: 0 0 5px 5px;
  border: #cccccc solid 1px;
  line-height: 23px;
  font-size: 14px;
}

.map-popup-model .pollution-detail .address {

}

.map-popup-model .header h1 {
  font-size: 16px;
}

.map-air-quality-marker-icon {
  min-width: 40px;
  max-width: 200px;
  padding: 0 4px;
  background: #BEBEBE;
  color: white;
  font-size: 16px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  border-radius: 4px;
  position: relative;
  width: fit-content;
  width: -webkit-fit-content;
  width: -moz-fit-content;
}

.map-air-quality-marker-icon:hover{
  z-index: 9999;
}

.map-air-quality-marker-icon .corner {
  height: 0;
  border: 7px transparent solid;
  border-top-color: #BEBEBE;
  position: absolute;
  bottom: -13px;
  left: 0;
  right: 0;
  width: 1px;
  margin: auto;
  content: ""
}

.map-address-name-marker-icon {
  min-width: 40px;
  padding: 0 4px;
  background: white;
  font-size: 12px;
  height: 22px;
  text-align: center;
  line-height: 22px;
  border-radius: 4px;
  left: -2px;
  top: -2px;
  position: absolute;
  width: fit-content;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  white-space: nowrap
}

.map-air-quality-point-marker-icon {
  border-radius: 50px;
  background: red;
  position: absolute;
  margin-left: -7px;
  margin-top: -7px;
  width: 16px;
  height: 16px;
}

.map-city-forecast-marker-icon {
  max-width: 200px;
  min-width: 45px;
  margin: 0;
  font-size: 14px;
  text-align: center;
  width: fit-content;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  white-space: nowrap;
  position: absolute;
}

.map-city-forecast-marker-icon p {
  text-shadow: 1px 1px 0px #FFFFFF;
  color: black;
}

.map-city-forecast-marker-icon .color-scale-box {
  position: relative;
  width: 45px;
  height: 15px;
  margin: auto
}

.map-city-forecast-marker-icon .color-scale-box .color-scale {
  border-top: 11px red solid; /*上边框宽度等于表格第一行行高*/
  width: 0; /*让容器宽度为0*/
  height: 0; /*让容器高度为0*/
  border-left: 15px #BDBABD solid; /*左边框宽度等于表格第一行第一格宽度*/
  position: absolute; /*让里面的两个子容器绝对定位*/
  margin: 0;
  left: 0;
}

.leaflet-div-icon {
  background: none !important;
  border: none !important;
}

.map-city-forecast-marker-icon .diagonal-line {
  width: 18px;
  height: 11px;
  border-bottom: 1px solid #cccccc;
  -webkit-transform: translateY(-4px) translateX(5px) rotate(35deg);
  position: absolute;
  top: -0.2px;
  left: -4px;
  z-index: 999;
}

.map-city-forecast-marker-icon .vertical-line {
  width: 18px;
  height: 11px;
  border-left: 1px solid #cccccc;
  position: absolute;
  top: -0.2px;
  left: -3px;
  z-index: 999;
}

.leaflet-control-velocity {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 0 5px;
  margin: 0 !important;
  color: #333;
  font: 11px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
}

.velocity-overlay {
  position: absolute;
  z-index: 1;
}


.circle-mark .content-box{
  width: 28px;
  height: 28px;
  margin: auto;
  background: white;
  position: absolute;
  z-index: 1100;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  font-size: 12px;
  line-height: 28px;
  text-align: center;
}

.circle-mark {
  border-radius: 50%;
  height: 34px;
  width: 34px;
  background: #970c50;
  position: relative;
}

.circle-mark .angle {
  position: absolute;
  width: 0;
  height: 0;
  top: 21px;
  border-left: 17px solid transparent;
  border-right: 17px solid transparent;
  border-top: 22px solid #970c50;
}
