
* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}
[v-cloak] {
  display: none;
}
#app {
  overflow: hidden;
}
.container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: #EEEEEE;
  display: flex;
  flex-direction: column;
}
.main {
  position: relative;
}

/* 全局字体 */
@font-face {
  font-family: 'SourceHanSansCN';
  /* src: url(fonts/SourceHanSansCN-Regular.otf); */
  src: url(fonts/Roboto-Regular.ttf);
}
html,body {font-family: 'Roboto';}

/* body,div,ul,ol,dl,dt,dd,li,dl,h1,h2,h3,h4
{margin:0;padding:0;font-style:normal;font:12px/22px"\5B8B\4F53",SourceHanSansCN} */

/* 去除元素自带padding和margin */
body, div, ul, li, ol, h1, h2, h3, h4, h5, h6, input, textarea, select, p, dl, dt, dd, a, img, button, form, table, th, tr, td, tbody, footer, header, nav{ margin: 0; padding: 0; }
.el-header, .el-main {
  padding: 0 !important;
}
a {
  text-decoration: none;
}
img {
  object-fit: contain;
}
/* 单行省略 */
.s-ell {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
/* 多行省略 */
.m-ell {
  overflow: hidden;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  word-break:break-all;
  white-space: normal;
}
.preload-bg {
  background-color: #FAFAFA;
}
.preload-img {
  width: 100px;
  height: 82px;
}

/* 水平垂直对齐 */
.fcc {
  display: flex;
  justify-content: center;
  align-items: center;
}
/* 两端环绕 垂直居中 */
.fsac {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
/* 左对齐 垂直居中 */
.ffsc {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.ffec {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
/* 两端对齐 垂直对齐 */
.fsbc{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* 垂直排列 居中 */
.colum-fcc{
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
}
.ffsfe {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}
.ffsfs {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}
.fcfs {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.wrap {
  flex-wrap: wrap;
}
.fsbfs {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.fsbfe {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.ffsb {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
}


/* 404/500/缺省页样式 */
.bgc-w {
  background-color: #fff !important;
}
.default-page {
  background: #fff;
  padding: 20px;
  text-align: center;
  border-radius: 12px;
}
.page {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.default-page-bg {
  width: 400px;
  height: 282px;
}
.err-tips {
  font-size: 16px;
  font-weight:600;
  margin-bottom: 29px;
}
.back-btn {
  width: 267px;
  height: 54px;
  background: #002A79;
  border-radius: 6px;
  color: #fff;
  font-weight: 500;
  font-size: 18px;
}

/* 注册登录页通用 */
.login-bg {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url('../images/bg.png');
  overflow-y: auto;
}
.login-box-out {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  min-width: 1200px;
  min-height: 880px;
}
.main-content {
  width: 1200px;
  margin: 0 auto;
  text-align:center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.top-logo {
  color: #fff;
  font-size: 32px;
  font-weight: 500;
  padding-bottom: 20px;
}
.logo-img-size {
  width: 200px;
  height: 70px;
}
.line {
  width: 2px;
  height: 27px;
  margin: 0 40px;
  border: 1px solid #fff;
}
.login-box {
  width: 1200px;
  height: 540px;
  background-color: #fff;
  border-radius: 12px;
}
.tips-text {
  color: red;
  font-size: 12px;
}
.mrl5 {
  margin: 0 5px;
}

.hidden-video-btn {
  opacity: 0;
}

.el-form-item__label {
  font-size: 14px;
  font-weight: bold;
  color: #111;
  line-height: 42px;
}
.el-form-item__content {
  text-align: left;
}
.el-form-item__error {
  width: 395px;
  text-align: left;
}
.el-form-item {
  margin-bottom: 30px;
}
.el-form-item:last-child{
  margin-bottom: 0;
}
.page_bg {
  position: relative;
  width: 100%;
  height: auto;
}
.page_bg img{
  position: absolute;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.shop-card-icon {
  width: 24px;
  height: 24px;
  margin-right: 5px;
}
.side-icon-list {
  position: fixed;
  top: 60%;
  transform: translateY(-60%);
  margin-left: 650px;
  z-index: 1001;
  cursor: pointer;
}
/* 大于1280px显示 */
.side-icon-right {
  right: calc((100% - 1200px) / 2 - 5%);
}

/* 当屏幕0px-1280px显示  */
@media screen and (max-width : 1280px) {
  .side-icon-right  {
    right: calc((100% - 1200px) / 2 - 0%);
  }
}
.side-img {
  width: 50px;
  height: 50px;
}
.side-img img {
  width: 100%;
  height: 100%;
}
.mt20 {
  margin: 20px 0;
}

.el-backtop:hover {
  background-color: transparent;
}
.el-backtop {
  position: unset;
  background-color: transparent;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: block;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-shadow: none;
  box-shadow: none;
  cursor: pointer;
}

.el-button:active {
  color: #fff;
  border: none;
  background-color: #405c91;
  outline: 0;
}
.el-button:focus, .el-button:hover {
  color: #fff;
  border: 1px solid #405c91;
  background-color: #405c91;
  /* opacity: 0.8; */
}
/* 添加未读消息数量显示样式 */
.unread-badge {
  position: absolute;
  margin-left: 40px;
  top: -8px;
  min-width: 18px;
  height: 18px;
  background-color: #ff4d4f;
  color: white;
  border-radius: 10px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}