/***** 手機menu *****/
.menu {
	float: left;
	width: 100%;
	min-height: 175px;
	line-height: 36px;
	padding: 0;
	margin-top: 30px;
	border-bottom:1px solid #d9d9d9;
}
.menu .sf-menu {
	float: left;
	width: 100%;
	white-space: nowrap;
}
.sf-menu li {
	float: left;
	width: 100%;
	margin: 0px;
	padding-left: 20px;
	position: relative;
	border-bottom: 1px dashed #fff;
	box-sizing: border-box;
}
.sf-menu li > a {
	position:relative;
	display: block;
	height: 45px;
	line-height: 45px;
	padding: 0 10px;
	color: #000;
	text-align: left;
}
.sf-menu li > a:before {
	position: absolute;
    display: block;
    content: " ";
    top: 50%;
    left: 0;
	margin-top:-3px;
    border: solid transparent;
    border-left: 5px solid #000;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}
.sf-menu > li + li {
}
.sf-menu li:last-child {
}
.sf-menu li:hover, .sf-menu li.sfHover, .sf-menu .active {
}
.sf-menu li:hover > a, .sf-menu li.sfHover > a, .sf-menu .active > a {
	color: #FF3366;
}
.sf-menu a {
	display: block;
	line-height: 30px;
	color: #8e8e8e;
}
.sf-menu a span {
	text-shadow: 1px 1px 1px #000;
}
/**/
.sf-menu li ul {
	position: absolute;
	display: none;
	width: 150px;
	top: -8px;
	right: -160px;
	zoom: 1;
	z-index: 100;
	margin: 0px;
	padding: 10px 0 10px 0;
	background: #fff;
	border: 5px solid #ccb7de;
}
.sf-menu li li {
	float: left;
	width: 100%;
	height: 30px;
	margin: 0 0 0 1px;
	padding: 0;
	background: url(../images/list_002.png) no-repeat 0px 5px;
}
.sf-menu li li:last-child {
	border: none;
}
.sf-menu li li a {
	display: block;
	width: 120px;
	height: 30px;
	line-height: 30px;
	margin: 0px auto;
	padding-left: 20px;
	font-size: 14px;
	text-align: left;
	position: absolute;
	left: -1px;
}
.sf-menu li li:hover > a, .sf-menu li li.sfHover > a, .sf-menu li .active > a {
	color: #ff3366 !important;
}
.sf-menu li:hover ul, .sf-menu li.sfHover ul {
	top: -8px;
	right: -160px;
	z-index: 100;
}
/**/
.sf-menu li li ul {
	position: absolute;
	display: none !important;
	width: 150px;
	top: -10px !important;
	right: -150px !important;
	zoom: 1;
	z-index: 100;
	margin: 0px;
	padding: 10px 0 10px 0;
	background: #ccb7de !important;
	border: none;
}
.sf-menu li li:hover ul, .sf-menu li li.sfHover ul {
	display: block !important;
	top: -10px !important;
	right: -150px !important;
	z-index: 100;
}
.sf-menu li li li {
	background: none;
	border: none;
}
.sf-menu li li li a {
	color: #fff;
}
/**/
.sf-menu li.sub-menu:after {
	display: block;
	background: url(../images/list_003.png) no-repeat center;
	content: "";
	width: 16px;
	height: 16px;
	margin-top: 0;
	z-index: 100;
	position: absolute;
	right: 5px;
	top: 30%;
}
.sf-menu li.sub-menu li.sub-menu:after {
	display: block;
	background: url(../images/list_003.png) no-repeat center;
	content: "";
	width: 16px;
	height: 16px;
	margin-top: 0;
	z-index: 100;
	position: absolute;
	top: 20%;
}
/**/


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

Modules - reusable parts of our design

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

body.overflow-hidden, body.overflow-hidden .wrapper {
	overflow: hidden !important;
}
body .overlay {
	display:block;
	background: rgba(29, 29, 31, .6);
    z-index: 1000;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
		-webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    opacity: 0;
    filter: alpha(opacity=0);
    visibility: hidden;
}
body.overflow-hidden .overlay {
	visibility: visible;
  opacity: 1;
  filter: alpha(opacity=100);
}

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

Main components 

-------------------------------- */
html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.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;
  z-index: 2;
  /* 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(0px);
  -moz-transform: translateX(0px);
  -ms-transform: translateX(0px);
  -o-transform: translateX(0px);
  transform: translateX(0px);
	
}
@media only screen and (min-width: 1000px) {
  .cd-main-content {
  }
}

.header, #cd-menu-trigger {
  /* 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(0px);
  -moz-transform: translateX(0px);
  -ms-transform: translateX(0px);
  -o-transform: translateX(0px);
  transform: translateX(0px);
}
.header.is-fixed {
  position: fixed;
}
#cd-menu-trigger.is-clicked {
  -webkit-transform: translateX(260px);
  -moz-transform: translateX(260px);
  -ms-transform: translateX(260px);
  -o-transform: translateX(260px);
  transform: translateX(260px);
}
@media only screen and (min-width: 1000px) {
  header {
    height: 70px;
  }
}

#cd-logo {
  display: block;
  float: left;
  margin: 12px 0 0 20px;
}
#cd-logo img {
  display: block;
}
@media only screen and (min-width: 1000px) {
  #cd-logo {
    margin: 22px 0 0 30px;
  }
}

#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);
}
@media only screen and (min-width: 1000px) {
  #cd-top-nav {
    display: block;
  }
}

#cd-menu-trigger {
  position: absolute;
    left: 10px;
    top: 13px;
    height: 30px;
    width: 33px;
    z-index: 999;
}
#cd-menu-trigger .cd-menu-text {
  height: 100%;
  text-transform: uppercase;
  color: #000;
  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: 15px;
  border-bottom: #000 2px solid;
	transition: all 0.3s linear;
  /* 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: 2px;
  position: absolute;
  background-color: inherit;
  left: 0;
	transition: all 0.3s linear;
}
#cd-menu-trigger .cd-menu-icon::before {
  top: 0;
  border-top: #000 2px solid;
}
#cd-menu-trigger .cd-menu-icon::after {
  top:50%;
   border-top: #000 2px solid;
	 margin-top:-0.5px;
}
#cd-menu-trigger.is-clicked .cd-menu-icon {
	border: none;
}
#cd-menu-trigger.is-clicked .cd-menu-icon::before, #cd-menu-trigger.is-clicked .cd-menu-icon::after {
   top: 6px;
}
#cd-menu-trigger.is-clicked .cd-menu-icon::before {
  left: -1px;
  -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 {
  -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: 1000px) {
  #cd-menu-trigger {
  	display: none;
    width: 110px;
    padding-left: 1.25em;
  }
  #cd-menu-trigger .cd-menu-text {
    display: inline-block;
    line-height: 35px;
  }
  #cd-menu-trigger .cd-menu-icon {
    left: auto;
    right: 1.25em;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
}

#cd-lateral-nav {
  position: fixed;
  height: 100%;
  left: 0;
  bottom: 0;
	padding-bottom: 44px;
  box-sizing: border-box;
  visibility: hidden;
  /* the secondary navigation is covered by the main element */
  z-index: 9999;
  width: 260px;
  background-color: #FFF;
  /*overflow-y: auto;*/
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-transition: -webkit-transform .4s 0s, visibility 0s .4s;
  -moz-transition: -moz-transform .4s 0s, visibility 0s .4s;
  transition: transform .4s 0s, visibility 0s .4s;
  /* this creates the subtle slide in animation of the navigation */
  -webkit-transform: translateX(-260px);
  -moz-transform: translateX(-260px);
  -ms-transform: translateX(-260px);
  -o-transform: translateX(-260px);
  transform: translateX(-260px);
}
#cd-lateral-nav .cd-lateral-scroll {
	overflow-y: auto;
  height: 100vh;
  padding-bottom: 50px;
  box-sizing: border-box;
}
#cd-lateral-nav .cd-navigation {
  padding-top: 10px;
}
#cd-lateral-nav .sub-menu {
  padding: 0 10px 20px 15px;
  display: none;
  box-sizing: border-box;
}
#cd-lateral-nav a {
  display: block;
  line-height: 2em;
  padding: 5px 16px 5px 32px;
  color: #000;
}
#cd-lateral-nav .sub-menu li li a {
	color: #000;
}
#cd-lateral-nav a.current {
  background-color: #3a4a4d;
  color: #FFF;
}
.no-touch #cd-lateral-nav a:hover {
  color: #FFF;
}
@media only screen and (min-width: 1000px) {
  #cd-lateral-nav .cd-navigation {
    margin: 20px 0;
  }
}
#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);
  visibility: visible;
  -webkit-transition: -webkit-transform .4s 0s, visibility 0s 0s;
  -moz-transition: -moz-transform .4s 0s, visibility 0s 0s;
  transition: transform .4s 0s, visibility 0s 0s;
  /* 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;
  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;
  font-family: "Flaticon";
  content: "\f111";
  font-size: 12px;
  -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: 10px 32px;
  /*border-bottom: #cec8b6 1px solid;*/
  background: #FFF;
}
#cd-lateral-nav .socials:after {
  content: "";
  display: table;
  clear: both;
}
#cd-lateral-nav .socials a {
  height: 32px;
  width: 32px;
  float: left;
  text-align: center;
  line-height: 32px;
  padding: 0;
  margin-left: 9px;
  color: #FFF;
  background-color: #b39978;
  border-radius: 100%;
}
#cd-lateral-nav .socials a:first-child {
	margin-left: 0;
}
#cd-lateral-nav .socials a.line img {
	width: 25px;
    margin-top: 5px;
}
#cd-lateral-nav .socials a i {
	line-height: 32px;
    font-size: 20px;
}
#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;
}

