/**
 * 导航
 */
 .plugins-brand{
    margin-top: 1.2rem;
}
.brand-sticky.am-sticky {
    -webkit-box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.08);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.08);
}

.brand-nav li {
    border-bottom: 0.2rem solid transparent;
    display: inline-block;
    cursor: pointer;
}

.brand-nav li .brand-item {
    display: inline-block;
    text-align: center;
    margin: 0 2.6rem;
    font-size: 1.4rem;
}

.brand-nav li .brand-item>a {
    width: 5rem;
    height: 5rem;
    display: inline-block;
    border-radius: 50%;
    border: 0.1rem solid #EEEEEE;
    padding: 0.2rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.brand-nav li.am-active .brand-item>p,
.brand-nav li:hover .brand-item p {
    color: var(--color-main);
}

@media only screen and (max-width:1024px) {
    .plugins-brand{
        margin-top: 0;
        padding: 0;
    }
}

/**
 * 列表
 */
.plugins-brand .data-list ul {
    width: var(100% + 1.2rem);
    margin-left: -0.6rem;
    margin-right: -0.6rem;
}

.plugins-brand .data-list li {
    padding: 0.6rem;
}

.plugins-brand .data-list li img {
    height: 5rem;
    max-width: 100%;
    margin-top: 1rem;
}

.plugins-brand .data-list li .am-gallery-desc {
    z-index: 0;
    position: absolute;
    top: 50%;
    color: #999;
    background: white;
    width: 100%;
    margin-left: -1rem;
    box-shadow: 0rem 2rem 2rem rgba(50, 55, 58, 0.1);
    padding: 1rem;
    border-bottom-right-radius: 0.4rem;
    border-bottom-left-radius: 0.4rem;
    opacity: 0;
    -webkit-transition: all .5s ease-out;
    -moz-transition: all .5s ease-out;
    -o-transition: all .5s ease-out;
    transition: all .5s ease-out;
}

.plugins-brand .data-list li a:hover .am-gallery-desc {
    z-index: 1;
    opacity: 1;
    top: 100%;
}

.plugins-brand .data-list li {
    width: 25%;
}

@media only screen and (min-width: 1440px) {
    .plugins-brand .data-list li {
        width: 20%;
    }
}

@media only screen and (max-width:1024px) {
    .plugins-brand .data-list {
        padding: 0 0.6rem;
    }
    .plugins-brand .data-list ul {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .plugins-brand .data-list li {
        width: calc(100% / 3);
    }
}

@media only screen and (max-width: 640px) {
    .brand-nav li .brand-item {
        margin: 0 1.2rem;
    }
    .plugins-brand .data-list li {
        width: 50%;
    }
    .plugins-brand .data-list li .am-gallery-desc {
        display: none;
    }
    .brand-sticky {
        padding: 1.2rem;
    }
}