/*
Theme Name: Kadence Child Cn
Template: kadence
Text Domain: kadence-child-cn
Version: 1.0.0
Description:中文主题
Author:纸飞机
*/

/* 在这里添加自定义样式 */
/* body{
  font-family: 'NotoSansSC-Regular', sans-serif;
} */


@media screen and (min-width: 996px) {
  .promotions-news-desc {
    margin-left: 120px;
  }

  .show-in-pc {
    display: block;
  }

  .show-in-mobile {
    display: none;
  }

}

@media (max-width: 996px) {
  .show-in-pc {
    display: none;
  }

  .show-in-mobile {
    display: block;
  }
}

@media screen and (min-width: 1025px) {

  /*********************************************************** 页眉样式 START *********************************************/
  .site-header-item {
    flex-direction: column;
    justify-items: center;
    justify-content: center;
  }

  .header-navigation .sub-menu {
    padding: 10px 0 !important;
  }

  /* .header-navigation ul ul li.menu-item>a {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  } */

  .header-navigation .header-menu-container ul ul li.menu-item>a {
    width: 100%;
  }

  .header-navigation.header-navigation-dropdown-animation-fade-down ul ul.sub-menu {
    /* border: 1px solid red; */
    padding: 15px 0;
    min-width: 230px;
  }

  .header-navigation .kadence-svg-iconset svg {
    font-size: 16px;
  }

  /*页眉图片**/
  .site-branding a.brand img {
    max-height: 63px !important;
    width: auto;
    margin-top: -40px;
  }

  /*页眉最顶部次要导航**/
  .site-top-header-wrap .site-header-row-container-inner {
    padding-right: 200px;
    /* border: 1px solid red; */
    /* overflow: hidden; */
    max-height: 42px;
  }

  /**页眉次级导航高度限制*/
  .site-top-header-wrap .site-header-section {
    max-height: 42px;
  }

  .secondary-navigation .secondary-menu-container>ul>li.menu-item>a {
    padding-top: 0.3em;
    padding-bottom: 0.3em;
  }

  /*登录注册按钮**/
  .header-button-wrap {
    margin-top: -40px;
  }

  /*页眉登录用户名**/
  #LoginName {
    font-size: 17px;
    color: white;
  }

  #LoginName:hover {
    color: #6959a1;
    cursor: pointer;
  }

  /*主菜单hover样式**/
  .main-navigation .primary-menu-container>ul>li.menu-item.current-menu-item>a {
    color: #000 !important;
  }

  /*隐藏页眉主菜单的下拉图标**/
  .menu-item-has-children .kadence-svg-iconset {
    display: none;
  }

  .sub-menu .kadence-svg-iconset {
    display: block;
  }


  /*页眉menu-item-full单独设置样式 'zw-menu-item-full' class类在后台菜单添加 START **/
  .zw-menu-item-full {
    position: static !important;
  }

  .zw-menu-item-full>.dropdown-nav-special-toggle {
    display: none !important;
  }

  .zw-menu-2 .dropdown-nav-special-toggle {
    display: none !important;
  }

  .zw-menu-2 .dropdown-nav-toggle {
    display: none !important;
  }

  .zw-menu-item-full>.sub-menu {
    left: 0;
    right: 0;
    max-height: 500px !important;
    /***超级菜单的最大高度,超出换列显示***/
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .zw-sub-menu {
    list-style: none;
    display: inline-block !important;
    margin: 0 0 20px 0;
    padding: 0;
  }

  .zw-menu-2 {
    list-style: none;
    padding-left: 20px !important;
    display: inline-block !important;
    height: auto;
    flex: 20%;
    /*子菜单宽度**/
  }

  .zw-menu-2>a {
    text-transform: uppercase;
    color: #009e75;
    font-size: 14px;
  }

  .zw-menu-2 a:hover {
    color: #78d2aa;
    font-weight: bold;
  }


  .zw-menu-3 {
    list-style: none;
    display: block !important;
  }

  .zw-menu-3 a {
    color: #000;
    font-size: 14px;
  }

  .zw-menu-3 a:hover {
    color: #009e75;
    font-weight: bold;
  }

  .zw-menu-item-full .dropdown-menu {
    margin: 0 !important;
    top: 0 !important;
    left: 100% !important;
  }

  .sub-menu .fa-angle-right {
    color: #000;
    font-size: 16px;   
  }

  .display-none {
    display: none !important;
  }

  /*New 图标样式*/
  sup.menu-item-new {
    color: #009e75;
    font-weight: bold;
  }

  /*页眉menu-item-full单独设置样式 'zw-menu-item-full' class类在后台菜单添加 END **/

  /*菜单项图标**/
  .menu_ico {
    max-width: 40px;
    max-height: 30px;
    margin-right: 8px;
  }

  .menu_ico_jp img {
    border: 1px solid #bab2b2;
  }

  /*********************************************************** 页眉样式 END *********************************************/

  /**页脚设置***/
  .site-top-footer-wrap {
    display: block;
  }

  .pc-submenu-box {
    display: block;
  }

  /**面包屑导航占位块*/
  .empty-content-box {
    height: 50px;
  }

  .hidden-in-pc {
    display: none !important;
  }
}

