/* CSS Document */
* {
    margin: 0px;
    padding: 0px;
}

body {
    font-family: myfont;
    font-size: 14px;
    background: url(../images/body_bg.jpg) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

@font-face {
    font-family: myfont;
    src: url(../font/yueyuan.otf);
}

.clear {
    font-size: 0px;
    clear: both;
    line-height: 0px;
    height: 1px;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {
    min-height: 1px;
}

img {
    border: none;
    vertical-align: top;
    /*cursor: pointer;*/
}

a, a:link, a:visited {
    color: #000;
    font-weight: normal;
    text-decoration: none
}

ul {
    list-style: none;
}

input, textarea, button {
    outline: none;
    border: none;
    background: none;
}

h1 {
    font-size: 20px;
}

h1 span {
    color: red;
}

h2 {
    font-size: 18px;
}

/* 头部公用 */
.top {
    width: 100%;
    height: 82px;
    position: fixed;
    z-index: 999;
    top: 0;
    background: rgba(255, 255, 255, 0.75);
    border-bottom: 2px solid #fff;
}

header {
    width: 1200px;
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -600px;
}

.logo {
    width: 165px;
    height: 72px;
    padding-top: 10px;
    float: left;
}

.login {
    float: left;
    margin-left: 30px;
    font-size: 14px;
}

.login a {
    display: block;
    color: #666;
    margin-top: 18px;
}

.login a:hover {
    color: #8c6a55;
}

#loged a {
    display: inline-block;
}

.nav {
    float: right;
}

.nav li {
    float: left;
    font-size: 20px;
    width: 160px;
    text-align: center;
    border-right: 2px solid #fff;
    cursor: pointer;
}

.nav li a {
    display: block;
    height: 32px;
    padding-top: 50px;
    color: #666;
}

.nav li a:hover {
    color: #8c6a55;
    background: #fff;
}

.nav li .current {
    color: #8c6a55;
    background: #fff;
}

/* 首页 */
.search {
    padding: 30px 0;
    background: #fafafa
}

.search .ss {
    width: 600px;
    margin: auto;
    position: relative;
}

.search .ss input {
    width: 590px;
    height: 40px;
    padding-left: 10px;
    border: 1px solid #f2f2f2;
    background: #fff;
}

.search .ss button {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}

.about {
    padding: 50px 0;
    background: #fff;
}

section {
    width: 1200px;
    margin: auto;
}

.about .a-l {
    width: 540px;
    float: left;
    height: 360px;
    overflow: hidden;
}

.about .a-l img {
    transform: scale(1);
    transition: 0.5s;
}

.about .a-l img:hover {
    /*cursor: pointer;*/
    transform: scale(1.05);
}

.about .a-r {
    width: 600px;
    float: right;
    height: 360px;
    position: relative;
}

.about .a-r p {
    margin-top: 30px;
}

.about .a-r .more {
    position: absolute;
    bottom: 0;
}

.about .a-r .more a {
    width: 140px;
    line-height: 30px;
    border-radius: 5px;
    background: #8c6a55;
    color: #fff;
    display: inline-block;
    text-align: center;
}

.about .a-r .more a:hover {
    box-shadow: 3px 3px 3px #888888;
}

.hot {
    background: #fafafa;
    padding: 50px 0;
}

.hot h1 {
    border-bottom: 2px solid #f2f2f2;
    padding-bottom: 20px;
}

.hot h1 a {
    float: right;
    font-size: 14px;
    padding-top: 5px;
}

.hot-pic li {
    width: 270px;
    float: left;
    margin-right: 40px;
    text-align: center;
    margin-top: 40px;
    cursor: pointer;
    height:200px;
}

.hot-pic li:nth-child(4n) {
    margin-right: 0;
}

.hot-pic li span {
    line-height: 40px;
    display: block;
}

.hot-pic li:hover {
    box-shadow: 5px 10px 10px 5px #888888;
}

.hot-pic li:hover a {
    color: #8c6a55
}

.b-pic {
    height: 300px;
    background: rgba(0, 0, 0, 0.4)
}

.news {
    background: #fff;
}

.news .news-list li {
    width: 30%;
    float: left;
    margin-top: 30px;
    margin-right: 5%;
    line-height: 60px;
}

.news .news-list li:nth-child(3) {
    margin-right: 0;
}

.news .news-list li p {
    border-bottom: 1px solid #8c6a55;
    position: relative;
}

.news .news-list li p .more {
    position: absolute;
    right: 0;
    top: 28px;
}

.news .news-list li p .more:hover {
    margin-right: -5px;
}

.join {
    padding: 50px 0;
    background: #fafafa;
    text-align: center;
}

figure {
    margin: 30px auto;
    overflow: hidden;
    display: inline-block;
}

.join .jrwm {
    transform: scale(1);
    transition: 0.5s;
}

.join .jrwm:hover {
    /*cursor: pointer;*/
    transform: scale(1.05);
}

.join .join-us {
    font-size: 16px;
}

/* 底部公用 */
footer {
    background-color: #fff;
    padding: 40px 0;
    border-top: 2px solid #f2f2f2;
    text-align: center;
    font-size: 12px;
}

footer .nav2 {
    margin-bottom: 20px;
}

footer .nav2 a {
    font-size: 16px;
}

footer .nav2 a:hover {
    text-decoration: underline;
}

/* 关于我们 */
.content {
    background: #fff;
    margin: auto;
    padding-bottom: 50px;
}

.content .tit {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

.content .tit p {
    font-size: 12px;
    color: #ccc;
    border-bottom: 1px solid #f2f2f2;
    margin: 30px auto;
}

.page {
    padding: 15px 0;
}

.line1 {
    margin-bottom: 30px;
}

.content .menu {
    float: left;
}

.content .menu li {
    width: 300px;
    line-height: 70px;
    text-align: center;
    border-bottom: 2px dashed #f2f2f2;
    font-size: 16px;
}

.content .menu li a.on {
    font-weight: bold;
}

.content .menu .l1 {
    background: -webkit-linear-gradient(top, #8c6a55 0%, #a27b62 100%);
    color: #fff;
    border: none;
}

.content .menu li a {
    display: block;
}

.content .menu li a:hover {
    font-weight: bold;
}

.content .about-txt {
    width: 850px;
    float: right;
}

.content .about-txt p {
    line-height: 40px;
    text-indent: 2em;
}

.content .about-txt h2 {
    margin: 40px auto;
    text-decoration: underline;
}

/* 新闻中心 */
.news-list2 {
}

.news-list2 li {
    overflow: hidden;
    padding: 15px;
    background: #fafafa;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    margin-bottom: 20px;
}

.news-list2 li .n-pic {
    width: 250px;
    height: 150px;
    float: left;
    overflow: hidden;
    margin-right: 40px;
}

.news-list2 li h2 {
    width: 600px;
    height: 130px;
    float: left;
    padding-top: 20px;
}

.news-list2 li:hover {
    box-shadow: 3px 3px 3px #888888;
    background: #8c6a55;
}

.news-list2 li .date {
    width: 200px;
    height: 130px;
    float: right;
    padding-top: 20px;
    text-align: center;
    position: relative;
    font-size: 18px;
    color: #ccc;
}

.news-list2 li .date .more {
    display: inline-block;
    width: 78px;
    line-height: 36px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 25px;
    color: #ccc;
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -40px;
    font-size: 14px;
}

.news-list2 li:hover h2 {
    color: #fff;
}

.page2 {
    text-align: right;
}

.page2 a, .page2 span {
    display: inline-block;
    padding: 4px 15px;
    border: 1px solid #f2f2f2;
    margin-left: 5px;
}

.page2 a:hover, .page2 .on {
    background: #8c6a55;
    color: #fff;
}

/* 新闻详情 */
.n_dtl p {
    line-height: 40px;
}

.n_dtl img {
    margin: 30px auto;
}

/* 药品展示 */
.product-list li {
    width: 30%;
    float: left;
    margin-right: 5%;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    box-shadow: 3px 3px 3px 3px #888888;
    overflow: hidden;
    height:250px;
}

.product-list li:nth-child(3n) {
    margin-right: 0;
}

.product-list li p {
    position: absolute;
    bottom: 0;
    line-height: 40px;
    width: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    display: none;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

.product-list li p a {
    color: #fff;
}

.product-list li:hover p {
    display: block;
}

.product-list li img {
    transform: scale(1);
    transition: 0.5s;
}

.product-list li:hover img {
    transform: scale(1.05);
}

/* 产品详情 */
.p-l {
    width: 700px;
    float: left;
}

.p-r {
    width: 500px;
    float: right;
}

.p-r h1 {
    border-bottom: 1px dotted #ccc;
    padding-bottom: 10px;
    overflow: hidden;
}

.p-r h1 span {
    float: right;
    font-size: 12px;
    color: #000;
    padding-top: 5px;
}

.p-r h1 span i {
    color: red;
}

.p-r p {
    overflow: hidden;
    margin-top: 20px;
}

.p-r p span {
    float: right;
    width: 450px;
}

.p-r .size a {
    display: inline-block;
    width: 70px;
    margin-right: 15px;
    line-height: 24px;
    text-align: center;
    border: 1px solid #ccc;
}

.p-r p a:hover {
    border: 1px solid #ff6a00;
    color: #ff6a00;
}

.p-r p a.on {
    border: 1px solid #ff6a00;
    color: #ff6a00;
}

.p-r p .prz {
    color: red;
    font-weight: bold;
}

.p-r p .button {
    padding: 10px 30px;
    border: 1px solid #ff6a00;
    display: inline-block;
    margin-right: 20px;
    color: #ff6a00;
    cursor: pointer;
}

.p-r p .buy {
    background: #ff6a00;
    color: #fff;
}

.p-r p .buy:hover {
    background: rgba(255, 106, 0, .8);
    color: #fff;
}

/* 购物车 */
table th {
    height: 40px;
    background: #ebebeb;
}

table .t1 {
    text-align: left;
    padding-left: 20px;
}

table img {
    vertical-align: middle;
}

table td {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid #ebebeb;
}

table td span {
    margin-left: 30px;
}

.buy-now {
    text-align: right;
    border: 1px solid #ebebeb;
    line-height: 40px;
    margin-top: 30px;
}

.buy-now button {
    border: 1px solid #ff6a00;
    color: #ff6a00;
    width: 100px;
    height: 40px;
    float: left;
    cursor: pointer;
}

.buy-now span {
    color: #ff6a00;
}

.buy-now a, .buy-now button {
    display: inline-block !important;
    background: #ff6a00 !important;
    color: #fff !important;
    width: 100px !important;
    text-align: center !important;
    margin-left: 20px !important;
    float: none;
}

/* 本站说明 */
.c-l {
    width: 600px;
    float: left;
}

.c-l p {
    margin-bottom: 20px;
}

.c-r {
    width: 550px;
    float: right;
}

/* 登陆+注册 */
.wrapper {
    width: 450px;
    height: 450px;
    padding: 25px;
    position: absolute;
    top: 50%;
    margin-top: -250px;
    left: 50%;
    margin-left: -300px;
    background: rgba(255, 255, 255, 1);
}

.wrapper h1 {
    line-height: 50px;
    text-align: center;
    border-bottom: 1px solid #ebebeb;
}

.wrapper p {
    margin-top: 30px;
    overflow: hidden;
}

.wrapper .i1 {
    border: 1px solid #ebebeb;
    width: 430px;
    height: 40px;
    padding-left: 18px;
}

.wrapper p .fog {
    float: right;
    color: #0084ff;
}

.wrapper .i2 {
    background: rgb(255, 0, 0);
    color: #fff;
    width: 450px;
    height: 40px;
    text-align: center;
    cursor: pointer;
}

.wrapper .blue {
    color: #0084ff;
}

/* 订单+地址+密码 */
.about-txt table .tt {
    text-align: left;
    padding-left: 20px;
}

.about-txt table .tt input, .about-txt table .tt a {
    border: 1px solid #ebebeb !important;
    padding: 5px 20px !important;
}

.user div {
    margin-bottom: 30px;
}

.user div i {
    color: red;
}

.user div {
    overflow: hidden;
    line-height: 40px;
}

.user div .s-l {
    width: 100px;
    float: left;
    text-align: right;
}

.user div .s-r {
    float: left;
    margin-left: 30px;
}

.user .i01 {
    width: 200px;
    height: 30px;
    line-height: 30px;
    padding-left: 10px;
    border: 1px solid #a7a0a0;
}

.user .i02 {
    width: 500px;
    height: 30px;
    line-height: 30px;
    padding-left: 10px;
    border: 1px solid #a7a0a0;
}

.user .i03 {
    width: 150px;
    height: 30px;
    line-height: 30px;
    padding-left: 10px;
    border: 1px solid #a7a0a0;
}

.user .sub {
    padding-left: 130px;
}

.user .sub input {
    background: #ff6a00;
    color: #fff;
    padding: 4px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.center {
    text-align: center;
    font-size: 20px;
    line-height: 20px;
    padding-top: 100px;
    padding-bottom: 50px;
}

.center a {
    color: #666
}

.center a:hover {
    color: #8c6a55
}

/*分页css*/
#page {
    height: 40px;
    padding: 20px 0px;
}

#page a {
    /*display:block;  */
    /*float:left;  */
    margin-right: 10px;
    padding: 2px 12px;
    height: 24px;
    border: 1px #cccccc solid;
    background: #fff;
    text-decoration: none;
    color: #808080;
    font-size: 12px;
    line-height: 24px;
}

#page a:hover {
    color: #077ee3;
    border: 1px #077ee3 solid;
}

#page a.cur {
    border: none;
    background: #077ee3;
    color: #fff;
}

#page span {
    /*float:left;  */
    padding: 2px 12px;
    font-size: 12px;
    height: 24px;
    line-height: 24px;
    color: #bbb;
    border: 1px #ccc solid;
    background: #fcfcfc;
    margin-right: 8px;

}

