/*头部样式*/
.head{
    padding:10px 0;
}
.container{
    width: 1200px;
    margin: 0 auto;
}
.logo{
    float: left;
}
.head_top{
    float: right;
    width: 60%;
}
.heada{
    text-align: right;
    line-height: 2em;
    display: none;
    
}
.heada a{
    font-size: 14px;
    color: #333;
    margin:0 10px;
}
.search{
    display: none;
}
#formsearch{

}
#keyword{
    float: left;
}
.s_btn{
    float: right;
}
.hotSearch{

}
.hotSearch a{

}
.nav{

}
.nav li{
    float: left;
    width: 11.111%;
    position: relative;
}
.nav li a{
    display: block;
    font-size: 16px;
    color: #222;
    text-align: center;
    line-height: 3em;
}
.nav li .b_nav{
    display: none;
    position: absolute;
    top:40px;
    left:0px;
    z-index: 999;
    background-color: #171ce1;
    width: 100%;
}
.nav li .b_nav a{
    font-size: 14px;
    color: #fff;  
    line-height: 2em;  
}


.menu-button{
    display: none;
    position: absolute;
    top: 20px;
    right: 10px;
/*    padding: 7px;*/
    cursor: pointer;
    -webkit-transition: .3s;
    transition: .3s;
/*    background-color: #c52b31;*/
    z-index: 99999;
}
.menu-button .bar {
    display: block;
    height: 2px;
    background: #ccc;
    margin: 9px 0;
    opacity: 1;
    transition: all .5s ease;
    width: 35px;
    transform-origin: left center;
}

.mnav .bar:nth-child(1){
    transform:rotate(45deg);
    /*width: 40px;*/
}
.mnav .bar:nth-child(2){
    opacity: 0;
}
.mnav .bar:nth-child(3){
    transform:rotate(-45deg);
    position: relative;
    top: 2px;
    /*width: 40px;*/
}

.mobileNav{
    display: none;
    background-color: #c52b31;
    text-align: center;
    position: absolute;
    left:0;
    top:72px;
    z-index: 99999;
    width: 100%;
/*    height: 100vh;*/
}
.mobileNav li {
    line-height: 2em;
    padding:1em 0;
}
.mobileNav li a{
    font-size: 1rem;
    color: #fff;
}

@media(max-width: 1600px){

}
@media(max-width: 1440px){
    
}
@media(max-width: 1259px){
    .container{
        width: 96%;
    }
}
@media(max-width: 1024px){
    
}
@media(max-width: 768px){
    .menu-button{
        display: block;
    }
    .nav{
        display: none;
    }
}
@media(max-width: 640px){
    .logo{
        width: 40%;
/*        float: none;*/
    }
    .menu-button{
        top:25px;
    }

}


/*首页新闻*/

.news_company {
    width: 280px;
    float: right;
}

.news1_title {
    line-height: 31px;
    padding-left: 15px;
    font-weight: bold;
    font-family: "微软雅黑";
    background: url(nav.png)/*tpa=http://www.upgbio.com/template/default/images/nav.png*/ no-repeat 0% 100%;
    font-size: 14px;
    color: #000;
}

.news_company .content {
    padding: 5px;
}

/*首页左侧联系我们*/

.contact {
    width: 218px;
    float: left;
    padding-bottom: 5px;
    margin-top: 10px;
}

.contact_title {
    line-height: 31px;
    padding-left: 15px;
    font-weight: bold;
    font-family: "微软雅黑";
    background: url(nav.png)/*tpa=http://www.upgbio.com/template/default/images/nav.png*/ no-repeat 0% 100%;
    font-size: 14px;
    color: #000;
}

.contact .content {
    padding: 5px;
    padding-left: 8px;
}

/*工程案例*/

.case {
    width: 460px;
    float: left;
    margin-left: 12px;
    padding-bottom: 5px;
    margin-top: 10px;
}

.case_title {
    line-height: 31px;
    padding-left: 15px;
    font-weight: bold;
    font-family: "微软雅黑";
    background: url(nav.png)/*tpa=http://www.upgbio.com/template/default/images/nav.png*/ no-repeat 0% 100%;
    font-size: 14px;
    color: #000;
}

.case .content {
    padding: 5px;
    padding-bottom: 12px;
    text-indent: 20px;
}

.news2_company {
    margin-top: 10px;
}

/*产品推荐*/

.recommend_product {
    margin-top: 10px;
    width: 970px;
    float: right;
}

.recommend_product .title {
    line-height: 31px;
    padding-left: 15px;
    font-weight: bold;
    font-family: "微软雅黑";
    background: url(nav.png)/*tpa=http://www.upgbio.com/template/default/images/nav.png*/ no-repeat 0% 100%;
    font-size: 14px;
    color: #000;
}

