.scrollBox {
  white-space: nowrap;
  overflow: auto;
}

.scrollBox::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

.scrollBox::-webkit-scrollbar-thumb {
  border-radius: 1px;
  background: rgba(0, 0, 0, 0.1) !important;
}

.scrollBox:hover::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2) !important;
}

.scrollBox:hover::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3) !important;
}

.scrollBox::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0) !important;
}

/*css主要部分的样式*/
/*定义滚动条宽高及背景，宽高分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar {
  width: 6px; /*对垂直流动条有效*/
  height: 6px; /*对水平流动条有效*/
}

/*定义滚动条的轨道颜色、内阴影及圆角*/
::-webkit-scrollbar-track {
  background: #f0f0f0;
}

/*定义滑块颜色、内阴影及圆角*/
::-webkit-scrollbar-thumb {
  border-radius: 1px;
  background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

/*定义两端按钮的样式*/
::-webkit-scrollbar-button {
  display: none;
}

/*定义右下角汇合处的样式*/
::-webkit-scrollbar-corner {
  background: #f0f0f0;
}

.boxShadow {
  box-shadow: 0px 0px 10px 0px rgb(9 31 52 / 35%);
}

.hoverBoxShadow:hover {
  /* box-shadow: 0px 0px 10px 0px rgb(9 31 52 / 35%); */
  box-shadow: 0 1px 2px -2px rgb(0 0 0 / 16%), 0 3px 6px 0 rgb(0 0 0 / 12%), 0 5px 12px 4px rgb(0 0 0 / 9%);
}

html body {
  background: #fff !important;
}

.ey-layout-login {
  background: #1d2e3e !important;
}

.ey-layout-view-single-page-header {
  height: 54px !important;
}

.ey-layout-view-single-page-header-none {
  display: none !important;
}

.ey-layout-view-single-has-breadcrumb {
  height: calc(100% - 54px) !important;
}

.ey-layout-view-single-has-breadcrumb-fullHeight {
  height: 100% !important;
}

/*.ey-x-login-panel .ey-x-input-prefix .prefix-icon {*/
/*  fill: #1890ff !important;*/
/*}*/

/*.ey-x-login-panel .ey-x-button {*/
/*  background: #1890ff !important;*/
/*}*/

/*.ey-x-input-area > .ey-x-input-area-in:focus {*/
/*  border-color: #1890ff !important;*/
/*}*/

.ant-table-small {
  border: 1px solid #d9d9d9 !important;
  border-radius: 2px !important;
}

.ant-pagination-options {
  margin-left: 8px !important;
}

.ant-table-pagination {
  margin: 9px 0 !important;
}

.marker-animation-point {
  border: 1px solid hsla(0, 0%, 100%, .5);
}

.marker-animation-point:after, .marker-animation-point:before {
  animation: marker-mapAni 1s ease infinite
}

.marker-animation-point p {
  width: 0;
  height: 0;
  animation: marker-mapAni 2s ease infinite
}

@keyframes marker-mapAni {
  0% {
    width: 0;
    height: 0;
    transform: translate(-50%, -50%);
    opacity: 1;
    filter: alpha(opacity=1)
  }
  25% {
    width: 25px;
    height: 25px;
    transform: translate(-50%, -50%);
    opacity: .7;
    filter: alpha(opacity=70)
  }
  50% {
    width: 30px;
    height: 30px;
    transform: translate(-50%, -50%);
    opacity: .5;
    filter: alpha(opacity=50)
  }
  75% {
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    opacity: .2;
    filter: alpha(opacity=20)
  }
  to {
    width: 55px;
    height: 55px;
    transform: translate(-50%, -50%);
    opacity: 0;
    filter: alpha(opacity=0)
  }
}

.descTable {
  width: 100%;
  border: 1px solid #EEF2F5;
}

.descTable > tbody > tr {
  padding: 4px 10px;
  height: 32px;
  border: 1px solid #d9d9d9;
}

.descTable > tbody > tr:nth-of-type(n+1) {
  border-top: 1px solid #d9d9d9;
}

.descTable > tbody > tr:hover {
  background: #f0f4f7;
}

.descTable > tbody > tr > td:nth-of-type(2n+1) {
  font-weight: bold;
  padding: 4px 10px;
  white-space: nowrap;
  width: 50px;
  height: 32px;
  border-right: 1px solid #d9d9d9;
  color: #737980;
}

.descTable > tbody > tr > td:nth-of-type(2n) {
  padding: 4px 10px;
  height: 32px;
}

.descTable2 {
  width: 100%;
}

.descTable2 > tbody > tr > td:nth-of-type(2n) {
  padding: 4px;
}

.descTable2 > tbody > tr > td:nth-of-type(2n) > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.descTable2 > tbody > tr > td:nth-of-type(2n+1) {
  text-align: right;
  font-weight: bold;
  padding: 4px;
  white-space: nowrap;
  width: 50px;
}

.descTable3 {
  width: 100%;
}

.descTable3 > tbody > tr > td:nth-of-type(2n) {
  padding: 4px 5px;
  width: 14px;
}

.descTable3 > tbody > tr > td:nth-of-type(2n) > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.descTable3 > tbody > tr > td:nth-of-type(2n+1) {
  text-align: right;
  font-weight: bold;
  padding: 4px 5px;
  white-space: nowrap;
  width: 14px;
}

.mp-body {
  max-width: 253px;
}

.map-tool {
  background-color: #1890FF !important;
}

.ol-zoom{
  z-index: 999 !important;
}

.ol-zoom-in {
  background-color: #1890FF !important;
}

.ol-zoom-out {
  background-color: #1890FF !important;
}

.ol-zoom button {
  outline: none !important;
  cursor: pointer;
}

.ol-zoom button:hover{
  background-color: #40a9ff !important;
}

.ol-zoom button:active{
  background-color: #096dd9 !important;
}

.ant-tree .ant-tree-node-content-wrapper:hover{
  background-color: #f0f4f7 !important;
}

.ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected{
  background-color: #e6f7ff !important;
}

.ant-tabs-tab{
  color: #AAAAAA;
}

.ant-tabs-tab .ant-tabs-tab-active{
  color: #1890FF;
}

.ey-layout-header-menu-container {
  left: 350px !important;
}

/* #map .ol-layer canvas,
#hmapDiv .ol-layer canvas {
  transform: unset !important;
} */

/* 公司hmap样式调整 */
.hdb-toolbar,
.ol-control {
  box-shadow: none !important;
  left: auto !important;
  right: 0.8em !important;
  top: 0.8em !important;
  background-color: transparent !important;
  padding: 0 !important;
}

.ol-zoom > button,
.hdb-toolbar-item {
  color: #fff !important;
  background-image: linear-gradient(135deg, #40a9ff, #1890ff 80%) !important;
  background-color: #1890ff !important;
  border: none !important;
  border-radius: 4px !important;
  height: 26px !important;
  width: 26px !important;
  margin: 0 !important;
}

.hdb-toolbar-item span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto !important;
  height: auto !important;
}

.hdb-toolbar-item > span > svg {
  font-size: 18px;
}

.ol-zoom > button:hover,
.hdb-toolbar-item:hover {
  background-color: #40a9ff !important;
  background-image: none !important;
}

.ol-zoom > button:active,
.hdb-toolbar-item:active {
  background-color: #096dd9 !important;
  background-image: none !important;
}

.ol-zoom > button:not(:first-of-type),
.hdb-toolbar .hdb-toolbar-item:not(:first-of-type) {
  margin-top: 3px !important;
}

/* hmap插件样式调整 */
.hmap-popup-triangle {
  border-top-color: #fff !important;
}

.hmap-popup-header {
  height: auto !important;
  border-radius: 0 !important;
}

.hmap-popup-title {
  line-height: normal !important;
  padding: 8px 10px 5px 10px !important;
}

.point-container {
  z-index: 900 !important;
}

.ol-overlay-container {
  z-index: 901 !important;
  border-radius: 3px !important;
}

.ol-overlay-container:hover {
  z-index: 902 !important;
}

.hmap-popup-footer {
  background-color: #fff !important;
}

.hmap-popup-closer {
  display: none !important;
}

/* 图片预览组件样式 */
.ant-image-preview-operations {
  right: calc(50% - 168px) !important;
  top: auto !important;
  bottom: 10px !important;
  width: auto !important;
  background: rgba(0, 0, 0, 0.3) !important;
  padding: 0 20px !important;
  border-radius: 60px;
}

.ant-image-preview-img-wrapper img {
  max-height: calc(100% - 130px) !important;
  border: 1px solid #fff !important;
}

.ant-image-preview-operations-icon,
.ant-image-preview-operations-icon svg {
  font-size: 20px !important;
}

.anticon-info-circle > svg {
  font-size: 18px;
}

.ant-modal-confirm-content {
  margin-left: 0px !important;
}
