/* Min-width */
@media (min-width: 576px) {
    
}

@media (min-width: 768px) {
    .container, .container-sm {
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .wrap-newsletter .accordion {
        max-height: 375px;
        overflow-y: auto;
    }
}

@media (min-width: 1200px) {
    .category-lists .col-xl-2 {
        width: 14.28%;
    }

    .category-lists span {
        max-width: 80%;
    }
}

@media (min-width: 1400px) {
    .container {
        width: 1280px;
    }
}


/* Max-width */
@media (max-width: 1399.98px) {
    
}
@media (max-width: 1199.98px) {
    .container {
        max-width: 100%;
    }
}
@media (max-width: 991.98px) {
    img {
        max-width: 100% ;
        height: auto ;
        vertical-align: top;
    }

    .menu {
        display: none;
    }
    .menu-res{
        display: block;
    }
    .menu-bar-res{
        display: flex;
    }

    .header-top {
        text-align: right;
    }
    .header-top marquee {
        width: calc(100% - 150px);
        margin-right: 0px;
    }
    .search-wrapper.active {
        width: 250px;
        height: 49px;
    }
    .search-wrapper .btn {
        width: 45px;
        height: 45px;
    }
    .slideshow {
        width: 100%;
    }

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

    .footer-news {
        width: 100% !important;
        margin-bottom: 15px;
    }

    .footer-title {
        margin-bottom: 10px;
    }
    .footer-title::after {
        margin-bottom: 0px;
    }
    .footer-ul li {
        margin-bottom: 5px;
    }
    .wrap-tieuchi .left,
    .wrap-tieuchi .right {
        width: 100%;
    }

    .wrap-video .slick-news {
        margin: 0px -5px;
    }
    .wrap-video .slick-slide {
        padding: 0px 5px;
        height: auto;
    }
    .news-list {
        flex-direction: column;
    }
    .news-list.odd {
        flex-direction: column;
    }
    .news-list .image,
    .news-list .info {
        width: 100%;
    }
    .news-list .image{
        margin-bottom: 15px;
    }
}
@media (max-width: 767.98px) {
    div#header {
        min-height: 70px;
    }
    div#header.home {
        top:0;
    }
    .wave-banner{
        height: auto;
        bottom: -1px;
    }
    .slideshow {
        margin-top: 0px;
    }

    .slideshow-image{
        height: 250px;
    }

    /* .owl-carousel .owl-item img{
        height: 250px;
        object-fit: cover;
    } */

    .wrap-menu-header .lang{
        position: relative;
        top: auto;
        left: -107px;
    }

    .slideshow-info .name{
        font-size: 1rem;
    }

    .slideshow-info .desc,.slideshow-info .more{
        display: none;
    }

    .slideshow-info .name span{
        font-size: 16px;
    }

    .header-top marquee {
        width: calc(100%);
    }

    .wrap-about .title-submain {
        font-size: 18px;
    }
    .wrap-about .title-main h2 {
        font-size: 35px;
        line-height: 45px;
        padding-top: 5px;
    }

    .wrap-about .about-img .border-animation {
        top: 60px;
        left: 0px;
        width: calc(100% - 60px);
        height: calc(100% - 60px);
    }
    .wrap-newsletter .title-main h2 {
        font-size: 30px;
    }

    .title-submain {
        font-size: 18px;
    }
    .title-main h2 {
        font-size: 35px;
        line-height: 45px;
        padding-top: 5px;
    }

    .wrap-newsletter .hotline {
        min-height: 135px;
        padding-left: 120px;
    }
    .wrap-newsletter .hotline span {
        font-size: 20px;
        padding-bottom: 10px;
    }
    .wrap-newsletter .hotline a {
        font-size: 35px;
        line-height: 40px;
    }

    #frm-newsletter {
        padding: 20px;
        margin-bottom: 30px;
    }

    .footer {
        padding-bottom: 3rem;
    }

    .footer-ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .footer-ul li{
        width: 50%;
    }
    .giatri-info {
        max-width: 100%;
    }

    .menu-bar-res{
        position: relative;
        left: 0;
        transform: translateY(0);
    }

    .wrap-menu-header .lang{
        left: 0;
    }

    .search-res .search-grid{
        left: 0;
        right: auto
    }
    
    .modal-dialog{
        max-width: 600px;
    }

    .banner-phan-loai{
        margin-top: 0;
    }

    .albumn-wrap {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 315px);
    }

    .albumn-item-1 {
        grid-column: 1 /3 ;
        grid-row: 1 ;
      }
      
      .albumn-item-2 {
        grid-column: 1 /2 ;
        grid-row: 2;
        height: 100%;
      }
      
      .albumn-item-3 {
        grid-column: 2 /3 ;
        grid-row: 2;
      }
      
      .albumn-item-4 {
        grid-column: 1/3;
        grid-row: 3;
      }

      .gradient-border-text{
        font-size: 2rem;
        margin-bottom: -40px;
      }

}
@media (max-width: 575.98px) {
    header#header.fixed {
        position: relative;
    }

    div#header.home{
        position: relative;
    }

    .wrap-tieuchi .container {
        margin-top: 0px;
        background-size: 500px;
    }
    .wrap-tieuchi .container::before {
        height: 70%;
    }
    .tieuchi-item::before {
        display: none;
    }

    .header-bottom .hotline span,
    .header-bottom .lang span{
        display: none;
    }
    .title-main h2 {
        font-size: 30px;
    }
    #statusTab button {
        font-size: 25px;
    }

    .wrap-frame {
        display: none;
    }

    .khachhang-item {
        position: relative;
        max-width: 450px;
        margin: 0px auto;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .khachhang-item::before{
        content: '';
        position: absolute;
        width: 100%;
        height: 75%;
        border: 1px solid #fff;
        left: 0px;
        bottom: 0px;
        z-index: 1;

    }
    .khachhang-item .image {
        z-index: 2;
    }
    .khachhang-item .info {
        width: 100%;
    }
    .khachhang-item .line {
        display: none;
    }
    .dichvu-item .name {
        font-size: 16px;
    }

    .wrap-video .video .image,
    .wrap-video .news-list .image{
        border-radius: 10px;
    }

    .news-list .name {
        font-size: 16px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        -webkit-line-clamp: 1;
    }
    .news-list .desc,
    .news-list .more {
        display: none;
    }
    .product-item {
        padding: 0px 5px;
        max-width: 100%;
    }
    .product-item .name {
        font-size: 16px;
    }
    .visao-item {
        padding: 10px;
    }
    .visao-item .name {
        font-size: 18px;
    }
    .box-product {
        padding: 10px;
    }
    .box-product .name-product {
        min-height: 48px;
    }
}