﻿/* 模板7 */
.build_top {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}
.tp_img {
    max-width: 100%;
    height: auto;
    position: absolute;
    right: 0;
    top: 0;
}
.build_top_zn {
    font-size: 24px;
    color: #ffffff;
    line-height: 1.3;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    min-height: 31px;
}

.build_top_en {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2px;
    min-height: 31px;
}

.build_top_en>p {
    font-size: 24px;
    color: #ffffff;
    line-height: 1.3;
    flex: 1;
    min-width: 1px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.build_top_en>a {
    font-size: 16px;
    color: #ffffff;
    line-height: 1;
}
.build_demo7 {
    margin-top: 40px;
    padding-left: 53px;
    padding-right: 53px;
    padding-top: 52px;
    padding-bottom: 35px;
    box-sizing: border-box;
    background-color: #ffffff;
    position: relative;
}

.build_demo7 .build_top_zn,
.build_demo7 .build_top_en>p,
.build_demo7 .build_top_en>a {
    color: #882931;
}

.demo7_list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    /*justify-content: space-between;*/
    margin-top: 38px;
    position: relative;
    z-index: 2;
}

.build_demo7 .demo7_item {
    display: block;
    width: 245px;
    margin-bottom: 20px;
    border-radius: 5px;
    margin-right: 18px;
}
.build_demo7 .demo7_item:nth-child(4n){
    margin-right: 0;
}
.demo7_item_img {
    width: 245px;
    height: 160px;
    overflow: hidden;
}

.demo7_item_img>span {
    display: block;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: all 0.3s;
}

.demo7_item_bot {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    transition: all 0.3s;
    padding: 0 10px;
    box-sizing: border-box;
}

.demo7_item_bot>p {
    font-size: 16px;
    color: #333333;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    transition: all 0.3s;
    margin: 0;
}
.demo7_item:hover .demo7_item_bot{
    background-color: #882931;
}
.demo7_item:hover .demo7_item_bot>p{
    color: #ffffff;
}
.demo7_item:hover .demo7_item_img>span{
    transform: scale(1.1);
}