/* 头部样式 */

.page-site-nav {
  padding: 30px 0;
}

.page-logo {
  float: left;
  box-sizing: border-box;
}

.nav-logo {
  width: 250px;
  height: 60px;
  background: url(../images/logo.png) no-repeat 0 center;
}

.nav-logo a {
  width: 250px;
  height: 60px;
  display: block;
  text-indent: -999em;
}

.search-wrappper {
  position: relative;
  float: left;
  margin-left: 120px;
}

.search-wrappper .hot-search {
  position: absolute;
  left: 5px;
  top: 45px;
}

.search-wrappper .hot-search li {
  float: left;
  line-height: 24px;
  color: #999;
  font-size: 12px;
}

.search-wrappper .hot-search li a {
  color: #999;
  font-size: 12px;
  margin-right: 3px;
}

.search-wrappper .hot-search li a:hover {
  color: #339bd0;
}

.nav-search {
  position: relative;
  margin-top: 8px;
  width: 280px;
  height: 34px;
  border: 1px solid #a0a0a0;
  border-radius: 25px;
}

.nav-search .search-txt {
  padding: 0px 38px 0px 85px;
  border: 0 none;
  line-height: 34px;
  width: 150px;
  border-radius: 25px;
}

.nav-search .select-search {
  position: absolute;
  left: 28px;
  line-height: 34px;
  color: #666;
  font-size: 16px;
  cursor: pointer;
}

.nav-search .select-search i {
  display: inline-block;
  width: 14px;
  height: 6px;
  background: url(../images/select-icon.png) right no-repeat;
  margin-left: 10px;
}

.select-search-active i {
  -moz-transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  -o-transform: rotate(-180deg);
  -webkit-transform: rotate(-180deg);
  transform: rotate(-180deg);
}

.select-choose {
  position: relative;
  display: none;
  padding: 5px 15px;
  margin-top: 1px;
  margin-left: -10px;
  background-color: #fff;
  box-shadow: 0px 1px 3px #999;
  box-sizing: border-box;
  z-index: 2;
}

.select-choose li {
  line-height: 26px;
}

.select-choose li:hover {
  color: #3a89ca;
}

.select-search-active .select-choose {
  display: block;
}

.nav-search .search-btn {
  position: absolute;
  top: 6px;
  right: 8px;
  cursor: pointer;
}

.nav-search .search-btn i {
  color: #999;
  font-size: 18px;
}

.page-user {
  float: right;
}

.user-logo {
  float: left;
  margin-right: 10px;
  width: 50px;
  height: 50px;
  background: url(../images/user-icon.png);
}

.login {
  float: left;
  margin-right: 15px;
}

.login li {
  line-height: 26px;
}

.aside {
  float: left;
  width: 190px;
  border-left: 1px solid #d2d2d2;
}

.aside li {
  float: left;
  margin-left: 5%;
  line-height: 24px;
}

.aside li a {
  color: #595757;
  font-size: 12px;
}

.aside li a:hover {
  color: #000;
  font-weight: bold;
}

.page-header {
  height: 48px;
  background-color: #0b8bca;
  margin-bottom: 20px;
}

.page-header ul li {
  float: left;
}

.page-header ul li a {
  display: inline-block;
  padding: 0 25px;
  color: #fff;
  font-size: 16px;
  line-height: 48px;
}

.page-header ul li a:hover {
  color: #fff;
  background-color: #04599f;
}

.qianjia {
  position: relative;
  z-index: 2;
}

.qianjia i {
  display: inline-block;
  width: 14px;
  height: 6px;
  background: url(../images/select-icon-white.png) right no-repeat;
  margin-left: 10px;
}

.qianjia-active i {
  -moz-transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  -o-transform: rotate(-180deg);
  -webkit-transform: rotate(-180deg);
  transform: rotate(-180deg);
}

.qianjia .dropdown-menu {
  display: none;
  width: 98.5%;
  position: absolute;
  top: 48px;
  left: 0;
  border: 1px solid #d0d0d0;
  border-top: 0;
  background-color: #fff;
  -ms-transform: translateY(0px) scale(0);
  -webkit-transform: translateY(0px) scale(0);
  transform: translateY(0px) scale(0);
  -ms-transform-origin: 30% 0 0;
  -webkit-transform-origin: 30% 0 0;
  transform-origin: 30% 0 0;
  -webkit-transition: all 500ms cubic-bezier(0.36, 1.26, 0.4, 1) 0s;
  transition: all 500ms cubic-bezier(0.36, 1.26, 0.4, 1) 0s;
  z-index: 100;
}

