﻿@charset "utf-8";
/*
** 功能名称：响应式界面布局
** 
*/

/* to 列表模板二 */
.list2-Main {
    margin: 0 auto;
    padding: 3% 4%;
    max-width: 420px;
    max-height: 370px;
    visibility:hidden;
}
.ie .list2-Main {
    visibility:visible;
}
.list2-top {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.list2-img {
    width: 100%;
    height: 0;
    padding-bottom: 70%;
    overflow: hidden;
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    background-size: contain;
}

.list2-top .list2-cover {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    opacity: 0;
}

.list2-txt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 80%;
    height: 40px;
    line-height: 1.5;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    margin-bottom: 15px;
    text-align: center;
}

.list2-bottom .list2-Title {
    width: 100%;
    height: 30px;
    line-height: 40px;
    font-size: 16px;
    color: #3b3b3b;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    text-align: center;
}

.list2-bottom .list2-time {
    font-size: 14px;
    color: #7b7b7b;
}

.list2-Main:hover > a .list2-top .list2-cover {
    opacity: 1;
}

.list2-Main a:hover {
    text-decoration: none;
}

.list2-Main:hover > a .list2-bottom .list2-Title {
    color: red;
}
/* end */
