@media screen and (max-width: 1320px) {

    .wrap-banner-main {
        margin: 0px;
    }
}

@media screen and (max-width: 1024px) {

    * {
        -webkit-overflow-scrolling: touch;
    }

    img {
        height: auto;
    }

    body {
        padding-top: 71px;
    }

    .cq-grid.cate-idea {
        margin: 0 -5px;
    }

        .cq-grid.cate-idea .cq-cell {
            margin: 0 5px;
        }

    .social-box span {
        margin-right: 5px;
    }

    .guest-item-idea-2 .name .time {
        font-size: 11px;
    }

    .cq-cell {
        margin: 0 5px;
    }

    .box-home .menu .item {
        padding: 0 5px;
    }

    .list-paging-slide {
        margin: 0 -5px;
    }

    .guest-item-idea-2 .desc .name .name-cus {
        font-size: 0px;
    }

        .guest-item-idea-2 .desc .name .name-cus span {
            font-size: 12px;
            line-height: 20px;
            vertical-align: top;
        }

    .group-item-2 .more {
        font-size: 12px;
        padding: 0 10px;
        line-height: 26px;
    }

    .group-item-2 .name {
        font-size: 14px;
    }

    .paging .load-more {
        max-width: 128px;
        border-radius: 100px;
    }
}

@media only screen and (max-width: 1024px) and (min-width: 821px) {
    .guest-item-idea-2 .media .img.table {
        font-size: 20px;
        padding: 15px;
    }

        .guest-item-idea-2 .media .img.table table {
            height: 170px;
        }
}

@media only screen and (max-width: 820px) and (min-width: 681px) {
    #listImageIdea {
        width: 65%;
    }

}

@media screen and (max-width: 820px) {
    .guest-item-idea-2 .title h3 {
        font-size: 14px;
    }

    .box-home .menu .item {
        padding: 0 3px;
    }

    .list-paging-slide .cq-col-4 {
        width: 49.9%;
    }

    .title-box span {
        display: block;
    }

    .title-box a {
        margin-left: 0px;
        margin-right: 10px;
    }

    .cq-grid {
        margin: 0 -5px;
    }

    .cq-cell {
        margin: 0 5px;
    }

    .form-top {
        display: none;
    }

    .cq-grid.cate-idea .item-6 {
        width: 33.3%;
    }
}

