*{
    margin: 0;
    padding: 0;
}
ul,ol{
    list-style: none;
}
a{
    text-decoration: none;
    /*color: #999999;*/
    -webkit-transition: all .5s ease-in;
    -moz-transition: all .5s ease-in;
    -o-transition: all .5s ease-in;
    transition: all .5s ease-in;
}
img{
    border: none;
}
header,section,article,label,nav{
    display: block;
}
.clear:after{
    content: '';
    display: block;
    height: 0;
    visibility: hidden;
    clear: left;
}
body{
    background-color: #f5f5f5;
    font-family:"微软雅黑",HelveticaNeue,"Helvetica-Neue",Helvetica,"BBAlpha Sans",sans-serif;
}
/*.header{
    width: auto;
    min-width: 1200px;
    height: 36px;
    border-bottom: solid 1px #e0e0e0;
    background-color: #ececec;
}*/
/*.header .header-navbar{
    margin: 0 auto;
    width: 1200px;
    height: 36px;
    font-size: 13px;
    color: #999999;
    line-height: 36px;
}
.header .header-navbar .renhe{
    float: left;
}
.header .header-navbar .register-nav{
    float: right;
}
.header .register-nav a{
    padding: 0 11px;
}
.header .register-nav a:link,.header .register-nav a:visited{
    color: #999999;
}
.header .register-nav a:hover,.header .register-nav a:active{
    color: #0069d0;
}
.header .register-nav a.onload, a.register{
    border-right: solid 1px #999999;
}*/
.index{
    margin: 0 auto;
    width: auto;
    min-width: 1200px;
    height: 131px;
    background-color: white;
}
.index .index-center{
    margin: 0 auto;
    width: 1200px;
    height: 131px;
}
.index .index-center .logo{
    float: left;
    margin-top: 34px;
    margin-left: 6px;
}
.index .index-center .logo-img{
    width: 297px;
    height: 44px;
    background: url('https://css.yaofang.cn/pc/images/logo-notmed.png') no-repeat;
    background-size: 296px 43px;
}
.index .search{
    float: left;
    margin-left: 96px;
    *margin-left: 53px;
    margin-top: 32px;
    width: 582px;
    *width: 630px;
    height: 69px;
}
.index .search .search-line{
    float: left;
    width: 583px;
    *width: 630px;
    height: 42px;
}
.index .search .text{
    float: left;
    width: 453px;
    height: 38px;
    text-indent: 1em;
    outline: solid 2px #a34dd4;
    border: none;
    color: #6e6b6b;
    *border: solid 2px #a34dd4;
    *line-height: 38px;
}
input.text::-ms-clear, input::-ms-reveal{
    display: none;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
    /* Webkit内核兼容CSS */
    .index .search .text:focus{
        height: 42px;
        margin-top: -2px;
    }
}
.index .search .search-btn{
    float: left;
    margin-top: -2px;
    *margin-top: 0;
    width: 128px;
    height: 42px;
    font-size: 18px;
    color: white;
    background-color: #a34dd4;
    border: solid 2px #a34dd4;
    *border: none;
    cursor: pointer;
}
.index .search .search-ul{
    float: left;
    margin-top: 13px;
}
.index .search .search-ul span{
    display: inline-block;
    padding: 0 17px;
    border-right: solid 1px #8e8e8e;
    font-size: 13px;
}
.index .search .search-ul span:last-child{
    border-right: none;
}
.index .search .search-ul a{
    color: #8e8e8e;
}
.index .search .search-ul a:hover{
    color: #a34dd4;
}
.hot-line{
    float: right;
    margin-top: 34px;
}
.hot-line a{
    position: relative;
    float: left;
    display: block;
    padding: 0 10px;
}
.remind{
    position: absolute;
    top: -10px;
    right: 0;
    padding: 1px 3px;
    background-color: #ec0e0e;
    color: white;
    font-size: 12px;
    border-radius: 50%;
    text-align: center;
    line-height: 19px;
}
.navbar{
    width: auto;
    min-width: 1200px;
    height: 38px;
    background-color: #242424;
}
.navbar .navbar-center{
    width: 1205px;
    margin: 0 auto;
}
.navbar a{
    float: left;
    /*display: inline-block;*/
    width: 120px;
    color: white;
    font-size: 16px;
    line-height: 38px;
    text-align: center;
    -webkit-transition: background-color .5s ease-in;
    -moz-transition: background-color .5s ease-in;
    -o-transition: background-color .5s ease-in;
    transition: background-color .5s ease-in;
}
.navbar a:hover{
    background-color: #a34dd4;
}
.active-last{
    background-color: #a34dd4;    
}
.nav-all{
    position: relative;
    margin: 14px auto 0 auto;
    width: 1200px;
    height: 413px;
}
.nav-all .nav-l{
    float: left;
    width: 186px;
    height: 413px;
}
.nav-all .nav-child{
    float: left;
    width: 186px;
    height: 69px;
    background-color: #a34dd4;
}
.nav-all .nav-tit{
    margin-top: 5px;
    margin-left: 20px;
    font-size: 15px;
    font-weight: bold;
}
.nav-all .nav-tit a{
    color: white;
}
.nav-all .nav-tit a:hover{
    color: #a34dd4;
}
.nav-all .nav-link{
    margin-left: 20px;
}
.nav-all .nav-link a{
    display: inline-block;
    width: 80px;
    font-size: 13px;
    color: white;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.nav-all .nav-link a:hover{
    text-decoration: underline;
}
.nav-all .nav-c{
    position: absolute;
    z-index: 99;
    left: 186px;
    display: none;
    width: 799px;
    min-height: 413px;
    height: auto;
    background-color: white;
}
.nav-all .nav-c .nav-classify{
    margin: 24px auto 0 auto;
    width: 766px;
    height: auto;
    /*border: solid 1px #e9eade;*/
}
.nav-all .nav-c .label-show{
    float: left;
    margin-top: 13px;
    width: 70px;
    height: 25px;
    background-color: #a34dd4;
    border-radius: 2px;
    font-size: 14px;
    color: white;
    text-align: center;
    line-height: 25px;
}
.nav-all .nav-c .label-link{
    float: left;
    margin-top: 8px;
    width: 695px;
    min-height: 45px;
    height: auto;
    word-break: keep-all;
    /*overflow: hidden;*/
    border-bottom: solid 1px #e9eade;
}
.nav-all .label-link a{
    float: left;
    font-size: 13px;
    margin-left: 18px;
    line-height: 34px;
}
.nav-all .label-link a:hover{
    color: #a34dd4;
}
.banner{
    float: right;
    position: relative;
    overflow: hidden;
    text-align: center;
    left: 0;
    top: 0;
}
.banner li{
    list-style: none;
}
.banner ul li{
    float: left;
}
.banner, .banner img{
    width: 1004px;
    height: 413px;
}
#banner .dots{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
}
#banner .dots li{
    *float: left;
    text-align: center;
    display: inline-block;
    vertical-align: top;
    margin: 0 7px 0 7px;
    width: 20px;
    height: 20px;
    text-indent: -999em;
    background-color: #afa7ae;
    border-radius: 50%;
    cursor: pointer;
    opacity: .6;
    filter: Alpha(opacity = 60);
    -webkit-transition: background .5s, opacity .5s;
    -moz-transition: background .5s, opacity .5s;
    -o-transition: background .5s, opacity .5s;
    transition: background .5s, opacity .5s;
}
#banner .dots li.active{
    width: 17px;
    height: 17px;
    border: solid 2px #fff;
    background-color: #a34dd4;
    opacity: .7;
    filter: Alpha(opacity=70);
}
.special{
    margin: 30px auto 0 auto;
    width: 1200px;
    height: 206px;
}
.special-pri{
    margin-top: 13px;
    width: 1200px;
    height: 161px;
    border: solid 1px #dddddd;
    border-right: none;
}
.sc-h  h4{
    margin-left: 2px;
    color: #1f1f1f;
    font-size: 22px;
}
.special-pri a{
    float: left;
    width: 239px;
    height: 161px;
    border-right: solid 1px #dddddd;
}
.special-pri img{   
    width: 239px;
    height: 161px;   
}
.common-med{
    margin: 40px auto 0 auto;
    width: 1200px;
    height: 315px;
}
.common-med .common-show{
    margin-top: 14px;
    width: 1200px;
    height: 271px;
}
.common-med .common-show li{
    position: relative;
    float: left;
    margin-right: 20px;
    width: 224px;
    height: 271px;
    background-color: white;
    overflow: hidden;
}
.common-med .common-show li:last-child{
    margin-right: 0;
}
.common-med .common-show a{
    position: relative;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    *display: inline-block;
    *font-size: 166px;
    *font-family: Arial;
    width: 224px;
    height: 271px;
}
.common-med .common-show img{
    vertical-align: middle;
    width:135px;
    height: 135px;
    overflow: hidden;
    -webkit-transition: all .5s ease-in;
    -moz-transition: all .5s ease-in;
    -o-transition: all .5s ease-in;
    transition: all .5s ease-in;
}
.common-med .common-show a:hover img{
    -webkit-transform: translate(0, -8px);
    -moz-transform: translate(0, -8px);
    -o-transform: translate(0, -8px);
    transform: translate(0, -8px);
}
.common-med .common-show .med-effect{
    width: 200px;
    height:20px;
    margin: 20px auto 0 auto;
    font-size: 15px;
    color: #313131;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.common-med .common-show .med-ad{
    color:#bbbbbb;
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width:200px;
    height:18px;
    margin: 0px auto;
}
.common-med .common-show .med-fav{
    margin-top: 8px;
    height:25px;
    font-size: 15px;
    color: #ca0000;
}
.common-med .med-fav span{
    font-size: 18px;
}
.light{
    position: absolute;
    top: 0;
    right: 0;
    width: 42px;
    height: 42px;
    background-color: #a34dd4;
    font-size: 15px;
    color: white;
    *line-height: 22px;
}
.roll-wrap{
    position: relative;
    width: 100%;
    height: 281px;
    overflow: hidden;
}
.roll-wrap:hover .control{
    display: block;
}
.control{
    position: absolute;
    top: 140px;
    width: 35px;
    height: 39px;
    text-align: center;
    line-height: 39px;
    display: none;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    background-color: #2b2b2b;
    font-size: 20px;
    z-index: 11;
}
.control:hover{
    background-color: #9f9f9f;
}
.control.pre{
    left: 0;
}
.control.next{
    right: 0;
}
.roll_row .roll__list{
    position: absolute;
    left: 0;
    top: 0;
    width: 9999px;
}
.stair{
    margin: 43px auto 0 auto;
    width: 1200px;
    height: 532px;
}
.stair h4{
    font-size: 24px;
}
.color-gr{
    color: #00cc99;
}
.color-pur{
    color: #7fabff;
}
.color-bl{
    color: #43a8f1;
}
.color-ye{
    color: #ffd304;
}
.color-pink{
    color: #ff39a2;
}
.color-blue2{
    color: #29a7e1;
}
.color-pink2{
    color: #fa507f;
}
.color-purple2{
    color: #600ba5;
}
.stair .stair-show{
    margin-top: 18px;
    width: 1200px;
    height: 487px;
}
.border-gr{
    border-top: solid 1px #00cc99;
}
.border-pur{
    border-top: solid 1px #7fabff;
}
.border-bl{
    border-top: solid 1px #43a8f1;
}
.border-ye{
    border-top: solid 1px #ffd304;
}
.border-pink{
    border-top: solid 1px #ff39a2;
}
.border-blue2{
    border-top: solid 1px #29a7e1;
}
.border-pink2{
    border-top: solid 1px #fa507f;
}
.border-purple2{
    border-top: solid 1px #600ba5;
}
.stair-l{
    position: relative;
}
.stair-l, .stair-l img{
    float: left;
    width: 223px;
    height: 487px;
    overflow: hidden;
}
.banner .dots{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}
.banner .dots li{
    *float: left;
    text-align: center;
    display: inline-block;
    vertical-align: top;
    margin: 0 7px 0 7px;
    width: 26px;
    height: 4px;
    text-indent: -999em;
    background-color: white;
    cursor: pointer;
    -webkit-transition: background .5s ease;
    -moz-transition: background .5s ease;
    -o-transition: background .5s ease;
    transition: background .5s ease;
}
.banner .dots li.active{
    width: 26px;
    height: 3px;
    background-color: #4095d4;
}


