﻿.photos * {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lstImgContent {
}

    .lstImgContent li:nth-child(3n+3) {
        margin-right: 0;
    }

    .lstImgContent li:nth-child(n+4) { /* margin-top:10px; */
    }

    .lstImgContent li { /* width:19%; */ /* margin-top:10px; */ /* margin-right:1.25%; */ /* padding:2px; */ /* box-sizing: border-box; */
    }

    .lstImgContent .backgr-img {
        width: 100%;
        height: 100%;
        display: block;
        background-position: center;
        background-size: cover;
    }

    .lstImgContent li:nth-child(5n+5) {
        margin-right: 0;
    }

    .lstImgContent .postImg {
        height: 290px;
        overflow: hidden;
        position: relative;
        box-sizing: border-box;
    }

        .lstImgContent .postImg img { /* height: 100%; */ /* width: auto; */ /* left:0; */ /* right:0; */ /* margin:auto; */
        }

.listImage, .listVieos {
    overflow: hidden;
    margin: 0;
    padding: 2px;
    list-style: none;
    padding: 0;
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(2,minmax(0,1fr));
    column-gap: 30px;
    row-gap: 30px;
}

    .listImage *, .listVieos * {
        margin: 0;
        padding: 0;
        list-style: none;
        color: inherit;
        text-decoration: none;
    }

    .listImage > li, .listVieos > li {
        box-sizing: border-box;
        display: block;
        overflow: hidden;
    }

        .listImage > li:nth-child(4n+4) {
            margin: 0;
        }

    .listImage .listImg, .listVieos .postImg {
        height: 365px; /* border:5px solid #fff; */ /* outline:1px solid #e1e1e1; */
        border-radius: 10px;
        overflow: hidden;
    }

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

    .listImage .listImg li {
        top: 0;
        width: 100%;
        height: 100%;
        position: absolute;
        display: none;
    }

    .listImage .listImg img {
        outline: 1px solid rgba(255,255,255,.8);
        outline-offset: -9px;
        height: 100%;
        right: 0;
        margin: auto 0 !important;
        object-fit: cover;
    }

    .listImage h4, .listVieos h4 {
        margin: 0;
        font-size: 20px;
        font-family: 'BeVNR';
        font-weight: normal;
        text-align: center;
        color: #2c2f35;
        margin-top: 11px;
        line-height: 1.6;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .listVieos li { /* padding:2px; */ /* box-sizing:border-box; */
    }

        .listVieos li img { /* box-shadow:0 0 2px #414141; */
            width: auto;
            height: 100%;
            min-width: 100%;
        }

    .listVieos .postImg a {
        position: relative;
        display: block;
        height: 100%;
    }

    .listVieos li .postImg a:after {
        content: "\f04b";
        font-family: FontAwesome;
        position: absolute;
        left: calc((100% - 50px) / 2);
        top: calc((100% - 32px) / 2);
        font-size: 16px;
        color: #fff;
        opacity: .9;
        transition: transform 1s;
        background: #e50d14d1;
        width: 50px;
        height: 32px;
        text-align: center;
        line-height: 33px;
        border-radius: 10px;
    }

@media only screen and (max-width :1279px) {
    .lstImgContent .postImg {
        height: 254px;
    }

    .listImage .listImg { /* height: 140px; */
    }
}

@media only screen and (max-width :1023px) {
    .lstImgContent .postImg {
        height: 110px;
    }
}

@media only screen and (max-width :767px) {
    .photos h4 {
        font-size: 16px;
    }

    .listImage, .listVieos {
        overflow: hidden;
        margin: 0;
        padding: 2px;
        list-style: none;
        padding: 0;
        display: grid;
        grid-auto-rows: minmax(min-content,max-content);
        grid-template-columns: repeat(2,minmax(0,1fr));
        column-gap: 10px;
        row-gap: 10px;
    }

    .lstImgContent .postImg {
        height: 100px;
        border-width: 3px;
    }

    .listImage .listImg {
        height: 100px;
    }

    .listVieos .postImg {
        height: 130px;
    }

    .listImage h4, .listVieos h4 {
        font-size: 16px;
    }

    .listVieos li .postImg a:after { /* font-size:30px; */
    }

    .inner-page {
        padding-top: 20px;
        padding-bottom: 0;
        margin-bottom: 20px;
    }
}

@media only screen and (max-width :479px) {
    .photos h4 {
        font-size: 14px;
    }

    .lstImgContent .postImg {
        height: 65px;
    }

    .listVieos .postImg {
        height: 100px;
    }
}

.title-category h1 {
    color: #32393f;
    text-align: center;
    font-size: 27px;
    line-height: calc(100% + 3px);
    font-family: 'Bebas';
}

span#ctl00_main_lbThongbao {
    font-size: 20px;
}

.fancybox-slide--iframe .fancybox-content {
    max-width: 100%;
}

.listVieos h4:hover {
    color: #ffd450;
}
