body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
fieldset,
img {
  border: 0;
}
address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
  font-style: normal;
  font-weight: normal;
}
ol,
ul {
  list-style: none;
}
caption,
th {
  text-align: left;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}
q:before,
q:after {
  content: "";
}
abbr,
acronym {
  border: 0;
}
body {
  height: 100%;
}
a {
  text-decoration: none;
}
sup {
  font-size: 0.5em;
}
body {
  scroll-behavior: smooth;
}
[hidden] {
  display: none;
}
html {
  min-width: 1400px;
}

/*全局样式*/
/*A4比例：210mm*297mm 上下边距：25.4mm 左右边距：31.7mm */
.A4 {
  font-family: "Times New Roman", "仿宋";
  width: 1000px;
  height: 1414px;
  padding: 120px 150px;
  border: 1px solid #dcdfe6;
  margin-bottom: 40px;
}
.A4 p {
  white-space: normal;
  word-break: break-all;
}
.A4 span[lpan] {
  color: #00a0e9;
  display: inline-block;
}

.preview-bg {
  width: 100%;
  padding-bottom: 75%;
  overflow: hidden;
  background-position: top;
  background-repeat: no-repeat;
  background-size: 100% auto;
  cursor: pointer;
}
.preview-bg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.previewWrap {
  overflow: hidden !important;
}

/*重置三方组件样式*/

.edui-editor-iframeholder,
.edui-editor {
  width: 100% !important;
}

.ant-table-content {
  font-size: 14px;
}
.ant-table-tbody > tr > td,
.ant-table-thead > tr > th {
  padding: 14px 16px !important;
}

.ant-card .ant-card-hoverable:hover {
  box-shadow: 0 0 8px 0 rgba(232, 237, 250, 0.6), 0 2px 4px 0 rgba(232, 237, 250, 0.5);
}
.ant-card .ant-card-body {
  padding: 12px;
}
.ant-card .ant-card-head {
  padding: 0 20px;
}
.ant-card .ant-card-head-title {
  padding: 12px 0;
}

.ant-form-item .ant-form-item-label {
  line-height: 25px;
}
.ant-form-inline .ant-form-item-label {
  line-height: 40px;
}

.ant-calendar-picker {
  width: 100%;
}

.ant-menu-submenu-popup.ant-menu-dark .ant-menu-item-selected,
.ant-menu.ant-menu-dark .ant-menu-item-selected {
  background-color: transparent !important;
  position: relative;
}

.ant-menu-submenu-popup.ant-menu-dark .ant-menu-item-selected,
.ant-menu.ant-menu-dark .ant-menu-item-selected a:after {
  content: "";
  width: 40%;
  height: 2px;
  background-color: white;
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
}
