/* Reponsive */
@media screen and (min-width:1200px){
  .combomobile{display:none;}
  #w_menu_mobile{display:none;}
.boxtopbanner{display:block;}
	/*******************/
	.center
	{
		width: 1200px;
		margin: 0 auto;
		padding: 0px;
	}
	.item_product:nth-of-type(3n+1) {
		clear: both;
	}
	.item_product:nth-of-type(3n) {
		margin-right: 0px;
	}
	/****************/


 
    /* ########################item product chi tiet sp */
            .product-main-image
        Specificity: (0,1,0)
        {
            width: 100%;
            max-width: 500px;
            aspect-ratio: 1 / 1;
            border: 1px solid #ccc;
            background: #fafafa;
            margin-left: auto;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
            overflow: hidden;
        }


				.tcat .icon a{
					font-size: 18px;
				}

/* ################################## */
} 

@media screen and (max-width:1199px){
  
.box_slider{display:none}
	/*******************/
	.center
	{
		width: 100%;
		margin: 0 auto;
		padding: 0px 5px;
	}
	/*******************/
	.pulse {
		display: none;
	}

.projects-wrap .title-congtrinh {
    color: #0067D6;
    font-family: 'RobotoRegular';
    font-size: 20px;
    text-transform: uppercase;
    background: url(images/title_work.png) no-repeat right center;
    margin-bottom: 10px;
    background-size: 700px;
    text-align: center !important;
}
  

} 

@media screen and (max-width:1199px) and (min-width:992px){

	/*******************************/
	.container_left {
		float: right;
		margin-top: 30px;
		width: 0px;
		display: none;
	}
	.container_mid {
		position: relative;
		float: none;
		width: 100%;
		margin-top: 0px;
		margin-left: 0px;
	}
	.item_product:nth-of-type(3n+1) {
		clear: both;
	}
	.item_product:nth-of-type(3n) {
		margin-right: 0px;
	}
	.item_product {
		float: left;
		width: 30%;
		margin: 0px 1% 15px 2%;
		text-align: center;
	}
	#header 
	{
		position: relative;
		padding:3px 0px 10px 0px;
	}
	/*******************************/
	.footer_left {
		width: 100% !important;
	}
	.footer_right, .footer_mid
	{
		width: 50% !important;
	}
	#header .banner {
		width: 100%;
	}
	.logo_header img
	{
		width:110px;
		height:auto;
	}
	.logo_header {
		position: absolute;
		top: calc(50% - 43px);
		z-index: 10;
		left: 35px;
	}
	.container_right {
		float: right;
		width: 0px;
		margin-top: 20px;
		display: none;
	}

	.topbanner_l {
		float: left;
		width: 55%;
		line-height: 35px;
	}
	.topbanner_r {
		float: left;
		width: 45%;
		line-height: 35px;
	}

	.box_search {
		width: 520px;
		padding-left: 5px;
		height: 52px;
		background: #fff;
		border: 2px solid #ccc;
		border-radius: 4px 4px;
		position: absolute;
		bottom: 5px;
		left: calc(50% - 315px);
	}
	.box_iconbanner 
	{
		position: absolute;
		right: 0px;
		top: 10px;
	}
	.boxmenumega .center ul li:hover .boxshowitem 
	{
		display: none;
	}
	.boxflashintro {
		width: 100%;
		float: none;
	}
	.box_slider {
		width: 100%;
		float: none;
	}
	.boxfotoen
	{
		display: none;
	}
	.boxfotofl
	{
		display: block;
		text-align: center;
		margin-bottom: 5px;
	}
	.title-congtrinh {
		color: #0067D6;
		font-family: 'RobotoRegular';
		font-size: 20px;
		text-transform: uppercase;
		background: none;
		margin-bottom: 10px;
	}

} 

@media screen and (min-width:992px){

}

@media screen and (max-width:991px){
	/*************************/
	.container_left {
		float: right;
		margin-top: 30px;
		width: 0px;
		display: none;
	}
	.container_mid {
		position: relative;
		float: none;
		width: 110%;
		margin-top: 10px;
		margin-left: 0px;
	}
	.container_right {
		float: right;
		width: 0px;
		margin-top: 20px;
		display: none;
	}
	#header .banner {
		width: 100%;
	}
	.topbanner_l, .topbanner_r {
		float: left;
		width: 100%;
		line-height: 35px;
		text-align: center;
	}
	.box_iconbanner {
		padding: 6px 0px 0px 0px;
		float: none;
		text-align: center;
	}
	.box_iconbanner .iconbanner {
		float: none;
		margin-right: 15px;
		display: inline-block;
	}
	/**********************/
	.footer_left {
		width: 100% !important;
	}
	.footer_right, .footer_mid
	{
		width: 100% !important;
	}
	.btfooter_l, .btfooter_r {
		width: 100% !important;
		padding-left: 10px !important;
		text-align: center;
	}
	.khungtktc {
		float: none !important; 
		margin-left: 10px;
	}
	.pulse {
		display: none;
	}
	.logo_header img {
		margin: auto;
		margin-left: 112px;
	}
	.logo_header {
		position: relative;
		top: 0;
		z-index: 10;
		left: 0;
	}
	.box_iconbanner {
		position: relative;
		right: 0px;
		top: 0px;
		margin-bottom: 5px;
	}
	.box_search {
		width: 95%;
		padding-left: 5px;
		height: 50px;
		background: #fff;
		border: 1px solid #ccc;
		border-radius: 4px 4px;
		position: relative;
		bottom: 0px;
		left: 2%;
	}
	.boxcart {
		display: none;
	}
	.boxmenumega .center ul li:hover .boxshowitem 
	{
		display: none;
	}

}

