.marker-icon {
  width: 24px;
  height: 24px;
  font-size: 13px;
  font-weight: bold;
  line-height: 20px;
  color: white;
  text-align: center;

  &.marker-anim {
    .marker-icon-title {
      min-width: 17.3rem;
    }
  }

  .marker-icon-title {
    position: absolute;
    // bottom: 30px;
    bottom: 40px;
    // left: -45px;
    left: -7.8rem;
    // min-width: 20rem;
    min-width: 17.3rem;
    font-size: 12px;
    line-height: 2.5rem;
    color: #5e5b5b;
    // color: #606060;
    text-align: center;
    // background: #e6f7ff;//#ff7c00;
    // background: url('../../assets/3dview/prePlan/shapan-qipao2.png') no-repeat;
    // border: 1px solid rgb(141, 189, 252);
    // border-radius: 6px;
    // box-shadow: 5px 3px 8px 0;
    // background-size: 100% 100%;

    img {
      display: inline-block;
      width: 15px; //2rem;
      // padding-top: 5px;
      // vertical-align: text-top;
      margin-left: 70px;
      vertical-align: unset;

      &+img {
        // margin-left: 0.5rem;
        margin-left: 40px;
      }
    }

    .title-text {
      position: absolute;
      top: 48%;
      left: 50%;
      display: inline-block;
      width: auto;
      height: auto;
      padding: 5px 10px;
      white-space: nowrap;
      // background: url('../../assets/3dview/prePlan/shapan-qipao2.svg') no-repeat;
      background: url('../../assets/3dview/prePlan/qipao.png') no-repeat center center/100% 100%;
      background-size: 100% 100%;
      transform: translate(-50%, -50%);
    }

    .title-child {
      // padding-left: 10px;
      margin-bottom: 0;
      text-align: left;

      .title-text {
        z-index: 1000;
        display: inline-block;
        padding-left: 5px;
        font-size: 10px;
        // color: black;
        color: white;
        text-align: center;
      }
    }
  }

  &.marker-anim {
    .pulse-spread {
      position: absolute;
      top: -22px;
      left: -20px;
      width: 64px;
      height: 64px;
      border: 3px solid red;
      border-radius: 50%;
      opacity: 0;
      box-shadow: 1px 1px 20px 5px red;
      animation: pulseAnim 1.5s ease-out;
      animation-iteration-count: infinite;
    }

    .marker-icon-title {
      // left: -26px;
      min-width: 10rem;
    }
  }

  // .marker-icon-title:after {
  //   content:'';
  //   position: absolute;
  //   left: 0;
  //   right: 0;
  //   margin: 0 auto;
  //   width: 0;
  //   height: 0;
  //   border-top: 25px solid #6A0136;
  //   border-left: 50px solid transparent;
  //   border-right: 50px solid transparent;
  // }

  .marker-icon-line {
    position: absolute;
    top: -10px;
    left: 20px;
    width: 14px;
    height: 18px;
    background: url('../../assets/3dview/markers/line-dot.png') no-repeat;
    background-size: contain;
  }

  .maker-top-img-div {
    position: absolute;
    bottom: 45px;
    left: -55px;
    min-width: 10rem;
    padding: 5px;
    font-size: 12px;
    color: #5e5b5b;
    background: white;

    .maker-top-img {
      width: 10rem;
    }
  }

  .maker-top-img-div::before {
    position: absolute;
    bottom: -10px;
    left: 4.5rem;
    border-top: 10px solid white;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    content: '';
  }
}

.three3d-marker-wrapper {
  .marker-icon {
    &.marker-anim {
      .marker-icon-title {
        min-width: 17.3rem;
      }
    }
  }
}

.marker-statistics-icon {
  width: 24px;
  height: 24px;
  font-size: 13px;
  font-weight: bold;
  line-height: 20px;
  color: white;
  text-align: center;

  .icon-title {
    position: absolute;
    bottom: 212px;
    width: max-content;
    height: 35px;
    transform: translateX(-50%);
    line-height: 35px;
    background: inherit;
    background-color: rgba(242, 242, 242, 0.7);
    box-sizing: border-box;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(121, 121, 121, 1);
    border-radius: 10px;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-family: 'Arial Negreta', 'Arial Normal', 'Arial';
    font-weight: 700;
    font-style: normal;
    font-size: 14px;
    color: #333333;
    padding-left: 20px;
    padding-right: 20px;
  }


  .marker-icon-title {
    // background: blueviolet;
    width: 79px !important;
    height: 88px;
    background: url('../../assets/3dview/liubianxing.png') no-repeat;
    position: absolute;
    bottom: 122px;
    left: -3.3rem;
    // min-width: 17.3rem;
    font-size: 12px;
    // line-height: 100px;
    color: white;
    text-align: center;
    // clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);

    .title-content {
      width: 100%;
      text-align: center;
      padding-top: 30%;

      .title-child {
        // margin-bottom: 0;
        // text-align: left;
        // height: 20px;

        .title-text {
          display: inline-block;
          padding-left: 5px;
          font-size: 10px;
          color: white;
          text-align: center;
        }
      }
    }
  }

  .marker-icon-line {
    position: absolute;
    top: -100px;
    left: 0px;
    border-right: 1px dashed white;
    height: 100px;
    width: 1px;
  }
}


