html,
body,
#app {
  margin: 0;
  padding: 0;
  font-size: 12px;
  font-family: var(--el-font-family);
  color: var(--el-text-color-primary);
  background: var(--el-bg-color);
  position: relative;
}

@font-face {
  font-family: 'RZYZK'; /* 首页第1模块字体 */
  src: url('/fonts/RZYZK.ttf');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'NumberFont400'; /* 数字字体 */
  src: url('/fonts/D-DIN-PRO-400.otf');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'NumberFont600'; /* 数字字体 */
  src: url('/fonts/D-DIN-PRO-600.otf');
  font-weight: 600;
  font-style: normal;
}

/* 头部导航 */
.sl-header {
  position: fixed;
  top: 0px;
  left: 0;
  width: 100%;
  background: rgb(255, 255, 255);
  box-shadow: 0px 4px 8px 0px rgba(153, 153, 153, 0.3);
  z-index: 999;
  transition: transform 0.3s ease;
}

.sl-header-navs {
  width: 1200px;
  height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s;
  position: relative;
}

.sl-header-navs .menu-case {
  width: 44px;
  height: 36px;
  position: absolute;
  left: 60px;
  top: 26px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sl-header-navs .header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sl-header-navs .header-logo img {
  width: 72px;
  height: 60px;
}

.sl-header-navs .header-navs {
  width: 816px;
}

.sl-header-navs .header-navs .el-menu--horizontal {
  justify-content: flex-end;
}

/* 头部导航 */

/* elementUI样式修改*/
/* 菜单 */
.el-menu {
  background-color: transparent !important;
  border-right: none !important;
}

.el-menu--horizontal {
  --el-menu-horizontal-height: 40px;
}

.el-menu--horizontal > .el-menu-item.is-active {
  border-bottom: none !important;
  background: none !important;
}

.el-menu--horizontal.el-menu,
.el-menu--horizontal > .el-menu-item,
.el-menu--horizontal > .el-sub-menu.is-active .el-sub-menu__title,
.el-menu--horizontal > .el-sub-menu .el-sub-menu__title,
.el-menu--horizontal > .el-sub-menu {
  font-size: 16px;
  border-bottom: none !important;
}

.el-menu--horizontal > .el-menu-item {
  padding: 0 32px;
}

.el-popper .el-menu .z-icon {
  width: 28px;
  height: 30px;
  margin-right: 12px;
}

.el-popper .el-menu--popup {
  width: 400px;
  padding: 20px 0;
}

.el-menu--horizontal .el-menu .el-menu-item {
  font-weight: 500;
  font-size: 16px;
  height: fit-content !important;
  padding: 10px 10px 10px 40px !important;
}

.el-card {
  border: none !important;
}

.el-card__body {
  padding: 10px !important;
}

.el-notification .el-notification__icon {
  color: #e02f43;
}

/* elementUI样式修改*/

/* 页脚*/
.sl-footer {
  width: 100%;
  font-size: 18px;
  color: #ffffff;
  background: #4d525c;
}

.sl-footer .content {
  width: 1200px;
  margin: 0 auto;
  padding-top: 81px;
  padding-bottom: 22px;
  display: flex;
  align-items: flex-start;
}

.sl-footer .content .left {
  width: 300px;
  margin-right: 85px;
}

.sl-footer .content .left img {
  margin-bottom: 40px;
}

.sl-footer .content .left .contcat-item {
  margin-top: 20px;
}

.sl-footer .content .center {
  display: flex;
}

.sl-footer .content .center .item {
  width: 170px;
}

.sl-footer .content .center .item .title {
  height: 25px;
  line-height: 25px;
  font-weight: 600;
}

.sl-footer .content .center .item .options {
  margin-top: 20px;
  color: #999999;
}

.sl-footer .content .center .item .options .option {
  width: fit-content;
  margin-bottom: 20px;
  cursor: pointer;
}

.sl-footer .content .right .item {
  width: 108px;
}

.sl-footer .content .right .item .title {
  height: 25px;
  line-height: 25px;
  font-weight: 600;
}

.sl-footer .content .right .item img {
  margin-top: 30px;
}

.sl-footer .copyright {
  width: 100%;
  line-height: 25px;
  padding-bottom: 50px;
  font-weight: 600;
  text-align: center;
}

/* 页脚*/

/* 侧边服务模块 */
.side-service {
  position: fixed;
  right: 28px;
  top: 70.3754vh;
  width: 36px;
  height: 120px;
  z-index: 1;
  cursor: pointer;
}

.side-service .icon {
  position: relative;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #e02f43;
  z-index: 2;
}

.side-service .text {
  position: absolute;
  left: 0;
  top: 18px;
  width: 24px;
  padding: 32px 6px 14px 6px;
  font-size: 14px;
  writing-mode: vertical-lr;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  color: #000000;
  background: #ffffff;
  box-shadow: 0px 4px 8px 0px rgba(51, 51, 51, 0.18);
}

.side-service:hover .content {
  transform: translateX(0px) scale(1);
}

.side-service .content {
  transform: translateX(160px) scale(0);
  position: absolute;
  left: -331px;
  top: -45px;
  width: 280px;
  height: 160px;
  padding: 25px;
  border-radius: 10px;
  background: white;
  box-shadow: -2px 0px 8px 0px rgba(51, 51, 51, 0.3);
  transition: all 0.3s;
  z-index: 100;
}

.side-service .content .item {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.side-service .content .item span {
  margin-left: 5px;
  font-size: 16px;
}

.side-service .content .value {
  margin-top: 10px;
  margin-left: 29px;
  font-size: 14px;
  font-weight: 600;
}

/* 侧边服务模块 */

/* <1200 */
@media screen and (max-width: 1200px) {
  .sl-header-navs {
    width: 100%;
    justify-content: center;
  }

  .sl-header-navs .menu-case {
    display: flex;
  }

  .sl-header-navs .menu-case img {
    width: 22px;
    height: 18px;
  }

  .sl-header-navs .header-navs {
    display: none;
  }

  .sl-footer .content {
    width: calc(100% - 140px);
    padding-top: 76px;
    padding-bottom: 33px;
    justify-content: space-between;
  }

  .sl-footer .content .center {
    display: none;
  }

  .sl-footer .copyright {
    width: calc(100% - 140px);
    margin: 0 auto;
    text-align: left;
  }

  .sl-footer .right {
    margin-top: 59px;
  }

  .side-service {
    display: none;
  }
}

/* <750 */
@media screen and (max-width: 750px) {
  .sl-header-navs {
    height: 44px;
  }

  .sl-header-navs .menu-case {
    width: 22px;
    height: 18px;
    top: 13px;
    left: 30px;
  }

  .sl-header-navs .header-logo img {
    width: 36px;
    height: 30px;
  }

  .sl-footer .content {
    width: calc(100% - 60px);
    height: fit-content;
    padding-top: 38px;
    padding-bottom: 20px;
    font-size: 12px;
  }

  .sl-footer .content .left {
    width: 206px;
    margin-right: 0;
  }

  .sl-footer .content .left img {
    width: 70px;
    height: 60px;
    margin-bottom: 20px;
  }

  .sl-footer .content .left .contcat-item {
    margin-top: 0;
    margin-bottom: 10px;
  }

  .sl-footer .right {
    margin-top: 20px;
  }

  .sl-footer .content .right .item {
    width: fit-content;
  }

  .sl-footer .content .right .item img {
    width: 80px;
    height: 80px;
    margin-top: 17px;
  }

  .sl-footer .copyright {
    width: calc(100% - 60px);
    padding-bottom: 20px;
    font-size: 12px;
    text-align: left;
  }
}

/* 鼠标划过 */
.hover-pointer {
  cursor: pointer;
}

.hover-txt-white:hover {
  cursor: pointer;
  color: white;
}

/* 鼠标划过 */

/* 自定义动画 */
.delay-100 {
  animation-delay: 0.1s !important;
}

.delay-200 {
  animation-delay: 0.2s !important;
}

.delay-300 {
  animation-delay: 0.3s !important;
}

.delay-500 {
  animation-delay: 0.5s !important;
}

.delay-1000 {
  animation-delay: 1s !important;
}

/* 淡入 */
.fade-in {
  animation: fade-in 2s;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* 从上进入 */
.top-entry {
  animation: top-entry 1s;
}

@keyframes top-entry {
  0% {
    transform: translateY(-200%);
  }

  100% {
    transform: translateY(0);
  }
}

/* 从上进入2 */
.top-entry2 {
  animation: top-entry2 1s;
}

@keyframes top-entry2 {
  0% {
    transform: translateY(-200%) scale(0);
  }

  50% {
    transform: translateY(0) scale(0.4);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

/* 从右进入 */
.right-entry {
  animation: right-entry 1s;
}

@keyframes right-entry {
  0% {
    transform: translateX(200%);
  }

  100% {
    transform: translateX(0);
  }
}

/* 从右进入2 */
.right-entry2 {
  animation: right-entry2 1s;
}

@keyframes right-entry2 {
  0% {
    transform: translateX(200%) scale(0);
  }

  50% {
    transform: translateX(0) scale(0.4);
  }

  100% {
    transform: translateX(0) scale(1);
  }
}

/* 从下进入 */
.bottom-entry {
  animation: bottom-entry 1s;
}

@keyframes bottom-entry {
  0% {
    opacity: 0;
    transform: translateY(200%);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 从下进入2 */
.bottom-entry2 {
  animation: bottom-entry2 1s;
}

@keyframes bottom-entry2 {
  0% {
    opacity: 0;
    transform: translateY(200%) scale(0);
  }

  50% {
    opacity: 0.5;
    transform: translateY(0) scale(0.4);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 从左进入 */
.left-entry {
  animation: left-entry 1s;
}

@keyframes left-entry {
  0% {
    transform: translateX(-200%);
  }

  100% {
    transform: translateX(0);
  }
}

/* 自定义动画 */

/* 滚动条整体宽度 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

/* 滚动条轨道 */
::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 8px;
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
  background-color: #cacaca;
  border-radius: 8px;
}

/* 滑块悬停时样式 */
::-webkit-scrollbar-thumb:hover {
  background: #adadad;
}

/* 滚动条按钮（上下箭头），通常不常用，这里仅作展示 */
::-webkit-scrollbar-button {
  display: none;
}

/* 滚动条两端的小方块，可用来点击快速滑动 */
::-webkit-scrollbar-corner {
  background: #f1f1f1;
}
/* 滚动条*/

/* 修改选中文字的背景颜色和文字颜色 */
::selection {
  background: #fceaec; /* 粉红色背景 */
  color: black; /* 黑色文字 */
}
