.leaflet-wrapper-layout {
  width: 100%;
  height: 100%;
  .leaflet-map-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
  }
  .map-select-cursor {
    .leaflet-container {
      cursor: crosshair !important;
      * {
        cursor: crosshair !important;
      }
    }
  }
  .leaflet-container {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    // background: #000;
  }
  .leaflet-div-icon {
    background: transparent;
    border: none;
  }
  .marker-layout {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }
  .addict-place-marker-layout {
    width: 30px;
    height: 30px;
    img {
      width: 100%;
      height: 100%;
    }
  }
  .distance-layout-index {
    width: 68px;
    height: 18px;
    font-size: var(--fs-small);
    line-height: 16px;
    text-align: center;
    border: 1px solid #6696d8;
    border-radius: 9px;
    color: #fff;
    // margin-left: -25px;
    // margin-top: 22px;
    background: #189ddb;
  }
  .marker-center-layout {
    text-align: center;
    width: 32px;
    height: 42px;
    margin-top: -10px;
    > div {
      width: 100%;
      height: 100%;
      padding-top: 6px;
    }
    .onLine {
      background: url('/micro-apps/micro-dep-librarys/images/map/Place_icon_OnLine_Normal.svg') no-repeat;
      &:hover {
        background: url('/micro-apps/micro-dep-librarys/images/map/Place_icon_OnLine_Hover.svg') no-repeat;
      }
    }
    .outLine {
      background: url('/micro-apps/micro-dep-librarys/images/map/Place_icon_OutLine_Normal.svg') no-repeat;
      &:hover {
        background: url(/micro-apps/micro-dep-librarys/images/map/Place_icon_OutLine_Hover.svg) no-repeat;
      }
    }
  }

  .single-device-hover {
    height: max-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    .marker-title {
      white-space: nowrap;
    }
  }

  .marker-cricle-layout {
    width: 24px;
    height: 24px;
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.3);
    img {
      width: 16px;
      height: 16px;
    }
  }
  .marker-interest-layout {
    width: 30px;
    height: 30px;
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.3);
    img {
      width: 20px;
      height: 20px;
    }
  }
  .map-sigle-device-popup {
    pointer-events: none;
  }
  .marker-popup-layout {
    z-index: 99;
    .leaflet-popup-content-wrapper {
      border-radius: unset;
      box-shadow: none;
      background: transparent;
    }
    .leaflet-popup-content {
      margin: 6px 10px;
    }
    .marker-popup-single-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      pointer-events: none;
      width: 200px;
      .task-img {
        width: 194px;
        height: 156px;
        background-color: white;
        box-shadow: 2px 3px 5px 0px rgba(0, 0, 0, 0.1);
        padding: 3px;
        img {
          width: 187px;
          height: 143px;
          display: block;
        }
      }
      .marker-title {
        background: #fff;
        padding: 5px 10px;
        width: max-content;
        position: relative;
        box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.1);
        border-radius: 3px;
      }
      .marker-icon {
        position: absolute;
        top: 42px;
      }
      .jump-group {
        padding-top: 42px;
        width: max-content;
        .anticon {
          pointer-events: all;
          width: 30px;
          height: 30px;
          border-radius: 15px;
          background: #fff;
          padding-top: 7px;
          font-size: 16px;
          margin-right: 5px;
          box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.2);
          color: #189ddb;
          transition: all 0.3s;
          cursor: pointer;
          &:hover {
            background: #189ddb;
            color: #fff;
          }
          &:last-child {
            margin-right: 0;
          }
        }
      }
    }

    .marker-popup-mutiple-content {
      background: #fff;
      box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.2);
      border-radius: 4px;
      position: relative;
      .mutiple-device-layout {
        overflow: auto;
        height: 180px;
        width: 300px;
        padding: 10px;
      }
      .mutiple-search-input {
        padding: 10px 10px 0 10px;
      }
      .mutiple-device-item {
        height: 24px;
        line-height: 24px;
        display: flex;
        justify-content: space-between;
        cursor: pointer;
        padding: 0 5px;
        .mutiple-item-title {
          flex: 1;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
          .anticon {
            padding-right: 4px;
          }
        }
        .mutiple-jump-item {
          width: 0;
          overflow: hidden;
          .anticon {
            width: 20px;
            height: 20px;
            line-height: 24px;
            background: transparent;
            border: none;
            font-size: 16px;
            margin: 0;
            margin-left: 5px;
            color: #8899bb;
            &:hover {
              color: #189ddb;
              border: none;
              background: transparent;
            }
          }
        }
        &:hover {
          background: #eee;
          .mutiple-jump-item {
            width: auto;
          }
        }
      }
    }
    .leaflet-popup-tip {
      display: none;
    }
  }
}

.marker-popup-image {
  .leaflet-popup-content-wrapper {
    border-radius: unset;
    background: transparent;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.2);
    margin: 0;
    padding: 0;
    .leaflet-popup-content {
      box-shadow: 2px 3px 5px 0px rgba(0, 0, 0, 0.1);
      margin: 0;
      padding: 0;
    }
  }
  .leaflet-popup-tip-container {
    display: none;
  }
}

