/* mobile style*/
@media only screen and (max-width: 768px) {
	/* 	css menu */
	.mfp-content div#main-menu {
		background-color: #fff;
	}
	.sidebar-menu.no-scrollbar {
		padding: 0;
	}
	.mfp-content div#main-menu ul li a {
		color: #000;
	}
	.mfp-content div#main-menu ul li .btn-add-post {
		color: #ffff;
	}
.sub-place{display:none !important;}

    .row-wd .row-5 {
        grid-template-columns: 1fr !important;
    }

    .row-wd .row-5 > .col:first-child {
        min-height: 220px;
        margin-left: 0;
    }

    .row-wd .row-5 > .col:first-child .img.hide-for-medium {
        display: block !important;
    }

    .row-wd .row-5 > .col:last-child .col-inner {
        padding: 20px 16px !important;
    }

    .row-wd .row-5 > .col:last-child .col-inner > .row .col.support-icon {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-bottom: 0 !important;
        margin-bottom: 10px;
    }

    .support-item {
        width: 100%;
        padding: 12px 12px 12px 52px !important;
    }

    .support-item::before {
        left: 12px !important;
        top: 12px !important;
    }

    .support-item .support-item-title {
        white-space: normal;
    }

    .support-item a {
        font-size: .82rem !important;
    }

    .header-inner.logo-left > .flex-col.show-for-medium.flex-left {
        flex: 1 1 0;
        order: 1;
    }

    .header-inner.logo-left > #logo.logo {
        margin: 0 10px;
        order: 2;
        text-align: center;
    }

    .header-inner.logo-left > #logo.logo img {
        margin: 0 auto;
    }

    .header-inner.logo-left > .flex-col.show-for-medium.flex-right {
        flex: 1 1 0;
        order: 3;
    }

    .header-inner.logo-left > .flex-col.show-for-medium.flex-right .mobile-nav.nav-right {
        justify-content: flex-end;
    }

    .nav-icon.has-icon > a {
        position: relative;
    }

    .nav-icon.has-icon i.icon-menu {
        display: inline-block;
        width: 23px;
        height: 20px;
    }

    .nav-icon.has-icon i.icon-menu::before {
        content: "" !important;
        position: absolute;
        top: 50%;
        left: 50%;
        width: 23px;
        height: 20px;
        transform: translate(-50%, -50%);
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23444' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cline x1='3' y1='12' x2='21' y2='12'/%3E%3Cline x1='3' y1='18' x2='21' y2='18'/%3E%3C/svg%3E") center no-repeat;
        background-size: 22px 19px;
    }

    .home-title {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .home-title .link-expand {
        position: static !important;
        transform: none !important;
        align-self: flex-start;
    }

    .project-category-footer {
        margin-top: 12px;
        padding: 0;
    }

    .project-category-footer .project-view-all {
        width: 100%;
        justify-content: center;
        height: 42px;
        font-size: .92rem;
    }

    .mt-footer {
        margin-bottom: 20px !important;
    }

    .bc_widget_category ul {
        column-count: 1;
    }

    div#masthead .user-nav {
        display: none !important;
    }

    .page-h1 {
        font-size: 1.5rem;
    }

    .project-item.list .thumb {
        width: 100%;
        height: 220px;
        max-height: 216px;
        margin-right: 0;
        overflow: initial;
        position: relative;
        background-color: transparent;
        border-radius: 6px 6px 0 0 !important;
    }

    .project-item.list .time {
        float: none;
        align-items: center;
        line-height: 20px;
        display: block;
        margin: 10px 0 0 0;
    }

    .project-item.list .thumb img {
        border-radius: 6px 6px 0 0 !important;
    }

    .project-item.list .post-aside {
        width: 100%;
        padding: 10px;
    }

    .w550 {
        width: 100%;
        margin: 0 auto;
        padding: 0px !important;
    }

    .w550:before, .w550:after {
        display: none !important;
    }

    .dashboard-nav {
        display: none !important;
    }

    div#masthead {
        padding: 0px !important;
    }

    .mt-top {
        margin-bottom: 20px !important;
    }

    .other-brands {
        width: 100% !important;
        display: block !important;
    }

    .other-brands span.margin-right-20 {
        width: 100% !important;
        display: block;
        margin-bottom: 15px !important;
    }

    .other-brands a {
        margin-bottom: 5px !important;
    }

    div#masthead {
        height: 50px !important;
    }

    i.icon-menu {
        background: url(../images/menu-bar.svg) center no-repeat !important;
        background-size: contain !important;
        width: 20px !important;
        height: 20px !important;
    }

    i.icon-menu:before {
        display: none !important;
    }

    .menu-header {
        width: 100%;
        text-align: center;
    }

    .menu-user .avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
    }

    .btn-wrap a {
        display: inline-flex;
        align-items: center;
        padding: 0 10px;
        margin-top: 15px;
        color: #3d3b40;
        white-space: nowrap;
        width: 48%;
        height: 40px;
        float: left;
        justify-content: center;
        border: 1px solid;
        border-radius: 10px;
    }

    .btn-wrap a.btn-login {
        float: right;
    }

    .btn-dashboard {
        background-color: #fff;
        color: #3d3b40;
        margin-top: 10px;
        padding: 0 10px;
        text-align: center;
        border-radius: 10px;
        display: flex;
        width: 100%;
        height: 40px;
        align-items: center;
        justify-content: center;
        border: 1px solid;
    }

    .btn-add-post {
        background-color: #009768;
        color: #fff;
        font-weight: 600;
        margin-top: 10px;
        padding: 0 10px;
        text-align: center;
        border-radius: 10px;
        display: flex;
        width: 100%;
        height: 40px;
        align-items: center;
        justify-content: center;
    }

    .btn-add-post i {
        background: url(../images/icon-edit-white.svg) center no-repeat;
        background-size: contain;
        width: 20px;
        height: 20px;
        display: inline-block;
        margin-right: 5px;
    }

    .project-scroll {
        overflow-x: visible;
    }

    .project-scroll > .row {
        flex-wrap: wrap;
        margin: 0;
        width: auto;
    }

    .p-scroll {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 0 0 16px !important;
    }

    .slide-project-stacked {
        display: flex !important;
        flex-direction: column;
        gap: 16px;
    }

    .slide-project-stacked .slide-item {
        width: 100%;
    }

    .slide-project-stacked .project-featured .thumb {
        height: 220px;
    }

    .slide-project-stacked .project-featured {
        background: #fff;
        box-shadow: 0 10px 26px rgba(17, 24, 39, .08);
    }

    .slide-project-stacked .project-featured:after {
        display: none;
    }

    .slide-project-stacked .project-featured-info {
        position: static;
        padding: 12px 14px 14px;
    }

    .slide-project-stacked .project-featured .slider-item-name {
        color: #111827;
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 5px;
    }

    .slide-project-stacked .project-featured-meta {
        color: #009768;
        font-size: .82rem;
        font-weight: 600;
    }

    .project-scroll::-webkit-scrollbar, .project-scroll::-webkit-scrollbar-thumb {
        display: none;
    }

    .project-scroll::-webkit-scrollbar, .project-scroll::-webkit-scrollbar-thumb {
        display: none;
    }

    .project-scroll::-webkit-scrollbar, .project-scroll::-webkit-scrollbar-thumb {
        display: none;
    }

    .home-title h3 {
        font-size: 1.5rem;
    }

    .post-item {
        margin-bottom: 20px;
    }

    .the-post .post-images {
        height: 120px;
    }

    .the-post .page-h1 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .the-post .post-features .post-price {
        margin-right: 10px !important;
    }

    #mobile {
        display: block;
    }

    .img-register {
        display: none !important;
    }

    #filter-box .filter-list {
        overflow-x: auto;
        overflow-y: hidden;
        width: auto;
        display: flex;
    }

    #filter-box .filter-list::-webkit-scrollbar, #filter-box .filter-list::-webkit-scrollbar-thumb {
        display: none;
    }

    #filter-box .filter-list::-webkit-scrollbar, #filter-box .filter-list::-webkit-scrollbar-thumb {
        display: none;
    }

    #filter-box .filter-list::-webkit-scrollbar, #filter-box .filter-list::-webkit-scrollbar-thumb {
        display: none;
    }

    .filter-popup {
        width: 98%;
    }

    .filter-popup .filter-list-option {
        padding: 10px 40px;
    }

    .filter-popup .filter-popup-content {
        padding: 25px 20px;
    }

    #footer {
        margin-top: 20px !important;
    }

    .owl-nav button.owl-prev {
        left: 15px !important;
    }

    .owl-nav button.owl-next {
        right: 15px !important;
    }

    .top-city .city-item.large {
        height: 200px !important;
    }

    .top-cat {
        display: flex !important;
        flex-wrap: wrap;
        margin-bottom: 20px;
    }

    .top-cat .top-cat-item {
        display: flex;
        flex-wrap: wrap;
        width: 25%;
        justify-content: center;
        color: #3d3b40;
    }

    .top-cat .top-cat-item .icon {
        width: 50px !important;
        height: 50px !important;
        border-radius: 15px;
        background-color: #f1f1f1;
        margin-right: 0;
        background-size: 30px !important;
    }

    .top-cat .top-cat-item span {
        display: block;
        text-align: center;
        margin-top: 5px;
        width: 100%;
        font-size: 14px;
        color: var(--darkColor) !important;
    }

    #toolbar {
        display: block;
    }

    #toolbar {
        width: 100%;
        height: 50px;
        bottom: 0;
        position: fixed;
        z-index: 9;
        background: #fff;
        color: #777;
        box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
    }

    #toolbar .toolbar-inner {
        width: 100%;
        height: 100%;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-align-content: center;
        -ms-flex-line-pack: center;
        align-content: center;
    }

    #toolbar .toolbar-item {
        display: flex;
        width: 25%;
        height: 100%;
        text-align: center;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        position: relative;
    }

    #toolbar .toolbar-item span {
        display: block;
        font-size: 0.7rem;
        color: #5c5c5c;
    }

    #toolbar .toolbar-item i {
        width: 16px;
        height: 16px;
        display: block;
        opacity: 0.8;
        margin: 3px auto 3px;
    }

    #toolbar .toolbar-item .avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 2px solid #1c6fff;
    }

    #toolbar .toolbar-item .toolbar-btn-add {
        display: flex;
        align-items: center;
        justify-items: center;
        width: 60px;
        height: 60px;
        background: #ffba00;
        border-radius: 50%;
        position: absolute;
        bottom: -5px;
        flex-wrap: wrap;
        -webkit-box-shadow: 0px 0px 0px 5px rgba(255, 255, 255, 1);
        -moz-box-shadow: 0px 0px 0px 5px rgba(255, 255, 255, 1);
        box-shadow: 0px 0px 0px 5px rgba(255, 255, 255, 1);
    }

    #toolbar .toolbar-item .toolbar-btn-add .inner {
        width: 100%;
    }

    #toolbar .toolbar-item .toolbar-btn-add span {
        color: #3D3B40;
    }

    #toolbar .toolbar-item .save-post-total {
        position: absolute;
        right: 17px;
        top: 2px;
        padding: 0px 4px;
        height: 16px;
        background-color: #009768;
        color: #fff;
        font-size: 0.8rem;
        border-radius: 4px;
        line-height: 16px;
    }

    #toolbar .icon-homepage {
        background: url(../images/fa-home.svg) center no-repeat;
        background-size: contain;
    }

    #toolbar .icon-search {
        background: url(../images/fa-search.svg) center no-repeat;
        background-size: contain;
    }

    #toolbar .icon-register {
        background: url(../images/fa-user-plus.svg) center no-repeat;
        background-size: contain;
    }

    #toolbar .icon-login {
        background: url(../images/fa-log-in.svg) center no-repeat;
        background-size: contain;
    }

    #toolbar .icon-edit {
        background: url(../images/2911213.svg) center no-repeat;
        background-size: contain;
    }

    #toolbar .icon-account {
        background: url(../images/fa-user.svg) center no-repeat;
        background-size: contain;
    }

    #toolbar .icon-post-manager {
        background: url(../images/fa-list.svg) center no-repeat;
        background-size: contain;
    }

    #toolbar .icon-heart {
        background: url(../images/fa-heart.svg) center no-repeat;
        background-size: contain;
    }

    #toolbar .icon-add-post {
        background: url(../images/fa-edit.svg) center no-repeat;
        background-size: contain;
        opacity: 1 !important;
        width: 18px !important;
        height: 18px !important;
        margin: 0 auto;
    }
		
	/* 	css trang bảng giá dịch vụ */
	.page-id-1398 .table-responsive {
		overflow-x: auto;
	}
}

