@media (max-width: 1024px) {
  .contact-input {
    margin-bottom: 15px;
  }

  .flex-cus,
  .row-video, .row-20 {
    margin-left: -5px;
    margin-right: -5px;
  }

  .mg-cus,
  .mg-video, .col-20 {
    padding-left: 5px;
    padding-right: 5px;
  }

  .content-text img {
    height: auto !important;
  }

  .padding-top-bottom {
    padding: 2rem 0;
  }

  .pad-top {
    padding-top: 2rem;
  }

  .pad-bottom {
    padding-bottom: 2rem;
  }

  .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: 2rem !important;
  }

  .pad-top {
    padding-top: 2rem !important;
  }

  .padding-top-bottom {
    padding: 0;
    margin: 25px 0 30px;
  }

  .menu {
    display: none;
  }

  .menu-res {
    display: block;
  }

  .product-tool {
    opacity: 1;
    visibility: visible;
    position: initial;
  }

  .product-tool a span {
    display: none;
  }
}

@media (min-width: 767px) and (max-width: 991px) {
  .othernews {
    position: initial;
  }

  .footer-title:after {
    width: 100%;
  }

  #fanpage-facebook {
    width: 300px;
    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%;
    text-align: center;
  }

  .footer-ul li {
    width: calc(100% / 2 - 5px);
  }

  .footer-ul {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
  }

  .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 {
    width: 40%;
  }

  .info-news {
    width: 60%;
    padding-left: 10px;
  }

  .name-news {
    font-size: 15px;
  }

  .desc-news.text-split {
    -webkit-line-clamp: 2;
  }

  /*************/
  p.hotline-head.mb-0 {
    display: none;
  }

  .diachi_head {
    display: none;
  }

  .info_company {
    height: auto;
    background: no-repeat;
    padding: 0;
    width: 24%;
  }

  .banner-head {
    width: 46%;
  }

  a.logo-head {
    width: 20%;
  }

  .about_left {
    width: 100%;
    margin-bottom: 15px;
  }

  section.section-about {
    padding: 25px 0;
  }

  .about_text1 {
    font-size: 29px;
  }

  .about_text2 {
    font-size: 40px;
  }

  .about_right {
    width: 100%;
    padding: 0;
  }

  .about_img1.img_ {
    width: 70%;
    margin: 0 0 12px 30%;
  }

  .about_img2.img_ {
    width: 70%;
    left: 0;
    top: 29%;
  }

  .about_img3.img_ {
    width: 70%;
    margin: 0 0 0 30%;
  }

  section.section-pronb .wrap-content::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0px;
    left: 0;
    bottom: -28px;
    background: #f5c443;
  }

  section.section-pronb.padding {
    padding: 30px 0;
    background: #f5c443;
  }

  .title-spnb {
    width: 100%;
    position: unset;
  }

  .wp_spnb {
    padding: 0;
  }

  .footer {
    overflow: hidden;
  }

  .title-spnb h2 {
    font-size: 27px;
  }

  .title-spnb p {
    font-size: 34px;
  }

  .title-news h2::before {
    content: '';
    position: absolute;
    width: 0px;
    height: 0px;
    right: 0;
    top: 31px;
    background: url(../images/af_tt1.png) center no-repeat;
  }

  .title-news h2::after {
    content: '';
    position: absolute;
    width: 0px;
    height: 0px;
    left: 0;
    top: 31px;
    background: url(../images/af_tt1.png) center no-repeat;
  }

  .box_prolist.flex_row.row2 .img_dmsp::after {
    content: '';
    position: absolute;
    width: 0;
    height: 391px;
    left: 122px;
    top: -23px;
    z-index: -1;
    background: url(../images/af_img_dv1.png) center no-repeat;
    background-size: 100% 100%;
  }

  .img_dmsp::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    left: -16px;
    top: -12px;
    z-index: -1;
    background: url(../images/img_dm2.png) center no-repeat;
    background-size: 100% 100%;
  }

  .wp_kh::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    left: 298px;
    top: -120px;
    background: #000;
  }

  .name-product {
    font-size: 14px;
  }

  .w-menu.fix_head .menu {
    display: none;
  }

  p.price-product {
    bottom: 41px;
  }

  .title-news h2 {
    font-size: 41px;
  }

  .wrap-product {
    margin: 25px 0;
  }

  .title-news span {
    font-size: 31px;
    margin: -1px 0 0;
  }

  .box_prolist.flex_row.row2 .img_dmsp {
    margin: 0 auto 40px;
  }

  .wp_list_sp {
    width: 100%;
    padding: 25px 17px;
    background-size: 100% 100%;
  }

  .name_list_sp a {
    font-size: 14px;
    -webkit-webkit-line-clamp: 2;
    -moz-webkit-line-clamp: 2;
    -ms-webkit-line-clamp: 2;
    -o-webkit-line-clamp: 2;
    -webkit-line-clamp: 2;
  }

  span.price-new2 {
    font-size: 16px;
  }

  .img_dmsp {
    width: 66%;
    margin: 0 auto 22px;
  }

  .box_prolist.flex_row {
    margin-bottom: 20px;
  }

  .title-list_sp span {
    font-size: 20px;
  }

  section.section-album.padding {
    margin: 50px 0;
  }

  .wp_kh {
    padding: 0;
  }

  .title-main2 {
    padding: 0;
    text-align: center;
  }

  .wp_list_sp::after {
    content: '';
    position: absolute;
    width: 0px;
    height: 0px;
    right: -137px;
    top: 19px;
    background: url(../images/af_dmsp.png) center no-repeat;
  }

  .img_kh::after {
    content: '';
    pointer-events: none;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border: 2px solid #000;
  }

  .img_kh {
    padding: 20px;
  }

  .content_kh {
    width: 100%;
    padding: 23px 0 0;
  }

  .name_kh {
    font-size: 22px;
  }

  .name_kh img {
    margin: 5px 0 0;
  }

  section.section-khachhang.padding {
    padding: 0 0 25px;
  }

  .title-news {
    margin-bottom: 20px;
  }

  a.name-newsnb {
    font-size: 16px;
  }

  .name-company {
    font-size: 32px;
  }

  .footer-article {
    padding: 51px 0;
  }
}

