/* 导航 */

.main-container  {
    padding: 10vh 0 10rem ;
}


.nav-container {
    background-color: #f3f2f1;
}

.nav-box {
    width: 80%;
    text-align: center;
    margin: 0 auto;
    padding: 4rem 0;
    display: flex;
    font-size: 2rem;
}

.nav-item {
    flex: 1;
    cursor: pointer;
    color: #bbb;
}

.nav-item.active {
    color: #000;
}



.content {
    padding: 10rem 20px;
}

h2 {
    text-align: center;
    margin-bottom: 10rem;
}

.info {
    text-align: right;
    color: #ccc;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

.desc {
    padding: 2rem;
    margin: 2rem;
    color: #aaa;
    border: 1px solid #eee;
}

.main-content {
    margin-top: 10rem;
    margin-bottom: 10rem;
}

.img-box img {
    width: 100%;
}


#top {
    z-index: 1000000;
    background: #fff;
    border-bottom: 1px solid #eee;
}


.img-black {
    display: inline-block;
}
.img-white {
    display: none;
}
.text-black {
    display: inline-block;
}
.text-white {
    display: none;
}
.side-container {
    z-index: 20000000;
    height: 100vh;
}



@media(max-width:768px) {
    .main-container {
        padding-top: 60px;
    }
    .nav-box {
        display: flex;
        flex-direction: column;
    }

    .nav-box a {
        margin-bottom: 10px;
    }

    .main-content {
        min-height: 40vh;
    }

    h2 {
        font-size: 24px;
        font-weight: bold;
    }
    .desc {
        margin-top: 10px;
    }


    .faq-item {
        padding: 10px;
    }



     
    .product-item {
        width: 50%;
    }
    .img-title {
        height: 60px;
    }
    .img-desc {
        font-size: 12px;
        height: 50px;
    }
    .product-item img {
        height: auto;
    }
    .product-big-text-bottom {
        font-size: 45px;
    }
}








@media screen and (min-width:960px) and (max-width:1366px) { 
    .nav-img-box>span img {
        max-width: 75%;
    }
    #top {
        padding-bottom: 0;
        height: 70px;
    }
    .wrap {
        padding-top: 70px;
    }
    .navbar-nav {
        margin-top: 1rem;
    }
    .nav-img-box {
        margin-top: 20px;
    }

    .nav-box {
        padding: 20px 0;
    }


    .main-container {
        padding-top: 0;
    }
}