@media screen and (max-width: 680px) {

    body {
        padding-top: 0px;
        overflow: hidden;
    }

    .body {
        padding-top: 61px;
        background: white;
        z-index: 1;
        overflow: auto;
        height: 100%;
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        overflow-x: hidden;
    }

    .item-5, .cq-col-4 {
        width: 49.9%;
    }

    #wrapMenu .page-right {
        display: none;
    }

    .page-left, .page-right {
        width: 100%;
    }

    .banner-left {
        display: none;
    }

    .banner-left, .banner-right {
        width: 100%;
    }

    .cq-col-2 {
        width: 100%;
        margin-bottom: 10px;
    }

    .tab-style .tabbox-name li {
        margin: 0px;
        width: 49.9%;
    }

    .page-left {
        display: none;
    }

    .page-left-member {
        display: block;
    }

    .link-filter {
        display: inline-block;
        float: none;
        margin-bottom: 10px;
    }

    .cq-col-3 {
        width: 100%;
    }

    .list-plant-item .cq-col-3, .min-2-item {
        width: 49.9%;
    }

    .banner-bottom .cq-col-2 {
        width: 49.9%;
    }

    #mapWrap .tick:hover .detail-tick {
        display: none;
    }

    .tab-style.TabBox .tabbox-name .TabName {
        font-size: 12px;
    }

    .tab-style .tabbox-name li::after {
        display: none;
    }

    .title-page {
        font-size: 18px;
        line-height: 25px;
    }

    #boxDetailIdeaScroll {
        position: relative;
        top: 0px;
        left: 0px;
        height: auto;
        padding-bottom: 84px;
    }

    .form-article {
        min-width: 0px;
        width: 100%;
    }

    .btn-style {
        margin-right: 5px;
    }

    #listImageIdea.question {
        border-bottom: 0px;
    }

    .none-desk {
        display: block;
    }

    .body {
        padding-top: 0px;
    }

    .box-member {
        background: var(--cq-light);
    }

        .box-member .avt-left {
            float: left;
            width: 40%;
        }

        .box-member .box-left {
            width: 60%;
            float: right;
        }

        .box-member .avt-left .Image {
            display: block;
            width: 100%;
            margin: auto;
        }

    .hide-on-mobi {
        display: none;
    }

    .hide-on-desk {
        display: inline-block;
    }

    .avt-box {
        height: 65px;
        line-height: 40px;
        font-weight: bold;
        font-size: 20px;
        text-transform: capitalize;
        border-bottom: solid 5px white;
    }

    .cq-grid.cate-idea .item-6 {
        width: 16.5%;
    }

    .box-home .menu {
        display: none;
    }

    .show-desk {
        display: none;
    }

    .show-mobi {
        display: block;
    }

    .box-home {
        margin-bottom: 10px;
        position: relative;
    }

    .cq-grid .datalist-content .cq-col-4 {
        width: 50%;
    }

    .member-idea .posts .cq-col-4 {
        width: 25%;
    }

    .guest-item-idea-2 .name .time {
        display: none;
    }

    .guest-item-idea-2 .desc .name .name-cus {
        display: none;
    }

    .guest-item-idea-2 .name .img-cus {
        width: 30px;
    }

    .guest-item-idea-2 .media .img.table {
        padding: 10px;
        font-size: 16px;
    }

        .guest-item-idea-2 .media .img.table table {
            height: 117px;
        }

    .guest-item-idea-2 .title-2, .guest-item-idea-2 .title {
        font-size: 12px;
    }

    .filter-repon {
        width: 110px;
    }

        .filter-repon select {
            width: 100%;
            margin: 0px;
        }

    .box-quick-view .profile-left {
        width: 80%;
        padding-right: 0px;
        float: none;
        margin: auto;
        text-align: center;
    }

    .box-quick-view .profile-right {
        width: 100%;
    }

    .quick-view .dialog-close {
        color: black;
        position: fixed;
    }

    .box-quick-view .title-left-large {
        font-size: 24px;
    }

    .box-quick-view .box-follow {
        margin-top: 10px;
        text-align: center;
    }

    .box-quick-view .btn-follow {
        margin-bottom: 10px;
    }

        .box-member-mobi .title-left-large {
            top: 70px;
        }

        .box-member-mobi .title-left-large {
            left: 110px;
        }

    .list-paging-slide .paging {
        display: none;
    }

}

@media screen and (max-width: 560px) {
    .wrap-banner-main {
        display: none;
    }

    .TabBox .tabbox-name .TabName {
        font-size: 12px;
    }

    .sep20 {
        height: 10px;
    }

    .TabBox .tabbox-name {
        height: auto;
        margin-bottom: 10px;
        white-space: nowrap;
        overflow: auto;
        position: relative;
    }

        .TabBox .tabbox-name:after {
            border: solid black;
            border-width: 0 3px 3px 0;
            display: inline-block;
            padding: 3px;
            transform: rotate(-45deg);
            -webkit-transform: rotate(-45deg);
            position: absolute;
            top: 0px;
            right: 0px;
        }

    .tab-style2 .tabbox-name li .TabName {
        padding: 0 10px;
    }

        .item-cart .delete-cart .Button {
            min-width: 0px;
        }

        .payment-item .name {
            display: block;
            font-weight: bold;
            background: var(--cq-border);
            padding: 5px 10px;
        }

        .payment-item .img {
            display: none;
        }

        .payment-item .desc {
            padding: 10px;
            font-weight: normal;
        }

    .cate-idea .cq-col-3 {
        width: 33.3%;
    }

    .member-idea .posts .cq-col-3 {
        width: 33.3%;
    }

    .breadcrumb {
        margin-bottom: 10px;
    }

    .box-left.show-mobi {
        padding: 10px 0;
        background: none;
        margin: 0 -5px;
    }

        .box-left.show-mobi .menu-plant li {
            width: 33.3%;
            float: left;
            padding: 0 5px;
            margin-bottom: 10px;
        }

            .box-left.show-mobi .menu-plant li a {
                padding: 0px;
                border: solid 1px var(--cq-border);
                font-size: 11px;
                text-align: center;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }

    .form-article {
        min-width: 400px;
    }

    .title-large {
        font-size: 16px;
    }

    .chucdanh-item .name {
        line-height: 40px;
        width: 150px;
        font-size: 14px;
    }

    .box-title .box-date {
        background: rgba(0, 0, 0, 0.53);
        padding: 6px 105px 5px 5px;
        color: white;
        top: 0px;
        border-radius: 10px;
        white-space: nowrap;
        bottom: auto;
    }

        .box-title .box-date .report-menu {
            top: 5px;
        }

            .box-title .box-date .report-menu .btn {
                color: white;
            }

    .box-title-name-large {
        font-size: 16px;
    }

    .wrap-title-cate .more {
        font-size: 12px;
        bottom: 6px;
    }
}