/* iPad landscape style here */
/* iPad portrait style here */
@media only screen and (min-width: 768px) {
    .full-width .ubermenu-nav, .container, .row {
        max-width: 1200px !important;
    }

    .view-1060 .full-width .ubermenu-nav, .view-1060 .container, .view-1060 .row {
        max-width: 1060px !important;
    }
}

/* iPad landscape style here */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {

}

/* iPad portrait style here */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {


}

@media only screen and (max-width: 768px) {
    :root {
        --type-hero-title: 2rem;
        --type-section-title: 1.55rem;
        --type-card-title: 1.05rem;
        --type-body: 1rem;
        --type-section-desc: 1rem;
        --type-meta: .92rem;
        --type-small: .84rem;
    }

    .home-cat .page-h1,
    .page-h1 {
        font-size: var(--type-hero-title) !important;
        line-height: 1.2 !important;
        letter-spacing: 0 !important;
    }

    .home-cat .page-description,
    .page-description,
    .section-header2 p,
    .process-steps-section .section-header2 p {
        font-size: var(--type-section-desc) !important;
        line-height: 1.62 !important;
        letter-spacing: 0 !important;
    }

    .home-title h3,
    .section-header2 h2,
    .process-steps-section .section-header2 h2,
    .section2 h2.section-title2,
    h2.section-title2.font-merriweather-bold.big {
        font-size: var(--type-section-title) !important;
        line-height: 1.25 !important;
        letter-spacing: 0 !important;
    }

    .project-item .title,
    .project-item.list .title,
    .news-item .news-title,
    .single-latest-title,
    .bc__product .news-item .news-title,
    .slide-project-stacked .project-featured .slider-item-name {
        font-size: var(--type-card-title) !important;
        line-height: 1.42 !important;
        letter-spacing: 0 !important;
    }

    .project-item .feature-item,
    .project-item .post-address,
    .project-item.list .summary,
    .project-item.list .meta,
    .news-item .news-summary,
    .slide-project-stacked .project-featured-meta,
    .top-cat .top-cat-item span {
        font-size: var(--type-meta) !important;
        line-height: 1.5 !important;
    }

    .counter-item p,
    .process-step-desc {
        font-size: var(--type-body) !important;
        line-height: 1.6 !important;
    }

    #toolbar .toolbar-item span {
        font-size: .78rem !important;
    }
}
