@media (max-width: 1366px) {
    .ntm_01 {
        padding-top: 350px !important;
    }

    .dt_01 .text-box {
        padding-left: 15px;
    }

    .tintuc-main .block {
        padding: 0 15px;
    }

    .bg-breadcrumb {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 1230px) {

    .sec_04 .img {
        padding: 0 15px;
    }

    .sec_03 .left .img {
        margin-right: 20px;
    }

    .sec_03 .left .gpl {
        margin-right: 0;
    }

    .banner .text1 h3 {
        font-size: 39px;
    }

    .sec_02 .icon-box p {
        font-size: 16px;
    }

    .sec_04 .logo_dt {
        padding-left: 0;
        padding-right: 0;
    }

    .sec_03 .row {
        padding: 40px 30px 0 30px !important;
    }

    .sec_02 .left {
        padding-left: 30px !important;
    }

    .ntm_01 {
        padding-top: 310px !important;
    }

    .ntm_01 h2 {
        margin: 0 0 10px 0;
        font-size: 30px;
        line-height: 40px;
    }

    .ntm_01 p {
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 15px;
    }

    .banner .button {
        font-size: 14px;
        min-width: 150px;
        line-height: 40px;
    }

    .dt_01 .text-box {
        width: 45% !important;
    }

    .lienhe01 form {
        max-width: 100% !important;
    }

    .tintuc-main .block .block-1 {
        width: 802px;
    }

    .tintuc-main .block .block-2 {
        width: calc(100% - 832px);
    }

    .product-main .product-gallery .product-gallery-slider {
        height: 418px;
    }

    .product-main .product-gallery .product-gallery-slider img {
        max-height: 418px;
    }

    .product-main .product-gallery .product-thumbnails a {
        height: 83px;
    }

    .product-main .product-gallery .product-thumbnails a img {
        max-height: 87px;
    }
}

@media (max-width: 1170px) {
    .banner .text1 h3 {
        font-size: 37px;
    }

    .banner .text1 h2 {
        font-size: 58px;
    }

    .sec_03 .row {
        padding: 40px 30px 0 24px !important;
    }

    .banner2 {
        padding-top: 400px !important;
    }

    .banner .img-inner {
        padding-top: 400px !important;
    }

    .banner .text1 {
        margin-bottom: 40px;
    }

    .ntm_01 {
        padding-top: 290px !important;
    }
}

@media (max-width: 1024px) {

    #masthead .header-search-form .search-field {
        width: 155px;
    }

    #masthead .header-button-1 .button {
        font-size: 16px;
    }

    .banner .text1 h3 {
        font-size: 33px;
    }

    .banner2 {
        padding-top: 350px !important;
    }

    .banner .text1 h2 {
        font-size: 40px;
        line-height: 35px;
        margin: 0 0 10px 0;
    }

    .banner .text1 h3 {
        font-size: 28px;
        line-height: 38px;
    }

    .banner .img-inner {
        padding-top: 350px !important;
    }

    .banner .button {
        min-width: 140px;
        line-height: 40px;
        font-size: 14px;
    }

    .sec_03 .left .img {
        width: 155px !important;
    }

    .ntm_01 h2 {
        font-size: 25px;
        line-height: 35px;
    }

    .ntm_01 p {
        font-size: 13px;
        line-height: 19px;
    }

    .ntm_01 {
        padding-top: 265px !important;
    }

    .ntm_01 .text-box {
        padding-right: 10px;
    }

    .ntm_02 .right .col-inner {
        padding: 0 50px;
    }

    .dt_01 .text-box {
        width: 50% !important;
    }

    .tintuc-main .block .block-1 {
        width: 70%;
    }

    .tintuc-main .block .block-2 {
        width: 30%;
    }

    .single-post .page-right-sidebar .large-9 {
        flex-basis: 65%;
        max-width: 65%;
    }

    .single-post .page-right-sidebar .large-3 {
        flex-basis: 35%;
        max-width: 35%;
    }

    .category-page-row .box .box-image {
        width: 408px;
    }

    .category-page-row .box .box-text {
        width: calc(100% - 408px);
    }

    .top-product h2 {
        font-size: 26px;
    }

    .product-main .product-gallery {
        flex-basis: 45%;
        max-width: 45%;
    }

    .product-main .product-info {
        flex-basis: 55%;
        max-width: 55%;
    }

    .category-page-row .box .box-text .view,
    .category-page-row .box .box-text .add-to-cart-button a {
        min-width: 127px;
    }
    .page-left-sidebar .col-first{
        padding: 19px 8px 0px 8px;
    }
}

