@import url("../css/iconfont.css");
@import url("../libs/font-awesome/css/font-awesome.min.css");
@import url("../libs/fastadmin-layer/dist/theme/default/layer.css");
@import url("../libs/element-ui/lib/theme-chalk/index.css");

@charset "UTF-8";

[v-cloak]{
  display: none;
}

/* scrollbar S */
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #b8b8b8;
  background-image: -webkit-linear-gradient(45deg,hsla(0,0%,100%,.2) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.2) 0,hsla(0,0%,100%,.2) 75%,transparent 0,transparent)
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px
}

::-webkit-scrollbar-thumb:vertical {
  height: 5px;
  background-color: #409eff
}

::-webkit-scrollbar-thumb:horizontal {
  width: 5px;
  background-color: #409eff
}
/* scrollbar E */

html,
body {
  margin: 0;
  padding: 0;
  background: #f5f6f7;
}

a {
  text-decoration: none;
}

.skip-link {
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  z-index: 999;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: #303133;
  background-color: #ffffff;
  border-radius: 4px;
}
.skip-link:focus {
  height: auto;
  width: auto;
  clip: auto;
  clip-path: none;
}
.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}


/* navbar */
.navbar {
  top: 0;
  left: 0;
  position: relative;
  z-index: 12;
}
@media screen and (min-width: 960px) {
  .navbar {
    position:sticky;
    width: 100%;
  }
}

