/*------------ link ------------*/

.link-list {
    margin: 0 -15px;
}

.link-list li {
    width: calc((100% / 4) - 0.1px);
    padding: 0 15px 50px;
}

.link-list li:nth-child(4n+1) {
    clear: left;
}

.link-list li .box {
    transition: all .2s;
    margin: 0 auto;
    position: relative;
    max-width: 240px;
    box-sizing: border-box;
}

.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;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    z-index: 100;
}

.link-list li .box:hover .pic a:before {
    transition: all .2s;
    opacity: 1;
}
.link-list li .name a{
    position: static;
     display: block;
   

}
.link-list li .name span a{
    padding: 10px 10px 11px 0px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.link-list li .name {
    display:block;
    background: #FFFFFF;
    line-height: 1.2;
    padding-left: 50px;
    color: #4D4D4D;
    font-size: 16px;
    font-weight: bold;
    position: relative;
    margin: 1px 0 0 0;
    transition: all .2s;
}

.link-list li .name i {
    font-size: 16px;
    color: #fff;
    background: #e62420;
    position: absolute;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    top: 0;
    left: 0;
}

/*.link-list li .name span {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
*/
.link-list li .box:hover .name{
    background: #000000;
    color: #fff;
    transition: all .2s;
}


/*------------ rwd ------------*/

@media screen and (max-width: 1024px) {
    .link-list li {
        padding: 0 10px 50px;
    }
}

@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: 767px) {
    .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: 480px) {
    .link-list li {
        width: 100%;
        padding: 0 0 50px;
    }
}
