:root{
    --primary: #29a7d0;
}
@media (max-width:640px) {
    .main-footer .footer-widget {
        padding: 10px;
    }
}

@media (max-width:480px) {
    .sb-slidebar {
        width: 80%;
    }
    .sb-width-thin {
        width: 55%;
    }
    .sb-width-wide {
        width: 85%;
    }
}

@media (min-width:481px) {
    .sb-slidebar {
        width: 55%;
    }
    .sb-width-thin {
        width: 40%;
    }
    .sb-width-wide {
        width: 70%;
    }
}

@media (min-width:768px) {
    .sb-slidebar {
        width: 40%;
    }
    .sb-width-thin {
        width: 25%;
    }
    .sb-width-wide {
        width: 55%;
    }
    .width-medium-2-5,
    .width-medium-4-10 {
        width: 40%;
    }
    .width-large-2-3,
    .width-large-4-6 {
        width: 66.666%;
    }
    .width-medium-1-1 {
        width: 100%;
    }
    .width-medium-3-5,
    .width-medium-6-10 {
        width: 60%;
    }
    .width-large-1-3,
    .width-large-2-6 {
        width: 33.333%;
    }
    .d-lg-flex {
        display: flex;
    }
}

@media (min-width:992px) {
    .sb-slidebar {
        width: 30%;
    }
    .sb-width-thin {
        width: 15%;
    }
    .sb-width-wide {
        width: 45%;
    }
    .align-items-lg-center {
        align-items: center;
    }
}

@media (min-width:1200px) {
    .sb-slidebar {
        width: 20%;
    }
    .sb-width-thin {
        width: 5%;
    }
    .sb-width-wide {
        width: 35%;
    }
    .wrap-lg-4 {
        width: 25%;
        float: left;
        box-sizing: border-box;
        padding: 10px;
    }
    .wrap-lg-75 {
        width: 75%;
    }
}

