body {
  min-width: 100% !important;
  overflow-x: hidden !important;
}

@media (max-width: 1024px) {
  .dm-noibat {
    width: 100%;
    margin-bottom: 0;
  }

  .flex-cus,
  .row-video {
    margin-left: -10px;
    margin-right: -10px;
  }

  .mg-cus,
  .mg-video {
    padding-left: 10px;
    padding-right: 10px;
  }

  .content-text img {
    height: auto !important;
  }

  .padding-top-bottom {
    padding: 1rem 0;
  }

  .pad-top {
    padding-top: 1rem;
  }

  .pad-bottom {
    padding-bottom: 1rem;
  }

  .mg-top {
    margin-top: 2rem;
  }

  .mg-bottom {
    margin-bottom: 2rem;
  }

  .title-detail-main {
    font-size: 20px;
  }

  .cart-fixed {
    bottom: 220px;
  }

  .btn-frame {
    display: none;
  }

  .cart-pro-detail {
    width: 100%;
    margin-top: 10px;
  }

  .pad-bottom {
    padding-bottom: 1rem !important;
  }

  .pad-top {
    padding-top: 1rem !important;
  }

  .padding_top_bottom {
    padding: 1rem 0 !important;
  }

  .menu {
    display: none;
  }

  .menu-res {
    display: block !important;
  }

  .product-tool {
    opacity: 1;
    visibility: visible;
    position: initial;
  }

  .product-tool a span {
    display: none;
  }

  .header,
  .widget-mobile,
  .support-online,
  .plugbar,
  .fixbar {
    display: none;
  }

  .logo-mmenu {
    background: #fff;
  }

  .box-qt h3 {
    font-size: 14px;
  }

  .box-qt {
    padding: 20px 50px;
  }

  .cam-nhan {
    padding-bottom: 50px;
  }
}

@media (max-width: 992px) {
  .wrap-about .about-img img:nth-child(2) {
    margin-left: 0;
    margin-top: 0;
    position: relative;
  }
  .header-nav.fixed {
    background: #07a553;
  }
  .tt-left {
    display: none;
  }

  .cam-nhan {
    margin-top: 10px;
  }

  .cam-nhan,
  .mau-nha,
  .tt-right {
    width: 100%;
  }

  .box-qt {
    width: calc(100% / 2);
    padding: 20px 0;
    margin-bottom: 20px;
  }

  .name-product {
    font-size: 14px;
  }

  .dm-noibat a {
    font-size: 15px;
  }

  .name-dv {
    font-size: 14px;
    padding: 10px 20px;
  }

  .gt-left {
    margin-bottom: 10px;
    width: 100%;
    order: 2;
  }
  .gioi-thieu {
    padding: 10px 0;
  }

  .slideshow,
  .gt-right {
    width: 100%;
  }

  .video-noi-bat {
    width: 100%;
  }

  .footer-title:after {
    width: 100%;
  }

  #fanpage-facebook {
    overflow: hidden;
    margin: auto;
  }

  .footer-news:nth-child(4) {
    width: 100%;
  }

  .footer-news:nth-child(3) {
    width: 100%;
    margin-bottom: 20px;
  }

  .footer-news:nth-child(2) {
    width: 100%;
    margin: 20px 0;
  }

  .footer-news:nth-child(1) {
    width: 100%;
  }

  .time-news {
    display: none;
  }

  .copyright,
  .statistic {
    width: 100%;
  }

  .footer-ul li {
    width: calc(100% / 2 - 5px);
  }

  .footer-ul {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .wrap-about .about-img {
    display: flex;
    gap: 10px;
    flex-direction: row;
    flex-wrap: nowrap;
  }
  .wrap-about .about-img img {
    flex: 1 1 0;
    min-width: 0;
    width: calc(50% - 5px);
    height: auto;
    aspect-ratio: 405 / 540;
    object-fit: cover;
  }
  div.box-bangtinh {
    padding: 10px 0;
  }

  .dm-noibat a {
    margin: 0;
  }

  .container-dk {
    padding: 30px 50px;
    clip-path: polygon(10% 0, 100% 0, 100% 80%, 90% 100%, 0 100%, 0 20%);
  }

  .newsletter-input {
    width: 100%;
  }

  .mt-5,
  .my-5 {
    margin-top: 1rem !important;
  }

  .box-dv {
    grid-column: span 2;
    margin-bottom: 10px;
  }

  .container-dv {
    grid-template-rows: repeat(3, 1fr);
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
  }

  .item-video1 img {
    height: 250px;
  }

  .right-intro {
    width: 100%;
  }

  .left-intro {
    width: 100%;
    margin-bottom: 20px;
    padding-right: 0;
  }

  .left-pro-detail,
  .right-pro-detail {
    width: 100%;
    margin: 0px;
  }

  .left-pro-detail,
  .top-contact .article-contact {
    margin-bottom: 30px;
  }

  .pic-news,
  .info-news {
    width: 100%;
    float: none;
  }

  .info-news {
    margin-top: 15px;
    padding-left: 0;
  }
}

@media (max-width: 576px) {
  .item_history .info {
    margin-top: 10px;
  }
  .flex-chinhanh {
    position: relative;
    bottom: 10px;
  }
  div.box-bangtinh div.frm_lienhe .clearfix {
    display: flex !important;
    flex-wrap: wrap !important;
  }
  .dm-noibat a {
    margin: 0 5px 10px 5px;
    padding: 7px 40px;
  }
  .title-gt {
    margin-bottom: 1rem;
  }
  .box-tt {
    /* min-height: 496px; */
    overflow: hidden;
  }
  .box_huongdan {
    margin-top: 10px !important;
  }
  div.box-bangtinh .thongtincb {
    padding: 10px 0;
  }
  div.box-bangtinh div.frm_lienhe .item_lienhe {
    width: 47%;
    float: none !important;
    margin-left: 8px !important;
  }
  .container-dk {
    clip-path: unset;
    padding: 20px 10px;
  }

  .box-qt {
    width: 100%;
  }

  .title-main.title-main-1 p {
    font-size: 12px;
  }

  .title-main span {
    font-size: 22px;
  }

  .mb-3,
  .my-3 {
    margin-bottom: 0.5rem !important;
  }

  .flex-cus,
  .row-video {
    margin-left: -5px;
    margin-right: -5px;
  }

  .mg-cus,
  .mg-video {
    padding-left: 5px;
    padding-right: 5px;
  }

  .box-dv {
    grid-column: span 4;
  }

  .box-img {
    padding-bottom: 0;
  }

  .box-img:before {
    display: none;
  }

  .img-gt:last-child {
    position: relative;
  }

  .newshome-scroll {
    width: 100%;
  }

  .newshome-intro {
    width: 100%;
    margin-bottom: 20px;
  }

  .top-contact .form-contact .button-contact .file-contact span b {
    max-width: 105px;
  }

  .cart-pro-detail {
    flex-wrap: wrap;
  }

  .cart-pro-detail a {
    width: 100%;
    text-align: center;
    margin: 0px !important;
  }

  .cart-pro-detail a:first-child {
    margin-bottom: 5px !important;
  }
}
@media (max-width: 380.98px) {
  .dm-noibat a {
    padding: 7px 10px;
  }
  div.box-bangtinh div.frm_lienhe .item_lienhe {
    width: 46%;
  }
}
