﻿@charset "utf-8";
/**
* 功能名称：列表页模板2号
* 开发者：用我在线__quitter
* 最后修改日期：2020年6月19日
**/

.__box{
    width: 100%;
    overflow: hidden;
}
.__box:before,.__box:after{
    content: "";
    display: table;
    clear: both;
}

._2_item{
    width: 104%;
    display: flex;
    flex-wrap: wrap;
}

._2_list {
    width:29%;
    flex: 0 0 calc(33.33333% - 4%);
    margin-right: 4%;
    margin-bottom: 4%;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

._2_list_img{
    width: 100%;
    padding-bottom: 125%;
    background-color: #e4e5e2;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

._2_list_bot{
    bottom: -55px;
    width: 100%;
    color: #ffffff;
    position: absolute;
    padding: 10px 20px 17px;
    box-sizing: border-box;
    transition: bottom .6s ease-out;
}

._2_list_bot:before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: var(--style);
    left: 0;
    bottom: 0;
    opacity: 0.8;
    z-index: 0;
}

._2_list_bot_title{
    font-size: 16px;
    height: 35px;
    line-height: 30px;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    text-overflow: ellipsis;
    z-index: 1;
}

._2_list_bot_des{
    z-index: 1;
    display: block;
    width: 100%;
    font-size: 14px;
    line-height: 20px;
    position: relative;
    
}

._2_list_lin1 {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 20px;
}

._2_list_lin2 {
    height:40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
}

    ._2_list_bot_date {
        position: relative;
        z-index: 1;
        font-size: 14px;
    }

._2_list:hover ._2_list_bot{
    bottom: 0;
}

._2_list:hover ._2_list_img{
    opacity: 0.9;
}