@media (max-width: 812px) {
    .banner2 {
        padding-top: 300px !important;
    }

    .banner .img-inner {
        padding-top: 300px !important;
    }

    .sec_01 {
        padding: 40px 0 40px 0 !important;
    }

    .title_h2 h2 {
        font-size: 28px;
        line-height: 38px;
    }

    .sec_01 .large-3 {
        flex-basis: 50%;
        max-width: 50%;
    }

    .sec_02 .button {
        margin: 0px 0 0 0 !important;
    }

    .sec_03 .left {
        flex-basis: 100%;
        max-width: 100%;
        order: 1;
    }

    .sec_03 .center {
        order: 3;
        flex-basis: 50%;
        max-width: 50%;
    }

    .sec_03 .left p {
        margin-bottom: 20px;
    }

    .sec_03 .right {
        order: 2;
        flex-basis: 50%;
        max-width: 50%;
    }

    .sec_04 .img {
        max-width: unset;
    }

    .sec_04 .logo_dt .col-inner {
        display: block;
        overflow: hidden;
        column-count: 3;
    }

    .chantrang .col {
        flex-basis: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .ntm_01 .bg {
        background: #D9EBFF !important;
    }

    .only-mb {
        display: block !important;
    }

    .ntm_01 .text-box {
        width: 95% !important;
    }

    .ntm_02 .right .col-inner {
        padding: 0 30px;
    }

    .ntm_02 .right .col-inner h3,
    .ntm_03 h2 {
        font-size: 25px;
        line-height: 35px;
    }

    .dt_01 {
        padding-top: 270px !important;
    }

    .dt_01 h2 {
        font-size: 28px;
        line-height: 38px;
    }

    .tintuc-main .block .block-1 {
        width: 100%;
    }

    .tintuc-main .block .block-2 {
        width: 100%;
        padding-left: 0;
    }

    .category-page-row #shop-sidebar {
        order: 1;
    }

    .category-page-row .category-page-row .hide-for-medium {
        display: block !important;
        order: 2;
    }

    .top-product .left {
        flex-basis: 100%;
        max-width: 100%;
        padding: 15px !important;
    }

    .top-product .large-7 {
        flex-basis: 100%;
        max-width: 100%;
    }

    .top-product .large-7 img {
        max-width: 40%;
    }

    .product-main .product-gallery {
        flex-basis: 100%;
        max-width: 445px;
        margin: 0 auto;
    }

    .product-main .product-info {
        flex-basis: 100%;
        max-width: 100%;
    }
    .page-left-sidebar .col-first{
        flex-basis: 100%;
        max-width: 100%;
        order: 3;
        padding: 15px;
    }
    .page-left-sidebar #content{
        flex-basis: 100%;
        max-width: 100%;
        padding: 30px 15px;
    }
    .page-left-sidebar .right{
        flex-basis: 100%;
        max-width: 100%;
        padding: 15px;
    }
    .page-left-sidebar .right #ez-toc-container{
        padding: 0;
    }
    .page-left-sidebar .right .thumbnail p{
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    #masthead .header-button-1 .button {
        min-width: 80px;
        line-height: 32px;
        min-height: 32px;
        font-size: 14px;
    }

    .banner2 {
        padding-top: 160px !important;
    }

    .banner2 .text-box {
        width: 94% !important;
    }

    .banner .text1 h2 {
        font-size: 28px;
        line-height: 18px;
    }

    .banner .text1 h3 {
        font-size: 18px;
        line-height: 28px;
    }

    .banner .button {
        min-width: 118px;
        line-height: 35px;
        font-size: 13px;
    }

    .banner .text1 {
        margin-bottom: 20px;
    }

    .banner .img-inner {
        padding-top: 160px !important;
    }

    .title_h2 h2 {
        font-size: 22px;
        line-height: 32px;
    }

    .sec_01 .col {
        padding-bottom: 20px;
    }

    .sec_02 .left {
        padding-left: 15px !important;
        padding-right: 15px !important;
        flex-basis: 100%;
        max-width: 100%;
        margin-bottom: 10px;
    }

    .sec_01 .large-3 {
        flex-basis: 100%;
        max-width: 100%;
    }

    .sec_02 h2 {
        font-size: 22px;
        line-height: 32px;
    }

    .sec_02 p {
        font-size: 15px;
        line-height: 25px;
        margin-bottom: 20px;
    }

    .sec_02 .icon-box p {
        font-size: 15px;
        line-height: 25px;
    }

    .banner .text1 {
        padding-left: 15px;
    }

    .sec_02 .right {
        flex-basis: 100%;
        max-width: 100%;
    }

    .sec_03 .row {
        margin: 0 !important;
        padding: 30px 15px 0 15px !important;
    }

    .sec_03 .left h2 {
        font-size: 22px;
        line-height: 32px;
    }

    .sec_03 .right .icon-box .icon-box-text p {
        font-size: 15px;
        line-height: 20px;
    }

    .sec_03 .center .img {
        min-width: 210px;
        top: 35px;
    }

    .sec_04 .logo_dt .col-inner {
        column-count: 2;
    }

    .sec_04 {
        padding: 40px 15px 0 15px !important;
    }

    .sec_04 .img {
        padding: 0;
    }

    .logo_dt {
        padding-bottom: 0;
    }

    .copy .left {
        margin-bottom: 10px;
    }

    .ntm_02 {
        padding: 40px 0 30px 0 !important;
    }

    .ntm_02 .left {
        flex-basis: 100%;
        max-width: 100%;
    }

    .ntm_02 .right {
        flex-basis: 100%;
        max-width: 100%;
    }

    .ntm_02 .title_h2 h2 {
        margin-bottom: 0;
    }

    .ntm_02 .right .col-inner h3,
    .ntm_03 h2 {
        font-size: 22px;
        line-height: 32px;
    }

    .ntm_01 p {
        font-size: 15px;
        line-height: 22px;
    }

    .ntm_01 {
        padding-top: 315px !important;
    }

    .ntm_02 .right .col-inner {
        padding: 0 15px;
    }

    .ntm_02 .right .col-inner p {
        font-size: 15px;
        line-height: 22px;
    }

    .ntm_02 .right .col-inner,
    .ntm_02 .left .col-inner {
        height: 270px;
    }

    .ntm_02 .left .col-inner img {
        max-height: 240px;
        object-fit: contain;
    }

    .ntm_03 {
        padding: 40px 0 30px 0 !important;
    }

    .ntm_02 .od0 {
        order: 1;
    }

    .ntm_02 .od1 {
        order: 2;
    }

    .ntm_02 .od2 {
        order: 3;
    }

    .ntm_02 .od3 {
        order: 5;
    }

    .ntm_02 .od4 {
        order: 4;
    }

    .ntm_02 .od5 {
        order: 6;
    }

    .ntm_02 .od6 {
        order: 7;
    }

    .ntm_02 .od7 {
        order: 9;
    }

    .ntm_02 .od8 {
        order: 8;
    }

    .dt_01 {
        padding-top: 195px !important;
    }

    .dt_01 .text-box {
        width: 95% !important;
    }

    .dt_01 h2 {
        font-size: 22px;
        line-height: 30px;
        text-shadow: 1px 1px 6px #fff;
        margin-bottom: 0px;
        margin-top: 0;
    }

    .dt_01 p {
        font-size: 15px;
        line-height: 22px;
        text-shadow: 1px 1px 6px #fff;
        margin: 0;
    }

    .lienhe01 .left h2 {
        font-size: 25px;
        line-height: 35px;
    }

    .tintuc-main .block .block-1 .block-list {
        width: 100%;
    }

    .tintuc-main .bgtt {
        padding: 0 15px;
    }

    .tintuc-main .bgtt .backform .txtF h1 {
        font-size: 28px;
        line-height: 38px;
    }

    .tintuc-main .bgtt {
        height: 180px;
    }

    .tintuc-main .bgtt .backform {
        top: 30px;
    }

    .tintuc-main .bgtt .backform .timkiem form input {
        height: 50px;
    }

    .tintuc-main .bgtt .backform .timkiem form button {
        margin-top: 4px;
    }

    .single-post .page-right-sidebar .large-9 {
        flex-basis: 100%;
        max-width: 100%;
        padding-right: 15px;
        text-align: justify;
    }

    .single-post .page-right-sidebar .large-3 {
        flex-basis: 100%;
        max-width: 100%;
    }

    .single-post .block-times h1 {
        font-size: 22px;
        line-height: 32px;
    }

    .category-page-row .box .box-image {
        width: 100%;
    }

    .category-page-row .box .box-text {
        width: 100%;
        padding: 20px 0 0 0;
    }

    .top-product h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .top-product p {
        text-align: justify;
        font-size: 15px;
    }

    .product-main .col {
        padding-bottom: 15px;
    }

    .top-product .large-7 {
        display: none;
    }

    .product-main .product-gallery .product-gallery-slider {
        height: 340px;
    }

    .product-main .product-gallery .product-gallery-slider img {
        max-height: 340px;
    }

    .product-main .product-gallery .product-thumbnails a {
        height: 68px;
    }

    .product-main .product-gallery .product-thumbnails a img {
        max-height: 70px;
    }

    .product-main .product-info .product-title {
        font-size: 25px;
    }

    .product-main .product-info .product-short-description ul li {
        font-size: 15px;
        line-height: 25px;
    }

    .product-main .product-info .price-wrapper span {
        font-size: 25px;
    }

    .product-main .product-info .price-wrapper {
        margin-bottom: 30px;
    }

    .product-main .product-info .view {
        display: block;
        min-width: 190px;
        max-width: 190px;
        line-height: 50px;
        font-size: 16px;
        margin: 0 auto;
    }

    .bottom_01,
    .bottom_02 {
        padding: 40px 0 30px 0 !important;
    }

    .bottom_01 .col {
        padding-bottom: 15px;
    }

    .bottom_03 .title_h2 p {
        font-size: 16px;
        line-height: 25px;
    }

    .bottom_03 .icon-box-img {
        display: block;
        margin: 0 auto 20px auto;
    }

    .bottom_03 h3 {
        text-align: center;
    }

    .bottom_03 ul li {
        font-size: 15px;
    }
}