/* navbar-wrapper */
.navbar-wrapper {
  position: relative;
  border-bottom: 1px solid #dcdfe6;
  height: 55px;
  padding: 0 12px 0 24px;
  background-image: radial-gradient(transparent 1px,#ffffff 1px);
  background-size: 4px 4px;
  backdrop-filter: saturate(50%) blur(4px);
  -webkit-backdrop-filter: saturate(50%) blur(4px);
  top: 0;
}

@media screen and (min-width: 768px) {
  .navbar-wrapper {
    padding:0 12px 0 32px;
  }
}

@media screen and (min-width: 1280px) {
  .navbar-wrapper {
    padding:0 32px;
  }
}

.navbar-wrapper .header-container {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}

.navbar-wrapper .header-container .content {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-grow: 1;
}

@media screen and (min-width: 1440px) {
  .navbar-wrapper .header-container {
    /* max-width:calc(var(--vp-screen-max-width)); */
  }
}

@media screen and (min-width: 1680px) {
  .navbar-wrapper .header-container {
    /* max-width:calc(var(--vp-screen-max-width)); */
  }
}

.navbar-wrapper .logo-container {
  display: flex;
  align-items: center;
  height: 55px;
}

.navbar-wrapper .logo-container>a {
  /* height: 28px;
  width: 128px; */
  height: 40px;
}

.navbar-wrapper .logo-container .logo {
  position: relative;
  height: 100%;
}

@media screen and (min-width: 768px) {
  .navbar-wrapper .content {
    padding-top:1px;
  }
}

.navbar-menu {
  display: none;
}

@media screen and (min-width: 768px) {
  .navbar-menu {
    display:flex;
  }
}

.link-item {
  display: flex;
  align-items: center;
}
.is-menu-link {
  display: block;
  padding: 0 12px;
  line-height: calc(55px - 3px);
  font-size: 14px;
  font-weight: 500;
  color: #303133;
  transition: color .3s;
  border-bottom: 2px solid transparent;
}
.is-menu-link.active {
  border-bottom-color: #409EFF;
}
.is-menu-link:hover {
  color: #409EFF;
}
.is-menu-link .badge {
  display: inline;
  vertical-align: unset;
}
.is-menu-link .badge .is-dot {
  right: 0;
}


.theme-toggler-content {
  background-color: #ffffff;
  color: #303133;
  transition: border-color .3s,background-color .2s;
  background-color: transparent;
  display: none;
  border-radius: 50%;
  height: 24px;
  padding: 0 12px;
}

@media screen and (min-width: 768px) {
  .theme-toggler-content {
    display:flex;
    align-items: center;
  }
}

.switch {
  margin: 0;
  display: inline-block;
  position: relative;
  width: 40px;
  height: 20px;
  border: 1px solid #dcdfe6;
  outline: none;
  border-radius: 10px;
  box-sizing: border-box;
  background: #f2f2f2;
  cursor: pointer;
  transition: border-color .3s,background-color .3s;
}

.switch:hover {
  border-color: #ebeef5;
}

.switch__action {
  position: absolute;
  top: 1px;
  left: 1px;
  border-radius: 50%;
  background-color: #ffffff;
  transform: translate(0);
  color: #606266;
  transition: border-color .3s,background-color .3s,transform .3s;
}

.dark .switch__action {
  transform: translate(20px);
}

.switch__icon {
  position: relative;
}

.switch__icon .el-icon {
  position: absolute;
  left: 1px;
  bottom: 1px;
}

.switch__action,.switch__icon {
  width: 16px;
  height: 16px;
}

.switch:focus-visible {
  outline: -webkit-focus-ring-color auto 1px;
  outline-offset: 1px;
}



.translation-container {
  display: none;
  height: 20px;
  padding: 0 12px;
}

@media screen and (min-width: 768px) {
  .translation-container {
    display:block;
  }
}



.social-link {
  color: #303133;
}
.social-links {
  height: 30px;
  padding: 0 12px;
}
.login-btn {
  padding: 6px;
  height: 32px;
  line-height: 32px;
  font-size: 13px;
  color: #FFF;
  text-align: center;
  background-color: #409EFF;
  border-radius: 8px;
}
.login-btn i{
  font-size: 14px;
}


button.reset-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.menu-hamburger {
  width: 20px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  justify-content: center;
  height: 55px;
  margin: 0 14px;
}

.menu-hamburger>span {
  background-color: #303133;
  border-radius: 10px;
  height: 2px;
  margin: 2px 0;
  transition: all .3s cubic-bezier(.645, .045, .355, 1);
  width: 100%;
}

.menu-hamburger>span.hamburger-1 {
  width: 50%;
}

.menu-hamburger>span.hamburger-3 {
  width: 75%;
}

.menu-hamburger.active .hamburger-1 {
  transform-origin: bottom;
  transform: rotate(45deg) translate(13px);
}

.menu-hamburger.active .hamburger-2 {
  transform-origin: top;
  transform: rotate(-45deg);
}

.menu-hamburger.active .hamburger-3 {
  transform-origin: bottom;
  width: 50%;
  transform: translate(2px,-10px) rotate(45deg);
}

@media screen and (min-width: 768px) {
  .menu-hamburger {
    display:none;
  }
  .full-screen {
    display:none;
  }
}


/* full-screen */
.full-screen {
  position: fixed;
  top: 56px;
  right: 0;
  bottom: 0;
  left: 0;
  /* padding: 0 32px; */
  width: 100%;
  background-color: #ffffff;
  transition: background-color .5s;
  overflow-y: auto;
}
.full-screen.el-fade-in-enter-active .full-screen-container,.full-screen.el-fade-in-leave-active .full-screen-container {
  transition: transform .3s cubic-bezier(.645, .045, .355, 1);
}
.full-screen.el-fade-in-enter-from .full-screen-container,.full-screen.el-fade-in-leave-to .full-screen-container {
  transform: translateY(-8px);
}
.full-screen .full-screen-container {
  margin: 0 auto;
  padding: 24px 0 96px;
  max-width: 18rem;
}
.full-screen .full-screen-menu__item {
  /* padding: 12px 0; */
  /* border-bottom: 1px solid #dcdfe6; */
}
.full-screen .is-menu-link {
  border-bottom: 0.5px solid #000;
}
.full-screen .is-menu-link.active {
  color: #409EFF;
  /* border-bottom-color: #409EFF; */
}


.intro-btns {
  text-align: left;
  margin-top: 60px;
}
.intro-btns .el-button {
  padding: 12px 28px;
  border: 2px solid #409EFF;
  font-weight: 600;
}
.intro-btns .el-button {
  /* background-color: #409EFF; */
  color: #409EFF;
}
.intro-btns span .el-button {
  color: #fff;
  background-color: #409EFF;
}
.intro-btns .el-button:hover {
  color: #fff;
  background-color: #035edd;
}
.intro-btns .el-button:hover {
  border: 2px solid #409EFF;
  background-color: #409EFF;
}



.App .el-tabs__item.is-active {
  font-weight: 500;
  color: rgba(0,0,0,.9);
}
.App .el-tabs__active-bar {
  height: .5px;
  background-color: rgba(0,0,0,.9);
}
.App .el-tabs__nav-wrap::after {
  height: .5px;
  /* border-bottom: .5px solid rgba(0,0,0,.1) */
}


/* 主体内容区域 S */
.mobile-nav-button {
  display: none;
  position: fixed;
  bottom: 12px;
  left: 12px;
  z-index: 10;
  width: 50px;
  height: 50px;
  background: #409eff;
  box-shadow: 0 2px 12px 0 #409eff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}
.mobile-nav-button i {
  color: #fff;
  font-size: 20px;
}

.el-menu-item, .el-submenu__title, .el-submenu .el-menu-item {
  height: 42px !important;
  line-height: 42px !important;
}

/* 屏幕缩小后将菜单隐藏，同时手动唤起菜单抽屉 */
.page-content {
  display: flex; flex: 1; overflow: auto; min-height: calc(100vh - 106px - 39.5px); padding: 20px 120px;
}
.page-content .content-nav {
  width: 220px; min-height: calc(100vh - 106px - 40px); background-color: #fff; border-radius: 6px;
}
.page-content .content-wrapper {
  width: calc(100vw - 220px - 36px); min-height: calc(100vh - 106px - 140px); background-color: #fff; margin-left: 20px; border-radius: 6px; padding: 20px 26px;
}
.page-content .content-nav .el-menu-fullscreen {
  border: none!important;
  min-height: calc(100vh - 76px);
}
@media screen and (max-width: 1200px) {
  .page-content {
    padding: 20px 60px;
  }
}
@media screen and (max-width: 768px) {
  .page-content {
    padding: 20px;
  }
  .page-content .content-nav {
    display: none;
  }
  .mobile-nav-button {
    display: flex;
  }
  .page-content .content-wrapper {
    width: calc(100vw - 36px);
    margin-left: 0;
  }
}

/* 主体内容区域 E */

/* 内容标题下方的分割横线 */
.page-content .el-divider--horizontal {
  margin: 12px 0 20px;
}

/* Footer S */
.App .footer .copyright {
  /* position: fixed;
  left: 0;
  bottom: 0; */
  width: 100%;
  padding: 15px 0;
  border-top: solid 1px #171347;
  text-align: center;
  font-size: 13px;
  color: #a0aec0;
  background-color: #171347;
}
.App .footer .copyright a {
  color: #a0aec0;
}
.App .footer .copyright a:hover {
  color: #fff;
}
/* Footer E */
