@media only screen and (max-width: 767px) {
  .div-table-row {
    flex-wrap: wrap;
    gap: 1rem;
  }
}
@media only screen and (min-width: 991px) {
  .hidden-md {
    display: none;
  }
}
@media only screen and (max-width: 1024px) {
  .hidden-md {
    display: block !important;
  }
}

@media only screen and (max-width: 991px) {
  .mobile-map-wrap {
    position: fixed !important;
    top: 60px;
    z-index: 15;
    max-width: 100%;
    left: 15px;
    right: 15px;
  }
  .search-layout-wrap {
    display: flex;
    flex-direction: column-reverse;
  }
  header {
    position: sticky;
    top: 0;
    z-index: 80;
  }
  .featured-map .search-collection {
    position: sticky !important;
    top: 60px;
  }
  .featured-map {
    display: flex;
    flex-direction: column-reverse;
  }
  #product-list-map {
    min-height: 50vh;
    border-bottom: 1px solid #055699;
  }

  .search-collection {
    position: relative !important;
  }
  .home-search-box .tops {
    width: 290px;
    margin: auto;
  }

  .home-search-box .contents {
    width: 290px;
    margin: auto;
  }

  #MainContent {
    padding-top: 30px;
    flex-grow: 1;
  }

  .m3-P {
    margin-bottom: 10px;
  }

  .home-news-product .right-line {
    border-right: none;
  }

  .home-news-product .newsletter-form .float-left {
    text-align: center;
    width: 100%;
  }

  .home-news-product .newsletter-form .float-right {
    text-align: center;
    width: 100%;
  }

  .footer .fcolumleft ul {
    width: 100%;
  }

  .footer .fcolumleft {
    width: 100%;
  }

  .footer .fcolumright {
    width: 100%;
  }

  .logo-bct {
    text-align: center;
    position: initial !important;
  }

  .newsletter-form input[type="text"] {
    width: 100%;
  }

  .header-desktop {
    display: none;
  }

  .header-mb {
    display: block;
  }

  /* Header */
  .fixheight {
    width: 100%;
    position: relative;
    z-index: 3;
  }

  #naga {
    z-index: 2 !important;
  }

  .naga {
    height: 60px;
    text-align: center;
    width: 100%;
    right: 0;
    top: 0;
    background: #055699;
    border-bottom: 1px solid #226aa5;
  }

  .st-panel {
    display: block !important;
    float: left;
    padding-top: 10px;
  }

  .img-naga-l {
    height: 40px;
    left: 0;
    padding-left: 20px;
    padding-top: 10px;
    position: absolute;
    width: 100px;
  }

  .sr-icon-r {
    background: url(../img/mini4.png) right -26px no-repeat;
    width: 19px;
    height: 19px;
    display: block;
  }

  .pushmenu, .pushmenu-push {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }

  .pushmenu-left {
    left: -270px;
  }

  .pushmenu {
    background: #fff;
    width: 270px;
    height: 100%;
    top: 0;
    z-index: 16000003;
    position: fixed;
  }

  .pushmenu-left.pushmenu-open {
    left: 0;
    overflow: scroll;
  }

  .user-area {
    padding: 25px 0;
    text-align: center;
  }

  .user-area .m-user-ava {
    float: none;
    width: 100%;
    text-align: center;
    margin-bottom: 5px;
  }

  .m-user-ava img {
    border-radius: 56px;
    height: 68px;
    width: 68px;
  }

  .user-action {
    padding: 10px 0;
  }

  .user-action a {
    color: #0072bc;
    font-weight: bold;
  }

  .user-post {
    display: inline-block;
    background-color: var(--cus-yellow);
    padding: 8px 40px;
    border-radius: 4px;
  }

  .user-post strong {
    color: #fff;
  }

  .dropdown-navigative-menu li.hover, .dropdown-navigative-menu li:hover, .dropdown-navigative-menu li.active {
    background-color: #e7edf2;
  }

  .dropdown-navigative-menu {
    display: block;
  }

  .dropdown-navigative-menu .lv0 {
    display: inline-block;
    border: none;
    width: 100%;
  }

  .slide-menu a {
    color: #0072bc !important;
    display: inline-block;
    width: 75%;
  }

  .arrrow {
    float: right;
    height: 32px;
    width: 32px;
    background: url(../img/down.png) no-repeat center center;
    cursor: pointer;
  }

  .dropdown-navigative-menu li a {
    float: left;
  }

  .dropdown-navigative-menu .lv0:hover {
    background: #fff;
  }

  .dropdown-navigative-menu ul {
    position: initial;
    width: 100%;
  }

  .dropdown-navigative-menu ul li {
    display: inline-block;
    width: 100%;
    background: #fff !important;
  }

  .dropdown-navigative-menu li:hover > ul {
    display: none;
  }

  .show {
    transition: cubic-bezier(0.17, 0.04, 0.03, 0.94);
    display: block !important;
  }

  .pushmenu-push-toright {
    left: 270px;
    position: relative;
  }

  .overlaydiv {
    position: relative;
  }

  .overlaydiv:after {
    content: " ";
    z-index: 11;
    display: block;
    position: absolute;
    height: 100%;
    top: 0;
    left: -15px;
    right: -15px;
    background: rgba(0, 0, 0, 0.5);
  }

  .table-responsive {
    display: none;
  }


  /* Force table to not be like tables anymore */
  table.table-list-post, .table-list-post thead, .table-list-post tbody, .table-list-post th, .table-list-post td, .table-list-post tr {
    display: block;
  }

  /* Hide table headers (but not display: none;, for accessibility) */
  .table-list-post thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .table-list-post tr {
    border: 1px solid #ccc;
  }

  .table-list-post td {
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 50%;
  }

  .table-list-post td:before {
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
  }

  /*
  Label the data
  */
  .table-list-post td:nth-of-type(1):before {
    content: "STT";
  }

  .table-list-post td:nth-of-type(2):before {
    content: "Mã tin";
  }

  .table-list-post td:nth-of-type(3):before {
    content: "Tiêu đề";
  }

  .table-list-post td:nth-of-type(4):before {
    content: "Xem";
  }

  .table-list-post td:nth-of-type(5):before {
    content: "Ngày bắt đầu";
  }

  .table-list-post td:nth-of-type(6):before {
    content: "Ngày hết hạn";
  }

  .table-list-post td:nth-of-type(7):before {
    content: "Ghi chú";
  }


  .tbl td {
    padding-left: 30%;
    text-align: initial;
  }

  .blog-main .box-content {
    display: block;
  }

  .blog-main .box-content .box-left-content {
    width: 100%;
  }

  .blog-main .box-content .box-right-content {
    width: 100%;
  }

  .blog-main .box-content .box-right-content .article-box-content {
    padding-left: 0px;
  }

  .blog-main .list-blog .blog .content {
    width: 100%;
  }

  .blog-main .list-blog .blog .list-articles {
    width: 100%;
  }

  .list-product .product-loop .p-main-image-crop {
    width: 100% !important;
  }

  .list-product .product-loop .p-content {
    width: 100% !important;
  }

  .list-product .p-bottom-crop {
    position: inherit;
    width: 100%;
  }

  .rowContent .rowContentLeft .postrow .base1 {
    width: 48%;
  }

  .rowContent .rowContentLeft .postrow .base2, .rowContent .rowContentLeft .postrow .base4 {
    width: 50%;
  }

  .rowContent .rowContentLeft .postrow .base4 {
    margin-top: 10px;
  }

  .rowContent .rowContentLeft .postrow .base5 {
    width: 50%;
  }

  .product-description, .product-image {
    margin-left: 5px;
  }

  .product-description textarea {
    width: 100% !important;
  }

  .account-form .rowContent .product-description div {
    width: 100% !important;
  }

  .pm-middle-content .div-table-cell {
    display: block;
    width: 100%;
  }

  .pm-middle-content .table1 .left {
    width: 50%;
  }

  .pm-middle-content .table1 .right {
    width: 50%;
  }

  .product-loop-detail .p-main-image-crop {
    width: 100%;
  }

  .product-loop-detail .p-main {
    margin-right: 7px;
  }

  .product-loop-detail .p-main-image-crop .product-avatar-img {
    width: 100%;
    height: auto;
  }

  .product-loop-detail .p-bottom-crop {
    position: initial;
    width: 96%;
    display: inline-flex;
  }

  .get-bds-ring {
    display: none;
  }

  .search-collection .box-header {
    max-width: 290px;
  }
  .box-header {
    width: 290px;
    margin: auto;
  }

  .newsletter-content {
    width: 290px;
    margin: auto;
  }

  .fb-page {
    width: 290px;
    margin: auto;
  }

  .MainBlog .box-header {
    width: 100%;
  }

  .content-collection .Header .Repeat h2 {
    width: 49%;
  }

  .list-product .product-loop .p-main {
    margin-right: 7px;
  }

  .pm-middle-content div .box-header {
    width: 100%;
  }

  .article-main-blog {
    display: block;
  }
  .article-main-blog .thumb-img-article {
    width: 100%;
    margin-bottom: 10px;
  }
  .article-loop-blog .article-blog {
    display: block;
  }
  .article-blog .thumb-img-article {
    width: 100%;
    margin-bottom: 10px;
  }
}
.news-product .image a{
  height: 100%;
  width: 100%;
}
@media only screen and (max-width: 475px) {
  .home-news-product ul.nav {
    display: flex;
    overflow: auto;
    white-space: nowrap;
  }
  .home-product ul.nav {
    display: flex;
    justify-content: center;
  }
  .news-product .image {
    width: 100%;
    margin: 0px;
    padding-bottom: 10px;
    height: 240px;
    display: flex;
    justify-content: center;
  }

  .news-product .content-news-product {
    width: 100%;
  }
}

@media only screen and (max-width: 375px) {

  .news-product .image {
    width: 100%;
    margin: 0px;
    padding-bottom: 10px;
    height: 240px;
    display: flex;
    justify-content: center;
  }

  .news-product .content-news-product {
    width: 100%;
  }
}
