﻿.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;
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(1,minmax(0,1fr));
    column-gap: 0;
    row-gap: 35px;
}

    .ulimgp ul {
        padding-left: 0;
    }

.lidsimg {
    position: relative;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.listImg {
    height: 236px;
    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;
    }

li.LeftAlbumHome .listImg {
    height: 507px;
}

    li.LeftAlbumHome .listImg:hover .decor2 {
        height: 95.6%;
    }

    li.LeftAlbumHome .listImg:hover .decor4 {
        height: 95.6%;
    }

ul.ListAlbumHome li {
    list-style: none;
}

.WHomeAlbum {
    padding-bottom: 99px;
    padding-top: 48px;
}

.WTiteNumberAlbum {
    position: absolute;
    bottom: 15px;
    left: 20px;
    z-index: 9;
}

.WNumberAlbumHome span {
    display: block;
    color: #FFF;
    font-family: MontserratM;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 27px */
}

ul.ListAlbumHome {
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(3,minmax(0,1fr));
    column-gap: 31px;
    row-gap: 35px;
}

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

.lidsimg h4 {
    margin: 0;
}

.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: 91%;
}

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

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

.lidsimg h4 a {
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    color: #FFF;
    font-family: 'MontserratB';
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 42px */
    text-transform: capitalize;
    -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: #2B99FF;
}


.photopage {
    margin-top: 35px;
}

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

.WBottomHomeAlbum {
    padding-top: 50px;
}


@media(max-width:1023px) {
    .no-display-mobile-tablet {
        display: none !important;
    }

    ul.ListAlbumHome {
        display: grid;
        grid-auto-rows: minmax(min-content,max-content);
        grid-template-columns: repeat(3,minmax(0,1fr));
        column-gap: 10px;
        row-gap: 10px;
    }

    .ulimgp {
        overflow: hidden;
        display: grid;
        grid-auto-rows: minmax(min-content,max-content);
        grid-template-columns: repeat(1,minmax(0,1fr));
        column-gap: 0;
        row-gap: 10px;
    }

    li.LeftAlbumHome .listImg {
        height: 482px;
    }
}

@media(min-width:740px) and (max-width:1023px) {
    .no-display-tablet {
        display: none !important;
    }
}

@media(max-width:739px) {
    .no-display-mobile {
        display: none !important;
    }

    ul.ListAlbumHome {
        display: grid;
        grid-auto-rows: minmax(min-content,max-content);
        grid-template-columns: repeat(1,minmax(0,1fr));
        column-gap: 10px;
        row-gap: 10px;
    }

    li.SideAlbumHome .ulimgp {
        overflow: hidden;
        display: grid;
        grid-auto-rows: minmax(min-content,max-content);
        grid-template-columns: repeat(2,minmax(0,1fr));
        column-gap: 10px;
        row-gap: 10px;
    }

    .lidsimg h4 a {
        font-size: 20px;
    }

    li.RightAlbumHome .ulimgp {
        overflow: hidden;
        display: grid;
        grid-auto-rows: minmax(min-content,max-content);
        grid-template-columns: repeat(2,minmax(0,1fr));
        column-gap: 10px;
        row-gap: 10px;
    }

    .lidsimg {
        /* width: calc(100% / 2); */
    }

    .listImg {
        height: 200px;
    }

    li.LeftAlbumHome .listImg {
        height: 285px;
    }

    .listImg {
        height: 145px;
    }

    .lidsimg h4 a {
        font-size: 17px;
    }

    .decor1, .decor2, .decor3, .decor4 {
        display: none;
    }

    .lidsimg {
        /* padding: 0 5px; */
    }

    li.LeftAlbumHome .listImg:hover .decor1 {
        width: 97%;
    }

    li.LeftAlbumHome .listImg:hover .decor3 {
        width: 97%;
    }
}