.marker-popup-layout.camera-video-popup-layout {
  background: #000;
  height: 480px;
  z-index: 100;
  .leaflet-popup-content-wrapper {
    height: 100%;
    padding: 0;
    .leaflet-popup-content {
      margin: 0;
      height: 100%;
      & > div {
        height: 100%;
      }
    }
  }
  .leaflet-popup-tip {
    display: block !important;
    background-color: #000;
    box-shadow: unset;
  }
}
.camera-video-popup-layouts {
  background: #fff;
  height: auto !important;
  z-index: 10;
  padding: 0px;
  .leaflet-popup-content-wrapper {
    height: 100%;
    padding: 0;
    .leaflet-popup-content {
      margin: 0;
      width: auto !important;
      height: 100%;
      & > div {
        height: 100%;
      }
    }
  }
  // .leaflet-popup-tip {
  //   display: block !important;
  //   background-color: #fff;
  //   box-shadow: unset;
  // }
}

.marker-layout-index {
  width: 24px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('/micro-apps/micro-dep-librarys/images/map/person-map-icon.svg') no-repeat;
  background-size: 24px 32px;
  color: #fff;
  padding-bottom: 8px;
  font-size: var(--fs);
  font-weight: bold;
  &.marker-layout-place-center {
    background: url('/micro-apps/micro-dep-librarys/images/map/place-center.svg') no-repeat;
    background-size: 24px 32px;
  }
  &.marker-layout-point-yellow {
    background: url('/micro-apps/micro-dep-librarys/images/Place_icon_OnLine_Normal.svg') no-repeat;
    background-size: 24px 32px;
  }
}
.points-new-exist-place .img-box {
  cursor: pointer;
  background: #eee;
  width: 100px;
  height: 134px;
  position: relative;
  img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 100% !important;
    max-height: 100% !important;
  }
}
.trajectory-popup-layout {
  .leaflet-popup-content-wrapper {
    background: #fff !important;
  }
  .leaflet-popup-content {
    margin: 5px !important;
  }
  .trajectory-popup-layout-content {
    width: 100%;
    height: 100px;
    background-color: var(--bg-lv2) !important;
    overflow: hidden;
    display: flex;
    justify-content: center;
    position: relative;
    img {
      max-width: 100%;
      margin: 0 auto;
      max-height: 100px;
      height: initial;
      z-index: 9;
      object-fit: contain;
    }
  }
}
.place-feq-marker-layer {
  width: 27px;
  height: 37px;
  .feq-place-icon {
    height: 100%;
    background: url(/micro-apps/micro-dep-librarys/images/place/Place_Avatar_Normal.svg) no-repeat center center;
    background-size: 100%;
    &:hover {
      background-image: url(/micro-apps/micro-dep-librarys/images/place/Place_Avatar_Hover.svg);
    }
  }
}

.map-arrow-base {
  position: absolute;
  content: '';
  width: 10px;
  height: 10px;
  padding: 1px;
  background: #fff;
  left: 50%;
  margin-left: -4px;
  transform: rotate(45deg);
}

.arrow-map-layout {
  background: #fff;
  &:after {
    .map-arrow-base();
    bottom: -5px;
  }
  &.has-icon-group:after {
    .map-arrow-base();
    bottom: 22px;
  }
}

.map-loop-tools-item {
  width: 206px;
  display: flex;
  height: 36px;
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 99;
  text-align: center;
  background-color: #fff;
  color: #62708b;
  font-size: 14px;
  .map-loop-left {
    width: 60%;
    line-height: 36px;
    cursor: pointer;
  }
  .map-loop-right {
    width: 40%;
    line-height: 30px;
    border-left: 1px solid #dbe1ea;
  }
}
.map-loop-tools {
  width: 284px;
  display: flex;
  height: 36px;
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 99;
  text-align: center;
  background-color: #fff;
  color: #62708b;
  font-size: 12px;
  cursor: pointer;
  .tools-left {
    width: 40%;
    line-height: 36px;
    border-right: 1px solid #dbe1ea;
  }
  .tools-right {
    width: 20%;
    line-height: 36px;
  }
}
.ulList {
  position: absolute;
  top: 63px;
  right: 103px;
  z-index: 99;
  background-color: #fff;
  width: 127px;
  height: 121px;
  font-size: 12px;
  display: block;
  padding: 13px;
  .liList {
    height: 25%;
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
}
.noshow {
  display: none;
}
.show {
  display: block;
}
.map-icon {
  margin-right: 10px;
}

.cluster-map-video-map {
  .leaflet-marker-pane {
    // z-index: 800;
  }
}

.lm-tl-judgement-marker-layout-index {
  width: 28px;
  height: 40px;
  img {
    width: 100%;
    height: 100%;
  }
}
