/** 自定义样式 **/

:root, page {
    --theme-container-width: 75rem;
}

body {
    background-color: #f8f8f8;
}

header {
    overflow: hidden;
}

.ub-header-b {
    margin-top: 0.8rem;
}

.ub-header-b, .ub-header-b .nav {
    background: #ffffff;
}


.ub-cover {
    /* margin-top: -4.5rem; */
}
.ub-cover .ub-container {
    /* position: relative;
    top: -4.5rem; */
}

.ub-header-b .nav .nav-item, .ub-header-b .nav a,
.ub-header-b .nav .nav-item.active, .ub-header-b .nav a.active,
.ub-header-b .nav .nav-item, .ub-header-b .nav a:hover {
    color: #000000;
}




.list-cat {
    font-size: 0.868rem;
    color: #000000;
    /* position: relative; */
    font-family: Arial, Helvetica, sans-serif;
    padding-bottom: 20px;
    position: relative;
}
.list-cat a {
    color: #000000;
}
.list-cat span.active,
.list-cat a.active {
    color: #83aa40;
}
.list-cat ul {
    padding: 1rem 0;
    background-color: #ffffff;
    margin-bottom: 0;
}

.list-cat .btn-round .subCat,
.subSubCat {
    display: none;
}
.list-cat .btn-round .subCat.active {
    display: block;
}
.subSubCat.actived {
    display: block;
    position: absolute;
    top: 2.6rem;
    left: 0.7rem;
}

.list-cat ul li,
.list-cat .btn-round .subCat a {
    padding: 0.3rem 0.5rem;
    white-space:nowrap;
    margin-right: 0.2rem;
}

.list-cat ul li .fcat {
    color: #414141;
}

.list-cat .btn-round,
.list-cat .btn-round .subCat a {
    border-radius: 0.3rem;
    position: relative;
}

.list-cat .btn-round .subCat a {
    background-color: #97ca8f;
    color: #ffffff;
}

.list-cat .btn-round .subCat a:hover,  .list-cat .btn-round .subCat a.actived{
    background-color: #6b8567;
}

.list-cat .btn-round .subCat {
    position: absolute;
    top:3.6rem;
    left: 0.7rem;
}

.list-cat ul li.active, .list-cat ul li:hover {
    background-color: #6b8567;
    height: 1.9rem;
}

.list-cat ul li.active a, .list-cat ul li:hover a {
    color: #ffffff;
}

.ub-list .body .item-p .title, .ub-list-items .item-p .more {
    width: 8rem;
    height: 2rem;
    margin: 0 auto;
    background-color: #669966;
    color: #ffffff;
}
.ub-list .body .item-p .title, .ub-list-items .item-p .more:hover {
    color: #000000;
}

.ub-page .pages span.current {
    background-color: #6b8567;
}

.ub-list .body .item-p, .ub-list-items .item-p {
    background: none;
}
.inner-products {
    margin-top: 1.5rem;
    width: 97%;
}
.inner-products .ub-list .body .item-p .image, .inner-products .ub-list-items .item-p .image {
    background: #ffffff;
    /* width: 354px;
    height: 349px; */
}

.ub-list .body .item-p .case, .ub-list-items .item-p .case {
    background: #ffffff;
    width: 364px;
    height: 315px;
}

/* 
.inner-product .ub-list-items .item-p .image {
    
} */

.about-container-footer {
    text-align: center;
}
.about-container-footer .title {
    font-size: 0.95rem;
    color: #6b8567;
    line-height: 2.5rem;
    margin: 0;
}
.about-container-footer .desc {
    font-size: 0.65rem;
    color: #686868;
}

.banner-inner {
    height: 21.2rem;
    padding-top: 7rem;
    width: 100%;
}

.banner-inner .title {
    margin-left: 22%;
}

.banner-inner .title::after {
    content: '';
    width: 3rem;
    height: 0.15rem;
    display: block;
    margin-left: 1.8rem;
    margin-top: 0.5rem;
    background-color: #ffffff;
}

/* .inner-products {
    margin-top: 4rem;
} */