@media (max-width:1024px) {
    .hidden_mobile {
        display: none !important
    }
    .hidden_large {
        display: block;
    }
    .container {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    #wrapper {
        padding-top: 100px;
    }
    .content_main {
        width: 100%;
        padding: 0;
    }
    .right-columns {
        display: none;
    }
    .left-columns {
        position: relative;
        width: 100%;
        left: 0;
        right: 0;
        overflow-y: initial;
        padding: 5px;
    }
    .location {
        width: 100%;
        padding: 0;
        padding: 10px;
    }
    .map-box {
        width: 100%;
        padding: 0;
        padding: 10px;
    }
    #map-detail {
        height: auto;
    }
    .caption_cate {
        top: 18px;
        text-transform: uppercase;
        right: 50px;
        position: absolute;
        z-index: 99;
    }
    .hotline-res {
        position: absolute;
        right: 20px;
        top: 4px;
        color: #FFF;
        padding: 10px 0;
        display: inline-block;
        vertical-align: middle;
    }
    .hotline-res svg {
        display: inline-block;
        vertical-align: middle;
    }
    .product_item {
        /* padding-bottom: 40px; */
    }
    .price {
        text-align: left;
        height: 40px;
        bottom: 0;
    }
    .price span {
        margin-bottom: 0
    }
    .hotline-res img {
        display: inline-block;
        vertical-align: middle;
        padding-right: 5px;
    }
    .hotline-res * {
        color: #FFF;
    }
    #tooltip {
        display: none !important;
    }
    #footer table {
        width: 100%;
    }
    .product_name_res {
        display: block;
        text-align: left;
        color: #333;
        line-height: 20px;
        min-height: 40px;
        overflow: hidden;
        margin-bottom: 5px;
    }
    .product_image {
        width: 100%;
        padding: 0;
        margin-bottom: 10px;
        float: none;
        text-align: center;
    }
    .product_detail {
        width: 100%;
        padding: 0;
    }
    .seller-box {
        width: 100%;
    }
    .agency-content {
        width: 100%;
        padding: 0;
        margin-bottom: 20px;
    }
    .form-box {
        width: 100%;
    }
    .cart_res {
        position: absolute;
        right: 50px;
        top: 6px;
    }
    .cart_res span {
        float: left;
        padding: 0 5px;
        line-height: 26px;
        color: var(--primary);
    }
    .cart_res img {
        float: left;
    }
    .top-res.hidden_large {
        position: fixed;
        background: var(--primary);
        left: 0;
        width: 100%;
        height: 100px;
        padding-left: 55px;
        z-index: 99999;
        top: 0;
    }
    #logo-res {
        display: inline-block;
        padding: 4px 2px;
    }
    #logo-res img {
        max-width: 40px;
        height: auto;
        border-radius: 50%;
    }
    .search-res {
        position: absolute;
        right: 15px;
        left: 15px;
        z-index: 999999;
        margin-top: 5px;
    }
    #language-res {
        position: absolute;
        right: 15px;
        top: 4px;
        padding: 10px 0;
    }
    .btn-srch {
        display: inline-block;
    }
    .search-box {
        position: relative;
        height: 32px;
        padding: 0;
        display: inline-block;
        width: 90%;
        float: left;
    }
    .cart_panel {
        float: left;
        text-align: right;
        width: 10%;
        line-height: 27px;
    }
    .cart_panel a span {
        display: inline-block;
        min-width: 10px;
        padding: 3px;
        font-size: 10px;
        font-weight: 700;
        line-height: 1;
        color: #fff;
        text-align: center;
        white-space: nowrap;
        vertical-align: baseline;
        background-color: #fab524;
        border-radius: 20px;
        position: absolute;
        top: -3px;
        right: 0px;
    }
    .frm-search {}
    .frm-search input[type="submit"] {
        position: absolute;
        right: 0;
        top: 0;
        height: 30px;
        width: 30px;
        background: url(./../img/search.png) no-repeat center;
        background-size: 19px;
        border: 0px;
        outline: 0;
    }
    .frm-search input[type="text"] {
        height: 30px;
        padding: 5px 15px;
        box-sizing: border-box;
        border: 0;
        outline: 0;
        border-radius: 4px;
        width: 100%;
    }
    .frm-search form {
        position: relative;
    }
    .info-page {
        font-size: 18px;
        font-weight: bold;
        font-family: 'UVNTinTuc';
    }
    .info-page .hotline {
        position: absolute;
        left: 60px;
        top: 7px;
        margin-bottom: 0;
    }
    .neo {
        position: relative !important;
        top: unset !important;
        width: inherit !important;
    }
    .columns input[type="text"],
    .columns textarea {
        width: 75%;
    }
    .theme-default {
        width: 100%;
    }
    .ads-home {
        width: 100%;
        padding: 0;
    }
    .ads-home .ads-img {
        width: 50%;
        float: left;
        padding: 0 5px;
    }
    .ads-home .list-img {
        margin-left: -5px;
        margin-right: -5px;
    }
    .ads-home .ads-img img {
        padding: 5px 0;
    }
    .news-home {
        margin: 0;
        padding: 10px 5px;
    }
    .news-home-item {
        margin-bottom: 5px;
    }
    .news-home-item:last-child {
        margin-bottom: 0;
    }
    .list-item {
        clear: both;
        display: block !important;
        -webkit-flex-flow: unset;
        flex-flow: unset;
        flex: none;
        height: auto;
    }
    .list-cate-scroll .owl-prev,
    .list-cate-scroll .owl-next {
        top: 28%;
        font-size: 18px;
        padding: 5px;
    }
    .panel_body table {
        width: 100% !important;
    }
    .text_menu_page {
        text-align: center;
        width: 60%;
        position: absolute;
        top: 10px;
        left: 55px;
    }
}

@media (max-width:980px) {
    .wrap-4,
    .wrap-5 {
        width: 33.33%
    }
    .wrap-4:nth-of-type(n),
    .wrap-5:nth-of-type(n) {
        clear: none;
    }
    .wrap-4:nth-of-type(3n+1),
    .wrap-5:nth-of-type(3n+1) {
        clear: both;
    }
    .left-contact {
        width: 100%;
        padding: 0;
        margin-bottom: 20px;
    }
    .right-contact {
        width: 100%;
        padding: 0;
    }
    #frm-contact .row .large-3,
    #frm-contact .row .large-9 {
        width: 100%;
    }
    #frm-contact .inline {
        text-align: left;
    }
}