@media screen and (max-width: 500px) {

    .form-login th, .form-login td {
        width: 100%;
        display: block;
    }

    .form th, .form td {
        width: 100%;
        display: block;
    }

    .form {
        width: 100%;
    }

    #slideLogo .content {
        width: auto;
        height: auto;
        margin-left: 0px;
        left: 0px;
    }

    .member-idea .info {
        width: 100%;
        padding-bottom: 0px;
    }

    .member-idea {
        margin-bottom: 0px;
    }

        .member-idea .posts {
            width: 100%;
        }

            .member-idea .posts .cq-col-3 {
                width: 33.3%;
            }

        .member-idea .post-idea-item .post-idea-item-tool {
            display: none;
        }

    #listItem .cq-col-2 {
        width: 100%;
    }

    .box-member .avt-left {
        float: none;
        width: 100%;
        max-height:300px;
        overflow:hidden;
    }

    .box-member .box-left {
        float: none;
        width: 100%;
    }

    .profile-menu {
        position: initial;
    }

        .profile-menu > ul {
            width: 100%;
            right: -100%;
            top: 63px;
            bottom: 0px;
            display: block;
            position: fixed;
        }

        .profile-menu.open ul {
            right: 0px;
        }

    .profile-menu.open > ul > li.open > a > i:before {
        content: "\f054";
    }

    .profile-menu.open > ul > li > ul {
        display: none;
        position: relative;
        width: 100%;
    }

    .profile-menu.open .show-mobi > a {
        background: var(--cq-border);
    }

    .profile-menu.open .show-mobi .text {
        padding: 10px;
        background: var(--cq-border);
    }

    .profile-menu.open ul > li.open > ul {
        display: block;
    }

    .profile-menu ul > li > ul > li {
        display: block;
        border-bottom: none;
        border-top: solid 1px var(--cq-border);
    }

    .profile-menu .fas:before {
        display: inline-block;
        margin-right: 10px;
    }

    .item-media .title {
        white-space: nowrap;
        font-size: 12px;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-right: 110px;
    }

    #lightSlider table {
        height: 300px;
    }

    .ContentEditor .toolbar .smile-icon .smile-icon-list {
        right: -60px;
        left: auto;
    }
}

@media screen and (max-width: 420px) {
    .tab-style2 .tabbox-name li .TabName {
        padding: 0 var(--cq-2);
        font-size: 10px;
    }

    .box-like .item-customer {
        width: 31.3%;
    }

    .title-box > a {
        font-size: 12px;
        margin-right: 2px;
        padding: 0 10px;
    }

    .follow-text, .follow-button {
        margin-right: 10px;
        margin-bottom: 10px;
    }

    .avt-left {
        height: auto;
        max-height: 1000px;
    }

    .Button {
        font-size: 12px;
    }

    .hide-mobi {
        display: none;
    }

    .filter-price > span {
        display: none;
    }

    .filter-price .SelectBox {
        border: 0px;
    }

    .filter-price .display-item {
        margin-left: 0px;
        margin-right: 10px;
    }

    .form-article th, .form-article td {
        width: 100%;
        display: block;
    }

    .form-article th {
        padding-bottom: 0px;
    }

    .list-paging-slide .cq-col-4 {
        width: 100%;
    }

    .guest-item-idea-2 .media .img img {
        min-height: 148px;
    }
}