/* Ver.2 */
/* ******************************************************************************* */

@media only screen and (max-width: 1024px) {
    .header-nav.header-nav-main.nav.nav-right.nav-uppercase .block-header {
        display: none;
    }

    .block-header {
        margin-top: 15px;
    }

    .chantrang .r1 .c3 .c3-1 {
        margin-right: -35px;
    }

    .tintuc-main .block {
        padding: 0 15px;
    }

    .tintuc-main .block .block-1 {
        max-width: 630px;
    }

    .tintuc-main .block .block-2 {
        max-width: 340px;
    }

    #popular_posts_widget-2 .first-popular-post .right .txt,
    #popular_posts_widget-2 .other-popular-post .right .txt {
        padding: 0 0 0 10px;
    }

    .tintuc-main .block .block-1 {
        gap: 20px;
    }

    .page-wrapper.page-right-sidebar .row #content {
        padding: 0 15px;
        max-width: 700px;
    }

    .hotro-banner .text {
        padding: 0 15px;
    }

    .giaiphapHome .c1-1::after {
        display: none;
    }

    .giaiphapHome .c2::before {
        display: none;
    }

    .doitacHome h1::after {
        width: 65%;
    }

    .dchntm {
        padding: 0 15px !important;
    }

    .htcs .tinhnang .r2::before {
        margin-left: -145px;
        margin-top: -20px;
    }

    .htcs .tieude h3,
    .kpkn .tieude h3 {
        padding: 0;
    }

    .htcs .tieude,
    .kpkn .tieude {
        padding: 0 15px;
    }

    .kpkn .ro {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 15px;
    }

    .tnsm .box {
        height: auto;
    }

    .doitac .co {
        padding: 0px 35px;
    }

    .kpkn .txt {
        margin-top: 0px;
    }

}