@media (max-width: 768px) {
  .othernews {
    position: initial;
  }

  .footer-title:after {
    width: 100%;
  }

  #fanpage-facebook {
    width: 300px;
    overflow: hidden;
    margin: auto;
  }

  .footer-news:nth-child(4) {
    width: 100%;
  }

  .footer-news:nth-child(3) {
    width: 100%;
    margin-bottom: 20px;
    order: 2;
  }

  .footer-news:nth-child(2) {
    width: 34%;
    margin: 0 auto 20px;
    order: 1;
  }

  .footer-news:nth-child(1) {
    width: 100%;
    order: 2;
    text-align: center;
    margin: 20px 0 0;
  }

  .time-news {
    display: none;
  }

  .copyright,
  .statistic {
    width: 100%;
    text-align: center;
  }

  .footer-ul li {
    width: calc(100% / 2 - 5px);
  }

  .footer-ul {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
  }

  .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 {
    width: 40%;
  }

  .info-news {
    width: 60%;
    padding-left: 10px;
  }

  .name-news {
    font-size: 15px;
  }

  .desc-news.text-split {
    -webkit-line-clamp: 2;
  }

  .pc {
    display: none;

  }

  .mobile {
    display: block;
  }

  /*************/
  p.hotline-head.mb-0 {
    /* display: none; */
  }

  .diachi_head {
    display: none;
  }

  .info_company {
    height: auto;
    background: no-repeat;
    padding: 0;
    width: 28%;
  }

  .banner-head {
    width: 48%;
  }

  a.logo-head {
    width: 18%;
  }

  .about_left {
    width: 100%;
    margin-bottom: 15px;
  }

  section.section-about {
    padding: 25px 0;
  }

  .about_text1 {
    font-size: 29px;
  }

  .about_text2 {
    font-size: 28px;
    margin: -10px 0 -3px;
  }

  .about_right {
    width: 100%;
    padding: 0;
  }

  .about_img1.img_ {
    width: 70%;
    margin: 0 0 12px 30%;
  }

  .about_img2.img_ {
    width: 70%;
    left: 0;
    top: 29%;
  }

  .about_img3.img_ {
    width: 70%;
    margin: 0 0 0 30%;
  }

  section.section-pronb .wrap-content::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0px;
    left: 0;
    bottom: -28px;
    background: #f5c443;
  }

  section.section-pronb.padding {
    padding: 30px 0;
    background: #f5c443;
  }

  .title-spnb {
    width: 100%;
    position: unset;
  }

  .wp_spnb {
    padding: 0;
  }

  .footer {
    overflow: hidden;
  }

  .title-spnb h2 {
    font-size: 27px;
    margin: 0;
  }

  .title-spnb p {
    font-size: 27px;
  }

  .title-news h2::before {
    content: '';
    position: absolute;
    width: 0px;
    height: 0px;
    right: 0;
    top: 31px;
    background: url(../images/af_tt1.png) center no-repeat;
  }

  .title-news h2::after {
    content: '';
    position: absolute;
    width: 0px;
    height: 0px;
    left: 0;
    top: 31px;
    background: url(../images/af_tt1.png) center no-repeat;
  }

  .box_prolist.flex_row.row2 .img_dmsp::after {
    content: '';
    position: absolute;
    width: 0;
    height: 391px;
    left: 122px;
    top: -23px;
    z-index: -1;
    background: url(../images/af_img_dv1.png) center no-repeat;
    background-size: 100% 100%;
  }

  .img_dmsp::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    left: -16px;
    top: -12px;
    z-index: -1;
    background: url(../images/img_dm2.png) center no-repeat;
    background-size: 100% 100%;
  }

  .wp_kh::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    left: 298px;
    top: -120px;
    background: #000;
  }

  .name-product {
    font-size: 14px;
  }

  .w-menu.fix_head .menu {
    display: none;
  }

  p.price-product {
    bottom: 0;
  }

  .title-news h2 {
    font-size: 41px;
  }

  .wrap-product {
    margin: 25px 0;
  }

  .title-news span {
    font-size: 31px;
    margin: -1px 0 0;
  }

  .box_prolist.flex_row.row2 .img_dmsp {
    margin: 0 auto 40px;
  }

  .wp_list_sp {
    width: 100%;
    padding: 25px 17px;
    background-size: 100% 100%;
  }

  .name_list_sp a {
    font-size: 14px;
    -webkit-webkit-line-clamp: 2;
    -moz-webkit-line-clamp: 2;
    -ms-webkit-line-clamp: 2;
    -o-webkit-line-clamp: 2;
    -webkit-line-clamp: 2;
  }

  span.price-new2 {
    font-size: 16px;
  }

  .img_dmsp {
    width: 66%;
    margin: 0 auto 22px;
  }

  .box_prolist.flex_row {
    margin-bottom: 20px;
  }

  .title-list_sp span {
    font-size: 20px;
  }

  section.section-album.padding {
    margin: 50px 0;
  }

  .wp_kh {
    padding: 0;
  }

  .title-main2 {
    padding: 0;
    text-align: center;
  }

  .wp_list_sp::after {
    content: '';
    position: absolute;
    width: 0px;
    height: 0px;
    right: -137px;
    top: 19px;
    background: url(../images/af_dmsp.png) center no-repeat;
  }

  .img_kh::after {
    content: '';
    pointer-events: none;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border: 2px solid #000;
  }

  .img_kh {
    padding: 20px;
  }

  .content_kh {
    width: 100%;
    padding: 23px 0 0;
  }

  .name_kh {
    font-size: 22px;
  }

  .name_kh img {
    margin: 5px 0 0;
  }

  section.section-khachhang.padding {
    padding: 0 0 25px;
  }

  .title-news {
    margin-bottom: 20px;
  }

  a.name-newsnb {
    font-size: 16px;
  }

  .name-company {
    font-size: 32px;
  }

  .footer-article {
    padding: 51px 0;
  }

  span.number-hotline {
    font-size: 15px;
  }

  span.title-hotline {
    font-size: 14px;
    margin-bottom: 7px;
  }

  .text_prolist1 {
    width: 100%;
    margin: 0;
  }

  .text_prolist1 h2 {
    font-size: 26px;
    line-height: normal;
    margin-top: 24px;
  }
}

@media (max-width: 576px) {
  .toast-cus {
    left: 5px;
    width: calc(100% - 10px);
  }

  .box-readmore {
    width: calc(100% - 5px);
  }

  .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;
  }
}