
/* 1199 */

@media screen and (max-width: 1199.5px) {
	.site-tieubieu .box-tieubieu .text{
		-webkit-box-flex: 0;
		-ms-flex: 0 0 75%;
		flex: 0 0 75%;
		max-width: 75%;
	}
	.grid {
		gap: 20px;
	}
	.items-banner img{
		min-height: calc(60vh - 65px - 320px);
}
}

/* 991 */

@media screen and (max-width: 991.5px) {
	.grid {
		gap: 20px;
	}
	.row-vt{
		width: 100%;
		display: flex;
		flex-flow: row wrap;
		margin: auto;
	}
	.col-vt{
		order: 2;
	}
	.header__logo img{
		max-width: 200px;
	}
	.header__menu{
		display: none;
	}
	.site-tieubieu .box-tieubieu .text{
		-webkit-box-flex: 0;
		-ms-flex: 0 0 69%;
		flex: 0 0 69%;
		max-width: 69%;
	}
	.site-theme .items-theme .images{
		height: 300px;
	}
	.footer__content2{
		padding-left: 0;
	}
	.items-price .js-content ul li{
		text-align: left;
		display: flex;
	}
	.items-banner img{
			min-height: calc(60vh - 65px - 320px);
	}
	.navbar .navbar-nav .nav-item a {
		font-size: 16px;
	}
}

/* 767 */