/* ******************************************************************************* */
@media only screen and (max-width: 820px) {
    #logo {
        position: absolute;
        margin-left: 0;
    }

    .chantrang .r1 .c3 .c3-1 {
        margin-right: -15px;
    }

    .tintuc-main .block .block-1,
    .tintuc-main .block .block-2 {
        max-width: 100%;
    }

    #popular_posts_widget-2 {
        margin-top: 20px;
    }

    #popular_posts_widget-2 .first-popular-post .left,
    #popular_posts_widget-2 .other-popular-post .left {
        width: 30%;
    }

    #popular_posts_widget-2 .first-popular-post .right,
    #popular_posts_widget-2 .other-popular-post .right {
        width: calc(100% - 30%);
    }

    .page-wrapper.page-right-sidebar .row #content,
    .page-wrapper.page-right-sidebar .row .large-3.col {
        max-width: 100%;
    }

    .page-wrapper.page-right-sidebar .row .large-3.col {
        padding: 0 15px;
    }

    .gioithieu .txt {
        padding-right: 0px;
    }

    .doitac .co {
        padding: 0 20px;
    }

    .doitacHome h1::after {
        width: 65%;
    }

    .doitacHome .ro2 {
        padding: 0px;
    }

    .tuvanHome .tvan .t3 {
        float: right;
        width: 30%;
    }

    .tuvanHome .tvan .t2 {
        float: left;
        width: 68%;
    }

    .doitacHome h1::after {
        width: 58%;
    }

    .dchntm .ro {
        height: auto;
    }

    .dchntm .co {
        padding: 0 15px !important;
    }

    .knxntm .block {
        padding-left: 15px;
    }

    .tsntm .ro1 {
        position: relative;
        top: 0;
    }

    .dchntm .co-1 a button {
        position: relative;
        right: 10px;
    }

    .htcs .tinhnang .r2::before {
        display: none;
    }

    .htcs .tinhnang .r1 {
        padding-right: 5%;
    }

    .htcs .tinhnang .r2 {
        padding-left: 5%;
    }

    .kpkn .txt,
    .kpkn .img {
        max-width: 100%;
        padding: 30px;
    }

    .taiapp .co {
        max-width: 80%;
    }
    .page-left-sidebar #content .entry-title{
        font-size: 25px;
        line-height: 35px;
    }
}

