@import '~antd/lib/style/themes/default.less';

.marker {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  border: 4px solid rgb(253, 247, 247);
  cursor: pointer;
  background: @primary-color;
  color: @white;
  height: 32px;
  width: 32px;
  line-height: 32px;
  border-radius: 50%;
  text-align: center;
  /*  box-shadow: 0 0 10px rgba(13, 16, 20, 0.3);*/
}
.offline {
  background: #bfbfbf;
}
.orientations {
  position: absolute;
  z-index: 2;
  padding-bottom: 20px;
  margin-top: -7px;
  .view {
    width: 30px;
    height: 20px;
    margin-bottom: 4px;
    background-image: linear-gradient(
      to left,
      #ffffff00,
      rgba(43, 109, 229, 0.65)
    );
    transform: perspective(1em) rotateX(-30deg) rotate(-90deg);
  }
  .offlineview {
    background-image: linear-gradient(
      to left,
      #ffffff00,
      rgba(191, 191, 191, 0.65)
    );
  }
}

.tooltip {
  text-align: center;
  :global {
    .ant-tooltip-content {
      transform: translateY(-6px);
    }

    .ant-tooltip-content .ant-tooltip-arrow {
      transform: translate(-50%, 11px) scale(1.5);
    }
  }
}

.single {
  color: @primary-color;

  svg {
    width: 30px;
    height: 30px;
  }
}
