@media (min-width: 850px) {
    /* 	css menu */
    .sub-menu.nav-dropdown {
        background-color: #0D131E !important;
        border: 0 !important;
        padding: 30px 0 !important;
    }

    .mega_menu a, .mega_menu p {
        color: #fcfcfc;
        font-weight: 400;
        font-size: 14px;
        margin-bottom: 15px !important;
    }

    .mega_menu a:hover, .mega_menu p:hover {
        color: var(--color-primary-2)
    }
}


/* mobile style*/
@media only screen and (max-width: 768px) {
    .form-search {
        position: fixed;
        z-index: 99;
        top: 0px;
        height: 100vh;
    }

    .form-search .close-form {
        cursor: pointer;
        color: #fff;
        position: absolute;
        top: -40px;
        right: -20px;
        font-size: 20px;
    }

    li.html.custom.html_nav_position_text {
        display: block !important;
        position: absolute;
        right: 36px;
    }

    /* 	css menu */
	.mfp-wrap.mfp-auto-cursor.off-canvas.off-canvas-right.mfp-ready {
		z-index: 999999;
	}

	.mfp-content {
		margin-top: 60px !important;
	}

	.mfp-close {
		top: 8px !important;
		display: none !important;
	}
	
	.has-off-canvas .current-lightbox-clicked {
		opacity: 1 !important;
		color: #EDB851 !important;
	}
	
    .off-canvas-left .mfp-content, .off-canvas-right .mfp-content {
        background-color: #0D131E !important;
    }

    .mfp-content .sidebar-menu.no-scrollbar {
        padding: 0;
    }

    .mfp-content ul li.menu-item a {
        color: #fcfcfc;
        font-weight: 500;
    }

    .mfp-content .nav-sidebar.nav-vertical > li + li {
        border-top: 1px solid #15202B;
    }

    .mfp-content ul li.menu-item.current-menu-item a {
        color: #EDB851;
    }

    .mfp-content ul.sub-menu.children a {
        font-size: 14px;
    }

    button.toggle {
        color: #fcfcfc !important;
        margin: 0 12px 0 0;
    }

    .post-big {
        margin-bottom: 20px !important;
    }

    .post-big .post-content h4, .post-grid .post-content h4, .post-row .post-content h4, .post-list .post-content h4 {
        margin: 10px 0;
        font-weight: 600;
        font-size: 16px;
        line-height: 24px;
    }

    .post-big .post-content h4 {
        height: unset;
        overflow: hidden;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    .post-grid .post-thumbnail, .post-list .post-thumbnail {
        width: 1000%;
        height: 220px;
    }

    .post-grid .post-content, .post-list .post-content {
        width: 100%;
        padding: 15px 0 0 0;
    }

    .category-title h3 {
        font-weight: 600;
        font-size: 24px !important;
        line-height: 32px;
    }

    .bk-tab ul li a {
        font-weight: 500;
        font-size: 14px;
        line-height: 20px;
    }

    header.header-single h1 {
        font-size: 30px;
        line-height: 40px;
    }

    .post-social {
        text-align: left;
    }

    .category-title-desc {
        text-align: center;
        color: #fff;
        font-size: 15px;
        width: 100%;
        margin: auto;
    }

    .bc__product .post-grid .post-thumbnail {
        width: 150px;
        height: 120px;
    }

    .bc__product .post-grid .post-content {
        width: calc(100% - 150px);
    }

    section.s-course-thumbnail .s-course-info {
        width: 100%;
		padding-top: 50px;
    }

    .brRight-2 {
        border: 0px !important;
    }

    .box-kt ul li {
        width: 100% !important;
    }

    section.course-entry {
        font-size: 15px;
    }

    h3.course__title, h3.course__title_2 {
        font-weight: 600;
        font-size: 16px;
        line-height: 21px;
    }
	
	section.s-course-thumbnail {
    	background-repeat: no-repeat;
	}

    section.course-description {
        margin: 64px 0 30px 0 !important;
    }
	
	section.s-course-thumbnail .s-course-button a {
		width: 100%;
		font-weight: 600;
		height: 44px;
		line-height: 35px;
	}

    .mtTop {
        padding-top: 0px !important;
    }

    section.s-course-thumbnail .s-course-info h1 {
        font-size: 30px;
        line-height: 40px;
    }

    section.s-course-thumbnail {
        padding: 0 0 50px 0;
    }

    .author__info .author__avatar {
        width: 100px;
        height: 100px;
        margin: -50px auto 0;
    }

    .author__info .author__info_text {
        text-align: center;
    }

    .author__info .post-social {
        text-align: center;
    }

    .bk-tab ul {
        justify-content: start;
    }

    .bk-tab {
        margin-bottom: 20px;
    }

    .post-grid.post-mobile .post-content {
        width: 100% !important;
        padding: 15px 0 0 0;
    }

    .post-grid.post-mobile .post-date {
        display: none !important;
    }

    .post-grid.post-mobile .post-thumbnail {
        width: 100% !important;
    }

    .post-grid.post-mobile {
        padding: 0px !important;
    }

    .slide-item .post-grid.post-mobile {
        width: 93%;
        margin: auto;
    }

    .course-row .course-thumbnail {
        width: 100%;
        height: 190px;
    }

    .course-row .course-thumbnail img {
        width: 100% !important;
        height: 100%;
        object-fit: cover !important;
    }

    .tab-dev2 ul li.tab, .tab-dev2 ul li.tab.active {
        width: 100% !important;
        border: 1px solid var(--color-primary-2) !important;
    }

    .tab-dev2 ul li.tab:not(:last-child) {
        border-bottom: 0px !important;
    }

    .bc__product .post-grid .post-category {
        font-size: 14px;
        padding: 5px 15px;
    }

    .pd-mobile:last-child {
        padding-bottom: 0 !important;
    }

    .team-sec .category-title.text-center.brRight {
        text-align: left !important;
        margin: 0px !important;
    }

    a.button.primary {
        background: var(--color-primary-2) !important;
        color: var(--primary-color) !important;
        font-weight: 400 !important;
        width: 100%;
        margin: 0px !important;
    }

    .formConact .category-title.text-center.brRight h3 {
        font-size: 16px;
        line-height: 25px;
    }

    .formConact label {
        font-size: 14px;
        line-height: 20px;
    }

    .button_for_primary {
        background: var(--color-primary-2) !important;
        color: var(--primary-color) !important;
        margin: 0px !important;
        width: 150px;
        font-size: 14px;
        height: 40px;
        line-height: 40px !important;
        padding: 0px !important;
    }

    .button_for_primary i {
        margin-left: 5px !important;
    }

    .header-inner.flex-row.container.logo-center {
        justify-content: start !important;
    }

    div#logo a img {
        float: left !important;
    }

    div#logo {
        float: left;
        margin: 0px !important;
        text-align: left !important;
        position: absolute;
    }

    div#masthead .nav-right {
        justify-content: flex-end;
    }

    .accordion.bknd-question a.accordion-title.plain span {
        width: 80% !important;
        display: inline-block;
    }

    .bk-ad a.accordion-title.plain.active .toggle {
        top: 23px !important;
    }


    select.bk-select {
        background-color: var(--color-primary-2) !important;
        border: 0px !important;
        font-size: 16px;
        box-shadow: unset !important;
    }

    .bk-tab ul li {
        width: calc(100% / 3);
        text-align: center;
    }

    .post-new-item h4 {
        font-weight: 600;
        font-size: 16px;
        line-height: 24px;
    }

    .post-new-item .post-desc {
        font-size: 14px;
        line-height: 20px;
    }

    .left h3 {
        text-align: left;
    }

    div#wide-nav .flex-col.hide-for-medium.flex-center {
        display: block !important;
    }

    div#wide-nav {
        display: block !important;
    }

    ul#menu-bottom {
        width: 100%;
        white-space: nowrap;
        overflow-x: scroll;
    }

    ul#menu-bottom li {
        display: inline-block;
    }

    ul#menu-bottom li a {
        color: #fff;
        font-size: 15px;
    }

    ul#menu-bottom::-webkit-scrollbar {
        height: 0;
    }

    .footer-social a img {
        width: 24px;
        height: 24px;
    }

    .footer-social {
        text-align: left;
    }

    .footer-social a {
        margin: 0 10px 15px 0 !important;
        display: inline-block;
    }

    .footer-logo {
        text-align: center;
    }

    .post-category-flex {
        display: flex;
        flex-flow: wrap;
        margin: 0px -10px !important;
    }

    .post-category-flex .post-grid {
        width: calc(100% / 2) !important;
        padding: 0 10px !important;
    }

    .post-category-flex .post-grid .post-thumbnail {
        height: 130px;
    }

    .slide-post2 .post-row .post-thumbnail {
        height: 130px !important;
    }

    .slide-post2 .post-row .post-desc {
        display: none;
    }

    a.button.primary.is-outline.button_for_danger {
        background: transparent !important;
        color: #fff !important;
    }

    section.course-pc .text-right, section.course-pc .text-left {
        text-align: center !important;
    }

    #wrapper, #main {
        background-color: var(--primary-color) !important;
        background-repeat: no-repeat !important;
        background-position: center center !important;
        background-size: cover !important;
    }

    div#popmake-445 {
        padding: 15px !important;
    }

    .category-title.text-center.brRight.title-img img {
        width: 120px !important;
    }

    .category-title.text-center.brRight.title-img h3 {
        text-align: center;
        margin: 20px 0 0 0;
    }

    .bc__product .post-grid .post-content h4 {
        overflow: hidden;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    section.s-course-thumbnail .s-course-info h1 {
        font-weight: 600;
        font-size: 20px;
        line-height: 32px;
    }

    section.course-entry .course-row .course-content h4 {
        font-weight: 600;
        font-size: 16px;
        line-height: 24px;
    }

    h3.course__title {
        font-weight: 600;
        font-size: 24px;
        line-height: 32px;
    }

    .course-row .course-content h4 {
        font-weight: 600;
        font-size: 16px;
        line-height: 24px;
    }

    header.header-single h1,.single-2 h1 {
        font-weight: 600;
        font-size: 24px !important;
        line-height: 36px !important;
    }

    .author__info .author__info_text h3 {
        font-weight: 600;
        font-size: 16px;
        line-height: 24px;
    }

    .owl-carousel.slide-course-box {
        margin: -70px 0 0 0;
    }

    section.course-entry {
        margin-top: 0px;
        padding-top: 0px;
    }
	
	.single-post .mt-footer {
		margin-bottom: 20px !important;
	}
	
	/* 	css so chay */
	.user_img2 img {
		width: 90%;
	}
}

@media (max-width: 768px) and (min-width: 548px) {
	/* 	css so chay */
	.user_number {
		bottom: 180px;
	}
	
	.user_number2 {
		left: -50px;
	}
}

@media (max-width: 547px) {
	/* 	css so chay */
	.user_number {
		bottom: 40px;
	}
	
	.user_number2 {
		left: -32px;
		bottom: -50px;
	}
	
	.bk-ad .toggle i {
		line-height: 28px !important;
	}
	
	.team-item p {
		font-size: 12px;
	}
	
	div#course-process h3.course__title_2 {
		background: #edb851;
		padding: 8px;
		text-align: center;
		border-radius: 2px;
	}
	.sidebar_mb aside {
		position: unset !important;
		height: unset !important;
		margin-bottom: 0 !important;
	}

	aside.banner-sidebar {
		margin: 0 !important;
	}
	
	.dautu>p:nth-child(1) {
		color: var(--color-primary-2) !important;
		font-size: 20px;
	}
}

/* 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) {


}

/**desktop**/
@media only screen and (min-width: 1440px) {
    .full-width .ubermenu-nav, .container, .row {
        max-width: 1270px !important;
    }
}