/*CSS reset*/
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td,
hr,
button,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  margin: 0;
  padding: 0;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
fieldset,
img {
  border: 0;
}
ol,
ul,
li {
  list-style: none;
}
caption {
  text-align: left;
  font-weight: normal;
}
q:before,
q:after {
  content: '';
}
abbr,
acronym {
  border: 0;
  font-variant: normal;
}
sub,
sup {
  font-size: 65%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: 2.1em;
  right: 0.4em;
}
sub {
  bottom: 0;
  padding-left: 5px;
}
ins,
a {
  text-decoration: none;
  color: var(--el-color-primary);
}
a {
  cursor: pointer;
}
a,
li,
input {
  outline: none;
}
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}
legend {
  color: #000;
}
:focus {
  outline: 0;
}
blockquote,
q {
  quotes: '' '';
}
textarea {
  resize: none;
  overflow-y: auto;
}
img {
  border: 0;
  overflow: hidden;
  text-align: center;
  vertical-align: middle;
}
/*文字*/
h1 {
  font-size: 20px;
}
h2 {
  font-size: 18px;
}
h3 {
  font-size: 16px;
}
h4 {
  font-size: 14px;
}
h5 {
  font-size: 13px;
}
h6 {
  font-size: 12px;
}
.f10 {
  font-size: 10px;
}
.f12 {
  font-size: 12px;
}
.f13 {
  font-size: 13px;
}
.f14 {
  font-size: 14px;
}
.f15 {
  font-size: 15px;
}
.f16 {
  font-size: 16px;
}
.f18 {
  font-size: 18px;
}
.f20 {
  font-size: 20px;
}
.f22 {
  font-size: 22px;
}
.f24 {
  font-size: 24px;
}
.f26 {
  font-size: 26px;
}
.f28 {
  font-size: 28px;
}
.f30 {
  font-size: 30px;
}
.f36 {
  font-size: 36px;
}
.f40 {
  font-size: 40px;
}
.f70 {
  font-size: 70px;
}
.fb {
  font-weight: bold;
}
.fn {
  font-weight: normal;
}
.fit {
  font-style: italic;
}
.t2 {
  text-indent: 2em;
}
.ls {
  letter-spacing: 1px;
}
.unl {
  text-decoration: underline;
}
.unl:hover {
  text-decoration: underline;
}
.lh150 {
  line-height: 150%;
}
.lh180 {
  line-height: 180%;
}
.lh200 {
  line-height: 200%;
}
.lh250 {
  line-height: 250%;
}
.lh280 {
  line-height: 280%;
}
.lh300 {
  line-height: 300%;
}
/* 支持换行 */
.pre-wrap {
  white-space: pre-wrap;
}
.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
} /*--省略--*/
.word-break {
  word-wrap: break-word;
  overflow: hidden;
  word-break: break-all;
} /*-- 强制英文单词断行 --*/
.text-justify {
  text-align: justify;
  text-justify: distribute;
} /*-- 文字右端对齐 --*/
/*定位*/
.tl {
  text-align: left;
}
.tr {
  text-align: right;
}
.tc {
  text-align: center;
}
.mc {
  margin-left: auto;
  margin-right: auto;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
.cb {
  clear: both;
}
.cl {
  clear: left;
}
.cr {
  clear: right;
}
.clearfix:after {
  content: '.';
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.clearfix,
.zoom {
  zoom: 1;
} /*--清除浮动--*/ /*--针对IE--*/
.vt {
  vertical-align: top;
}
.vm {
  vertical-align: middle;
  margin-top: -3px;
}
.pr {
  position: relative;
}
.pa {
  position: absolute;
}
.pf {
  position: fixed;
}
.abs-right {
  position: absolute;
  right: 0;
}
.hidden {
  visibility: hidden;
}
.none {
  display: none;
}
.oh {
  overflow: hidden;
}
.db {
  display: block;
}
.dib {
  display: inline-block;
}
.di {
  display: inline;
}
.boxSize {
  box-sizing: border-box;
  -moz-box-sizing: border-box; /* Firefox */
  -webkit-box-sizing: border-box; /* Safari */
} /*长宽不受PADDING/MARGIN影响*/
/*长度高度*/
.w_01 {
  width: 10%;
}
.w_02 {
  width: 20%;
}
.w_25 {
  width: 25%;
}
.w_03 {
  width: 30%;
}
.w_33 {
  width: 33.33%;
}
.w_04 {
  width: 40%;
}
.w_05 {
  width: 50%;
}
.w_06 {
  width: 60%;
}
.w_07 {
  width: 70%;
}
.w_08 {
  width: 80%;
}
.w_09 {
  width: 90%;
}
.w_10 {
  width: 100%;
}
.full-height {
  height: 100%;
}
/*边距*/
.p5 {
  padding: 5px;
}
.p10 {
  padding: 10px;
}
.p15 {
  padding: 15px;
}
.p20 {
  padding: 20px;
}
.p25 {
  padding: 25px;
}
.p30 {
  padding: 30px;
}
.p35 {
  padding: 35px;
}
.p40 {
  padding: 40px;
}
.p50 {
  padding: 50px;
}
.pt5 {
  padding-top: 5px;
}
.pt10 {
  padding-top: 10px;
}
.pt15 {
  padding-top: 15px;
}
.pt20 {
  padding-top: 20px;
}
.pt25 {
  padding-top: 25px;
}
.pt30 {
  padding-top: 30px;
}
.pt35 {
  padding-top: 35px;
}
.pt40 {
  padding-top: 40px;
}
.pt50 {
  padding-top: 50px;
}
.pb5 {
  padding-bottom: 5px;
}
.pb10 {
  padding-bottom: 10px;
}
.pb15 {
  padding-bottom: 15px;
}
.pb20 {
  padding-bottom: 20px;
}
.pb25 {
  padding-bottom: 25px;
}
.pb30 {
  padding-bottom: 30px;
}
.pb35 {
  padding-bottom: 35px;
}
.pb40 {
  padding-bottom: 40px;
}
.pb50 {
  padding-bottom: 50px;
}
.pl5 {
  padding-left: 5px;
}
.pl10 {
  padding-left: 10px;
}
.pl15 {
  padding-left: 15px;
}
.pl20 {
  padding-left: 20px;
}
.pl25 {
  padding-left: 25px;
}
.pl30 {
  padding-left: 30px;
}
.pl35 {
  padding-left: 35px;
}
.pl40 {
  padding-left: 40px;
}
.pl50 {
  padding-left: 50px;
}
.pr5 {
  padding-right: 5px;
}
.pr10 {
  padding-right: 10px;
}
.pr15 {
  padding-right: 15px;
}
.pr20 {
  padding-right: 20px;
}
.pr25 {
  padding-right: 25px;
}
.pr30 {
  padding-right: 30px;
}
.pr35 {
  padding-right: 35px;
}
.pr40 {
  padding-right: 40px;
}
.pr50 {
  padding-right: 50px;
}
.m5 {
  margin: 5px;
}
.m10 {
  margin: 10px;
}
.m15 {
  margin: 15px;
}
.m20 {
  margin: 20px;
}
.mt5 {
  margin-top: 5px;
}
.mt10 {
  margin-top: 10px;
}
.mt15 {
  margin-top: 15px;
}
.mt20 {
  margin-top: 20px;
}
.mt25 {
  margin-top: 25px;
}
.mt30 {
  margin-top: 30px;
}
.mt35 {
  margin-top: 35px;
}
.mt {
  margin-top: px;
}
.mb5 {
  margin-bottom: 5px;
}
.mb10 {
  margin-bottom: 10px;
}
.mb15 {
  margin-bottom: 15px;
}
.mb20 {
  margin-bottom: 20px;
}
.ml5 {
  margin-left: 5px;
}
.ml10 {
  margin-left: 10px;
}
.ml15 {
  margin-left: 15px;
}
.ml20 {
  margin-left: 20px;
}
.mr5 {
  margin-right: 5px;
}
.mr10 {
  margin-right: 10px;
}
.mr15 {
  margin-right: 15px;
}
.mr20 {
  margin-right: 20px;
}
.pl_3 {
  padding-left: 3%;
}
.pl_5 {
  padding-left: 5%;
}
.pr_3 {
  padding-right: 3%;
}
.pr_5 {
  padding-right: 5%;
}
/* html 5 Specific */
article,
aside,
canvas,
details,
div,
figcaption,
figure,
footer,
header,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: middle;
  background: transparent;
}
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
menu,
nav,
section,
summary {
  display: block;
}
/*--针对特定项目的页面的样式(可修改)--*/
html,
body {
  font-size: 14px;
  font-family: 'Noto Sans SC', 'PingFang SC', 'Source Han Sans SC',
    'Microsoft YaHei', sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI Emoji', 'Noto Color Emoji', emoji;
  width: 100%;
  height: 100%;
}

html {
  -webkit-text-size-adjust: none;
  width: 100%;
  height: 100%;
}

#app {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  overflow-x: hidden;
  overflow-y: auto;
}
/*-- 按钮 --*/
input {
  font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC,
    Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei,
    sans-serif;
}
input[type='button'],
input[type='submit'] {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.inputType {
  display: block;
  box-sizing: border-box;
  border: none;
}
input[type='tel'],
input[type='text'],
input[type='number'],
input[type='password'] {
  -webkit-appearance: none;
  -moz-appearance: none;
}
.cutDefault {
  -webkit-appearance: none;
  -moz-appearance: none;
}
/*-- 圆角(注意兼容)--*/
.radius_5 {
  border-radius: 50%;
}
.radius3 {
  border-radius: 3px;
}
.radius5 {
  border-radius: 5px;
}
.radiusLeft5 {
  border-radius: 5px 0 0 5px;
}
.radiusRight5 {
  border-radius: 0 5px 5px 0;
}
.radiusTop5 {
  border-radius: 5px 5px 0 0;
}
.radiusBottom5 {
  border-radius: 0 0 5px 5px;
}
.radius10 {
  border-radius: 10px;
}
.radiusLeft10 {
  border-radius: 10px 0 0 10px;
}
.radiusRight10 {
  border-radius: 0 10px 10px 0;
}
.radiusTop10 {
  border-radius: 10px 10px 0 0;
}
.radiusBottom10 {
  border-radius: 0 0 10px 10px;
}
.radius15 {
  border-radius: 15px;
}
.radiusTop15 {
  border-radius: 15px 15px 0 0;
}
.radiusBottom15 {
  border-radius: 0 0 15px 15px;
}
.radius20 {
  border-radius: 20px;
}
.radius30 {
  border-radius: 30px;
}
.radius40 {
  border-radius: 40px;
}
.radius50 {
  border-radius: 50px;
}
/*颜色集(可根据具体项目需要进行删减和添加、这一块最好移到项目css的头部、以下是样例)*/
/*字体*/
.cBlack322 {
  color: #332c2b;
}
.cWhite {
  color: #ffffff;
}
.cBlack {
  color: #000000;
}
.cGray80 {
  color: #808080;
}
.cGray999 {
  color: #999999;
}
.cGray666 {
  color: #666666;
}
.cGray768 {
  color: #756f8b;
}
.cGreen1A7 {
  color: #14a774;
}
.cOrange {
  color: #ff9f18;
}
.cRed {
  color: #ff5364;
}
/*背景颜色*/
.bcGrayE6 {
  background-color: #e6e6e6;
}
.bcWhite {
  background-color: #ffffff;
}
.bcGrayF2 {
  background-color: #f2f2f2;
}
.bcGrayF0 {
  background-color: #f0f0f0;
}
.bcYellow_1 {
  background-color: #ffb218;
}
/*边框*/
.bdTopCCC {
  border-top: 1px solid #cccccc;
}
.bdBottomC9 {
  border-bottom: 1px solid #c9c9c9;
}
/* flex */
.dflex {
  display: flex;
}
.flexCenter {
  justify-content: center;
  align-items: center;
}
/* 顶部对起 */
.flexTop {
  justify-content: center;
  align-items: flex-start;
}
/* 垂直居中，左边对齐 */
.flexMiddle {
  justify-content: flex-start;
  align-items: center;
}
.pointer {
  cursor: pointer;
}
.zoom-in {
  cursor: zoom-in;
}
.common-title {
  font-size: 16px;
  color: #333;
  font-weight: bold;
  margin-bottom: 10px;
}
.common-right-panel-form.common-limit-width {
  max-width: 700px;
}
.common-top-search-form-body .el-form-item {
  margin-right: 10px;
  margin-bottom: 20px;
}
.el-dialog {
  min-width: 320px;
}
.common-max-dialog {
  max-width: 800px;
}
.custom-scroll::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.custom-scroll::-webkit-scrollbar-thumb {
  height: 40px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0);
}
.custom-scroll:hover::-webkit-scrollbar-thumb {
  height: 40px;
  border-radius: 4px;
  background-color: #bbb;
}

