/*
Theme Name: Kadence Child GB
Template: kadence
Text Domain: kadence-child-GB
Version: 1.0.0
Description:英文主题
Author:纸飞机
*/

@import url(../kadence-child-en/assets/css/Hanken_Grotesk.css);

body {
  font-family: 'Hanken Grotesk', sans-serif;
}

@media screen and (min-width: 996px) {

  .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-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-width: 200px; */
    max-height: 63px;
    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: white;
    font-weight: bold;
    cursor: pointer;
  }

  #LiLogin i {
    visibility: hidden;
  }

  /*主菜单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;
    padding: 0;
  }

  .zw-menu-2 {
    list-style: none;
    padding-left: 20px !important;
    display: inline-block !important;
    height: auto;
    flex: 20%;
    /*子菜单宽度**/
    margin-bottom: 20px;
  }

  .zw-menu-2>a {
    text-transform: uppercase;
    color: #009e75;
    font-size: 12px;
  }

  .zw-menu-2 a:hover {
    color: #009e75;
    font-weight: bold;
  }



  .zw-menu-3 {
    list-style: none;
    display: block !important;
  }

  .zw-menu-3 a {
    color: #000;
    font-size: 12px;
  }

  .zw-menu-3 a:hover {
    color: #009e75;
    font-weight: bold;
  }

  /*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;
  }

  .hidden-in-pc {
    display: none !important;
  }
}

@media (max-width: 1025px) {
  .site-top-footer-wrap {
    display: none;
  }

  .pc-submenu-box {
    display: none;
  }
}

/************************************************************************页脚样式调整 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 {
  margin: 0;
  background-color: #f0f0f0;
}

/* .site-container{
  margin: 0;
  padding: 0;
} */

.zw-size-13>a {
  font-size: 13px !important;
}

.zw-hover-box:hover {
  background-color: #F0F0F0;
}

.entry-content-wrap {
  padding: 0 !important;
}


.resource-left img {
  min-width: 220px !important;
  height: 160px !important;
}


.secondary-menu-container .dropdown-nav-toggle {
  display: none;
}

.secondary-menu-container .nav-drop-title-wrap {
  padding-right: 0;
}

.site-header-item-main-navigation .dropdown-nav-toggle {
  display: none;
}

.site-header-item-main-navigation .nav-drop-title-wrap {
  padding-right: 0;
}

.secondary-menu-container .sub-menu .dropdown-nav-toggle {
  display: block;
}

.secondary-menu-container .sub-menu .nav-drop-title-wrap {
  padding-right: 1em;
}

.site-header-item-main-navigation .sub-menu .dropdown-nav-toggle {
  display: block;
}

.site-header-item-main-navigation .sub-menu .nav-drop-title-wrap {
  padding-right: 1em;
}

.header-navigation .header-menu-container ul ul li.menu-item>a {
  width: 100%;
  font-size: 12px !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;
}

/*修改页脚菜单样式**/

#menu-custom-footer-menu {
  margin: 0 8vw;
}