.recommend_product .content {
    padding-top: 15px;
    padding-bottom: 14px;
}

.roll_product li {
    padding-bottom: 0px;
}

/*品牌列表*/

.brand-list {
    margin: 20px 0px;
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
}

.brand-list li {
    margin: 5px 8px;
}

.brand-list li:hover {
    box-shadow: 2px 1px 5px;
}

.brand-list li img {
    width: 150px;
    height: 120px;
}

/*前台多页签*/

.news {
    width: 1200px;
    float: left;
    margin-top: 10px;
}

.tab {
    position: relative;
}

.tab li {
    float: left;
    width: 100px;
    height: 30px;
    display: block;
    line-height: 30px;
    border: 1px solid #ccc;
    margin-right: 8px;
    text-align: center;
    color: #333;
    font-size: 12px;
    cursor: pointer;
}

.tab li.cur {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    background: #3a78c1;
    border-color: #3a78c1;
}

.tt {
    display: none;
}

.list1 {
    padding: 8px 10px;
}

.list1 li {
    line-height: 27px;
    position: relative;
    vertical-align: middle;
}

.list1 li a {
    background: url(list_dot1.gif)/*tpa=http://www.upgbio.com/template/default/images/list_dot1.gif*/ left center no-repeat;
    padding-left: 12px;
    line-height: 27px;
    color: #555555;
}

.list1 li a:hover {
    color: #e87518;
    text-decoration: none;
}

.list1 li span {
    position: absolute;
    right: 0px;
    line-height: 30px;
    top: 0;
    color: #999;
}

/*友情链接*/

.f_link {
    width: 1200px;
    margin: 0 auto;
    margin-top: 15px;
    line-height: 30px;
    line-height: 30px;
    background-color: #ececec;
    text-indent: 20px;
}

/*页面底部*/

#footer {
    position: relative;
    width: 1200px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 10px;
    padding-top: 8px;
    border-top: 2px solid #eee;
    margin-top: 15px;
}

#footer a {
    color: #666;
}

#footer a:hover {
    color: #e87518;
    text-decoration: none;
}

.nav_foot {
    text-align: center;
    line-height: 24px;
    color: #666;
}

.copyright {
    text-align: center;
    line-height: 24px;
}



/*product_list*/
.product_list{

}
.product_list li{
    float: left;
    width: 14.666%;
    margin:1%;
}
.product_list li a.img{
    display: block;
    width: 100%;
    overflow: hidden;
}
.product_list li img{
    width: 100%;
}
.product_list li a.img:hover img{
    scale(1.1)
}
.product_list li h3 a{
    font-size: 16px;
    color: #333;
    font-weight: normal;
    line-height: 2em;
    text-align: center;
    display: block;
}

/*主体样式*/

#container {
    width: 1200px;
    margin: 0 auto;
    margin-top: 10px;
}

.menu_cate {
    width: 220px;
    float: left;
}

.cate_title {
    line-height: 31px;
    padding-left: 15px;
    font-weight: bold;
    font-family: "微软雅黑";
    background: url(nav.png)/*tpa=http://www.upgbio.com/template/default/images/nav.png*/ no-repeat 0% 100%;
    font-size: 14px;
    color: #000;
}

.about {
    width: 460px;
    float: left;
    margin-left: 12px;
    padding-bottom: 5px;
}

.about_title {
    line-height: 31px;
    padding-left: 15px;
    font-weight: bold;
    font-family: "微软雅黑";
    background: url(nav.png)/*tpa=http://www.upgbio.com/template/default/images/nav.png*/ no-repeat 0% 100%;
    font-size: 14px;
    color: #000;
}

.about .content {
    padding: 5px;
    padding-bottom: 12px;
    text-indent: 20px;
}

.navigation {
    float: right;
    width: 100px;
}

.index-title {
    line-height: 31px;
    padding-left: 15px;
    font-weight: bold;
    font-family: "微软雅黑";
    background: url(nav.png)/*tpa=http://www.upgbio.com/template/default/images/nav.png*/ no-repeat 0% 100%;
    font-size: 14px;
    color: #000;
}

.index-table td {
    border: solid #add9c0;
    border-width: 0px 1px 1px 0px;
    padding: 10px 5px;
}

.index-table {
    border: solid #add9c0;
    border-width: 1px 0px 0px 1px;
    margin-top: 10px;
}

/*----- Common css ------*/

.fl {
    float: left;
}

.fr {
    float: right;
}

.di {
    _display: inline;
}