.custom-scroll::-webkit-scrollbar-thumb:hover {
  background-color: #bbb;
}
.custom-scroll.scroll-not-hide::-webkit-scrollbar-thumb {
  height: 40px;
  border-radius: 4px;
  background-color: #bbb;
}
.custom-scroll {
  scrollbar-width: thin;
}

.custom-scroll:hover,
.custom-scroll.scroll-not-hide {
  scrollbar-width: thin;
  scrollbar-color: #bbb transparent;
}
.el-upload-dragger,
.el-upload-dragger.is-dragover {
  padding: 20px;
  border-width: 1px;
}
.blok-form-item .el-form-item__content {
  display: block;
}
.common-blockquote {
  margin: 0;
  border: none;
  border-left: 5px solid #eee;
  padding: 0 5px;
  margin-bottom: 4px;
  color: #979797;
  font-size: 12px;
  line-height: 18px;
}
.el-statistic__suffix {
  vertical-align: baseline;
}
/* avatar upload */
.avatar-uploader .avatar {
  width: 128px;
  height: 128px;
  display: block;
  object-fit: contain;
}
.avatar-uploader .el-upload {
  border: 1px dashed var(--el-border-color);
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--el-transition-duration-fast);
}

.avatar-uploader .el-upload:hover {
  border-color: var(--el-color-primary);
}