/* ******************************************************************************* */
@media only screen and (max-width: 800px) {
    .bg-breadcrumb .block-breadcrumb .row-breadcrumb {
        overflow: hidden;
        margin-bottom: 0;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }

    .dchntm .co-1 a button {
        position: relative;
        right: 15px;
    }
}

/* ******************************************************************************* */
@media only screen and (max-width: 768px) {
    .dchntm .co-1 a button p {
        font-size: 15px;
    }
}

/* ******************************************************************************* */
@media only screen and (max-width: 480px) {
    .chantrang .r1 .c1 .txt {
        padding-right: 0;
    }

    .chantrang .r1 .c2,
    .chantrang .r1 .c3 {
        margin-top: 0;
    }

    .chantrang .r1 .c3 {
        padding-left: 15px;
    }

    .chantrang .r1 .c3 .c3-1 {
        margin-right: -65px;
    }

    .copy .left {
        width: 100%;
        float: none;
    }

    .copy .left p {
        text-align: center;
    }

    .copy .right {
        width: 75%;
        float: none;
        margin: auto;
    }

    .tintuc-main .bgtt .backform {
        padding: 0 15px;
    }

    .tintuc-main .block .block-1 {
        grid-template-columns: repeat(1, 1fr);
    }

    .chtg .ro .tab-panels .accordion a span {
        text-align: left;
        padding-right: 45px;
    }

    .chtg .nav>li {
        margin-bottom: 15px;
    }

    .chtg .ro .tabbed-content ul {
        margin-bottom: 10px;
    }

    .doitac .co {
        padding: 15px;

    }

    .doitac .co img {}

    .tintucHome .ux-tintuc {
        grid-template-columns: repeat(1, 1fr);
    }

    .dchntm .co-1,
    .dchntm .co {
        margin: 15px auto;
    }

    .dchntm .co-1 a button {
        position: relative;
        right: 0px;
    }

    .tsntm .ro2 .co2 img,
    .tsntm .ro3 .co1 img {
        border-radius: 23px;
    }

    .knxntm .block {
        padding-left: 0px;
    }

    .htcs .tinhnang {
        display: block;
    }

    .htcs .tinhnang .r1 {
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 40px;
    }

    .htcs .tinhnang .r2 {
        max-width: 100%;
        padding-left: 0;
    }

    .kpkn .ro {
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
    }

    .tuvanHome .ro {
        margin-top: 0;
    }

    .tuvanHome .ro .c1,
    .tuvanHome .ro .c2 {
        max-width: 100%;
    }

    .tuvanHome .ro .c2 {
        margin-top: 20px;
    }

    .tuvanHome .wpcf7-response-output {
        max-width: 100%;
    }

}

/* ******************************************************************************* */
@media only screen and (max-width: 428px) {
    .chantrang .r1 .c3 .c3-1 {
        margin-right: -55px;
    }

    .copy .right {
        width: 84%;
    }

    .chtg .ro .tab-panels .accordion a span {
        overflow: hidden;
        margin-bottom: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}

/* ******************************************************************************* */
@media only screen and (max-width: 390px) {
    .chantrang .r1 .c3 .c3-1 {
        margin-right: -45px;
    }

    .copy .right {
        width: 93%;
    }
}

/* ******************************************************************************* */
@media only screen and (max-width: 375px) {
    .copy .right {
        width: 97%;
    }
}