#page span.pageRemark {
    border-style: none;
    background: none;
    margin-right: 0px;
    padding: 4px 0px;
    color: #666;
}

#page span.pageRemark b {
    color: red;
}

#page span.pageEllipsis {
    border-style: none;
    background: none;
    padding: 4px 0px;
    color: #808080;
}

.memu {
    display: none;
}

@media (max-width: 768px) {
    body, html {
        overflow-x: hidden
    }

    .top {
        background: rgba(234, 230, 230, 0.75);
    }

    .wrapper {
        width: 90%;
        margin: 0 auto;
        padding: 25px;
        position: absolute;
        top: 50%;
        margin-top: -250px;
        background: rgba(255, 255, 255, 1);
        left: 0;
    }

    .nav {
        background: #f5f5f5;
        margin-right: -2px;
        margin-top: 8px;
        display: none;
    }

    .nav li {
        float: none;
        font-size: 16px;
        width: 160px;
        text-align: center;
        cursor: pointer;
    }

    .nav li a {
        display: block;
        height: 22px;
        padding-top: 10px;
        color: #666;
    }

    .nav li .current {
        background: none;
    }

    section {
        width: 100%
    }

    .content .menu li {
        width: 25%;
        font-size: 14px;
        line-height: 40px;
        float: left;
    }

    .content .menu .l1 {
        width: 100%;
    }

    .content .about-txt {
        width: 100%;
        float: none;
    }

    .tit img {
        width: 80%
    }

    header {
        width: 100%;
        left: 0;
        margin-left: 0;

    }

    .c-l, .c-r {
        width: 94%;
        margin: 0 auto;
        float: none;
    }

    footer .nav2 a {
        font-size: 14px;
    }

    .banner {
        height: 82px;
    }

    .banner img {
        height: 82px;
    }

    .memu {
        position: absolute;
        right: 10px;
        top: 30px;
        color: #333;
        font-weight: bolder;
        font-size: 20px;
        display: block;
    }

    .product-list li {
        width: 45%;
        margin-left: 2%;
        margin-right: 2%;
        height:150px;
    }

    .product-list li:nth-child(3n) {
        margin-right: 2%;
    }

    #page span.pageRemark {
        margin-right: 10px;
    }

    .p-l {
        width: 100%;
        float: none;
    }

    .p-r {
        margin: 0 auto;
        width: 90%;
        float: none;
    }

    h1 {
        font-size: 14px;
    }

    table {
        font-size: 12px;
    }

    table.shopcart td span {
        margin-left: 0px;
    }

    table.shopcart .t1 {
        padding-left: 0px;
    }

    .content .menu {
        width: 100%;
        float: none;
    }

    .addressform {
        padding-top: 120px;
    }

    .user .i02 {
        width: 200px;
        height: 78px;
    }

    .news-list2 {
        font-size: 12px;
    }

    .news-list2 li h2 {
        width: 100%;
        height: auto;
        float: none;
        padding-top: 10px;
    }

    .news-list2 li .n-pic {
        width: 100%;
        height: auto;
        float: none;
        overflow: hidden;
        margin-right: 0px;
    }

    .news-list2 li .date {
        height: 60px;
        font-size: 14px;
    }

    .news-list2 li .date .more {
        font-size: 12px;
    }

    .n_dtl img {
        margin: 0 auto;
        width: 100%;
    }

    .search .ss {
        width: 80%;
    }

    .search .ss input {
        width: 100%;
    }

    .about .a-l {
        width: 90%;
        float: none;
        height: auto;
        overflow: hidden;
        margin: 0 auto;
    }
    .about .a-r{
        width:100%;
        height:280px;
    }
    .about .a-r h1{
       padding:10px 20px;

    }
    .about .a-r p {
        width: 90%;
        margin: 0 auto;
    }
    .about .a-r .more{
        right: 5%;
    }
    .hot{
        padding:20px 5%;
    }
    .hot-pic li{
        width:50%;
        margin-right:0;
        height:160px;
    }
    .news .news-list li{
        width:100%;
    }
    .wrapper .i2{
        width:100%;
    }
    .buy-now a, .buy-now button{
        width:80px!important;
        margin-left:5px!important;
    }
    .p-r p span{float:none;width:100%;}
    .p_top{
        position:relative;
    }
    .p_banner{
        height:200px;
    }
    .p_banner img{
        height:200px;
    }
	.b-pic {
		height: 0px;
		background: rgba(0, 0, 0, 0.4)
	}
    .jrwm{
        width:100%!important;
    }
}