.el-icon.avatar-uploader-icon {
  font-size: 28px;
  color: #8c939d;
  width: 128px;
  height: 128px;
  text-align: center;
}
.common-top-search-form-body .el-select {
  min-width: 120px;
}
.common-top-search-form-body .el-input {
  width: 170px;
}
.list-table-body {
  height: calc(100vh - 300px);
  height: calc(100dvh - 250px);
  min-height: 200px;
}
.list-table-body.no-search {
  height: calc(100vh - 250px);
  height: calc(100dvh - 200px);
  min-height: 200px;
}
.list-table-body.no-page {
  height: calc(100vh - 250px);
  height: calc(100dvh - 200px);
  min-height: 200px;
}
.list-table-body.no-search.no-page {
  height: calc(100vh - 230px);
  height: calc(100dvh - 180px);
  min-height: 200px;
}
.list-table-body.batch {
  height: calc(100vh - 350px);
  height: calc(100dvh - 300px);
  min-height: 200px;
}
.previewer-video-body {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.previewer-video-body video {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 130px);
  max-height: calc(100dvh - 130px);
}
.max-width-cropper .avatar-uploader .avatar,
.max-width-cropper .el-upload {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 600px);
  min-height: 200px;
}
.max-width-cropper .avatar-uploader .avatar {
  width: auto;
}
.attachment-play-icon,
.attachment-360-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: rgba(255, 255, 255, 0.6);
  z-index: 3;
}
.attachment-360-icon {
  font-size: 30px;
}
.login-usercover-image-item {
  width: 100px;
  height: 100px;
  border: 1px solid var(--el-border-color);
  color: #ccc;
  margin-right: 3px;
  margin-bottom: 3px;
  float: left;
  box-sizing: border-box;
  cursor: pointer;
  position: relative;
}
.login-usercover-image-item-change {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  font-size: 14px;
  text-align: center;
  color: #f56c6c;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.85);
}

