#ui-MainBody .display-card {
  max-height: calc(100% - 16px) !important;
  height: calc(100% - 16px) !important;
  width: calc(100% - 16px) !important;
  background: transparent !important;
}
#main-body-with-submenu #ui-MainBody .display-card {
  max-height: 100% !important;
  height: 100% !important;
  width: 100% !important;
}
#ui-MainBody .display-card #ui-body-frame {
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
}
#ui-MainBody .display-card #ui-body-frame #ui-body {
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow-x: hidden !important;
}
#main-body-with-submenu #ui-MainBody .display-card #ui-body-frame #ui-body {
  overflow: hidden !important;
}
#ui-MainBody .display-card #ui-body-frame #ui-body #ui-body-title {
  display: none !important;
}
#ui-MainBody .display-card #ui-body-frame #ui-body #ui-body-content {
  display: flex;
  justify-content: center;
}

#ui-body-content {
  padding: 0 30px;
}

.common-anno {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  padding: 40px;
  gap: 20px;
  margin: 0;
  background: white;
  box-shadow: 0px 0px 26px 1px var(--primary-content-bg-color, #e1e1e1);
  margin-bottom: 30px;
  margin-top: 30px;
  transition: all ease-in-out 0.2s;
}
.common-anno .header .title {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  overflow: hidden;
  width: 794px; /*  因为打印需要，此处将title固定为A4的宽度 */
}
.common-anno .header .description {
  text-align: center;
  color: #a5a5a5;
  white-space: nowrap;
  font-size: 12px;
  padding-top: 2px;
}
.common-anno .header .description .read-count {
  margin-left: 4px;
}
.common-anno .footer {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  padding: 0 120px 60px 120px;
  gap: 20px;
  width: 100%;
}

.common-anno .footer .attachments .list .attachment {
  text-decoration: none;
  max-width: 500px;
  display: block;
  margin-top: 8px;
}

.close-window {
  position: fixed;
  right: 0;
  top: 0;
  width: 70px;
  height: 70px;
  padding: 20px;
  z-index: 1;
  line-height: 30px;
  text-align: center;
  font-size: 20px;
  color: #333;
  cursor: pointer;
}
.scroll-to-top {
  position: fixed;
  width: 48px;
  height: 48px;
  right: 60px;
  bottom: -50px;
  background: var(--primary-color-dark, #2091ed);
  border-radius: 3px;
  cursor: pointer;
  transition: all ease-in-out 0.2s;
  opacity: 0.5;
  z-index: 1;
}
.scroll-to-top.show {
  bottom: 60px;
}
.scroll-to-top::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-left: 2px solid white;
  border-top: 2px solid white;
  transform: rotate(45deg);
  left: 19px;
  top: 21px;
}
.scroll-to-top:hover {
  opacity: 1;
}

.common-anno .anno-print-button {
  position: absolute;
  top: 8px;
  right: 8px;
  cursor: pointer;
  padding: 4px;
  border-radius: 2px;
  transition: all ease-in-out 0.2s;
}
.common-anno .anno-print-button i {
  margin-right: 4px;
}
.common-anno .anno-print-button:hover {
  background: #ddd;
}

@media print {
  .anno-print-temp-wrapper {
    display: none;
  }

  html,
  body {
    overflow: auto;
    height: auto;
    width: auto;
  }

  .common-anno {
    overflow: hidden;
    padding: 0;
    margin: 0;
    box-shadow: none;
  }
  .common-anno .header .description .read-count {
    display: none;
  }
  .common-anno .footer {
    display: none;
  }
  .common-anno .anno-print-button {
    display: none;
  }
}