.inner-products .ub-list-items .item-p .title {
    font-size: 1.05rem;
    color: #414141;
}

.nav-cat .ub-container {
    max-width: 75rem;
}

.list-cat .position {
    font-size: 0.6425rem;
    color: #a4a4a4;
    /* line-height: 3.5rem; */
    text-align: right;
    position: absolute;
    right: 0;
    top: 1.5rem;
}

.position span:after{
	content:'→';
	display:inline-block;
	margin-left:.5rem;
	/* color:var(--color-tertiary-light) */
}
.position span:last-child:after{
	display:none
}

.inner-news {
    overflow: hidden;
}
.inner-news .ub-list-items .item-k {
    padding-left: 0.5rem;
}
.inner-news .ub-list-items .item-k .image {
    margin-left: 0;
}

.inner-news .ub-list-items .item-k .title{
    border-bottom: 1px solid #c8c8c8;
    font-size: 1.3115rem;
    font-size: 1.4vw;
    color: #101010;
    line-height: 2rem;
}

.inner-news .ub-list-items .item-k .title:hover {
    color: #6b8567;
}

.inner-news .ub-list-items .item-k .title span {
    float: right;
    font-size: 0.944rem;
    color: #a9a9a9;
}

.inner-news .ub-list-items .item-k .summary {
    text-overflow: -o-ellipsis-lastline;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;

    font-size: 0.917rem;
    font-size: 1vw;
    line-height: 1.38rem;
    margin: 1rem 0;
    height: auto;
}

.inner-news .ub-list-items .item-k .info .left {
    border: 1px solid #c8c8c8;
    padding: 0.5rem 2.5rem;
}

.inner-news .ub-list-items .item-k .info .left a{
    color: #878787;
}

.inner-news .ub-list-items .item-k .image {
    width: 16.95rem;
    width: 17.65625vw;
    margin-right: 1rem;
    border-radius: 0;
}

.ub-list .body .item-k .image .cover, .ub-list-items .item-k .image .cover {
    border-radius: 0;
}

.ub-breadcrumb {
    white-space: normal;
}

.product-detail-nav .ub-breadcrumb a{
    color: #777777;
}

.product-detail-nav .ub-breadcrumb a:after {
    content: '>';
    display: inline-block;
    margin-left: 0.5rem;
    color: #777777;
}

.product-detail-nav .ub-breadcrumb a:last-child:after {
	display:none
}

.news-detail .ub-article .attr {
    border-bottom: 0.05rem dashed #eee;
}

.page-about .ub-panel {
    background:none;
}

.ub-list .body .item-k, .ub-list-items .item-k {
    background: none;
}

.page-about .col-md-5 {
    flex: 0 0 46.266667%;
    max-width:46.266667%;
    padding-left: 3.5rem;
}

.news-detail .ub-html table {
    width: 100%;
}
/* .news-detail .ub-html table td {
    text-align: center;
    vertical-align: middle;
} */

@media screen and (max-width: 40rem) {
    /* .ub-header-b .nav a,
    .ub-header-b .nav a.active,
    .ub-header-b .nav a:hover {
        color: #ffffff;
    } */
    .ub-header-b {
        margin-top: 0;
    }

    .banner-inner .title {
        margin-left: 0;
    }

    .banner-inner .title::after {
        margin: 0 auto;
        margin-top: 0.5rem;
    }

    .ub-list .body .item-p .image, .ub-list-items .item-p .image {
        /* background: #ffffff; */
        /* width: 163px;
        height: 160.7px; */
        /* margin-left: 0.7rem; */
    }

    .ub-list .body .item-p .case, .ub-list-items .item-p .case {
        background: #ffffff;
        width: 163px;
        height: 141.058px;
        margin-left: 0.7rem;
    }
    .list-cat ul {
        margin-top: 3.5rem;
    }

    .list-cat .btn-round {
        display: none;
    }
    .list-cat .btn-round.active {
        display: block;
    }
    .logo span {
        font-size: 30px;
    }
    .inner-news .ub-list-items .item-k .title {
        font-size: 16px;
    }
    .inner-news .ub-list-items .item-k .summary {
        font-size: 14px;
    }
    
}  