/*------------ link ------------*/

.link-list {
    margin: 30px -20px 0;
}

.link-list li {
    width: 25%;
    padding: 0 20px 40px;
}

.link-list li:nth-child(4n+1) {
    clear: left;
}

.link-list li .box{
    transition: all .2s;
    margin: 0 auto;
    position: relative;
    max-width: 296px;
    box-sizing: border-box;
}
.link-list li .box .cover{
    font-size: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index:30;
}
.link-list li .pic {
    position: relative;
}

.link-list li .pic a:before {
    content: "";
    position: absolute;
    display: block;
    transition: all .2s;
    opacity: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
}

.link-list li .name {
    padding: 2px 10px 5px 55px;
    position: relative;
    margin: 1px 0 0 0;
    transition: all .2s;
}

.link-list li .name:before {
    font-family: 'icon-font' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 36px;
    height: 36px;
    line-height: 36px;
    display: block;
    font-size: 15px;
    position: absolute;
    top: -10px;
    left: 5px;
    text-align: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    line-height: 40px;
    transition: all .2s;
    z-index: 150;
}

.link-list li .name span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*------------ rwd ------------*/

@media screen and (max-width: 1024px) {
    .link-list {
        margin: 0 -10px;
    }
    .link-list li {
        padding: 0 10px 40px;
    }
}

@media screen and (max-width: 900px) {
    .link-list li {
        width: calc((100% / 3) - 0.1px);
    }
    .link-list li:nth-child(4n+1) {
        clear: none;
    }
    .link-list li:nth-child(3n+1) {
        clear: left;
    }
}

@media screen and (max-width: 600px) {
    .link-list li {
        width: 50%;
    }
    .link-list li:nth-child(3n+1) {
        clear: none;
    }
    .link-list li:nth-child(2n+1) {
        clear: left;
    }
}

@media screen and (max-width: 350px) {
    .link-list li {
        width: 100%;
        padding: 0 0 50px;
    }
}
