@charset "utf-8";

.main {
    background-color: #fff;
    padding: 32px 16px;
    margin-bottom: 50px;
}

/*
 * brand_list
 * */
.brand_list_title {
    margin-bottom: 20px;
    padding-left: 20px;
}

.brand_list_title .pic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F56C6C;
    background-color: #FDF6EC;
    font-size: 20px;

}

.brand_list_group {
    padding: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.brand_list .items {
    display: flex;
    flex-wrap: wrap;
}

.brand_list .item {
    width: 14.27%;
}

.brand_list .item .pic {
    position: relative;
    overflow: hidden;

    width: 100%;
    padding-bottom: 62.5%;

    border: 1px solid #ccc;
    border-radius: 5px;
}

.brand_list .item .pic_box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.brand_list .item img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.brand_list .dl {
    margin: 20px 10px;
    padding: 10px;
}

.brand_list .dt {
    height: 40px;
    margin: 10px 0;
    font-size: 15px;
    text-align: center;
    overflow: hidden;
    word-break: break-all;
}

@media (max-width: 1200px) {
    .brand_list .item {
        width: 16.65%;
    }
}

@media (max-width: 992px) {
    .brand_list .item {
        width: 20%;
    }
}

@media (max-width: 800px) {
    .brand_list .item {
        width: 25%;
    }
}

@media (max-width: 600px) {
    .brand_list .item {
        width: 33.333%;
    }

    .brand_list_group {
        padding: 0;
    }
}

@media (max-width: 400px) {
    .brand_list .item {
        width: 50%;
    }
}


/*
.brand_sidebar
*/

.brand_sidebar {
    position: fixed;
    top: 60px;
    right: 10px;
    background-color: #f0f0f0;
    border-radius: 20px;
    text-align: center;
    width: 30px;
    padding: 10px 0;
}


.brand_sidebar .brand_sidebar_item {
    font-size: 15px;
    color: #999;
    overflow: hidden;
    cursor: pointer;
}


.brand_sidebar .brand_sidebar_item.active,
.brand_sidebar .brand_sidebar_item:hover {
    color: #E04858;
}

/*
brand_sidebar_index
*/
.brand_sidebar_index {
    right: inherit;
    top: 15vh;
    left: 10vw;
}

@media (max-width: 1700px) {
    .brand_sidebar_index {
        left: 5vw;
    }
}

@media (max-width: 1500px) {
    .brand_sidebar_index {
        left: 10px;
    }
}

@media (max-width: 600px) {
    .brand_sidebar_index {
        top: 70px;
        left: 5px;
    }

    .brand_list_group {
        padding-left: 10px;
    }
}

/*
brand_info
*/

.brand_info {
    max-width: 1000px;
    margin: 20px auto;
}

.brand_info .dl {
    display: flex;
}

.brand_info .pic {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 50px;
}

.brand_info .pic img {
    max-width: 300px;
}

.brand_info .txt {
    width: 60%;
}

.brand_info .dd {
    font-weight: bold;
    margin-bottom: 20px;
}

@media (max-width: 660px) {
    .brand_info {
        padding-bottom:20px;
        border-bottom: 1px dashed #ddd;
    }

    .brand_info .dl {
        display: block;
    }

    .brand_info .pic {
        width: 100%;
        margin-bottom: 10px;
        padding-right: 0;
    }

    .brand_info .txt {
        width: 100%;
    }
}