* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  font-size: 14px;
  user-select: none;
}

body {
  font: 1em/1.4 'Microsoft Yahei', 'PingFang SC', 'Avenir', 'Segoe UI', 'Hiragino Sans GB', 'STHeiti', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif;
  height: 100%;
  color: #333;
}

a {
  text-decoration: none;
  color: #333;
  outline: none;
}

i {
  font-style: normal;
}

img {
  max-width: 100%;
  max-height: 100%;
  vertical-align: middle;
}

ul {
  list-style: none;
}

#root {
  width: 100vw;
  height: 100vh;
  min-width: 1600px;
  min-height: 900px;
  overflow-y: auto;

}

/* 文本域取消下拉 */
textarea{
  resize:none !important;
}

/* 主题色 */
:root {
  --themeColor: #9F1927
}
a {
  color: var(--themeColor);
}

/* 按钮的危险颜色 */
.ant-btn-text.ant-btn-dangerous {
  color: var(--themeColor);
}

/* antd分页器样式 */
.ant-pagination .ant-pagination-item {
  border-radius: 50%;
  border: 1px solid #999;
  background-color: transparent !important;
}

.ant-pagination .ant-pagination-item-active {
  background-color: var(--themeColor) !important;
}


.ant-pagination .ant-pagination-item-active a {
  color: #fff !important;
}

.ant-pagination .ant-pagination-item:hover {
  background-color: var(--themeColor) !important;
}

.ant-pagination .ant-pagination-item:hover a {
  color: #fff !important;
}

.ant-pagination-prev {
  border-radius: 50% !important;
  border: 1px solid #999;
}

.ant-pagination-prev:hover {
  background-color: var(--themeColor);
}

.ant-pagination-prev:hover button {
  color: #fff;
}



.ant-pagination-next {
  border-radius: 50% !important;
  border: 1px solid #999;
}


.ant-pagination-next:hover {
  background-color: var(--themeColor);
}

.ant-pagination-next:hover button {
  color: #fff;
}

.ant-pagination-disabled {
  border: 1px solid #ccc;
}

.ant-pagination-disabled:hover {
  background-color: transparent;
}

img{
  object-fit: cover;
}

[hidden] {
  display: none !important;
}