#cd-lateral-nav .cd-bottom-btn {
	position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
	margin:0;
}
#cd-lateral-nav .cd-bottom-btn li {
	float:left;
	width:33.33%;
	text-align:center;
}
#cd-lateral-nav .cd-bottom-btn a {
	display:block;
	padding:0;
	height:43px;
	overflow:hidden;
	border-right: 1px solid #e4e4e4;
  border-top: 1px solid #e4e4e4;
}
#cd-lateral-nav .cd-bottom-btn a:hover span.icon,
#cd-lateral-nav .cd-bottom-btn.nav-up a span.icon {
	margin-top:-43px;
}
#cd-lateral-nav .cd-bottom-btn a:hover span.zh,
#cd-lateral-nav .cd-bottom-btn.nav-up a span.zh {
	
}
#cd-lateral-nav .cd-bottom-btn a span {
	display:block;
	padding:15px 0;
	color:#000;
	-webkit-transition: all 300ms cubic-bezier(.25, .46, .45, .94);
  -moz-transition: all 300ms cubic-bezier(.25, .46, .45, .94);
  transition: all 300ms cubic-bezier(.25, .46, .45, .94);
}
#cd-lateral-nav .cd-bottom-btn a span.icon {
	font-size: 20px;
  padding: 12px 0;
}
#cd-lateral-nav .cd-bottom-btn a span.zh {
	padding:8px 0;
}