.qianjia-active .dropdown-menu {
  -ms-transform: translateY(0px) scale(1);
  -webkit-transform: translateY(0px) scale(1);
  transform: translateY(0px) scale(1);
  display: block;
}

.qianjia .dropdown-menu li {
  float: none;
  width: 100%;
  border: 0;
}

.qianjia .dropdown-menu li a {
  display: inline-block;
  border-top: 1px solid #e8e8e8;
  color: #656565;
  font-size: 16px;
}

.qianjia .dropdown-menu li:first-child a {
  border-top: 0;
}

.qianjia .dropdown-menu li a:hover {
  color: #fff;
  background-color: transparent;
  background-color: #0b8bca;
}


/* 移动端导航 */

.mobile-head {
  display: none;
}

.cd-img-replace {
  /* replace text with a background-image */
  display: inline-block;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}

.overflow-hidden {
  overflow: hidden;
}


/* --------------------------------

Main components

-------------------------------- */

.cd-main-content {
  /* set a min-height and a z-index to be sure that the main element completely covers the lateral menu */
  min-height: 100%;
  position: relative;
  background-color: #f5f4e9;
  z-index: 2;
  padding-top: 56px;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.4s;
  -moz-transition-duration: 0.4s;
  transition-duration: 0.4s;
}

.cd-main-content.lateral-menu-is-open {
  /* translate to show the lateral menu - all content needs to be put in the .cd-main-content to translate*/
  -webkit-transform: translateX(-280px);
  -moz-transform: translateX(-280px);
  -ms-transform: translateX(-280px);
  -o-transform: translateX(-280px);
  transform: translateX(-280px);
}

@media only screen and (min-width: 768px) {
  .cd-main-content {
    padding-top: 70px;
  }
}

header {
  position: absolute;
  top: 0;
  left: 0;
  height: 56px;
  width: 100%;
  background: #1e1e1e;
  z-index: 3;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.4s;
  -moz-transition-duration: 0.4s;
  transition-duration: 0.4s;
}

header.lateral-menu-is-open {
  /* translate to show the lateral menu */
  -webkit-transform: translateX(-280px);
  -moz-transform: translateX(-280px);
  -ms-transform: translateX(-280px);
  -o-transform: translateX(-280px);
  transform: translateX(-280px);
}

header.is-fixed {
  position: fixed;
}

@media only screen and (min-width: 768px) {
  header {
    height: 70px;
  }
}

#cd-logo {
  display: block;
  float: left;
  width: 50%;
  height: 100%;
}

#cd-logo img {
  display: block;
  max-height: 63px;
  height: 57%;
  margin-top: 13px;
  margin-left: 15px;
}

#cd-top-nav {
  position: absolute;
  top: 0;
  right: 120px;
  height: 100%;
  display: none;
}

#cd-top-nav ul {
  height: 100%;
  padding-top: 18px;
}

#cd-top-nav li {
  display: inline-block;
  margin-right: 1em;
}

#cd-top-nav a {
  display: inline-block;
  padding: .5em;
  color: #FFF;
  text-transform: uppercase;
  font-weight: 600;
}

#cd-top-nav a.current {
  background-color: #242e30;
}

.no-touch #cd-top-nav a:hover {
  color: rgba(255, 255, 255, 0.7);
}

#cd-menu-trigger {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50px;
  background-color: #1e1e1e;
}

#cd-menu-trigger .cd-menu-text {
  height: 100%;
  text-transform: uppercase;
  color: #FFF;
  font-weight: 600;
  display: none;
}

#cd-menu-trigger .cd-menu-icon {
  /* this span is the central line in the menu menu */
  display: inline-block;
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  width: 18px;
  height: 2px;
  background-color: #FFF;
  /* these are the upper and lower lines in the menu menu */
}

#cd-menu-trigger .cd-menu-icon::before,
#cd-menu-trigger .cd-menu-icon:after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: inherit;
  left: 0;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
}

#cd-menu-trigger .cd-menu-icon::before {
  bottom: 5px;
}

#cd-menu-trigger .cd-menu-icon::after {
  top: 5px;
}

#cd-menu-trigger.is-clicked .cd-menu-icon {
  background-color: rgba(255, 255, 255, 0);
}

#cd-menu-trigger.is-clicked .cd-menu-icon::before,
#cd-menu-trigger.is-clicked .cd-menu-icon::after {
  background-color: white;
}

#cd-menu-trigger.is-clicked .cd-menu-icon::before {
  bottom: 0;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#cd-menu-trigger.is-clicked .cd-menu-icon::after {
  top: 0;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

