﻿/*公共*/
body {
    margin: 0;
    padding: 0;
    line-height: 1.5;
    font-size: 14px;
}

a {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    color: #0070b0;
}

p {
    margin: 0;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

h1, h2, h3, h4 {
    margin: 0;
}

input {
    text-indent: 10px;
    border-radius: 3px;
    border: solid 1px #000000;
    outline: 0;
}

input[type=text], input[type=password], input[type=number], input[type=email], textarea {
    -webkit-appearance: none;
}

button {
    cursor: pointer;
}

.cursor-p {
    cursor: pointer;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

.blod {
    font-weight: 700;
}

.acenter {
    display: flex;
    align-items: center;
}

.w-100 {
    width: 100%;
}

.wm-100 {
    max-width: 100%;
}

.mb20 {
    margin-bottom: 20px;
}

.pd20 {
    padding: 20px 0;
}

.mr20{
    margin-right:20px;
}

.content-base {
    line-height: 22px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.content-base p {
    overflow-wrap: break-word;
    margin-bottom: 10px;
}

.content-base a {
    color: #095b8b;
}

.content-base img {
    max-width: 100% !important;
    height: auto !important;
}

.content-base h2, .content-base h3, .content-base h4, .content-base h5 {
    margin: 10px 0;
}

.content-base table {
    border-spacing: 0;
    border-collapse: collapse;
    max-width: 100%;
    width: auto;
}

.sidebar-icons {
    background: url(/assets/img/toolbar.png) no-repeat;
    display: inline-block;
}

.wechat-icon {
    background-position: 0px -128px;
    width: 61px;
    height: 61px;
}

.qq-icon {
    background-position: 0px 0px;
    width: 61px;
    height: 61px;
}

.tel-icon {
    background-position: 0px -64px;
    width: 61px;
    height: 61px;
}

.top-icon {
    background-position: 0px -192px;
    width: 61px;
    height: 61px;
}

.toolbar-icon {
    background: url(/assets/img/toolbar_icon.png) no-repeat;
    display: inline-block;
}

.qq {
    background-position: 0px 0px;
    width: 23px;
    height: 23px;
}

.qq-two {
    background-position: 0px -30px;
    width: 23px;
    height: 30px;
}

.tel {
    background-position: -31px 8px;
    width: 23px;
    height: 33px;
}

.wei {
    background-position: -31px -27px;
    width: 23px;
    height: 38px;
}

.icon {
    background: url(/assets/img/icon.png) no-repeat;
    display: inline-block;
}

.icon-collapse {
    background-position: -62px -91px;
    width: 20px;
    height: 20px;
}

.icon-expand {
    background-position: -91px -91px;
    width: 20px;
    height: 20px;
}

.icon-logo {
    background-position: 0px 0px;
    max-width: 120px;
    width: 100%;
    height: 80px;
}

.icon-bottom-logo {
    background-position: -120px 0px;
    max-width: 120px;
    width: 100%;
    height: 80px;
}

.icon-search {
    background-position: 0px -89px;
    width: 20px;
    height: 20px;
}

.icon-bom {
    background-position: -20px -80px;
    width: 40px;
    height: 40px;
}

.icon-platform {
    background: url(/assets/img/program.png) no-repeat;
    display: inline-block;
}

.icon-car {
    background-position: 0px 0px;
    width: 50px;
    height: 45px;
}

.icon-communication {
    background-position: -53px 0px;
    width: 50px;
    height: 45px;
}

.icon-electronic {
    background-position: -100px 0px;
    width: 50px;
    height: 50px;
}

.icon-smart-home {
    background-position: -145px 0px;
    width: 50px;
    height: 45px;
}

.icon-security-monitoring {
    background-position: -192px 0px;
    width: 60px;
    height: 45px;
}

.icon-motor-control {
    background-position: -257px 0px;
    width: 50px;
    height: 45px;
}

.icon-wireless-interconnection {
    background-position: -310px 0px;
    width: 60px;
    height: 45px;
}

.icon-industrial-control {
    background-position: -370px 0px;
    width: 50px;
    height: 45px;
}

.icon-function {
    background: url(/assets/img/function.png) no-repeat;
    display: inline-block;
}

.icon-allproduct {
    background-position: 0px 0px;
    width: 32px;
    height: 30px;
}

.icon-quick-quotation {
    background-position: -38px 0px;
    width: 32px;
    height: 30px;
}

.icon-replace-product {
    background-position: -77px 0px;
    width: 32px;
    height: 30px;
}

.icon-solution {
    background-position: -113px 0px;
    width: 32px;
    height: 30px;
}

.icon-contact-us {
    background-position: -150px 0px;
    width: 32px;
    height: 30px;
}

.icon-marking-code {
    background-position: -188px 0px;
    width: 32px;
    height: 30px;
}

.icon-delete {
    background-position: -140px -87px;
    width: 23px;
    height: 23px;
}

.icon-clear {
    background-position: -174px -91px;
    width: 19px;
    height: 19px;
}

.icon-add {
    background-position: -120px -99px;
    width: 11px;
    height: 11px;
}

.icon-inquery {
    background-position: 2px -120px;
    width: 37px;
    height: 32px;
}

.color-red {
    color: #ff0000;
}

.color-white {
    color: white !important;
}

.back-white {
    background-color: #ffffff;
}

.color666 {
    color: #666;
}

.color333 {
    color: #333;
}

.text-center {
    text-align: center;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}


/*Header*/
header .top-nav {
    background-color: #384c59;
    color: #fff;
}


header .top-nav a {
    color: #fff;
}

header .top-nav .nav-right {
    display: flex;
}

header .top-nav .nav-right li {
    position: relative;
    /**margin-left: 40px;*/
}

header .top-nav .nav-right li:hover .sec-menu {
    display: block;
    z-index: 19991124;
}

header .top-nav .nav-right li .sec-menu {
    display: none;
    left: -40px;
    width: 160px;
    position: absolute;
    padding: 30px 10px;
    background-color: #fafafa;
    box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.23);
}

header .top-nav .nav-right li .sec-menu .sec-list {
    width: 100%;
    margin-bottom: 5px;
    margin-left: 0;
    vertical-align: middle;
}

header .top-nav .nav-right li .sec-menu .sec-list a:hover {
    background: #384C59;
    color: white !important;
}

header .top-nav .nav-right li .sec-menu .sec-list:last-child {
    margin-bottom: 0;
}

header .top-nav .nav-right li .sec-menu .sec-list a {
    text-indent: 20px;
    color: #333;
    display: block;
    min-height: 40px;
    line-height: 40px;
}

header .top-info {
    padding: 10px 0;
    background-color: #F4FAFE;
}

header .top-info .company {
    max-width: 480px;
}

header .top-info .company .name {
    font-size: 24px;
    color: #000;
    font-weight: bold;
    letter-spacing: 3px;
}

header .top-info .company .desc {
    margin: 0 15px;
}

header .top-info .search {
    height: 40px;
    border: 1px solid #333;
    border-radius: 3px;
    position: relative;
}

header .top-info .search .product-list {
    position: absolute;
    width: 100%;
    top: 38px;
    border: 1px solid #333;
    border-radius: 3px;
    border-top: none;
    display: none;
    background: #F4FAFE;
    z-index: 244018;
}

header .top-info .search .product-list #product-ul {
    text-indent: 5px;
}

header .top-info .search .product-list #product-ul li {
    height: 40px;
    line-height: 40px;
}