.fwn {
    font-weight: normal;
}

.dib {
    *display: inline;
    _zoom: 1;
    _display: inline;
    _font-size: 0px;
}
.f_none{
    display: none;
}



/*------------内页-------------------*/
.n_banner {
    width: 100%;
    margin: 0 auto;
}

.n_banner img {
    width: 100%;
    margin: 0 auto
}

.left {
    width: 225px;
    float: left;
}
.left .box {
    margin-bottom: 10px;
}

.left .box h3 {
    line-height: 31px;
    padding-left: 15px;
    font-weight: bold;
    font-family: "微软雅黑";
    background: url(nav.png)/*tpa=http://www.upgbio.com/template/default/images/nav.png*/ no-repeat 0% 100%;
    font-size: 14px;
    color: #000;
}

.left .box .content {
    padding: 5px 0px;
}

.prodescription {
    border: 1px solid #e5e5e5;
    background: #f9f9f9;
    line-height: 24px;
    padding: 10px;
    margin-bottom: 15px;
    text-indent: 20px;
}

.sort_menu h3 {
    background-color: #ececec;
    line-height: 28px;
    padding-left: 15px;
    font-weight: bold;
}

.sort_product {
    margin-top: 10px;
}

.sort_product h3 {
    background-color: #ececec;
    line-height: 28px;
    padding-left: 15px;
    font-weight: bold;
}

.n_contact {
    margin-top: 10px;
}

.n_contact h3 {
    background-color: #ececec;
    line-height: 28px;
    padding-left: 15px;
    font-weight: bold;
}

.n_contact .content {
    padding: 5px;
    line-height: 24px;
}

.right {
    width: 950px;
    float: right;
    padding-bottom: 10px;
}

.sitemp {
    line-height: 31px;
    height: 31px;
    overflow: hidden;
    padding-right: 10px;
    background: url(nav.png)/*tpa=http://www.upgbio.com/template/default/images/nav.png*/ no-repeat 0% 100%;
}

.sitemp h2 {
    width: 340px;
    float: left;
    line-height: 31px;
    text-align: center;
    text-align: left;
    text-indent: 15px;
    font-size: 14px;
}

.sitemp .site {
    width: 380px;
    float: right;
    text-align: right;
    line-height: 30px;
}

.right .content {
    padding: 10px;
    padding-top: 15px;
    overflow: hidden;
    line-height: 24px;
}

.sort_album {
    margin-top: 15px;
}




h1.title{
    font-size: 22px;
    color: #333;
    text-align: center;
    padding:2em 0 0.5em 0;
    font-weight: normal;
}
.info_title{
    text-align: center;
    font-size: 14px;
    color: #666;
    padding-bottom: 1em;
    border-bottom:1px dashed #dcdcdc;
    margin-bottom: 2em;
}
h3.tag{
    font-size: 14px;
    color: #666;
    font-weight: normal;
}
.page{
    font-size: 14px;
    color: #666;    
}
.page a{
    font-size: 14px;
    color: #666;    
}

@media(max-width: 768px){
    h1.title{
        font-size: 18px;
    }
}

.pageController{
    text-align: center;
    color:#505050;margin:0 auto;
    margin:2em 0;
    line-height:24px;
}
.pageController a{background-color:#FFF;vertical-align:middle; border:#efefef 1px solid; 
    color:#505050;padding:5px 8px; margin-right:3px;margin-left:3px;
}
.pageController a:hover{background-color:#2b70bb;color:#fff; text-decoration:none;border:#efefef 1px solid;}
.pageController .currPage {background-color: #2b70bb;color:#ff0000;border:#efefef 1px solid;}
.pageController .t1{
    float:left;margin-right:5px;height:24px;line-height:22px;white-space:nowrap;
    display: none;
}
.pageController .t2{vertical-align:middle;line-height:39px;}
.pageController .t2 #current{
    line-height: 39px;
    background-color: #ef8200;
    vertical-align: middle;
    border: 1px solid #ef8200; 
    color: #fff;padding: 5px 8px;
    margin-right: 3px;
    margin-left: 3px;
    width: 39px;
}
.pageController .t1 span{
    /*padding-left:4px;
    padding-right:4px;*/
    width: 39px;
}
.pageController select{height:24px;vertical-align:middle;text-align:center;line-height:24px;
    display: none;
}
.pageController select option{vertical-align:middle;}


.m_f_fixed{
    position: fixed;
    bottom:0;
    left:0;
    background: #0067ac;
    color: #fff;
    z-index:9999;
    justify-content: center;
    width: 100%;
    display:none;

}
.m_f_fixed a{
    flex:1;
    font-size: 16px;
    color: #fff;
    display: block;
    text-align: center;
    padding:8px 0 0;
}
.m_f_fixed a img{
    width: 22px;
    display: block;
    margin:0 auto 0px;
}
#gotop{
    position: fixed;
    right: 0;
    bottom: 30px;
    cursor: pointer;
}
@media(max-width: 1199px){
    #gotop{
        display: none;
    }
}
@media(max-width:640px){
    .m_f_fixed{
        display: flex;
    }
    footer{
        margin-bottom:60px;
    }
}


