﻿.banner {
    background: url(../img/about-banner.png);
    background-size: cover;
}


.banner {
    position: relative;
    display: flex;
    flex-direction: row;
    height: 401px;
    background: url(../img/banner.png);
    align-items: center;
    justify-content: flex-start;
    background-size: cover;
}


.honor-content {
    position: relative;
    width: 100%;
    margin-top: 60px;
    padding: 0 0 181px;
    background: #fff;
}

.honor-content h1 {
    font-size: 32px;
    line-height: 40px;
    margin: 75px 0 30px;
    color: #000000;
}

.honor-content .honor-menu {
    width: 100%;
    overflow: hidden;
    margin: 0 0 60px;
}

.honor-menu a {
    display: block;
    width: 154px;
    height: 41px;
    overflow: hidden;
    border-radius: 4px;
    background-color: #EDEDED;
    float: left;
    font-size: 14px;
    line-height: 30px;
    padding: 5px 0;
    text-align: center;
    cursor: pointer;
    color: #999999;
    font-weight: bold;
    margin: 0 15px 0 0;
    position: relative;
    transition: all 0.5s;
}
.honor-menu a span {
     position: relative;
     z-index: 2;
}

.honor-menu a:before {
     content: '';
     display: block;
     width: 0px;
     height: 100%;
     position: absolute;
     top: 0;
     left: 50%;
     transition: all 0.5s;
}

.honor-menu a:hover {
     color: #FFFFFF;
}

.honor-menu a:hover:before {
     width: 100%;
     left: 0;
     background-color: #99263F;
}

.honor-menu a.active {
    color: #FFFFFF;
}

.honor-menu a.active:before {
    width: 100%;
    left: 0;
    background-color: #99263F;
}

.honor-content .honor-list {
    width: 100%;
    overflow: hidden;
}

.honor-list ul {
    width: 100%;
    overflow: hidden;
    display: none;
}

.honor-list ul.active {
    display: block;
}



.honor-list li {
    width: 25%;
    overflow: hidden;
    background-color: #ededed;
    float: left;
    margin: 0 79px 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.5s;
    height: 281px;
}


/*.honor-list a {
    display: block;
    width: 100%;
    height: 165px;
    overflow: hidden;
}*/

.honor-list a img {
    max-width: 100%;
    height: auto;
    padding: 15px
}

.honor-list li h4 {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    height: 50px;
    line-height: 50px;
    margin: 7px 0 0;
    color: #333333;
    font-size: 16px;
}

.honor-list li:hover {
    background-color: #99263F;
}

.honor-list li:hover h4 {
    color: #FFFFFF;
}


@media only screen and (max-width: 750px) {
    .honor-menu a {
        width: 100px;
        font-size: 12px;
        margin: 0 10px 0 0;
        padding: 5px;
        line-height: 20px;
        height: auto;
    }

    .honor-content .honor-menu {
        margin: 0 0 20px;
    }

    .honor-list img {
        width: 120px;
    }

    .honor-list li {
        height: 150px;
    }
    .honor-list li {
        width: -webkit-calc(30% - -37px) !important;
        width: calc(30% - -37px) !important;
        width: -moz-calc(30% - -37px) !important;
    }
}


@media only screen and (max-width: 991px) {
    .honor-list li {
        width: calc(32% - 20px);
        width: -moz-calc(32% - 20px);
        width: -webkit-calc(32% - 20px);
        margin: 0 0 40px;
    }

        .honor-list li {
            margin: 0 28px 40px 0;
        }
}

@media only screen and (max-width: 700px) {
    .honor-content h1 {
        font-size: 28px;
        margin: 40px 0 20px;
    }

    .honor-content .honor-menu {
        margin: 0 0 20px;
    }

    .honor-menu a {
        width: 100px;
        font-size: 12px;
        margin: 0 10px 0 0;
        padding: 5px;
        line-height: 20px;
        height: auto;
    }

        .honor-menu a:last-of-type {
            margin: 0;
        }

    .honor-list li {
        width: calc(50% - 5px) !important;
        width: -moz-calc(50% - 5px) !important;
        width: -webkit-calc(50% - 5px) !important;
        margin: 0 0 10px;
        padding: 10px 10px 0;
    }

        .honor-list li:nth-of-type(2n+1) {
            margin: 0 10px 12px 0;
        }

        .honor-list li h4 {
            height: 30px;
            line-height: 30px;
            margin: 5px 0 0;
            font-size: 12px;
        }

    .honor-list img {
        padding: 10px;
    }

    .honor-img a {
        height: 85px;
    }

}



@media only screen and (min-width: 992px) {
    .honor-list li {
        width: calc(22.33% - 20px);
        width: -moz-calc(22.33% - 20px);
        width: -webkit-calc(22.33% - 20px);
        margin: 0 35px 30px 0;
    }

        .honor-list li:nth-of-type(3n+1), .honor-list li:nth-of-type(3n+2) {
            margin: 0 30px 30px 0;
        }

    .honor-img a {
        height: 170px;
    }
}

@media only screen and (min-width: 1200px) {
    .honor-list li {
        width: calc(20% - 19.5px);
        width: -moz-calc(20% - 19.5px);
        width: -webkit-calc(20% - 19.5px);
    }

        .honor-list li:nth-of-type(4n+1), .honor-list li:nth-of-type(4n+2), .honor-list li:nth-of-type(4n+3) {
            margin: 0 76px 30px 0;
        }

        .honor-list li:nth-of-type(4n) {
            margin: 0 0 30px;
        }

    .honor-img a {
        height: 135px;
    }
}

@media only screen and (min-width: 1350px) {
    .honor-img a {
        height: 165px;
    }
}


