/* Ipad */
@media screen and (max-width: 1024px){
	/* Ở chế độ màn hình này, reset các thành phần bị quy định chiều ngang là px, ví dụ .main {width:950px;} */
	.main{width:100%!important;}
	.main2{width:99%!important;}
	.header2_3{display:none !important;}
    .header2_2 .workshome-content p{font-size: 10px}
	.nutflytocart i,.nutaddtocart i{display:none;}
	input.addtocart-button,input.flytocart-button{padding-left:30px;padding-right:30px;}

	
	.header2_2 .workshome-title h2{position: relative; font-size: 255%; left: 4%;}
	#ja-cottrai .workshome-title h2, #ja-cotphai .workshome-title h2{font-size: 100%; padding: 5px 7px;}
	#ja-noidunggiua .menu a{padding: 3px;}
	#ja-noidunggiua .menu li:hover > ul{right: -200px; transform: none;}
	#ja-cotgiua{padding-right: 10px; box-sizing: border-box;}
	#ja-khungchinh .header2{padding: 0;}
	#ja-cotgiua .sach img{
		height: 100%;
	}
	.catItemImageBlock {
		margin: 0%;
		width: 100%;
		height:150px;
		margin-bottom: 0px;
		margin-right: 10px;
	}
	.itemRow {
    float: left;
    width: 100%;
    margin-left: 10px;
    }
    #bd{margin: -3px;}
    #Mod384 .workshome-content {
    position: relative;
    right: 0%;
}
	.product-thongtin-salesPrice::before { width: 100%;}
	
	.header2_1 img{right: -20%}
	.header2_2 .workshome-title h2{
		font-size: 44px;
		left: 7%;
	}
	.header2_3 .ja-workshome{font-size: 10px}
	.header2_2 { width: 57%; }
	.header2_3 .ja-workshome img{width: 40px; height: auto;}
	.header3_1{width: 40%; padding-left: 0; font-size: 85%;}
	.header3_3{padding: 0;}
	.header3_3 li a{font-size: 87%; margin-right: 5px; padding-right: 5px;}
	.header3_2{ padding-right: 2%;}
	#Mod377 .mod_virtuemart_search{width: 84%; padding: 3px 5px;}
	#Mod377 .buttontim{padding: 5px; width: 15%;}
	
	#ja-noidunggiua .menu a{font-size: 90%;}
	#ja-cottrai .workshome-title h2, #ja-cotphai .workshome-title h2{font-size: 88%; padding: 3px;}
	.product-thongtin-salesPrice { font-size: 140%; }
	.seemore{font-size: 100%}
	#Mod391{font-size: 90%;}
	#Mod386 td{ text-align: left!important; font-size: 80%; width: 100%!important; padding: 0!important; display: inline-block!important;}
	#Mod386 td img{max-width: 100%; height: auto;}

	.noidungtren1 img, .noidungtren1 video { height: 150px; }
	#ja-cotgiua { padding-right: 0;}
	.header3_3 { width: 40%; }
}
/* Điện thoại: mobile cũ :  @media screen and (max-width: 768px){ */
@media screen and (max-width: 767px){
	#ja-cottrai{padding:0%;width:100%;float:none;}
	#ja-cotphai{padding:0%;width:100%;float:none;}
	#ja-cotgiua{width:100%;float:none;}
	#ja-cottrai,#ja-cotphai{display:none;}
	.browse-view .blocksp{
		display: block;
		padding: 0%;
		width: 50%;
		margin: 0%;
	}
	
	.browse-view .row{display:inherit;}
	.browse-view .nutaddtocart, .browse-view .nutflytocart{margin:3px 0px;}
	.browse-view .spacer{padding:10px;}
	.browse-view .browseProductImage{
		width:auto;
		margin:auto;
	}
	.catItemImageBlock {
		margin: 0%;
		width: 80%;
		height:100px;
		margin-bottom: 0px;
		margin-right: 10px;
	}
	.catItemThongTin{
		width: auto;
		float: none;
	}
	.catItemTitle {
		width: 100%;
		float:none;
		text-align:left;
	}
	.catItemReadMore{
		width:100%;
		float:none;
	}
	.itemListView.scroller .catItemView .catItemImageBlock{margin-bottom:10px;}
	.header-imageproduct {
		display: block;
		overflow:hidden;
		width: 100%;
		float: none;
		padding: 0%;
		border: 1px solid #ddd;
		background: white;
	}
	.header-descproduct {
		display: block;
		width: 100%;
		float: none;
		margin-top: 20px;
	}
	#ja-cotgiua img{max-width:100%;}
	.bvcungmuc #k2ModuleRelated .k2ItemImageleft {
		width: 30%;
		float: left;
		margin-right: 5%;
	}
	.bvcungmuc #k2ModuleRelated h3 {
		width: 65%;
		float: right;
	}
	#ja-menungang,#Mod326{display:none;}
	.mobile_menu{display:table;position:relative;width:100%;table-layout:fixed;}
	.mobile_menu >div{display:table-cell;width:100%;}
	.mobile_menu .tieude{padding:10px;text-align:center;background:#36b1d5;color:white;font-weight:bold;font-size:120%;cursor:pointer;}
	.mobile_menu .nentat{position:fixed;z-index:999;background:rgba(0, 0, 0, 0.6);left:0%;top:0%;width:100%;height:100%;cursor:pointer;}
	.mobile_menu .noidung{position:fixed;z-index:1000;width:70%;left:-70%;top:0%;height:100%;background:white;overflow-y:scroll;overflow-x:hidden;}
	.mobile_menu .noidung,.mobile_menu .nentat{
		-webkit-transition: all 0.5s ease-in-out;
		-moz-transition: all 0.5s ease-in-out;
		-o-transition: all 0.5s ease-in-out;
		transition: all 0.5s ease-in-out;
	}
	.mobile_menu .noidung >ul{padding:10px;}
	.mobile_menu .noidung >ul>li{margin-bottom:10px;}
	.mobile_menu .noidung >ul ul{margin-left:20px;}
	.mobile_menu .noidung li{list-style-type:none;}
	.mobile_menu .noidung li a{padding:5px;display:block;color: #005175;}
	.mobile_menu .noidung >ul>li>a{font-weight:bold;}
	.mobile_menu .noidung >ul>li>a:before{
		font-family: 'Font Awesome 5 Free';
		font-weight: 900;    content: "\f35a";padding-right:7px;
	}
	.mobile_menu .nentat{display:none;}
	.mobile_menu .noidung.mnmb{left:0%;}
	.mobile_menu .nentat.mnmb{display:block;}
	
	span.cart-images img{width:100%;margin-right:0px;}
	.mobile_menu i{padding-right:10px;}
	.itemFullText td,.itemFullText tr,.itemFullText table,.product-thongtin-mota td,.product-thongtin-mota tr,.product-thongtin-mota table{width:100%!important;}
	span.cart-images img{height:auto;}
	.td4 {
		width: 18%;
	}
	.td6 {
		width: 29%;
	}
	.cart-summary >tbody > tr:first-child td{font-size:100%;}
	.td4{width:24%;}
	.tranggiohang .product-thongtin-salesPrice{font-size:100%;}
	.tranggiohang .product-thongtin-billTotal{font-size:110%;}
	button.details-button{font-size:0px;padding:7px 3px;}
	button.details-button:before{
		font-family: 'Font Awesome 5 Free';
		font-weight: 400;    content: "\f0c7";font-size:14px;padding:7px 5px
	}
	.coupon{width:70%;}
	.formdn,.order-view{float:none;width:100%;clear:both;display:block;overflow:hidden;}
	.formdk {
		width: 100%;
		float: none;
		margin-top: 20px;
		padding-top: 20px;
		border-top: 1px solid #ddd;
	}
	.order-view{margin-bottom:20px;}
	.header1_3 .ja-workshome{float:none;}
	.header1_3 td{display:block;padding:0px;}
	.header1 .main2>div{display:block;}
	.header2 .main2>div{display:block;}
	.footer2 .main2>div{display:block;padding:10px 0px;}
	.header2_2 .module_search{width:auto;}
	.popup_cart{width:80%;}
	.popup_cart>div{
		padding: 0px 15px;
	}
	.n1 input{width:24px;}

	/*css*/
	#ja-cotphai #Mod326 .workshome-content, #ja-cotphai #Mod389 .workshome-content{display: none;}
	.header3_3, .anhzoom,.seetc{display: none!important;}
	
	
	.header2_3{font-size: 90%;}
	.header2_1 { width: 23%; }
	.header3_1 { width: 100%;; text-align: center; }
	.mobile_menu .tieude{background:#0f53a0!important;}
	.item-991 a:before{content: '\f015'!important;}
	.mobile_menu .noidung li a { color: #0f53a0; }
	#ja-cotgiua{padding: 0 7px;}
	.browse-view .browseProductImage{width: 100%; }
	.vm-pagination ul li { display: inline-block; margin: 10px 2px; }
	.footer1 .menu>li{width: 50%; display: inline-block; vertical-align: top;margin-bottom: 10px; }
	.footer2 .main2>div{display: inline-block; width: 100%;}

	.footer1 .menu{padding: 0 10px; box-sizing: border-box;}



	#ja-cottrai, #ja-cotphai{display: inline-block; padding: 0 8px; box-sizing: border-box;}
	#ja-cotphai .workshome-title.dow:after, #ja-cotphai .workshome-title.up:after{display: block;}
	.catItemThongTin { width: 100%; float: right; }
	.catItemTitle{-webkit-line-clamp: 1;}
	.catItemExtraFields {
    -webkit-line-clamp: 2;}
	
	
	
	#ja-khungchinh .header2{padding: 0;}
	.header2_1 {
		width: 30%;
	}
	.header2_1 img {
		right: -40%;
	}
	.header2_3{font-size: 75%;}
	.header2_3 img{height: 28px; width: auto;}
	.mobile_menu .tieude{background: blue!important;}
	.footer1 .main2>div{box-sizing: border-box;padding: 0 10px!important;display: inline-block; width: 100%!important;}
	.footer1 .menu>li{width: 40%;}
	
	.footer1 .menu{padding: 0!important;}

	#Mod139 td{display: inline-block; width: 100%;padding: 0!important;}
	.product-thongtin-muahang{width:100%; display:inline-block;}
	.seemore{display:none;}
	.header2 .main2>div{display: inline-block; width: 100%; position: static!important; }
	.header2_1 img{width: 30%; position: static!important;
		margin: auto;
		display: block;
	}
	.header2_2 .workshome-title h2{
		font-size: 37px;
		position: static!important;
		margin: 5px 0;
	}
	.header2_3 .ja-workshome table{margin: auto; margin-top: 10px;}
	.browse-view .spacer { border-width: 1px; padding: 5px;}
	#ja-cottrai .workshome-title h2, #ja-cotphai .workshome-title h2{padding: 5px 7px; font-size: 110%;}
	#Mod386 td{padding-bottom: 10px!important;text-align: center!important; display: table-cell!important; width: inherit!important}
	#Mod386 tr:first-child td:last-child{width: 60%!important; padding-left: 20px!important; text-align: left!important;}
	#Mod386 tr:first-child td:first-child img{width: 40px; float: right; margin-bottom: 7px;}
	#Mod386 tr:first-child td:first-child p{line-height: 1; clear: both; text-align: right;}
	.header2_3 .ja-workshome{display:none;}
	
	.s{display: inline-block; width: 100%;box-sizing: border-box;
    padding-top: 0px;
    padding-right: 10px;
    padding-bottom: 5px;
    padding-left: 10px;}
	#Mod377 .buttontim{width: 16%;}
	.s{display:inline-block!important;}
	.header3_2{display:none!important;}
	.lienhe .itemFullText  tr:first-child td:first-child{
    display: table-cell;
    width:40%!important;
	}
	.lienhe .itemFullText  tr:first-child td:nth-child(2){
		display: table-cell;
		width: 100%!important;
	}
	.bodylienhe .itemFullText{width: 100%;}
	/*edit 15-7*/
        
	.sd4 .quantity-input, .sd4 .quantity-controls{float: none; margin-bottom: 10px;}
	.cart-summary >tbody > tr:first-child td.td6{text-align: center;}
	.cart-view .cart-summary tr:first-child{font-size: 100%;}

	.sd4 .quantity-input{float: none; margin-bottom: 10px;}
	#ja-cotgiua img{
		height: auto;
	}
	#ja-cotgiua .sach img{
		height: 100%;
	}
    .itemContainer {
        margin: 0px 0px;
    }
	.cart-summary >tbody > tr:first-child td {
		font-size: 100%;
	}
	.cart-summary >tbody > tr td { padding: 7px}
	.sectiontableentry2:last-child{position: relative; height: 65px;}
	.cart-summary >tbody > .sectiontableentry2:last-child td{
		position: absolute;
		left: 7px;
		height: 65px;
		line-height: 65px;
	}
	.cart-summary >tbody > .sectiontableentry2:last-child td:last-child{
		right: 7px;
		height: 65px
		
	}
	td.key { width: 150px;}
	table.user-details tr:nth-child(2) {
		width: 100%;
		margin: 10px 0;
	}
	.cart-submit_button{margin: 20px 0 0 0;}
	table.user-details tr:first-child {
		width: 100%;
	}
	.sd2, .td2{display: none;}
	.td0, .sd0{display: none!important;}
	
	.cart-summary >tbody > tr:first-child td{padding:5px;}
	
	.cart-summary >tbody > tr:first-child td.td1 {padding-left: 5px; padding-right: 5px; }
	.browse-view .blocksp:nth-child(2n+1){clear: both;}
	
	/*edit 09-08*/
    .sd4 .quantity-input {
    width: 35px;
    height: 45px;
    margin-right: 7px;
    }
    .sd4 .quantity-input, .sd4 .quantity-controls{
        float: left;
        margin-left: 0;
    }
	.sd4 .quantity-controls { width: 22px;}
	.cart-summary >tbody > tr td { padding: 5px; }
    .noidungtren1{display: inherit;}
    .noidungtren1>div{width: 100%!important; margin-right: 0!important;}
	.bvcungmuc .itemRow>div{width: 100%; margin-right: 0;}
	
	.noidungtren1 img, .noidungtren1 video { height: auto; }
	
    #Mod384 .workshome-content {
    position: relative;
    right: 0%;
    
    }
    #Mod425{
    display:block !important;
    text-align: center;
    margin-top: -7px;
    margin-bottom: -7px;}
    #Mod384 .workshome-content span
    {
        font-size:30px !important;
    }
    #bd {
    margin: 0px;
    }
    .header2_3{display:none !important;}
    .header2_2{display:none !important;}
    #Mod387 .item-1089 {
        width:20%;
    }
    #Mod387 .item-1096 .item-1103{
        width:42%;
    }
    .bct img{
        padding-left: 55%;
        margin-top: -105%;
    }
    .qr img{padding-left: 10%}
    .level0{font-size:11px;}
    .congtrinh img{height:100px !important;}
    .nivo-gallery-block img {
    width: 100%;
    height: 100px !important;
}
.itemRow {
    float: left;
    width: 100%;
    margin-left: 10px;
    }
}