@media screen and (max-width: 767.5px) {
	body{
		overflow: unset !important;
		padding-right: 0 !important;
	}
	.avt {
		margin: auto;
		width: 50%;
		margin-bottom: 15px;
	}
	.gallery-container {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
		grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
		grid-template-areas: 
			"item1 item1 item3 item3 item3 item3"
			"item1 item1 item3 item3 item3 item3"
			"item1 item1 item3 item3 item3 item3"
			"item2 item2 item3 item3 item3 item3"
			"item2 item2 item4 item4 item5 item5"
			"item2 item2 item4 item4 item5 item5";
		gap: 10px;
		padding: 20px;
		background-color: #e6f0ff;
		height: 600px; /* Chiều cao cố định cho container */
	}
	
	/* Style chung cho ảnh */
	.gallery-item img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		border-radius: 10px;
	}
	
	/* Responsive layout cho màn hình mobile */
	@media (max-width: 768px) {
	p{
		font-size: 14px;
		line-height: 28px;
	}
	.bg-blue-light-b p {
		color: #fff;
		font-size: 14px;
	}
	.bg-blue-light p {
		color: #fff;
		font-size: 14px;
	}
	.the_content li{
		font-size: 14px !important;
		line-height: 28px;
	}
	.container-slide {
		height: auto;
	}
	.container-slide .container-content{
		height: auto;
	}
	.container-slide p{
		font-size: 14px;
	}
	.container-slide h4{
		margin-bottom: 0 !important;
	}
	.the_content ul{
		padding-left: unset;
	}
	.container-slide .container-content{
		padding: 12px !important;
	}
	#contact ul li span p {
		font-size: 18px;
	}
	#contact h4{
		text-align: center;
		font-size: 28px;
	}
	.block{
		padding-top: 30px;
    	padding-bottom: 35px;
	}
	.the_content{
		padding-left: 25px;
		padding-right: 25px;
	}
	.the_title{
		padding-left: 25px;
		padding-right: 25px;
	}
	.underline-title{
		margin-bottom: 20px !important;
	}
	#button-contact-vr {
		bottom: 0% !important;
	}
	#training .box-content h2{
		margin-bottom: 10px !important;
	}
	#training .box-content .row{
		margin-bottom: 10px !important;
	}
	.box-content {
		padding: 15px;
	}
	.gallery-container {
		grid-template-columns: 1fr;
		grid-template-rows: repeat(5, auto);
		grid-template-areas: 
			"item1"
			"item2"
			"item3"
			"item4"
			"item5";
		gap: 15px; /* Khoảng cách giữa các item */
		height: auto; /* Cho phép chiều cao container tự động co dãn */
	}

	.gallery-item {
		width: 100%;
		height: auto; /* Chiều cao tự động dựa vào nội dung */
	}
	}
	#register .bg-blue{
		width: 100% !important;
	}	
	.m-none{
		display: none;
	}
	.arrow-container {
		transform: rotate(90deg);
	}
	h2 {
		font-size: 19px;
		line-height: 35px;
	}
	.the_title h2{
        font-weight: 500;
    }
	.mb-0{
		margin-bottom: 0 !important;
	}
	.pm-0{
		padding-left: 0px !important;
		padding-right: 0px !important;
	}
	.pt-0{
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
	.w-75{
		width: 100% !important;
	}
	.m-block{
		display: block;
	}
	.menu.sticky {
		flex-direction: column;
	}
	.navbar .navbar-nav {
		flex-direction: column;
	}
	#contact ul li span i {
		padding-right: 10px;
		margin-bottom: 10px;
		font-size: 20px;
	}
	.wpcf7-list-item{
		margin: 0 0 5px 0 !important;
	}
	.wpcf7-list-item label{
		text-align: start;
	}
	.navbar .navbar-nav .nav-item a {
		padding: 10px 5px;
		font-size: 14px;
		margin-left: 35px;
		display: none;
		margin-bottom: 0;
		border-bottom: 0;
		/* transition: all 0.3s ease; */
	}
	.bg-nav-item{
		background-size: 29px;
		min-height: 37px;
		min-width: 30px;
	}
	.grid .grid-items img {
		width: 30%;
		margin-bottom: 0px;
	}
	.grid {
		margin-top: 20px;
		margin-bottom: 20px;
		display: grid;
		grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
		grid-template-rows: 1fr 1fr;
		grid-template-areas: 
			". item1 item1 item2 item2 ."
			"item3 item3 item4 item4 item5 item5";
		gap: 6px;
	}
	.grid .grid-items {
		padding: 8px;
	}
	.grid .grid-items:nth-child(1) {
		grid-area: item1;
	}
	
	.grid .grid-items:nth-child(2) {
		grid-area: item2;
	}
	
	.grid .grid-items:nth-child(3) {
		grid-area: item3;
	}
	
	.grid .grid-items:nth-child(4) {
		grid-area: item4;
	}
	
	.grid .grid-items:nth-child(5) {
		grid-area: item5;
	}
	.grid .grid-items p {
		font-size: 14px;
		line-height: 18px;
	}
	#intro .avt{
		width: 75% !important;
	}
	.local-m{
		align-items: flex-start !important;
    	flex-direction: column !important;
	}
	.modal{
		/* display: none !important; */
		padding-right: 0 !important;
	}
	.modal-backdrop{
		display: none !important;
	}
	.form-m{
		padding: 0 !important;
	}
	.header-top span{
		display: none;
	}
	.header-top {
		position: relative;
		margin-top: 78px;
	}
	.menu-mobile{
        box-shadow: 2px 0px 20px #edb667;
		display: flex;
		flex-wrap: wrap;
		left: 0;
		padding-left: 5px !important;
		padding-right: 5px !important;
		justify-content: space-between;
		position: absolute;
		bottom: -70vh;
		background-color: #fff;
		border-radius: 0 10px 10px 0;
		width: unset;
	}
	.navbar .navbar-nav .nav-item:hover a {
		transform: unset;
	}
	.navbar .navbar-nav .nav-item:hover {
		border-bottom: unset;
		color: #000;
	}
	.nav-icon{
		display: block;
	}
	.header-top .btn-custom br{
		display: none;
	}
	#wpadminbar{
		position: fixed;
	}
	.header__logo img{
		max-width: 120px;
	}
	.pd-main{
		padding: 30px 0px;
	}
	.title-main .heading{
		font-size: 20px;
	}
	.title-main .heading1{
		font-size: 14px;
	}
	.title-main{
		margin-bottom: 20px;
	}
	.items-services h3 a{
		font-size: 15px;
	}
	.items-services p{
		font-size: 13px;
	}
	.items-services{
		margin-bottom: 20px;
	}
	.site-tieubieu ul li{
		-webkit-box-flex: 0;
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
	.title-main .heading1{
		margin-bottom: 10px;
	}
	.site-theme .nav li{
		margin-bottom: 10px;
	}
	.site-theme .items-theme h3 a{
		font-size: 15px;
	}
	.site-theme .items-theme .images{
		height: 200px;
	}
	.content-customer{
		max-width: 100%;
	}
	.btn-custom{
		font-size: 14px;
	}
	.items-news{
		margin-bottom: 20px;
	}
	.footer__content{
		margin-bottom: 20px;
	}
	.items-price .js-content ul li{
		margin-bottom: 10px;
	}
	.items-price .price{
		margin-bottom: 20px;
	}
	.active-scroll{
		bottom: 20px;
	}
	.content-area .items-news h3 a{
		font-size: 16px;
	}
	.content-area .items-news p{
		font-size: 14px;
	}
	.login-tuvan .content{
		max-width: 95%;
	}
	.title-main .heading1{
		line-height: 1.5;
	}
	.site-price .nav-tab li a{
		padding: 15px 10px;
	}
	.archive-post .items-news{
		margin-bottom: 0;
	}
	.archive-post .items-news p{
		overflow: hidden;
		text-overflow: ellipsis;
		-webkit-line-clamp: 3;
		display: -webkit-box;
		-webkit-box-orient: vertical;
	}
	.archive-post .items-news h3 a{
		overflow: hidden;
		text-overflow: ellipsis;
		-webkit-line-clamp: 2;
		display: -webkit-box;
		-webkit-box-orient: vertical;
	}
	.products-bc{
		margin-top: 30px;
	}
	.items-news-hl .content{
		padding: 15px;
	}
	.items-news-hl,.mb-30{
		margin-bottom: 20px;
	}
	.archive-post{
		padding: 30px 0px;
	}
	.page-banner .title{
		font-size: 20px;
	}
	.btn-custom{
		height: 40px;
		line-height: 40px;
	}
	.col-order-2{
		order: 2;
	}
	.theme-content{
		margin-top: 20px;
	}
	.archive-theme .thumbail a{
		height: 300px;
	}
	.archive-theme .theme-content .price{
		margin-bottom: 30px;
	}
	.theme-copyright{
		margin-top: 20px;
	}
	.site-contact .bg-contact{
		padding: 15px;
	}
	.site-contact .form-contact{
		margin-top: 20px;
	}
	#navbar-collapse {
		flex-direction: column;
	}
	
	#navbar-collapse.show {
		display: flex;
	}
	
	.menu.sticky .navbar-toggler {
		display: block; /* Hiển thị trên màn hình nhỏ */
		cursor: pointer;
	}
	.img-fixpc{
		display: none;
	}
	.img-fixmobile{
		display: block;
	}
	#button-contact-vr .button-contact .phone-vr {
		margin-top: 35px;
	}
	#fanpage-vr .phone-vr-img-circle{
		width: 80px;
        height: 80px;
        line-height: 40px;
        top: 25px;
        left: 0px;
        transition: all .5s;
	}
	#btn-vr .phone-vr-img-circle{
		width: 80px;
        height: 80px;
        line-height: 40px;
        top: 25px;
        left: 0px;
        transition: all .5s;
	}
	#messenger-vr .phone-vr-img-circle{
		width: 80px;
        height: 80px;
        line-height: 40px;
        top: 25px;
        left: 0px;
        transition: all .5s;
	}
	#fanpage-vr:hover .phone-vr-img-circle, #messenger-vr:hover .phone-vr-img-circle, #btn-vr:hover .phone-vr-img-circle{
		width: 80px;
        height: 80px;
        line-height: 40px;
        top: 25px;
        left: 0px;
        transition: all .5s;
	}
	#fanpage-vr:hover .phone-vr-circle-fill, #messenger-vr:hover .phone-vr-circle-fill, #btn-vr:hover .phone-vr-circle-fill{
		width: 90px !important;
        height: 90px !important;
        top: 20px !important;
        left: -6px !important;
	}
	#btn-vr .phone-vr-circle-fill {
		width: 90px;
        height: 90px;
        top: 20px;
        left: -6px;
	}
	#messenger-vr .phone-vr-circle-fill {
		width: 90px;
        height: 90px;
        top: 20px;
        left: -6px;
	}
	#fanpage-vr .phone-vr-circle-fill {
		width: 90px;
        height: 90px;
        top: 20px;
        left: -6px;
	}
}

@media (max-width: 575px){
	h2 {
		font-size: 19px;
		line-height: 30px;
	}
	.grid .grid-items {
	padding: 6px;
	}
	.grid{
		.grid-items{
			p{
				font-size: 12px;
				line-height: normal;
			}
		}
		
	}
}