/*客服1*/
.client-2 {
    position: fixed;
    right: -170px;
    top: 50%;
    z-index: 900;
}

.client-2 li a {
    text-decoration: none;
}
.client-2 li {
    margin-top: 1px;
    clear: both;
    height: 71px;
    position: relative;
    background: #222;
}

.client-2 li i {
    background: url(fx.png)/*tpa=http://www.upgbio.com/template/default/images/fx.png*/ no-repeat;
    display: block;
    width: 30px;
    height: 27px;
    margin: 0px auto;
    text-align: center;
}

.client-2 li p {
    height: 20px;
    font-size: 14px;
    line-height: 20px;
    overflow: hidden;
    text-align: center;
    color: #fff;
}

.client-2 .my-kefu-qq i {
    background-position: 4px 5px;
}

.client-2 .my-kefu-tel i {
    background-position: 0 -21px;
}

.client-2 .my-kefu-liuyan i {
    background-position: 4px -53px;
}

.client-2 .my-kefu-weixin i {
    background-position: -34px 4px;
}

.client-2 .my-kefu-weibo i {
    background-position: -30px -22px;
}

.client-2 .my-kefu-ftop {
    display: none;
}

.client-2 .my-kefu-ftop i {
    width: 33px;
    height: 35px;
    background-position: -27px -51px;
}

.client-2 .my-kefu-left {
    float: left;
    width: 77px;
    height: 47px;
    position: relative;
}

.client-2 .my-kefu-tel-right {
    font-size: 16px;
    color: #fff;
    float: left;
    height: 24px;
    line-height: 22px;
    padding: 0 15px;
    border-left: 1px solid #fff;
    margin-top: 14px;
}

.client-2 .my-kefu-right {
    width: 20px;
}

.client-2 .my-kefu-tel-main {
    background: #222;
    color: #fff;
    height: 56px;
    width: 247px;
    padding:9px 0 6px;
    float: left;
}

.client-2 .my-kefu-main {
    background: #222;
    width: 97px;
    height: 56px;
    position: relative;
    padding:9px 0 6px;
    float: left;
}

.client-2 .my-kefu-weixin-pic {
    position: absolute;
    left: -140px;
    top: -24px;
    display: none;
    z-index: 333;
}

.my-kefu-weixin-pic img {
    width: 140px;
    height: 140px;
}

@media(max-width: 1199px){
    .client-2{
        display: none;
    }
}


/* 右侧浮窗 客服2 */

#c-right-fixed {
    display: none;
    position: fixed;
    top: 50%;
    right: 5px;
    z-index: 905;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

#c-right-fixed a {
    position: relative;
    right: 0;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    width: 70px;
    height: 70px;
    text-align: center;
    color: #777;
    background: #fff;
}

#c-right-fixed a:last-child {
    margin-bottom: 0;
}

#c-right-fixed a:nth-child(3) {
    z-index: 2;
}

#c-right-fixed .c-wrap {
    border: 1px solid #fff;
    padding: 11px 0;
    width: 70px;
    height: 70px;
    flex: 0 0 70px;
    transition: all .5s;
}

#c-right-fixed .c-wrap img {
    height: 28px;
}

#c-right-fixed .c-wrap img:nth-child(2),
#c-right-fixed a:hover .c-wrap img:nth-child(1) {
    display: none;
}

#c-right-fixed a:hover .c-wrap img:nth-child(2) {
    display: inline-block;
}

#c-right-fixed .c-title {
    padding-top: 5px;
    font-size: 12px;
    line-height: 1;
}

#c-right-fixed a:last-child .c-title {
    font-family: "Arial";
    font-weight: bold;
}

#c-right-fixed .c-text {
    flex: 0 0 auto;
    width: 170px;
    font-weight: bold;
    font-size: 20px;
    line-height: 40px;
    border-left: 1px solid #fff;
    color: #fff;
    transition: all .5s;
}

#c-right-fixed .c-img {
    position: absolute;
    right: -300px;
    top: -1px;
    z-index: -1;
    padding: 5px;
    width: 148px;
    border: 1px solid #eff1f5;
    background: #fff;
    transition: .5s;
    box-shadow: 0 0 50px rgba(0, 0, 0, .1);
}