@media (max-width: 1025px) {
  .site-top-footer-wrap {
    display: none;
  }

  .pc-submenu-box {
    display: none;
  }

  /**面包屑导航占位块*/
  .empty-content-box {
    height: 0px;
  }

  .search-toggle-open-container .search-toggle-open {
    color: #826EC3;
  }

  .menu-toggle-close {
    color: #826EC3 !important;
  }
}

/************************************************************************页脚样式调整 START*****************/

.footer-html-inner P {
  color: white;
}

/**页脚自定义导航**/
#menu-custom-footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;

  align-items: flex-start;
  list-style: none;
  margin: 0 18vw;
  padding: 0;
}

#menu-custom-footer-menu li a {
  font-size: 17px;
  color: white;
}

#menu-custom-footer-menu li ul {
  margin-left: 0;
}

#menu-custom-footer-menu li ul a {
  font-size: 14px;
  font-weight: normal;
  color: white;
  opacity: 0.5;
}

#menu-custom-footer-menu li a:hover {
  color: #78d2aa;
  font-weight: bold;
  opacity: 1;
}

#menu-custom-footer-menu li ul a:hover {
  color: white;
  font-weight: bold;
}

/************************************************************************页脚样式调整 END*****************/

/*恢复img默认的display属性**/
img {
  display: inline;
}

/**页眉zindex提升*/
#masthead {
  z-index: 1000;
}

/*取消内容区域外边距**/
.content-area {
  background-color: #f0f0f0;
  margin: 0;
}

.site-container {
  margin: 0;
  padding: 0;
}

.zw-size-13>a {
  font-size: 13px !important;
}

.zw-hover-box:hover {
  background-color: #F0F0F0;
}


table {
  margin: 0 auto;
  width: auto;
}


img {
  /* height: 100%; */
  max-width: none;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: #826ec3;
}


.icon-nav ul {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
}

select {
  -webkit-appearance: auto;
  -moz-appearance: auto;
  -ms-appearance: auto;
  appearance: auto;
}

.header-navigation .header-menu-container ul ul li.menu-item>a {
  width: 100%;
  font-size: 14px !important;
  color: #000 !important;
}

.header-navigation .header-menu-container ul ul li.menu-item>a:hover {
  color: #009e75 !important;
  font-weight: bold !important;
}

.site-header-item li {
  list-style: none;
  color: white;
}



/**次要菜单样式修改*/
.secondary-navigation .secondary-menu-container>ul>li.menu-item>a>.nav-drop-title-wrap {
  color: #000;
}

.secondary-navigation .secondary-menu-container>ul>li.menu-item>a:hover {
  color: #000;
  font-weight: bold;
}

.secondary-navigation .secondary-menu-container > ul > li.menu-item.current-menu-item > a{
  color: #000 !important;
}