@media screen and (max-width:991px) and (min-width:768px){

	/*********************************/
	#header 
	{
		position: relative;
		padding:3px 0px 10px 0px;
	}
	.item_product {
		float: left;
		width: 32%;
		margin: 0px 1.95% 10px 0px;
		text-align: center;
	}
	.item_product:nth-of-type(3n+1) {
		clear: both;
	}
	.item_product:nth-of-type(3n) {
		margin-right: 0px;
	}
	/*********************************/
	.boxfotoen
	{
		display: none;
	}
	.boxfotofl
	{
		display: block;
		text-align: center;
		margin-bottom: 5px;
	}
	.boxflashintro {
		width: 100%;
		float: none;
	}
	.box_slider {
		width: 100%;
		float: none;
	}
	.title-congtrinh {
		color: #0067D6;
		font-family: 'RobotoRegular';
		font-size: 17px;
		text-transform: uppercase;
		background: none;
		margin-bottom: 10px;
	}
	.topfooter_l, .topfooter_mid1{
		width: 50%;
		float: left;
		padding-right: 10px;
		margin-bottom: 15px;
	}
	.topfooter_mid2, .topfooter_r {
		width: 100%;
		float: none;
		padding-right: 10px;
		margin-bottom: 15px;
		clear:both;
	}
	.topfooter_mxh, .topfooter_total {
		width: 50%;
		float: left;
	}
	.footer_right, .footer_mid {
		width: 50% !important;
		float: left;
	}

}

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


	.nhung_phan_trang {
			display: none;
		}
	
		

	.containerdv {
		width: 100%;

	}
	.picaboutnb 
	{
		width: 100%;
		float: none;
		padding: 5px;
		border: 1px solid #ccc;
	}
	.boxcontentabout 
	{
		width: 100%;
		float: none;
	}
	#amazingcarousel-1
	{
		display: block;
		position: relative;
		width: 100%;
		margin: 0px auto; 
		direction: ltr;
		width: 310px !important;
	}

	/****************************/
	.boxfotoen
	{
		display: none;
	}
	.boxfotofl
	{
		display: block;
		text-align: center;
		margin-bottom: 5px;
	}
	.boxflashintro {
		width: 100%;
		float: none;
	}
	.box_slider {
		width: 100%;
		float: none;
	}

	.title-congtrinh {
		color: #0067D6;
		font-family: 'RobotoRegular';
		font-size: 17px;
		text-transform: uppercase;
		background: none;
		margin-bottom: 10px;
	}
	.topfooter_l, .topfooter_mid1{
		width: 50%;
		float: left;
		padding-right: 10px;
		margin-bottom: 15px;
	}
	.topfooter_mid2, .topfooter_r {
		width: 100%;
		float: none;
		padding-right: 10px;
		margin-bottom: 15px;
		clear:both;
	}
	.topfooter_mxh, .topfooter_total {
		width: 50%;
		float: left;
	}
	#footer {
		background: #F9F9F9;
		position: relative;
		width: 100%;
		margin: 0 auto;
		border-top: 1px solid #ccc;
		padding: 0px 5px;
	}
	.footer_right, .footer_mid {
		width: 50% !important;
		float: left;
	}

}


@media screen and (max-width:767px) and (min-width:480px){
	/****************************/
	#header 
	{
		position: relative;
		padding: 3px 0px 10px 0px;
	}
	.item_product {
		width: calc(45% - 2px);
		margin: 0px 10% 20px 0%;
		float: left;
	}
	.item_product:nth-of-type(2n+1) {
		clear: both;
	}
	.item_product:nth-of-type(2n) {
		margin-right: 0px;
	}
	/*************************/

}

@media screen and (max-width:479px){
	/****************************/
	#header 
	{
		position: relative;
		padding: 3px 0px 10px 0px;
	}
	.item_product:nth-of-type(n) {
		clear: both;
	}
	.item_product {
		width: calc(90% - 2px);
		margin: 0px 5% 20px 5%;
		float: none;
	}
	/*************************/
	.boxfotoen
	{
		display: block;
		text-align: center;
		margin-bottom: 5px;
	}
	.boxfotofl video
	{
		width: 100% !important;
	}
	.topbanner_l ul li {
		list-style: none;
		text-decoration: none;
		float: left;
		margin-left: 10%;
		line-height: 50px;
		margin-right: 0px;
	}
	.topbanner_r ul li a {
		color: #000;
		font-size: 13px;
		padding: 0px 0px;
	}
	.topbanner_r {
		min-height: 80px;
	}
	.box_iconbanner {
		position: relative;
		right: 0px;
		top: 0px;
		margin-bottom: 5px;
	}
	.boxmenumega .center ul li:hover .boxshowitem 
	{
		display: none;
	}
	.boxprolmenu {
		min-height: 75px;
		-webkit-transition: all 0.5s;
		-o-transition: all 0.5s;
		transition: all 0.5s;
		padding: 0px 7px;
		padding-top: 35px;
		text-align: center;
	}
	.topfooter_l, .topfooter_mid1, .topfooter_mid2, .topfooter_r {
		width: 100%;
		float: none;
		padding-right: 10px;
		margin-bottom: 15px;
	}
	.topfooter_mxh, .topfooter_total {
		width: 100%;
		float: none;
	}
	.footer_right, .footer_mid {
    width: 100% !important;
    float: none;
}

}




