/**!
 * 通用列表
 * date:2021-8-9
 * author: hhj;
 */

.main-content {
    margin-top: 12px;
}

.media-title {
    height: 42px;
    line-height: 42px;
    text-align: center;
    color: #2e5bb5;
    font-weight: bold;
    font-size: 24px;
}

.media-list {
    margin: 20px -13px 0;
}

.media-list li {
    float: left;
    width: 16.666%;
}

.media-list li:nth-child(n+7) {
    margin-top: 24px;
}

.media-content {
    display: block;
    height: 170px;
    padding-top: 18px;
    margin: 0 13px;
    background: #eff6ff;
    text-align: center;
    border: 2px solid transparent;
    -webkit-transition: background-color, border-color 0.3s;
    transition: background-color, border-color 0.3s;
}

.media-content:hover {
    background: #fff;
    border-color: #4472e1;
}

.media-content:hover .media-name {
    color: #2e5bb5;
    font-weight: bold;
}

.media-code {
    height: 110px;
}

.media-code img {
    max-width: 90%;
    height: 100%;
}

.media-name {
    line-height: 35px;
    font-size: 16px;
    color: #666;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
}

.tabview {
    margin-top: 70px;
}

.tab-hdl {
    float: left;
    width: 25%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 20px;
    color: #666;
    background: #eff6ff;
    cursor: pointer;
}

.tab-hdl.active {
    color: #fff;
    background-color: #426de1;
}

.media-hd {
    height: 26px;
    line-height: 26px;
    text-align: center;
    color: #2e5bb5;
    font-size: 18px;
    font-weight: bold;
    background: url("../images/subimages/media_title.png") center center no-repeat;
}

.media-hd+.media-list {
    margin-top: 26px;
}

.media-cont {
    margin-top: 36px;
}

.footer {
    margin-top: 50px;
}

/* 1200以下 */
@media (max-width: 1199px) {
    .media-list li {
        width: 20%;
    }
}

/* pad */
@media (max-width: 1023px) {
    .location {
        padding-left: 12px;
    }

    .main-content {
        padding: 8px 10px 0;
    }

    .media-list li {
        width: 25%;
    }

    .media-list li:nth-child(n+5) {
        margin-top: 24px;
    }
}

@media (max-width: 767px) {
    .media-list li {
        width: 50%;
    }

    .media-list li:nth-child(n+3) {
        margin-top: 24px;
    }

    .footer {
        margin-top: 10px;
    }
}