header .top-info .search .product-list #product-ul li a {
    width: 100%;
    display: inline-block;
    cursor: pointer;
}

header .top-info .search .product-list #product-ul li:hover {
    background: #e8e8e8;
}

header .top-info .search input {
    border: 0;
    height: 35px;
    width: 92%;
    max-width: 600px;
    background-color: #F4FAFE;
}


header .top-info .bom button {
    width: 126px;
    padding: 0 10px;
    height: 40px;
    background-color: #00baff;
    border-radius: 6px;
    border: 0;
    color: #fff;
    cursor: pointer;
    margin-left: 40px;
}

.drawer {
    display: none;
}

.drawer .drawer-nav {
    background-color: #384c59 !important;
}

.drawer .drawer-nav h3 {
    height: 80px;
    line-height: 80px;
    text-align: center;
    color: #fff;
    font-size: 20px;
}

.drawer .drawer-nav h3 a,
.drawer .drawer-nav li a {
    color: #fff;
}

.drawer .drawer-nav li {
    font-size: 18px;
    text-align: center;
    height: 45px;
    line-height: 45px;
}

.drawer .drawer-nav li a {
    display: block;
    width: 100%;
    cursor: pointer;
}

#float-bar {
    position: fixed;
    right: 20px;
    top: 30%;
    z-index: 999999;
}

#float-bar ul li {
    position: relative;
}

#float-bar ul li i {
    cursor: pointer;
}

