﻿.photo {
    padding: 20px 0;
}

    .photo .top {
    }

        .photo .top h1 {
            font-size: 30px;
            font-family: osB;
            color: #c01120;
            text-align: center;
        }

        .photo .top h2 {
            font-size: 20px;
            color: #222;
            text-align: center;
        }

    .photo .bottom {
        margin-top: 30px;
    }

        .photo .bottom .item {
            overflow: hidden;
            cursor: pointer;
            margin-bottom: 15px;
            display: block;
        }

            .photo .bottom .item img {
                border-radius: 8px;
            }

.photopage h3 {
    font-size: 16px;
    display: none;
}

.ulimgp {
    overflow: hidden;
    padding-left: 0;
}

    .ulimgp ul {
        padding-left: 0;
    }

.lidsimg {
    float: left;
    width: calc(100% / 3);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
    margin-bottom: 2%;
    padding: 0 10px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.listImg {
    height: 300px;
    position: relative;
}

    .listImg ul {
        width: 100%;
        position: relative;
        height: 100%;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    .listImg li {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 8px;
        overflow: hidden;
    }

        .listImg li img {
            width: 100%;
            height: 100%;
            -o-object-fit: cover;
            object-fit: cover;
        }

.lidsimg h4 {
    font-size: 17px;
    margin-top: 8px;
}

.decor1 {
    position: absolute;
    width: 0%;
    height: 2px;
    background: #fff;
    top: 11px;
    left: 10px;
    z-index: 9;
    transition: all .2s;
}

.decor2 {
    position: absolute;
    width: 2px;
    height: 0%;
    background: #fff;
    top: 11px;
    left: 10px;
    z-index: 9;
    transition: all .4s;
}

.decor3 {
    position: absolute;
    width: 0%;
    height: 2px;
    background: #fff;
    bottom: 10px;
    left: 10px;
    z-index: 9;
    transition: all .5s;
}

.decor4 {
    position: absolute;
    width: 2px;
    height: 0%;
    background: #fff;
    top: 11px;
    right: 10px;
    z-index: 9;
    transition: all .3s;
}

.listImg:hover .decor1 {
    width: 94%;
}

.listImg:hover .decor2 {
    height: 93%;
}

.listImg:hover .decor3 {
    width: 94%;
}

.listImg:hover .decor4 {
    height: 93%;
}

.lidsimg h4 a {
    color: #222;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    color: var(--tt-default-color);
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-transition: all linear .2s;
    -o-transition: all linear .2s;
    transition: all linear .2s;
}

.lidsimg img {
    -webkit-transition: all linear .3s;
    -o-transition: all linear .3s;
    transition: all linear .3s;
}

.lidsimg:hover img {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

.lidsimg:hover h4 a {
    color: var(--default-color-3);
}


.photopage {
    margin-top: 35px;
}

.photo .contain {
    margin-top: 30px;
}