.stair-r{
    float: right;
    width: 972px;
    height: 485px;
    border: solid 1px #ededed;
    border-right: none;
    border-bottom: none;
    background-color: white;
}
.stair-r li{
    float: left;
    width: 242px;
    height: 242px;
    border-right: solid 1px #ededed;
    border-bottom: solid 1px #ededed;
}
.stair-r .product-tit{
    margin: 13px auto 0 auto;
    max-width: 216px;
    height:20px;
    font-size: 15px;
    color: #313131;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.stair .product-func{
    margin: 5px auto 0 auto;
    max-width: 216px;
    height:18px;
    font-size: 13px;
    color: #bbbbbb;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.stair .product-pri{
    margin: 8px auto 0 auto;
    max-width: 216px;
    height:25px;
    font-size: 18px;
    color: #ca0000;
}
.stair .product-pri span{
    font-size: 15px;
}
.stair .stair-r img{
    float: right;
    margin-right: 3px;
    width:150px;
    height:150px;
    -webkit-transition: all 0.5s ease-in;
    -moz-transition: all 0.5s ease-in;
    -o-transition: all 0.5s ease-in;
    transition: all 0.5s ease-in;
}
.stair .stair-r a:hover img{
    -webkit-transform: translate(0, -8px);
    -moz-transform: translate(0, -8px);
    -o-transform: translate(0, -8px);
    transform: translate(0, -8px);
}
.advert{
    margin-top: 29px;
    width: auto;
    height: 100px;
    background-color: #e0e0e0;
}
.advert .advert-c{
    margin: 0 auto;
    width: 1200px;
    height: 100px;
}
.advert .advert-c a{
    float: left;
    display: block;
}
.advert .advert-c img{
    display: block;
    width: 400px;
    height: 100px;
}

/*新左菜单*/
.nav-all .nav-l .lm_parent{
    width: 100%;
    height: 59px;
    background-color: #832db4;
    text-align: center;
 }
.nav-all .nav-l .lm_parent a{
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    line-height: 59px;
}
.nav-all .nav-l .lm_child li{
    width: 100%;
    height: 59px;
    background-color: #a34dd4;
    text-align: center;
}
.nav-all .nav-l .lm_child li a{
    font-size: 20px;
    color: #fff;
    line-height: 59px;
}