/* 手机模式 */
@media (max-width: 768px) {
  .el-range-editor.el-input__wrapper {
    width: 230px;
  }
  .el-date-range-picker.has-sidebar {
    max-width: 96vw;
  }
  .el-date-range-picker .el-picker-panel__body {
    min-width: unset;
  }
  .el-date-range-picker__content {
    width: 100%;
  }
}

.config-com-body .el-tabs__content {
  overflow: visible;
}

.config-border-item {
  border: 1px solid var(--el-border-color);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
}
.config-border-item-title {
  font-weight: 600;
  margin-bottom: 10px;
}
.config-border-item-tip {
  font-size: 12px;
  color: #909399;
  margin-bottom: 10px;
  padding-left: 10px;
}

.w-e-image-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  width: 100%;
  border-radius: 0.375rem;
  isolation: isolate;
  overflow: hidden;
}
.w-e-image-group.w-e-selected {
  box-shadow: 0 0 0 2px var(--w-e-textarea-selected-border-color);
}

.w-e-image-group-img-body {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
}

.w-e-image-group-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 确保图片填充整个容器并裁切多余部分 */
}

/* 奇数图片组的最后一个元素样式 */
.w-e-image-group-odd .w-e-image-group-img-body:last-child {
  grid-column: 1 / -1; /* 跨越所有列 */
  aspect-ratio: 2/1;
}