#float-bar ul li .pop {
    position: absolute;
    display: none;
    border-radius: 5px;
    border: #00A886 1px solid;
    background: #fff;
    color: #00A886;
    min-height: 61px;
    min-width: 210px;
    top: 1px;
    right: 60px;
    padding: 5px 10px;
    transition: all 1s linear;
}

#float-bar ul li .pop p:first-child {
    font-size: 16px;
    font-weight: bold;
}

#float-bar ul li .pop img {
    max-width: 90px;
}

#float-bar ul li:hover .pop {
    display: block;
}

@media(max-width:768px) {
    header .top-nav p {
        font-size: 16px;
        text-align: center;
    }

    #float-bar {
        display: none;
    }

    .drawer {
        display: block;
    }

    header .top-nav .nav-right {
        display: none;
    }
}



@media(max-width:576px) {
    header .top-nav {
        padding: 13px 0;
        height: auto;
    }

    header .top-info .company .name {
        font-size: 16px;
        font-weight: bold;
    }
}


/*Footer*/
footer .link {
    background-color: #122e3e;
    color: #fff;
}

footer .link li {
    margin-bottom: 30px;
}

footer .link li a {
    color: #fff;
}

footer .info {
    background-color: #0070b0;
    color: #fff;
}

footer .info .company {
    float: left;
}

footer .info .company .desc .name {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #ffffff;
}

footer .info .power {
    display:flex;
        flex-wrap: wrap;
}

@media(max-width:576px) {
    header .top-info .bom {
        display: none;
    }

    header .top-info .bom button {
        margin-left: 0;
    }

    footer .info .power {
        text-align: center;
    }

    footer .icon-bottom-logo {
        max-width: 96px;
    }

    footer .info .company .desc .name {
        font-size: 18px;
    }
}

/*Home*/
.home {
    display: grid;
}

.home .home-banner {
    background: url(/assets/img/banner_test.jpg) no-repeat center;
    height: 450px;
}

.home .banner-des {
    margin: auto;
    text-align: center;
    margin-top: 70px;
    height: 320px;
    background-color: rgb(255,255,255,0.23);
    border-radius: 20px;
    padding: 50px 89px 70px 90px;
    width: 90%;
    text-shadow: rgba(0, 0, 0, 0.23) 0px 3px 7px;
}

.home .banner-des h1 {
    font-size: 40px;
    letter-spacing: 4px;
    color: #fff;
    margin-bottom: 10px;
}

.home .banner-des p {
    font-size: 24px;
    color: #fff;
    text-shadow: rgba(0, 0, 0, 0.23) 0px 3px 7px;
}

.home .platform {
    background: -moz-linear-gradient(left,rgb(26,127,206),rgb(18,182,246));
    background: -o-linear-gradient(left,rgb(26,127,206),rgb(18,182,246));
    background: -webkit-linear-gradient(left,rgb(26,127,206),rgb(18,182,246));
    color: #fff;
    text-align: center;
}

.home .platform ul li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.home .platform span,
.home .function span {
    margin-right: 20px;
}

.home .function {
    height: 100px;
}

.home .function ul li {
    display: flex;
    align-items: center;
}

.home .manufacturer {
    text-align: center;
    background-color: #BDD6E5;
}

.home .manufacturer h2 {
    font-size: 36px;
    letter-spacing: 2px;
    color: #ffffff;
}

.home .manufacturer .items li {
    margin-bottom: 25px;
}

.home .product-category img {
    max-width: 150px;
}

.home .detection {
    background: url(/assets/img/banner_quality.jpg);
    color: #fff;
    min-height: 400px;
    padding: 80px 0;
}

.home .detection p {
    font-size: 50px;
    letter-spacing: 4px;
    color: #ffffff;
    line-height: 2;
}

.home .trait {
    background-color: #E5F0F6;
    text-align: center;
}

.home .trait h2 {
    font-size: 30px;
    letter-spacing: 3px;
    color: #333333;
}

.home .trait h2 + p {
    font-size: 24px;
    letter-spacing: 2px;
    color: #333333;
}

.home .trait ul li {
    position: relative;
    text-align: left;
    margin-bottom: 20px;
    display: grid;
}

