body {
  background: #f9f9f9;
}
.header {
  width: 100%;
  height: 30px;
  padding-bottom: 98px;
  background: #333;
}

.header a:hover {
  color: #fff;
}

.header > div {
  width: 1200px;
  margin: 0 auto;
}

.header-nav {
  float: left;
  height: 30px;
  line-height: 30px;
}

.header-nav ul {
  display:inline-block;
}

.header-nav li {
  position: relative;
  display: inline-block;
  font-size: 12px;
}

.header-nav a {
  color: #ccc;
}

.header-nav b {
  display: inline-block;
  width: 1px;
  height: 11px;
  margin: 0 18px;
  background: #cbcbcb;
  vertical-align: middle;
}

.header-nav i {
  position: absolute;
  top: 23px;
  left: 25px;
  z-index: 112;
  display: none;
  width: 6px;
  height: 7px;
  background: url(http://static2.biyao.com/pc/common/img/master/comSprite.png?v=biyao_78cb01c) -63px 0 no-repeat;
}

.header-nav dl {
  position: absolute;
  top: 30px;
  left: -69px;
  z-index: 112;
  display: none;
  background: #fff;
  padding: 9px;
}

.header-nav dt {
  background: url(http://static3.biyao.com/pc/common/img/master/app.png?v=biyao_42175f7) no-repeat;
  width: 171px;
  height: 171px;
}

.header-nav dd {
  font-size: 14px;
  line-height: 24px;
  color: #666;
  text-align: center;
}

.header-nav li:hover i,
.header-nav li:hover dl {
  display: block;
}

/*用户信息*/
.header-user {
  float: right;
  height: 30px;
}

/*未登录状态*/
.user-out {
  display: inline-block;
  height: 30px;
  line-height: 30px;
  color: #cdcdcd;
}

.user-out a {
  color: #ccc;
}

.user-out b {
  display: inline-block;
  width: 1px;
  height: 10px;
  margin: 0 16px;
  background: #ccc;
  vertical-align: middle;
}

.user-out ul {
  display: inline-block;
  margin: 0 0 0 8px;
}

.user-out li {
  display: inline-block;
}

/*登录状态*/
.user-login {
  display: inline-block;
  height: 30px;
  line-height: 30px;
  color: #cdcdcd;
}

.user-login span {
  display: inline-block;
  margin-right: 35px;
}

.user-login a {
  padding-left: 10px;
  color: #ccc;
}

/*个人中心*/
.user-center {
  position: relative;
  display: inline-block;
  height: 30px;
}

.user-center > a {
  color: #ccc;
}

.user-center b {
  display: inline-block;
  width: 9px;
  height: 4px;
  margin-left: 10px;
  background: url("http://static4.biyao.com/pc/common/img/master/comSprite.png?v=biyao_78cb01c") 0 -102px no-repeat;
  vertical-align: middle;
}

.user-center:hover b {
  background: url("http://static.biyao.com/pc/common/img/master/comSprite.png?v=biyao_78cb01c") 0 -88px no-repeat;
}

.user-center:hover i,
.user-center:hover ul {
  display: block;
}

.user-center i {
  position: absolute;
  top: 16px;
  left: 25px;
  z-index: 112;
  display: none;
  width: 6px;
  height: 7px;
  background: url(http://static1.biyao.com/pc/common/img/master/comSprite.png?v=biyao_78cb01c) -63px 0 no-repeat;
}

.user-center ul {
  position: absolute;
  top: 23px;
  left: -20px;
  z-index: 112;
  display: none;
  border: 1px solid #eae8eb;
  border-top: 0;
  box-shadow: 0 0 3px #eae8eb;
  background: #fff;
}

.user-center li {
  width: 90px;
  text-align: center;
}

.user-center li a {
  display: inline-block;
  color: #8c8292;
  line-height: 35px;
}

.user-center li a:hover {
  color: #8c8292;
  text-decoration: underline;
}

/*购物车*/
.header-user > a {
  display: inline-block;
  width: 90px;
  height: 30px;
  margin-left: 38px;
  padding-left: 20px;
  line-height: 30px;
  background: #513767 url("http://static2.biyao.com/pc/common/img/master/shopCar.png?v=biyao_b27f89c") no-repeat 15px 7px;
  font-size: 12px;
  color: #fff;
  text-align: center;
}

.header-user > a i {
  padding-left: 4px;
}

/*类目导航*/
.nav {
  position: absolute;
  left: 0;
  top: 30px;
  z-index: 110;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 4px #d8d8d8;
}

.nav-normal {
  width: 1200px;
  margin: 0 auto;
}

.nav-normal > a {
  float: left;
  width: 231px;
  height: 98px;
  background: url("http://static3.biyao.com/pc/common/img/master/logo.png?v=biyao_4637d54") 0 center no-repeat;
}


.nav-normal a.nav-active {
  border-bottom: 4px solid #523669;
  color: #523669;
}

/*一级导航*/
.nav-normal > div {
  float: right;
  height: 37px;
  margin-top: 42px;
  overflow: hidden;
}

.nav-main > li > a,
.nav-normal > div > a {
  display: inline-block;
  margin: 0 20px;
  padding-bottom: 12px;
  border-bottom: 4px solid transparent;
  font-size: 16px;
  color: #333;
}

.nav-normal div > b {
  display: inline-block;
  margin-left: 15px;
  cursor: pointer;
}

.nav-normal div > b span{
  font-weight: normal;
  font-size: 16px;
  color: #333;
}

.nav-normal div > b:hover span {
  color: #523669;
}

.nav-normal div i {
  display: inline-block;
  width: 24px;
  height: 20px;
  background: url("http://static4.biyao.com/pc/common/img/master/category-up.png?v=biyao_0d1a7af") 100% 25% no-repeat;
  vertical-align: middle;
}

.nav-normal .nav-main {
  display: inline-block;
  position: relative;
  top: 0px;
  width: 648px;
  vertical-align: top;
}

.nav-main > li {
  position: relative;
  float: left;
  cursor: pointer;
}

.nav-main > li:hover {
  height: 70px;
}

.nav-main > li:hover .nav-sub,
.nav-main > li:hover b {
  display: block;
}

.nav-main b {
  position: absolute;
  top: 50px;
  display: none;
  margin-left: 23px;
  width: 0;
  border: 8px solid transparent;
  border-bottom-color: #fff;
}

.nav-main .nav-sub {
  position: absolute;
  top: 66px;
  left: 0;
  display: none;
  min-width: 136px;
  padding: 10px 0;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 3px 5px #d8d8d8;
}

.nav-sub a {
  display: block;
  height: 40px;
  padding: 0 15px;
  line-height: 40px;
  font-size: 16px;
  color: #333;
  white-space: nowrap;
}

.nav-sub a:hover {
  background: #f0f0f0;
}

/*菜单缩进显示用户信息*/
.nav-normal p {
  float: right;
  display: none;
  height: 48px;
  line-height: 48px;
  margin-left: 80px;
}

.nav-normal p a {
  position: relative;
  top:16px;
  display: block;
  width:16px;
  height:16px;
  margin-right: 15px;
  background:url(http://static.biyao.com/pc/common/img/master/shopping.png?v=biyao_5cd9275) center center no-repeat;
  cursor: pointer;
}

.nav-normal p i {
  position: absolute;
  top: -8px;
  left: 8px;
  display: block;
  height: 15px;
  width: 15px;
  line-height: 15px;
  font-size: 12px;
  font-weight: normal;
  color: #fff;
  background: red;
  text-align: center;
  border-radius: 50% 50%;
}

/*导航菜单缩进显示*/
div.retract {
  position: fixed;
  top: 0;
}

div.retract .nav-normal > a {
  width: 163px;
  height: 48px;
  background: url("http://static1.biyao.com/pc/common/img/master/logo-retract.png?v=biyao_349db2a") 0 center no-repeat;
}

div.retract .nav-normal p {
  display: block;
}

div.retract .nav-normal div {
  margin-top: 11px;
}

div.retract .nav-main > li:hover {
  height: 50px;
}

div.retract .nav-main b {
  top: 32px;
}

div.retract .nav-sub {
  top: 48px;
}

/*分享*/
.shareCon {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 110;
  display: none;
  height: 100%;
  width: 100%;
  background: rgba(0,0,0,.5);
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#7F000000,endColorstr=#7F000000)\9;
}

.shareCon > div {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 450px;
  margin-left: -245px;
  margin-top: -115px;
  padding: 0 20px 25px;
  background-color: #fff;
}

.shareCon p {
  position: relative;
  height: 40px;
  border-bottom: 1px dotted #ccc;
  line-height: 40px;
  font-size: 18px;
  background-color: #fff;
}

.shareCon b {
  position: absolute;
  top: 14px;
  right: 5px;
  display: block;
  height: 16px;
  width: 16px;
  background: url(http://static1.biyao.com/pc/common/img/master/cls_btn.png?v=biyao_b68db81) no-repeat;
  cursor: pointer;
}

.share-main {
  padding-top: 15px;
  overflow: hidden;
}

.share-main dl {
  float: left;
  padding-top: 8px;
  padding-right: 25px;
  border-right: 1px solid #e8e8e8;
  vertical-align: middle;
}

.share-main dt {

}

.share-main img {
  width: 120px;
  height: 120px;
}

.share-main dd {
  line-height: 24px;
  color: #666;
}

.share-main ul {
  float: left;
  padding-top: 40px;
  vertical-align: middle;
}

.share-main li {
  float: left;
  margin-left: 15px;
  vertical-align: middle;
}

.share-main a {
  display: block;
  width: 50px;
  height: 50px;
  vertical-align: middle;
  background: url("http://static2.biyao.com/pc/common/img/master/share_new.png?v=biyao_311e1df") top left no-repeat;
}

.share-main span {
  display: block;
  margin-top: 15px;
  font-size: 14px;
  color: #666;
}

.share-qq a {
  background-position: -10px -190px;
}

.share-sina a {
  background-position: -10px -130px;
}

.share-facebook a {
  background-position: -10px -70px;
}

.share-twitter a {
  background-position: -10px -10px;
}

/*页脚*/
.footer {
  width: 1200px;
  height: 125px;
  margin: 60px auto 0;
  padding-top: 38px;
  background: #fff;
  overflow: hidden;
}

/*页脚左侧操作栏*/
.footer-info {
  float: left;
  margin-left: 136px;
}

.footer-code {
  float: left;
  margin-left: 120px;
}

.footer-info ul {

}

.footer-info li {
  display: inline-block;
  padding-right: 15px;
  margin-right: 15px;
  border-right: 2px solid #ddd;
}

.footer-info li:last-child {
  border: none;
}

.footer-info li a {
  color: #724a88;
  font-size: 14px;
}

.footer-info span {
  display: block;
  margin: 10px 0;
  color: #999;
}

.footer-info p {

}

.footer-info i {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 3px;
  background: url("http://static3.biyao.com/pc/common/img/master/ga.png?v=biyao_7b189f5") left center no-repeat;
  vertical-align: middle;
}

.footer-info p a {
  color: #999;
}

/*页脚右侧二维码*/
.footer-code li {
  float: left;
  margin-right: 40px;
}

.footer-code span {
  display: inline-block;
  width: 84px;
  height: 84px;
  margin-right: 15px;
  vertical-align: middle;
}

.code-down {
  background: url("http://static4.biyao.com/pc/common/img/master/comSprite.png?v=biyao_78cb01c") -139px 0 no-repeat;
}

.code-active {
  background: url("http://static.biyao.com/pc/common/img/master/comSprite.png?v=biyao_78cb01c") -238px 0 no-repeat;
}

.footer-code dl {
  display: inline-block;
  vertical-align: middle;
  line-height: 28px;
}

.footer-code dt {
  font-size: 14px;
}

.footer-code dd {
  font-size: 14px;
  color: #724a88;
}