.w-e-image-group-odd .w-e-image-group-img-body:last-child .w-e-image-group-img {
  height: 100%;
  object-fit: cover;
}
/* panorama360 */
.w-e-panorama360.w-e-selected {
  box-shadow: 0 0 0 2px var(--w-e-textarea-selected-border-color);
}
.w-e-panorama360 {
  position: relative;
}
.w-e-panorama360::after {
  /* tag 360°全景 */
  content: '360°全景';
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--el-color-primary);
  color: var(--el-color-white);
  border-radius: 4px;
  padding: 2px 4px;
  font-size: 12px;
}
.w-e-panorama360-img {
  width: 100%;
  height: auto;
}
.w-e-bar-item button[data-menu-key='insertImage'],
.w-e-bar-item button[data-menu-key='uploadImage'],
.w-e-bar-item button[data-menu-key='imageGroup'],
.w-e-bar-item button[data-menu-key='panorama360'],
.w-e-bar-item button[data-menu-key='insertVideo'],
.w-e-bar-item button[data-menu-key='uploadVideo'] {
  width: 100%;
  justify-content: flex-start;
}
.required::before {
  content: '*';
  color: var(--el-color-danger);
  margin-right: 4px;
}
.dark .avatar-uploader {
  background: rgba(0, 0, 0, 0.8);
}
.light .avatar-uploader {
  background: rgba(255, 255, 255, 0.8);
}

.content-360panorama-body {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}
.content-360panorama-content {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pswp__icn-shadow {
  stroke-width: 0px !important;
}
.pswp__icn {
  filter: drop-shadow(0px 0px 2px #000);
}

.show-data-area {
  background-color: #f8f8f8;
  width: 100%;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}

.list-table-label .el-tag {
  margin-right: 5px;
  margin-bottom: 5px;
}
.config-com-body .el-tabs__item {
  padding: 0 10px;
}
.content-selector-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
/* .content-selector-wrapper 的第一个元素 */
.content-selector-wrapper > :first-child {
  flex: 1 1 auto;
  min-width: 0;
}
.content-selector-yes-no-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 767px) {
  .content-selector-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  .content-selector-yes-no-wrapper-item {
    flex: 1;
  }
  .content-selector-yes-no-wrapper-item .el-button {
    width: 100%;
  }
}

/* 深色模式适配 */
html.dark {
  --w-e-textarea-bg-color: #1e1e1e;
  --w-e-textarea-color: #e0e0e0;
  --w-e-textarea-border-color: #444;
  --w-e-textarea-slight-border-color: #333;
  --w-e-textarea-slight-color: #aaa;
  --w-e-textarea-slight-bg-color: #2c2c2c;
  --w-e-textarea-selected-border-color: #4d8bca;
  --w-e-textarea-handler-bg-color: #4290f7;
  --w-e-toolbar-color: #c0c0c0;
  --w-e-toolbar-bg-color: #252525;
  --w-e-toolbar-active-color: #ffffff;
  --w-e-toolbar-active-bg-color: #3a3a3a;
  --w-e-toolbar-disabled-color: #666;
  --w-e-toolbar-border-color: #444;
  --w-e-modal-button-bg-color: #2d2d2d;
  --w-e-modal-button-border-color: #555;
}
.common-layout .w-e-toolbar,
.common-layout .w-e-text-container,
.common-layout .w-e-menu-panel {
  background-color: var(--w-e-toolbar-bg-color);
}
html.dark .common-logo,
html.dark .common-aside-collapse-btn,
html.dark .common-header,
html.dark .login-body {
  background: var(--el-bg-color);
}
html.dark .common-aside-collapse-btn {
  border-right-color: var(--el-border-color);
}
html.dark .common-header {
  border-bottom-color: var(--el-border-color);
}
html.dark .common-blockquote {
  border-left-color: var(--el-border-color);
}
html.dark .we-login {
  background: #1b1b1b;
}
html.dark .login-body .el-input__wrapper {
  background: #333333;
}
html.dark .w-e-text-container pre > code {
  text-shadow: none;
}
html.config-border-item {
  border: 1px solid var(--el-border-color);
}
html.dark .show-data-area {
  background-color: #1d1d1d;
}
@media (max-width: 767px) {
  html.dark .common-aside {
    background: var(--el-bg-color);
  }
}
