/**
 * @Author   swcn-tlj
 * @Date    2024-01-09
 */
/**
 * @Author   swcn-tlj
 * @Date     2024-01-09
 */
.sw-head {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 1.2rem 3rem;
  padding-right: 0;
  transition: padding .3s;
}

.sw-head-L {
  flex: 1;
  display: flex;
}

.sw-head-LL {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.sw-head-LR {
  flex: 1;
}

.sw-menu-box {
  display: flex;
  justify-content: space-between;
}

.sw-head-R {
  flex-shrink: 0;
}

@media all and (max-width: 996px) {
  .sw-sollapse.sw-head {
    padding: 0 1.2rem;
  }
  .sw-sollapse .sw-head-L {
    width: 40%;
  }
  .sw-sollapse .sw-head-LL {
    flex-shrink: 1;
  }
  .sw-sollapse .sw-head-LR {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    max-height: none;
    background-color: white;
    overflow-y: auto;
    display: none;
  }
  .sw-sollapse .sw-menu-box {
    flex-direction: column;
    padding: 1.5rem;
  }
  .sw-sollapse .sw-head-R {
    width: 60%;
  }
}

.sw-menu {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}

.sw-menu-link {
  cursor: pointer;
  transition: .3s;
}

.sw-menu-link > div {
  display: flex;
  padding: .6rem 1.6rem;
}

.sw-menu-link .sw-end-icon {
  display: none;
}

.sw-menu-link .sw-end-icon .icon {
  padding: calc((var(--line-height) - 1)/2 * 1.4rem);
}

.sw-menu-link .sw-end-icon.sw-has-arrow {
  display: flex !important;
}

.sw-btn-submenu {
  display: none;
  cursor: pointer;
}

.sw-btn-submenu .sw-icon {
  transition: .3s ease-out;
}

.sw-btn-submenu.sw-submenu-opened .sw-icon {
  transform: rotate(180deg);
}

.sw-menu-item.sw-item-ml {
  margin-left: 1.6rem;
}

.sw-menu-item.sw-item-mr {
  margin-right: 1.6rem;
}

@media all and (max-width: 996px) {
  .sw-sollapse .sw-menu-link > div {
    padding-top: 1.3rem;
    padding-bottom: 1.3rem;
  }
  .sw-sollapse .sw-menu-link .sw-end-icon {
    display: none !important;
  }
  .sw-sollapse .sw-menu-link .sw-end-icon.sw-has-arrow {
    display: none !important;
  }
  .sw-sollapse .sw-btn-submenu {
    display: inline-flex;
    position: absolute;
    right: 0;
    top: 0;
    padding: 1.3rem;
  }
  .sw-menu-item.sw-item-ml {
    margin-left: 0 !important;
  }
  .sw-menu-item.sw-item-mr {
    margin-right: 0 !important;
  }
}

@media (max-width: 1919px) {
  .sw-menu-link > div {
    padding-left: 1.4rem;
    padding-right: 1.4rem;
  }
  .sw-menu-item.sw-item-ml {
    margin-left: 1.4rem;
  }
  .sw-menu-item.sw-item-mr {
    margin-right: 1.4rem;
  }
}

@media (max-width: 1679px) {
  .sw-menu-link > div {
    padding-left: 1.3rem;
    padding-right: 1.3rem;
  }
  .sw-menu-item.sw-item-ml {
    margin-left: 1.3rem;
  }
  .sw-menu-item.sw-item-mr {
    margin-right: 1.3rem;
  }
}

@media (max-width: 1439px) {
  .sw-menu-link > div {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
  .sw-menu-item.sw-item-ml {
    margin-left: 1.2rem;
  }
  .sw-menu-item.sw-item-mr {
    margin-right: 1.2rem;
  }
}

@media (max-width: 1023px) {
  .sw-menu-link > div {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
  .sw-menu-item.sw-item-ml {
    margin-left: 1.1rem;
  }
  .sw-menu-item.sw-item-mr {
    margin-right: 1.1rem;
  }
}

@media (max-width: 767px) {
  .sw-menu-link > div {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .sw-menu-item.sw-item-ml {
    margin-left: 1rem;
  }
  .sw-menu-item.sw-item-mr {
    margin-right: 1rem;
  }
}

.sw-down {
  position: relative;
}

.sw-down-box {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 9;
  width: 100%;
  min-width: 13rem;
  padding-top: calc(1.2rem + 0px);
  display: none;
}

.sw-down-box.sw-down-auto {
  width: auto;
}

.sw-down-box.sw-down-R {
  left: auto;
  right: 0;
}

.sw-down-box.sw-down-C {
  left: 50%;
  transform: translate(-50%, 0);
}

.sw-down-box.sw-show {
  transform: translateY(0);
  display: block;
}

.sw-down-box > .sw-down-con {
  position: relative;
  padding-left: 0;
  padding-right: 0;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 .5em .5em;
  background-color: white;
}

.sw-down-20 {
  min-width: 20rem;
}

@media all and (max-width: 996px) {
  .sw-sollapse .sw-down-box {
    padding-top: 0;
  }
}

.sw-down-menu {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.sw-down-menu a > div {
  display: flex;
  padding: 1rem 1.6rem;
}

.sw-down-menu .sw-icon {
  flex-shrink: 0;
}

.sw-down-menu .sw-down-name {
  flex: 1;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  line-clamp: 1;
  -webkit-line-clamp: 1;
}

.sw-head {
  background-color: transparent;
  transition: background-color box-shadow .3s;
}

.sw-head .sw-menu-link {
  color: rgba(0, 0, 0, 0.95);
}

.sw-head .sw-menu-line {
  background-color: var(--m-color);
}

.sw-head .sw-logo .sw-dark {
  display: block;
}

.sw-head .sw-logo .sw-white {
  display: none;
}

.sw-head-grad {
  position: relative;
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  background: rgba(23, 23, 23, 0.1);
}

.sw-head-grad::after {
  content: "";
  display: block;
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: -moz-calc(100% - 1px);
  top: calc(100% - 1px);
  z-index: -1;
  background: rgba(255, 255, 255, 0.05);
}

.sw-head-grad .sw-menu-link {
  color: white;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.sw-head-grad .sw-menu-line {
  background-color: #fff;
}

.sw-head-grad .sw-logo .sw-dark {
  display: none;
}

.sw-head-grad .sw-logo .sw-white {
  display: block;
}

.sw-head-grad-b {
  position: relative;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.1);
}

.sw-head-grad-b::after {
  content: "";
  display: block;
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: -moz-calc(100% - 1px);
  top: calc(100% - 1px);
  z-index: -1;
  background: rgba(23, 23, 23, 0.05);
}

.sw-head-grad-b .sw-menu-link {
  color: #1d2129;
  text-shadow: 0 0 2px transparent;
}

.sw-head-grad-b .sw-menu-line {
  background-color: var(--m-color);
}

.sw-head-grad-b .sw-logo .sw-dark {
  display: block;
}

.sw-head-grad-b .sw-logo .sw-white {
  display: none;
}

.sw-head-white {
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  background: rgba(23, 23, 23, 0.1);
}

.sw-head-white::after {
  content: "";
  display: block;
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: -moz-calc(100% - 1px);
  top: calc(100% - 1px);
  z-index: -1;
  background: rgba(255, 255, 255, 0.05);
}

.sw-head-white .sw-menu-link {
  color: white;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.sw-head-white .sw-menu-line {
  background-color: #fff;
}

.sw-head-white .sw-logo .sw-dark {
  display: none;
}

.sw-head-white .sw-logo .sw-white {
  display: block;
}

.sw-head-line {
  background-color: white;
}

.sw-head-line::after {
  position: absolute;
  left: 0;
  top: 100%;
  content: '';
  width: 100%;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.05);
  pointer-events: none;
}

.sw-head-line .sw-menu-link {
  color: rgba(0, 0, 0, 0.95);
}

.sw-head-line .sw-menu-line {
  background-color: var(--m-color);
}

.sw-head-line .sw-logo .sw-dark {
  display: block;
}

.sw-head-line .sw-logo .sw-white {
  display: none;
}

.sw-head-black {
  background: #151617;
}

.sw-head-black .sw-menu-link {
  color: white;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.sw-head-black .sw-menu-line {
  background-color: #fff;
}

.sw-head-black .sw-logo .sw-dark {
  display: none;
}

.sw-head-black .sw-logo .sw-white {
  display: block;
}

.sw-head-scroll, .sw-head:hover {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sw-head-scroll .sw-menu-link, .sw-head:hover .sw-menu-link {
  color: rgba(0, 0, 0, 0.95);
  text-shadow: none;
}

.sw-head-scroll .sw-logo .sw-dark, .sw-head:hover .sw-logo .sw-dark {
  display: block;
}

.sw-head-scroll .sw-logo .sw-white, .sw-head:hover .sw-logo .sw-white {
  display: none;
}

.sw-menu-main {
  position: relative;
}

.sw-menu-main .sw-menu-link .sw-icon {
  display: none;
}

.sw-menu-user {
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.sw-btn-login {
  display: block;
}

.sw-btn-login > div {
  color: white;
  border-radius: 2em;
  background-color: var(--m-color);
}

.sw-btn-menu {
  display: none;
}

.sw-btn-menu > div .sw-icon:first-child {
  display: flex;
}

.sw-btn-menu > div .sw-icon:nth-child(2) {
  display: none;
}

.sw-btn-menu.sw-menu-opened .sw-icon:first-child {
  display: none;
}

.sw-btn-menu.sw-menu-opened .sw-icon:nth-child(2) {
  display: flex;
}

.sw-menu-line {
  position: absolute;
  left: 0;
  bottom: -.3rem;
  z-index: 0;
  width: 20px !important;
  height: 4px;
  border-radius: 2px;
  background-color: var(--m-color);
  transition: .3s ease-out;
}

.sw-logo .sw-menu-link {
  display: flex;
  align-items: center;
  align-items: center;
}

.sw-logo .sw-menu-link > div {
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  line-clamp: 1;
  -webkit-line-clamp: 1;
}

.sw-logo img {
  max-height: 100%;
}

.sw-logo .sw-logo-img {
  flex-shrink: 0;
  display: inline-block;
  margin-right: 20px;
}

@media all and (max-width: 995px) {
  .sw-logo .sw-logo-img {
    height: 3.2rem;
  }
}

@media all and (min-width: 996px) {
  .sw-logo .sw-logo-img {
    height: 2.4rem;
  }
}

.sw-search {
  position: relative;
}

.sw-search::before {
  position: absolute;
  right: 0;
  top: 0;
  content: '';
  z-index: 1;
  height: 100%;
  width: 100%;
  background-color: #e5e5e5;
  border-radius: 2em;
  transition: .3s;
}

.sw-search input {
  position: absolute;
  right: 100%;
  top: 50%;
  z-index: 9;
  width: 0;
  padding: .6rem 1.6rem;
  transform: translate(0, -50%);
  background-color: transparent;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all .3s;
}

.sw-search button {
  position: relative;
  z-index: 9;
  background-color: transparent;
}

@media all and (min-width: 1081px) {
  .sw-search-box:hover .sw-search::before {
    width: 40rem;
  }
  .sw-search-box:hover .sw-search input {
    width: 32.5rem;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: all .3s;
  }
  .sw-search-box:hover .sw-down-con {
    width: 40rem;
  }
}

@media all and (max-width: 996px) {
  .sw-sollapse .sw-menu-main .sw-menu-link .sw-icon {
    display: flex;
  }
  .sw-sollapse .sw-menu-soll {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .sw-sollapse .sw-menu-soll .sw-menu-item {
    width: 100%;
  }
  .sw-sollapse .sw-menu-soll .sw-down-box {
    position: static;
  }
  .sw-sollapse .sw-menu-soll .sw-down-box > div {
    box-shadow: none;
  }
  .sw-sollapse .sw-btn-login > div {
    color: rgba(0, 0, 0, 0.95);
    background-color: transparent;
  }
  .sw-sollapse .sw-btn-menu {
    display: block;
  }
  .sw-sollapse .sw-menu-line {
    display: none;
  }
  .sw-sollapse .sw-logo img {
    padding-top: .5rem;
    padding-bottom: .5rem;
  }
}

@media all and (max-width: 767px) {
  .sw-sollapse .sw-logo > .sw-menu-link > div {
    font-size: .9em;
    padding: 0 0 0 1rem;
  }
  .sw-sollapse .sw-menu-user .sw-menu-item {
    width: 25%;
  }
  .sw-sollapse .sw-menu-user .sw-menu-item:last-child {
    margin-right: -1rem;
  }
  .sw-sollapse .sw-menu-user .sw-menu-link > div {
    padding-left: 0;
    padding-right: 0;
    justify-content: center;
  }
  .sw-sollapse .sw-menu-user .sw-menu-link .sw-menu-name {
    display: none;
  }
  .sw-sollapse .sw-menu-user .sw-down-box {
    position: fixed;
    top: 58px;
    width: 100vw;
  }
  .sw-sollapse .sw-menu-user .sw-down-box > div {
    width: 100%;
    max-width: none;
  }
}

.sw-head-grad .sw-search::before, .sw-head-white .sw-search::before {
  background-color: rgba(255, 255, 255, 0.15);
}

.sw-head-grad.sw-head-scroll .sw-search::before,
.sw-head-grad.sw-head:hover .sw-search::before,
.sw-head-white.sw-head-scroll .sw-search::before,
.sw-head-white.sw-head:hover .sw-search::before {
  background-color: #e5e5e5;
}

@media all and (max-width: 996px) {
  .sw-sollapse.sw-head-grad .sw-search::before,
  .sw-sollapse.sw-head-white .sw-search::before {
    background-color: rgba(255, 255, 255, 0);
  }
  .sw-sollapse.sw-head-grad .sw-btn-login > div,
  .sw-sollapse.sw-head-white .sw-btn-login > div {
    color: white;
  }
  .sw-sollapse.sw-head-scroll .sw-search::before, .sw-sollapse.sw-head:hover .sw-search::before {
    background-color: rgba(229, 229, 229, 0);
  }
  .sw-sollapse.sw-head-scroll .sw-btn-login > div, .sw-sollapse.sw-head:hover .sw-btn-login > div {
    color: rgba(0, 0, 0, 0.95);
  }
}

.sw-head-h {
  padding: 1.2rem 0;
  opacity: 0;
}

.sw-head-h.sw-hide {
  display: none;
}

@media all and (max-width: 996px) {
  .sw-head-h {
    padding: 0;
  }
}

.sw-language {
  width: 300px;
}

.sw-language .sw-down-con {
  padding: 2.5rem 2rem;
}

.sw-language-menu li {
  margin-bottom: 2px;
}

.sw-language-menu a {
  display: block;
  border-radius: 2rem;
}

.sw-language-menu a:hover, .sw-language-menu a.active {
  color: inherit;
  background-color: rgba(0, 0, 0, 0.04);
}

.sw-language-menu a:hover div .iconfont, .sw-language-menu a.active div .iconfont {
  opacity: 1;
  color: var(--m-color) !important;
}

.sw-language-menu div {
  padding: .5rem 1.5rem;
}

.sw-language-menu div span:first-child {
  width: 60%;
}

.sw-language-menu div span:last-child {
  width: 5%;
}

.sw-language-menu div .iconfont {
  opacity: 0;
}

.sw-apply-btn {
  position: relative;
  width: 129px;
  height: 36px;
  line-height: 36px;
  margin-left: 15px;
}

.sw-apply-btn a {
  display: block;
  position: absolute;
  left: 0;
  top: -12px;
  color: #fff;
  line-height: 60px;
  text-align: center;
  width: 100%;
  height: 60px;
  background: var(--m-color);
  -moz-transition: background .1s linear;
  transition: background .1s linear;
}

.sw-apply-btn:hover a {
  color: #fff;
  background: var(--m-color-lt);
}

@media all and (max-width: 996px) {
  .sw-apply-btn {
    display: none;
  }
}
