@media (max-width: 1080px) {
  .search {
    width: 400px;
  }
}

@media (max-width: 1024px) {
  .dm-noibat {
    width: 100%;
    margin-bottom: 20px;
  }

  .flex-cus,
  .row-video {
    margin-left: -5px;
    margin-right: -5px;
  }

  .mg-cus,
  .mg-video {
    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: 2rem 0 !important;
  }

  .product-tool {
    opacity: 1;
    visibility: visible;
    position: initial;
  }

  .product-tool a span {
    display: none;
  }
}

@media (max-width: 992px) {
  .footer-title:after {
    width: 100%;
  }

  #fanpage-facebook {
    width: 500px;
    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;
  }

  .menu {
    display: none;
  }

  .menu-res {
    display: block;
  }

  .header {
    display: none;
  }

  .logo-header {
    width: 80px;
  }

  .tieuchi-title__top {
    font-size: 26px;
  }

  .tieuchi-title__bottom {
    font-size: 18px;
  }

  .tieuchi-title {
    padding: 10px;
  }

  .title-index,
  .title-intro {
    max-width: 100%;
    width: 100%;
    height: auto;
    background: none;
    margin-bottom: 16px;
    padding: 0;
    display: block;
  }

  .title-index span,
  .title-intro span,
  .title-main span {
    font-size: 32px;
  }

  .title-intro::before,
  .title-intro::after {
    display: none;
  }

  .content-index {
    padding: 30px 30px 0 30px;
  }

  .wrap-product {
    margin-bottom: 30px;
  }

  .footer-center,
  .footer-end {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 768px) {
  .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;
  }

  .tieuchi__layout {
    padding: 8px;
  }

  .tieuchi-name {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .tieuchi-image {
    margin-bottom: 4px;
  }

  .tieuchi-title__bottom {
    font-size: 16px;
  }

  .tieuchi-desc {
    font-size: 12px;
  }

  .tieuchi-title__top {
    font-size: 17px;
  }

   .tieuchi-title__bottom {
    font-size: 13px;
  }

  .title-index span,
  .title-intro span,
  .title-main span {
    font-size: 22px;
  }

  .title-index {
    margin-bottom: 10px;
  }

  .row-cus {
    margin-left: -8px !important;
    margin-right: -8px !important;
  }

  .col-cus {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .margin-cus {
    margin-bottom: 16px !important;
  }

  .content-index {
    padding: 10px;
    border-radius: 12px;
  }

  .product-info__name {
    padding: 5px;
    width: calc(100% - 60px);
  }

  .name-product {
    font-size: 13px;
    height: 40px;
    max-height: 40px;
    line-height: 20px;
  }

  .product-info__quantity {
    width: 60px;
    font-size: 18px;
  }

  .footer-center,
  .footer-end {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .footer-powered {
    flex-wrap: wrap;
  }

  .copyright{
    width: 100%;
  }

  #messages-facebook,
  .scrollToTop {
    display: none !important;
  }

  .title-pro-detail {
    font-size: 23px;
  }

  .breadcrumbs-content li a span {
    font-size: 12px;
  }


  .product-info__quantity {
    display: none;
  }

  .product-info__name {
    width: 100%;
  }

  .footer {
    padding-bottom: 40px;
  }
}

@media (max-width: 576px) {
  .pic-product .pr-new{
    
width: 50px;
    
top: 5px;
    
right: 5px;
  }
  .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;
  }

  .header {
    padding: 8px 0 0 0;
  }

 

  #fanpage-facebook {
    width: 100%;
    overflow: hidden;
    margin: auto;
  }
}