@media only screen and (min-width: 768px) {
  #cd-menu-trigger {
    width: 50px;
    padding-left: 1.25em;
  }
}

.g-mobile-head {
  background: #1e1e1e;
  height: 7%;
  min-height: 56px;
}

.g-mobile-head .in-con {
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

.g-mobile-head .item {
  vertical-align: middle;
  width: 50%;
  height: 100%;
  float: left;
}

.g-mobile-head .item a {
  background: none!important;
  padding: 0!important;
  border-bottom: 0!important;
  display: inline !important;
}

.g-mobile-head .t-logo img {
  max-height: 63px;
  height: 57%;
  margin-top: 13px;
  margin-left: 15px;
}

#cd-lateral-nav {
  position: fixed;
  height: 100%;
  right: 0;
  top: 0;
  /* the secondary navigation is covered by the main element */
  z-index: 1;
  width: 280px;
  background-color: #fff;
  overflow-y: auto;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.4s;
  -moz-transition-duration: 0.4s;
  transition-duration: 0.4s;
  /* this creates the subtle slide in animation of the navigation */
  -webkit-transform: translateX(280px);
  -moz-transform: translateX(280px);
  -ms-transform: translateX(280px);
  -o-transform: translateX(280px);
  transform: translateX(280px);
}

#cd-lateral-nav .sub-menu {
  padding-left: 10px;
  display: none;
}

#cd-lateral-nav a {
  display: block;
  line-height: 10px;
  padding: 20px 50px 20px 30px;
  background-color: #fff;
  color: #262626;
  font-size: 16px;
  border-bottom: solid 1px #E5E5E5;
}

#cd-lateral-nav a.current {
  background-color: #f5f5f5;
  color: #0b8bca;
}

#cd-lateral-nav a:hover {
  color: #0b8bca;
  background-color: #f5f5f5;
}

@media only screen and (min-width: 768px) {
  .g-mobile-head {
    min-height: 70px;
  }
}

#cd-lateral-nav.lateral-menu-is-open {
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
  /* smooth the scrolling on touch devices - webkit browsers */
  -webkit-overflow-scrolling: touch;
}


/* style menu items which have a submenu  */

#cd-lateral-nav .item-has-children>a {
  position: relative;
  text-transform: uppercase;
  /* this is the right arrow to show that the item has a submenu  */
}

#cd-lateral-nav .item-has-children>a::after {
  content: '';
  display: block;
  height: 11px;
  width: 8px;
  position: absolute;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 1em;
  background: url("../img/cd-arrow.svg") no-repeat center center;
  background-size: 8px 11px;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.2s;
  -moz-transition-duration: 0.2s;
  transition-duration: 0.2s;
}

#cd-lateral-nav .item-has-children>a.submenu-open::after {
  -webkit-transform: translateY(-50%) rotate(90deg);
  -moz-transform: translateY(-50%) rotate(90deg);
  -ms-transform: translateY(-50%) rotate(90deg);
  -o-transform: translateY(-50%) rotate(90deg);
  transform: translateY(-50%) rotate(90deg);
}

#cd-lateral-nav .socials {
  padding: 0 32px;
}

#cd-lateral-nav .socials:after {
  content: "";
  display: table;
  clear: both;
}

#cd-lateral-nav .socials a {
  height: 32px;
  width: 32px;
  float: left;
  padding: 0;
  background-image: url("../img/cd-socials.svg");
  background-repeat: no-repeat;
  background-size: 128px 64px;
  background-color: #FFF;
  margin-right: .5em;
  border-radius: 0.25em;
}

#cd-lateral-nav .socials a.cd-twitter {
  background-position: 0 0;
}

#cd-lateral-nav .socials a.cd-github {
  background-position: -32px 0;
}

#cd-lateral-nav .socials a.cd-facebook {
  background-position: -64px 0;
}

#cd-lateral-nav .socials a.cd-google {
  background-position: -96px 0;
}

.no-touch #cd-lateral-nav .socials a:hover {
  background-color: #4e6361;
}

.no-touch #cd-lateral-nav .socials a:hover.cd-twitter {
  background-position: 0 -32px;
}

.no-touch #cd-lateral-nav .socials a:hover.cd-github {
  background-position: -32px -32px;
}

.no-touch #cd-lateral-nav .socials a:hover.cd-facebook {
  background-position: -64px -32px;
}

.no-touch #cd-lateral-nav .socials a:hover.cd-google {
  background-position: -96px -32px;
}