﻿.photo {
    position: relative;
    padding: 20px 0;
    padding-bottom: 88px;
}

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

    .ulimgp ul {
        padding-left: 0;
    }

.lidsimg {
    float: left;
    width: 100%;
    -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;
}

    .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;
    padding: 0 15px;
    transform: translateY(-20px);
    width: fit-content;
    margin: 0 auto;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.lidsimg:hover h4 a {
    background-color: #fff;
    color: var(--default-color-2);
    box-shadow: 5px 5px 13px 0px #3333336e;
}

.lidsimg h4 a {
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    color: var(--tt-default-color);
    text-align: center;
    -webkit-box-orient: vertical;
    color: #fff;
    display: -webkit-box;
    -webkit-transition: all linear .2s;
    -o-transition: all linear .2s;
    background-color: var(--default-color-1);
    box-shadow: 0 0 8px 0px #33333369;
    transition: all linear .2s;
    font-size: 18px;
    padding: 8px 22px;
    width: fit-content;
    border-radius: 5px;
    font-weight: normal;
    line-height: 140%;
    font-family: 'Taviraj-Medium';
}

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

h1.p-title {
    margin: 0;
    font-family: 'ITALIANNO-REGULAR';
    font-size: 50px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #fff;
}

h2.p-descript {
    display: block;
    margin: auto;
    color: #d26e4b;
    font-family: 'TAVIRAJ-MEDIUM';
    font-size: 16px;
    font-style: italic;
    font-weight: 500;
    line-height: normal;
}

.photo:before {
    content: "";
    position: absolute;
    background: url(/Design/img/NhaHang/dv/b1.png) no-repeat;
    background-size: cover;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.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-1);
}

.photopage {
    margin-top: 35px;
}

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

@media (max-width: 739px) {
    h1.p-title {
        font-size: 28px;
    }

    h2.p-descript {
        font-size: 13px;
    }
}