#c-right-fixed .c-img::before {
    content: "";
    position: absolute;
    top: 34px;
    right: -8px;
    border-left: 8px solid #fff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

#c-right-fixed .c-img img {
    width: 100%;
}

#c-right-fixed .c-img .c-text2 {
    padding: 5px;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    color: #777;
}

#c-right-fixed a .c-box {
    position: absolute;
    top: 0;
    left: 0;
    padding: 11px 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background: #fff;
    transition: all .5s;
    overflow: hidden;
}

#c-right-fixed a:hover .c-wrap {
    color: #fff;
    border-color: #ffaf04;
    background: #ffaf04;
}

#c-right-fixed a:last-child .c-wrap {
    color: #fff;
    border-color: #ffaf04;
    background: #ffaf04;
}

#c-right-fixed a:first-child:hover .c-box {
    width: 250px;
    height: 70px;
    -webkit-transform: translateX(-180px);
    transform: translateX(-180px);
    overflow: none;
    background: #ffaf04;
}

#c-right-fixed a:hover .c-img {
    right: 84px;
}


@media(max-width: 1259px){
    #c-right-fixed{
        display: none;
    }
}


/*客服3*/
.Fast_contact {
    height: 265px;
    position: fixed;
    right: 0;
    top: 50%;
    margin-top: -132.5px;
    z-index: 97
}

.Fast_contact ul li.onlineservice_li {
    width: 48px;
    height: 48px;
    position: relative;
    text-align: center;
    margin-bottom: 5px;
    background-color: #d9d9d9;
}

.Fast_contact ul > li.onlineservice_li > a {
    display: inline-block;
    width: 28px;
    height: 28px;
    margin-top: 10px;
}

.Fast_contact ul > li:hover .onlineservice_tips {
    -webkit-transform: rotateX(0);
    transform: rotateX(0);
}

.onlineService_qq {
    background-image: url("Fast.png")/*tpa=http://www.upgbio.com/template/default/images/Fast.png*/;
    background-repeat: no-repeat;
    background-position: 0 0;
}

.onlineService_form {
    background-image: url("fastForm.png")/*tpa=http://www.upgbio.com/template/default/images/fastForm.png*/;
    background-repeat: no-repeat;
    background-position: 0 0;
}

.Fast_contact ul > li.onlineservice_li > a.onlineService_tel {
    width: 30px;
    height: 30px;
    background-image: url("fastPhone.png")/*tpa=http://www.upgbio.com/template/default/images/fastPhone.png*/;
    background-repeat: no-repeat;
    background-position: 0 0;
}

.onlineService_whatsApp {
    background-image: url("Fast.png")/*tpa=http://www.upgbio.com/template/default/images/Fast.png*/;
    background-repeat: no-repeat;
    background-position: 0 -139px;
}

.onlineService_email {
    background-image: url("Fast.png")/*tpa=http://www.upgbio.com/template/default/images/Fast.png*/;
    background-repeat: no-repeat;
    background-position: 0 -111px;
}

.onlineService_skype {
    background-image: url("Fast.png")/*tpa=http://www.upgbio.com/template/default/images/Fast.png*/;
    background-repeat: no-repeat;
    background-position: 0 -28px;
}

.onlineService_wechat {
    background-image: url("Fast.png")/*tpa=http://www.upgbio.com/template/default/images/Fast.png*/;
    background-repeat: no-repeat;
    background-position: 0 -266px;
}

.for_wechat span {
    display: block;
    text-align: center;
}

.onlineservice_tips {
    padding: 5px 8px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    position: absolute;
    right: 58px;
    top: 6px;
    -webkit-transform: rotateX(90deg);
    transform: rotateX(90deg);
    -webkit-transition: all .4s;
    transition: all .4s;
}

.onlineservice_tips li {
    width: auto;
    height: auto;
    white-space: nowrap;
}

.onlineservice_tips li a {
    display: block;
    min-height: 22px;
    text-align: center;
    line-height: 22px;
    color: #737578;
    font-size: 15px;
}

.onlineservice_tips li a.for_wechat {
    height: auto;
}

.onlineservice_tips li a.for_wechat img {
    max-width: 240px;
}

.onlineservice_tips li a:hover {
    text-decoration: underline;
}

.onlineservice_tips:after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 1px solid #ccc;
    border-color: transparent #ccc #ccc transparent;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    position: absolute;
    right: -6px;
    top: 10px;
    background-color: #fff;
}
@media(max-width:1220px){
    .Fast_contact{
        display:none;
}