/* ===== TIN TỨC — MOBILE OPTIMIZE ===== */
@media (max-width: 480px) {

  /* 0) bỏ trục dọc + mũi tên timeline */
  .timeline:before { display: none !important; }
  .timeline > li .timeline-panel:before,
  .timeline > li .timeline-panel:after { display: none !important; }

  /* 1) reset khoảng cách trái bị dư */
  .timeline,
  .timeline ul,
  .timeline li {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }

  /* 2) item gọn gàng */
  .timeline > li {
    list-style: none;
    display: block;
    margin: 0 0 12px 0 !important;
  }

  /* 3) card */
  .timeline .timeline-panel {
    width: 100% !important;
    margin: 0 !important;
    padding: 12px !important;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    border: 1px solid #eef2f7;
  }

  /* 4) bố cục ảnh trái – text phải */
  .timeline .timeline-panel .media {
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }

  /* một số theme không có .media -> fallback */
  .timeline .timeline-image { margin: 0 !important; }

  .timeline .timeline-image,
  .timeline .timeline-image .thumb,
  .timeline .timeline-image img {
    width: 88px !important;
    height: 88px !important;
    flex: 0 0 88px !important;
    border-radius: 8px;
    object-fit: cover;
    background: #f5f7fa;
  }

  .timeline .timeline-content {
    flex: 1 1 auto;
    min-width: 0;
  }

  /* 5) typo */
  .timeline .timeline-heading h4,
  .timeline .timeline-heading .title {
    font-size: 15px !important;
    line-height: 1.3;
    margin: 0 0 4px 0;
  }
  .timeline .timeline-heading .date,
  .timeline .meta,
  .timeline .timeline-body .date {
    font-size: 12px !important;
    color: #7a8aa0;
    margin-bottom: 4px;
    display: block;
  }
  .timeline .timeline-body p {
    font-size: 13px !important;
    line-height: 1.45;
    margin: 0;
  }

  /* 6) nút xem thêm */
  .timeline .btn-more,
  .timeline a.xemthem,
  .timeline .read-more {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px !important;
    padding: 6px 10px;
    border-radius: 6px;
    background: #eff4ff;
  }

  /* 7) khoảng cách tiêu đề khối TIN TỨC */
  .tcat, .title-news, .titleprolist {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Tablet nhẹ nhàng (tùy chọn) */
@media (min-width: 481px) and (max-width: 768px) {
  .timeline:before { left: 0; opacity: .06; }        /* hoặc vẫn ẩn nếu muốn */
  .timeline > li { margin-left: 0 !important; }
  .timeline .timeline-panel { width: 100% !important; }
  .timeline .timeline-image,
  .timeline .timeline-image img { width: 96px; height: 96px; }
}





/* For screens 1199px and below */
@media screen and (max-width: 1199px) {
	.boxmenumega {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		/* Ensures items are spaced correctly */
		width: 100%;
		border-bottom: 2px solid #ccc;
		margin: 0 auto;
	}

	/* For the individual items, set them to take up 24% of the row width (4 items per row) */
	.boxmenumega>div {
		width: 24%;
		/* 4 items per row */
		margin-bottom: 15px;
		/* Adds space between rows */
		box-sizing: border-box;
		/* Prevents overflow issues */
	}

	/* Center the content */
	.boxmenumega>div {
		display: flex;
		justify-content: center;
		align-items: center;
	}

	/* If the item count goes beyond 4 items in a row, wrap to the next line */
	.boxmenumega>div:nth-child(4n+1) {
		clear: both;
		/* Starts a new row after every 4 items */
	}
}

/* For mobile screens (smaller than 600px) */
@media screen and (max-width: 600px) {
	.boxmenumega {
		flex-direction: column;
		/* Stack the items vertically */
		align-items: center;
		/* Ensure items are centered */
		transform: translateX(25px);
	}

	.boxmenumega>div {
		width: 100%;
		/* Make each item take up full width */
		text-align: center;
	}

		.an_mega_mobile {
			display: none !important;
		}


				.container_gt {
					width: 350px !important;
					margin: 0 auto;
					padding: 20px;
					background: white;
					border-radius: 5px;
					box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
					overflow: visible;
				}



.item_product2 .images {
	aspect-ratio: 4 / 3;
	background: none !important;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
		
}