@media (max-width:768px) {
    .search-box {
        width: 90%;
    }
    .cart_panel {
        width: 10%;
    }
    .single_product_image,
    .single_product_info {
        width: 100%;
        display: block;
        padding: 0;
        margin-bottom: 20px;
    }
    #footer table td {
        width: 100% !important;
        display: block;
        margin-bottom: 10px;
    }
    .container .video-container {
        position: relative;
        padding-bottom: 56.25%;
        padding-top: 30px;
        height: 0;
        overflow: hidden;
        margin-bottom: 20px;
    }
    .container .video-container iframe,
    .container .video-container object,
    .container .video-container embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .flex-sm-column {
        flex-direction: column;
    }
    #product_parameter p iframe,
    #product_parameter p object,
    #product_parameter p embed {
        width: 100%;
        height: 100%;
    }
    .product_name {
        font-size: 14px;
    }
}

@media (max-width:640px) {
    .news_image {
        width: 35%;
    }
    .wrap-item {
        width: 50%
    }
    .wrap-item:nth-of-type(n) {
        clear: none;
    }
    .wrap-item:nth-of-type(2n+1) {
        clear: both;
    }
    .wrap-2 {
        width: 100%
    }
    .wrap-3 {
        width: 50%;
    }
    .wrap-3.mb {
        width: 100%;
    }
    .wrap-3:nth-of-type(n) {
        clear: none;
    }
    .wrap-3:nth-of-type(2n+1) {
        clear: both;
    }
    .wrap-4 {
        width: 50%;
    }
    .wrap-4:nth-of-type(n) {
        clear: none;
    }
    .wrap-4:nth-of-type(2n+1) {
        clear: both;
    }
    .wrap-5 {
        width: 50%;
    }
    .wrap-5:nth-of-type(n) {
        clear: none;
    }
    .wrap-5:nth-of-type(2n+1) {
        clear: both;
    }
    #frm-contact,
    #contact_content {
        width: 100%;
        padding: 0;
    }
    #contact_content {
        margin-bottom: 20px;
    }
    #product_img {
        width: 100%;
        margin-bottom: 10px;
    }
    #product_info {
        width: 100%;
        padding-left: 0;
    }
    .video-container {
        position: relative;
        padding-bottom: 56.25%;
        padding-top: 30px;
        height: 0;
        overflow: hidden;
        margin-bottom: 20px;
    }
    .video-container iframe,
    .video-container object,
    .video-container embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    #tbl_cart table,
    #tbl_cart thead,
    #tbl_cart tbody,
    #tbl_cart th,
    #tbl_cart td,
    #tbl_cart tr {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    #tbl_cart thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    #tbl_cart tr {
        border-bottom: 1px solid #ccc;
    }
    #tbl_cart td select {
        width: 50px;
    }
    #tbl_cart tr:nth-of-type(2n+1) {
        background: #fff
    }
    #tbl_cart td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 35%;
        white-space: normal;
        text-align: left;
        min-height: 30px;
    }
    #tbl_cart td:before {
        position: absolute;
        top: 6px;
        left: 6px;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
    }
    #tbl_cart td:before {
        content: attr(data-title);
    }
    #tbl_info th {
        width: 100%;
        display: block;
        text-align: left;
    }
    #tbl_info td {
        width: 100%;
        display: block;
    }
    #tbl_info input,
    #tbl_info textarea {
        width: 200px;
    }
    #contact-page .row .large-3,
    #contact-page .row .large-9 {
        width: 100%;
    }
    #contact-page .inline {
        text-align: left;
    }
    .columns input[type="text"],
    .columns textarea {
        width: 100%;
    }
    .row .columns {
        display: block;
        float: none;
        text-align: left;
        margin: 0;
        width: 100%;
    }
}

@media (max-width:480px) {
    #tbl_contact th,
    #tbl_contact td {
        width: 100%;
        display: block;
        text-align: left;
    }
}

@media (max-width:360px) {
    .txt,
    .txta {
        width: 100%;
        box-sizing: border-box;
    }
    .wrap-item {
        width: 100%
    }
    .wrap-3 {
        width: 100%
    }
    .wrap-4 {
        width: 100%;
    }
    .wrap-5 {
        width: 100%;
    }
}

@media (max-width:320px) {
    #tbl_contact input[type="text"],
    #tbl_contact textarea {
        width: 100%;
        box-sizing: border-box;
    }
    #price {
        margin-bottom: 10px;
    }
    #product_price {
        display: inline-block;
    }
}

@media (max-width: 640px) {
    .main-footer .footer-widget {
        padding: 10px;
    }
    .tongquan1,
    .tongquan2 {
        width: 100% !important;
        padding: 0 !important;
        display: block;
    }
}