// 告警
.marker-alarm {
  width: 400px;
  height: 195px;
  padding: 5px;
  padding-bottom: 5px;
  font-size: 13px;
  // font-weight: bold;
  columns: black;
  text-align: center;
  background-color: rgba(0, 98, 157, 0.05);
  border: 1px solid rgba(245, 0, 0, 1);

  &.alarm-floor-3 {
    margin-top: -236px;
    margin-left: -364px;
  }

  &.alarm-floor-6 {
    margin-top: -225px;
    margin-left: 60px;
  }

  &.alarm-floor-xy {
    margin-top: -225px;
    margin-left: 60px;
  }

  .marker-panel-content {
    position: absolute;
    width: 373px;
    height: 180px;
    min-width: 300px;
    font-size: 13px;
    line-height: 2.5rem;
    text-align: center;
    opacity: 1;
    // box-shadow: 0 3px 6px rgba(0,0,0,0.16);

    .title-content {
      position: absolute;
      width: 373px;
      height: 175px;
      text-align: center;

      .title-carousel {
        .title-child {
          height: 32px;
          margin-bottom: 5px;
          text-align: left;
          background-color: white;
          border: 1px solid #f50000;

          .title-front {
            z-index: 1000;
            display: inline-block;
            float: left;
            width: 89px;
            padding: 0 5px;
            font-size: 13px;
            font-weight: bold;
            color: white;
            text-align: center;
            background-color: #f50000;
          }

          .title-text {
            z-index: 1000;
            display: inline-block;
            width: 267px;
            padding-left: 5px;
            font-size: 13px;
            color: black;
            text-align: left;
            word-break: keep-all;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            background-color: white;
          }

          .title-text:hover {
            background-color: #ffc400;
          }
        }

        .title-child:hover {
          background-color: #ffc400;
        }

        .title-child-empty {
          height: 36px;
          margin-bottom: 5px;
          text-align: left;

          &.title-child-empty-1 {
            height: 34px;
            margin-bottom: 5px;
          }

          &.title-child-empty-2 {
            height: 34px;
            margin-bottom: 5px;
          }

          &.title-child-empty-3 {
            height: 33px;
            margin-bottom: 5px;
          }

          .title-front-empty {
            z-index: 1000;
            display: inline-block;
          }

          .title-text-empty {
            z-index: 1000;
            display: inline-block;
          }
        }
      }
    }
  }

  .marker-panel-line {
    position: absolute;
    top: -50px;
    left: 40px;
    width: 1px;
    height: 55px;
    background-color: rgba(245, 0, 0, 1);

    &.line-floor-3 {
      -webkit-transform: rotate(-45deg);
      -moz-transform: rotate(-45deg);
    }

    &.line-floor-6 {
      -webkit-transform: rotate(45deg);
      -moz-transform: rotate(45deg);
    }

    &.line-floor-xy {
      -webkit-transform: rotate(45deg);
      -moz-transform: rotate(-45deg);
    }
  }
}

.marker-alarm-flicker {
  position: absolute;
  border: 10px solid #f4313169;
  border-radius: 50%;
  opacity: 0;
  -webkit-box-shadow: 1px 1px 20px 5px red;
  box-shadow: 1px 1px 20px 5px red;
  -webkit-animation: pulseanim 1.5s ease-out;
  animation: pulseAnim 1.5s ease-out;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;

  &.flicker-floor-3 {
    // top: -30px;
    // left: -60px;
    width: 520px;
    height: 80px;
  }

  &.flicker-floor-6 {
    // top: -30px;
    // left: -300px;
    width: 400px;
    height: 60px;
  }
}

.three-ui-infowindow {
  position: absolute;
  top: 48%;
  left: 50%;
  display: inline-block;
  width: auto;
  height: auto;
  padding: 5px 10px;
  white-space: nowrap;
  background: url('../../assets/3dview/qipao.png') no-repeat center center/100% 100%;
  background-size: 100% 100%;
  transform: translate(-50%, -50%);
}

.three-ui-anchor {
  position: absolute;
  top: 48%;
  left: 50%;
  display: inline-block;
  width: 90px;
  height: 40px;
  padding: 7px 25px;
  margin: 0;
  font-size: 14px;
  line-height: 24px;
  color: white;
  text-align: center;
  white-space: nowrap;
  background: url('../../assets/3dview/qipao.png') no-repeat center center/100% 100%;
  background-size: 100% 100%;
  transform: translate(-50%, -50%);
}
