/* leaflet样式 */
.region-name1 {
  /* width: 84px !important; */
  height: 65px !important;
  font-size: 20px;
  /* font-family: 'Source Han Sans CN-Bold'; */
  font-weight: bold;
  text-align: center;
  color: #ffffff;
  line-height: 1px;
  white-space: nowrap;
  background: linear-gradient(
    0deg,
    rgba(79, 126, 248, 0.68),
    rgba(0, 96, 255, 0.99)
  );
  border-radius: 5px;
  font-style: italic;
  text-stroke: 0.5px #217ff5;
  -webkit-text-stroke: 0.5px #217ff5;
  text-shadow: 0px 2px 3px rgba(42, 133, 243, 0.67);
}
.region-name2 {
  margin-top: -13px !important;
  text-align: center;
  white-space: nowrap;
  font-size: 13px;
  font-style: italic;
  color: #ffffff;
  text-shadow: 0px 2px 3px rgba(42, 133, 243, 0.67);
}
.region-name3 {
  margin-top: 5px !important;
  text-align: center;
  white-space: nowrap;
  font-size: 13px;
  font-style: italic;
  color: #ffffff;
  text-shadow: 0px 2px 3px rgba(42, 133, 243, 0.67);
}

.region-name4 {
  /* font-family: "xiniu"; */
  font-size: 14px;
  font-weight: bold;
  font-style: italic;
  color: #fff7cf;
  text-align: center;
  white-space: nowrap;
  /* text-stroke: 0.7px rgba(0, 0, 0, 1);
  -webkit-text-stroke: 0.7px rgba(0, 0, 0, 1);*/
  background: linear-gradient(0deg, #ffffff 0%, #cff4ff 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 0.3px #000) drop-shadow(0 0 0.3px #000)
    drop-shadow(0 0 0.3px #000) drop-shadow(0 0 0.3px #000)
    drop-shadow(0 0 0.3px #000) drop-shadow(0 0 0.3px #000)
    drop-shadow(0 0 0.3px #000);
  /* writing-mode: vertical-rl; */
}

.land-name {
  font-family: "Alibaba-PuHuiTi-Bold.otf";
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  font-style: italic;
  color: #ffeb3b;
  /* background: linear-gradient(0deg, #ffffff 0%, #fff7cf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; */
  line-height: 24px;
  letter-spacing: 2px;
  white-space: nowrap;
  /* text-stroke: 0.5px rgba(0, 0, 0, 1);
  -webkit-text-stroke: 0.5px rgba(0, 0, 0, 1); */
  filter: drop-shadow(0 0 0.75px #000) drop-shadow(0 0 0.75px #000)
    drop-shadow(0 0 0.75px #000) drop-shadow(0 0 0.75px #000)
    drop-shadow(0 0 0.75px #000);
}
.text-hide .land-name {
  display: none;
}
.text-18 .land-name {
  font-size: 20px;
}
.text-17 .land-name {
  font-size: 15px;
}
.text-16 .land-name {
  font-size: 10px;
}
.land-name2 {
  font-size: 20px;
  font-weight: 400;
  text-align: center;
  color: #ffffff;
  line-height: 85px;
  letter-spacing: 2px;
  white-space: nowrap;
  text-shadow: #000000 1px 0 0, #000000 0 1px 0, #000000 -1px 0 0,
    #000000 0 -1px 0;
}
.text-hide .land-name2 {
  display: none;
}
.text-18 .land-name2 {
  line-height: 95px;
  font-size: 20px;
}
.text-17 .land-name2 {
  font-size: 14px;
}
.text-16 .land-name2 {
  line-height: 55px;
  font-size: 7px;
}
.road-name-icon {
  color: white;
  width: 60px !important;
  height: 16px !important;
  font-family: "Alibaba-PuHuiTi-Regular.otf";
  font-size: 10px;
  line-height: 14px;
  text-align: center;
  /* filter: drop-shadow(0 0 0.3px #007d76) drop-shadow(0 0 0.3px #007d76)
    drop-shadow(0 0 0.3px #007d76) drop-shadow(0 0 0.3px #007d76)
    drop-shadow(0 0 0.3px #007d76) drop-shadow(0 0 0.3px #007d76)
    drop-shadow(0 0 0.3px #007d76) drop-shadow(0 0 0.3px #007d76)
    drop-shadow(0 0 0.3px #007d76) drop-shadow(0 0 0.3px #007d76)
    drop-shadow(0 0 0.3px #007d76); */
  filter: drop-shadow(0 0 0.3px #9d6e00) drop-shadow(0 0 0.3px #9d6e00)
    drop-shadow(0 0 0.3px #9d6e00) drop-shadow(0 0 0.3px #9d6e00)
    drop-shadow(0 0 0.3px #9d6e00) drop-shadow(0 0 0.3px #9d6e00)
    drop-shadow(0 0 0.3px #9d6e00) drop-shadow(0 0 0.3px #9d6e00)
    drop-shadow(0 0 0.3px #9d6e00) drop-shadow(0 0 0.3px #9d6e00)
    drop-shadow(0 0 0.3px #9d6e00);
}
.river-name-icon {
  color: white;
  width: 60px !important;
  height: 16px !important;
  font-family: "Alibaba-PuHuiTi-Regular.otf";
  font-size: 10px;
  line-height: 14px;
  text-align: center;
  /* filter: drop-shadow(0 0 0.3px #007d76) drop-shadow(0 0 0.3px #007d76)
    drop-shadow(0 0 0.3px #007d76) drop-shadow(0 0 0.3px #007d76)
    drop-shadow(0 0 0.3px #007d76) drop-shadow(0 0 0.3px #007d76)
    drop-shadow(0 0 0.3px #007d76) drop-shadow(0 0 0.3px #007d76)
    drop-shadow(0 0 0.3px #007d76) drop-shadow(0 0 0.3px #007d76)
    drop-shadow(0 0 0.3px #007d76); */
  filter: drop-shadow(0 0 0.3px #33816d) drop-shadow(0 0 0.3px #33816d)
    drop-shadow(0 0 0.3px #33816d) drop-shadow(0 0 0.3px #33816d)
    drop-shadow(0 0 0.3px #33816d) drop-shadow(0 0 0.3px #33816d)
    drop-shadow(0 0 0.3px #33816d) drop-shadow(0 0 0.3px #33816d)
    drop-shadow(0 0 0.3px #33816d) drop-shadow(0 0 0.3px #33816d)
    drop-shadow(0 0 0.3px #33816d);
}
.leaflet-container {
  background: transparent !important;
}
.mars3d-template-content label {
  margin: 0 10px;
  min-width: 75px;
  float: left;
}

.shop-dialog {
  & > div {
    margin-top: 6px;
    display: flex;
    align-items: center;
    .shop-value {
      margin-left: 6px;
    }
  }
}
.color-value {
  display: inline-block;
  width: 45px;
  text-align: center;
}

.diyPopup {
  .leaflet-popup-content-wrapper {
    background-color: transparent;
    box-shadow: none;
  }
  .leaflet-popup-content {
    margin: 0;
  }
  .leaflet-popup-tip-container {
    display: none;
  }
}

.mypopup {
  position: relative;
  width: 100%;
  padding: 10px;
  padding-top: 30px;
  background: url("../images/ui/mypopup.png");
  background-size: 100% 100%;

  #popup-close {
    cursor: pointer;
    position: absolute;
    top: 3px;
    right: 0px;
    width: 28px;
    height: 19px;
    background: url("../images/ui/popup-close.png");
    background-size: 100% 100%;
  }

  .mars3d-popup-content-wrapper {
    box-shadow: 0 0 0;
  }
  .mars3d-popup-tip-container {
    display: none;
  }
  .shop-dialogs {
    width: 100%;

    .tab-title {
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid #1091ff;
      .tab-list {
        display: flex;
        align-items: center;
        font-size: 14px;
        .tab-item {
          cursor: pointer;
          color: #fff;
          font-weight: bold;
          background: linear-gradient(0deg, #0a3a67 0%, #0882e8 100%);
          border-radius: 4px 4px 0px 0px;
          padding: 2px 8px;
          margin-right: 6px;
        }
      }
      .tab-btn-group {
        display: flex;
        align-items: center;
        font-size: 12px;
        padding-bottom: 6px;
        transform: translateY(-3px);
        div {
          cursor: pointer;
          padding: 2px 6px;
          border-radius: 4px;
          text-align: center;
        }
      }
      #updateBtn {
        background-color: rgba(0, 255, 252, 0.6);
        color: #00fffc;
        span {
          background: url("../images/ui/edit.png");
          background-size: 100% 100%;
        }
      }

      #submit {
        display: none;
        margin-left: 6px;
        color: #fff;
        background-color: rgba(16, 99, 166, 0.8);
        span {
          background: url("../images/ui/sava.png");
          background-size: 100% 100%;
        }
      }

      #updateBtn span,
      #submit span {
        transform: translateY(12%);
        display: inline-block;
        margin-right: 3px;
        height: 14px;
        width: 14px;
      }
    }
    .image-box {
      position: relative;
      width: 100%;
      height: 170px;
      margin: 10px 0;
      border: 1px solid rgba(16, 99, 166, 1);
      .file-upload {
        display: none;
        position: absolute;
        left: 0;
        top: 0;
        z-index: 10;
        height: 100%;
        width: 100%;
        text-align: center;
        line-height: 170px;
        background-color: rgba(255, 255, 255, 0.5);
      }
      #uploadButton {
        cursor: pointer;
        width: 85px;
        background: #ffffff;
        border-radius: 4px;
        padding: 1px 0;
        text-align: center;
        border: 1px solid rgba(15, 41, 62, 0.47);
      }
    }
    .shop-image {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
    .flex-div {
      display: flex;
      align-items: center;
    }

    .row-item {
      width: 100%;
      margin-bottom: 10px;
      justify-content: space-between;
      & > div {
        display: flex;
        align-items: center;
        width: 49%;
        .item-lable {
          width: 35%;
          color: #85b3f2;
          font-size: 12px;
        }
        input {
          height: 24px;
          border: 0;
          border-radius: 0;
          width: 65%;
          font-size: 12px;
          box-shadow: none;
          background-color: rgba(255, 255, 255, 0.3);
          color: #fff;
        }
        input[readonly] {
          background: transparent;
          border: 0;
        }
        input:focus-visible {
          outline: none; /* 移除默认的聚焦轮廓 */
        }
      }
    }
  }
}

.building-marker {
  .marker-name {
    width: 60px;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 12px;
    text-align: center;
  }
  .houser {
    position: relative;
    width: 49px;
    height: 20px;
    transform: translate(-50%, -25%);
    box-sizing: border-box;
    padding: 1px;
    border: 1px solid #fff;
    display: flex;
    align-items: center;
    .left-color,
    .right-color {
      flex: 1;
      height: 100%;
    }
    .right-color {
      border-left: 1px solid white;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      & > div {
        flex: 1;
      }
      .rigth-bottom {
        background: red;
        border-top: 1px solid white;
      }
    }
    .point-color {
      position: absolute;
      bottom: -6px;
      left: 0;
      display: flex;
      align-items: center;
      & > div {
        margin-right: 3px;
        height: 10px;
        width: 10px;
        border-radius: 50%;
        border: 1px solid #fff;
      }
    }
    .house-is {
      position: absolute;
      top: -6px;
      left: 0;
      display: flex;
      align-items: center;
      .typeis {
        height: 10px;
        width: 10px;
        margin-right: 3px;
      }
    }
    .house-name {
      font-size: 13px;
      color: #fff;
      font-weight: bold;
      position: absolute;
      width: 100%;
      left: 0;
      top: 0;
      text-align: center;
    }
  }
}

.building-top {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  .row-cell {
    padding: 3px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid;
  }
  .buildingType-icon {
    position: relative;
    display: inline-block;
    height: 14px;
    width: 14px;
    margin-right: 3px;
  }
  .isd-count {
    // position: absolute;
    // right: vw(-2);
    // bottom: 0;
    font-size: vw(12);
    color: #fff;
  }
  .img-icon-build {
    position: relative;
    height: 33px;
    width: 38px;
  }
  .building-num {
    display: block;
    height: 33px;
    width: 38px;
  }
  .building-num-data {
    position: absolute;
    top: 0;
    display: inline-block;
    height: 33px;
    width: 38px;
    text-align: center;
    line-height: 28px;
    font-size: 14px;
  }
}
.popperclass {
  background: transparent !important;
}