.home .trait ul li .title {
    position: absolute;
    top: 10px;
    left: 30px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.home .trait ul li .desc {
    position: relative;
    background-color: #fff;
    padding: 15px;
    min-height: 170px;
    font-size: 14px;
    letter-spacing: 1px;
    color: #333333;
}

.home .trait ul li .desc .desc-title {
    height: 30px;
    font-size: 18px;
    margin-bottom: 10px;
    border-bottom: solid 1px #f0f0f0;
}

.home .trait ul li .desc .line {
    position: absolute;
    top: 20px;
    left: 0;
    width: 5px;
    height: 100px;
    background-color: #00a886;
}

@media(max-width:992px) {
    .home .banner-des {
        padding: 20px;
    }

    .home .detection {
        padding: 40px 0;
    }

    .home .detection p {
        font-size: 40px;
    }
}

@media(max-width:768px) {
    .home .banner-des {
        padding: 10px;
    }

    .home .product-category img {
        max-width: 100%;
    }

    .home .product-category li {
        display: block;
        text-align: center;
    }

    .home .banner-des p {
        font-size: 18px;
    }
}

@media(max-width:576px) {
    .home .function {
        height: auto;
    }

    .home .banner-des {
        width: 100%;
    }

    .home .trait ul li .desc {
        height: 260px;
    }



    .home .detection {
        padding: 100px 15px;
    }

    .home .detection p {
        font-size: 24px;
    }
}

/*Product-Index*/
.product-index .info .name {
    font-size: 18px;
    font-weight: bold;
}

.product-index .info .description {
    height: 70px;
    overflow: hidden;
}

.product-index .info button {
    max-width: 160px;
    width: 100%;
    min-height: 36px;
    background-color: #ff0000;
    border-radius: 3px;
    color: #fff;
    border: 0;
    padding: 10px 20px;
    cursor: pointer;
}

.product-index .imgbox {
    border: 1px solid #ccc;
}

.product-index h1 {
    background-color: #122e40;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.product-index .category ul {
    background-color: #fafafa;
    padding: 20px;
}

.product-index .category ul li {
    cursor: pointer;
}

.product-index .category .sub-category {
    display: none;
    padding-bottom: 0px;
}

.product-index .category .sub-category li:last-child {
    margin-bottom: 0px !important;
}

.product-index .category .sub-category li a {
    display: flex;
    justify-items: center;
    align-items: center;
}

.product-index .category .sub-category .point {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ffa200;
    margin-right: 6px;
}

.product-index .category .parent-category {
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 18px;
    letter-spacing: 2px;
    color: #666666;
    font-weight: bold;
}

.product-index .category .sub-category.open {
    display: block !important;
}

.product-index .category .sub-category li a.active {
    color: #0070b0;
}


@media (max-width:576px) {
    .product-index .info .description {
        height: 80px;
    }

    .product-index .info p:nth-child(4) {
        text-align: left;
    }

    .product-index .info {
        text-align: center;
    }
}

/*position*/
.position {
    background-color: #fafafa;
    height: 40px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

/*pagination-panel*/
.pagination-panel {
    background: #fff;
    padding-top: 20px;
    min-width: 100px;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 20px;
}

.pagination-panel ul li {
    display: inline-block;
    margin-left: 15px;
    border: 0;
}

.pagination-panel ul li:first-child {
    margin-left: 0px;
}

.pagination-panel ul li a {
    color: #666;
    float: left;
    font-size: 16px;
    padding: 1px 7px;
    text-decoration: none;
    border: 1px solid #ccc;
}

.pagination-panel ul li a.active {
    background-color: #0070b0;
    border: 1px solid #0070b0;
    color: white;
}

.pagination-panel .page-turning {
    float: right;
}

.pagination-panel .page-turning a {
    font-size: 14px;
    line-height: 30px;
    display: inline-block;
    background-color: #f0f0f0;
    border-radius: 3px;
    padding: 0 15px;
    text-decoration: none;
    color: #666;
}

.pagination-panel .disabled {
    cursor: not-allowed;
}

/*Solution*/
.solution-index .hot-solution h2 {
    height: 40px;
    line-height: 40px;
    background-color: #0070bb;
    color: #fff;
    text-align: center;
}

.solution-index .hot-solution ul {
    padding: 20px;
    background-color: #fafafa;
}

.solution-index .hot-solution .hot-ul li {
    display: flex;
    align-items: center;
}

.solution-index .hot-solution .hot-ul .block {
    height: 6px;
    max-width: 6px;
    width: 100%;
    background-color: #ff7e00;
    display: inline-block;
}

@media(max-width:567px) {
    .pagination-panel ul li {
        margin-left: 10px;
    }
}

@media(min-width:1460px) {
    .container {
        max-width: 1430px;
    }
}
