/*`xxl` applies to x-large devices (large desktops, less than 1400px)*/
@media (max-width: 1399.98px) {}
	
@media (max-width: 1299.98px) {}

/*`xl` applies to large devices (desktops, less than 1200px)*/
@media (max-width: 1199.98px) {}

/*lg` applies to medium devices (tablets, less than 992px)*/
@media (max-width: 991.98px) {


	.header-main li.html.custom{
		display: inline-block;
	}

	#logo{
		order: unset !important;
	}

	.off-canvas-right .mfp-content{
		background-color: #fff !important;
		width: 100%;
	}

	.off-canvas .mfp-close svg{
		/*filter: invert(1);*/
	}

	.mobile-sidebar .nav-vertical>li>a{
		color: #000;
		font-size: inherit;
	}

	.mobile-sidebar .nav-vertical>li+li{
		border-top: 1px solid #f1f1f1;
	}

	.mobile-sidebar .nav-vertical>li>a img{
		filter: brightness(0) saturate(100%) invert(99%) sepia(8%) saturate(46%) hue-rotate(158deg) brightness(120%) contrast(100%);
	}

	.mobile-nav .button {
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: unset;
        min-height: unset;
        width: 2rem;
        height: 2rem;
        margin: 0;
        padding: 0.25rem;
        color: #000;
        font-size: 16px;
        line-height: 0.8;
    }

    .mobile-nav .button .icon-menu {
        line-height: 1;
    }

    .mobile-nav .button .icon-menu:before {
        content: "\f0c9";
        font-family: "Font Awesome 6 Pro";
        font-weight: 700;
    }

    .searchform{
    	border-radius: 0.5rem;
    	overflow: hidden;
    	border: 1px solid #f1f1f1;
    }

    .searchform .search-field{
    	box-shadow: none;
    	border: 0;
    }

	
	/*===Trang chủ*/
	.wrapper-policy .box-policy{
		height: 160px;
	}

	.wrapper-policy .box-policy:nth-child(1),
	.wrapper-policy .box-policy:nth-child(4) {
	    height: 120px;
	}

	/*===*/
	.row-traceability{
		box-shadow: none;
	}

	/*===*/
	.col-nutrition{
		order: -1;
	}

	/*=== Page Nông trại thật*/
	.icon-mission{
		padding: 8%;
	}

	.icon-mission .icon-box-img{
		transform: translate(10%, -50%);
	}

	/*===*/
	.row-area-scale:after{
		left: 0;
		border-radius: 1rem;
		width: 100%;
	}

	.section-area-scale .box-counter{
		padding: 1rem 0;
		text-align: center;
	}

	.section-area-scale .box-top{
		justify-content: center;
	}


	/*=== Page Thực phẩm lành*/
	#myCanvas{
		display: none;
	}

	.box-feedback .box-text{
		padding: 5% 25% 5% 5%;
	}


	/*=== Trang Truyền thông-tin tức */
	.masonry-container{
		column-count: 3;
	}




	/*===*/
	.section-footer .section-bg,
	.section-footer:before,
	.section-footer:after{
		clip-path: polygon(50% 0%, 100% 10%, 100% 100%, 0 100%, 0 10%);
	}


}
/*`md` applies to small devices (landscape phones, less than 768px)*/
@media (max-width: 767.98px) {

	body{
		font-size: 0.875rem;
	}

	/*===Trang chủ*/
	.col-traceability .content-traceability .box-text{
		min-height: unset;
	}


	/*=== Page Nông trại thật*/
	.item-philosophy h3{
		font-size: 4rem;
	}


	/*=== Page Thực phẩm lành*/
	.icon-breeding-process{
		width: 90%;
		min-width: 90%;
	}

	.icon-breeding-process .icon-box-img{
		display: none;
	}


	/*===*/
	.section-footer .section-bg,
	.section-footer:before,
	.section-footer:after{
		clip-path: polygon(50% 0%, 100% 5%, 100% 100%, 0 100%, 0 5%);
	}
	

	/*=== Trang Tuyển dụng */
	.box-recruitment{
		flex-direction: column;
	}

	.box-recruitment .box-image{
		width: 100%;
	}


	/*=== Trang Truyền thông-tin tức */
	.masonry-container{
		column-count: 2;
	}



}
/*`sm` applies to x-small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) {

}

/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
	.flex-sm-row-reverse{
		flex-direction: row-reverse;
	}
}
/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
	.flex-md-row-reverse{
		flex-direction: row-reverse;
	}

	.text-md-left{
		text-align: left !important;
	}

}
/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
	.justify-content-lg-between{
		justify-content: space-between !important;
	}

	.justify-content-lg-end{
		justify-content: flex-end;
	}

	.flex-lg-row-reverse{
		flex-direction: row-reverse;
	}

	.align-self-lg-center{
		align-self: center;
	}

	.row-col-lg-5>.col{
		flex-basis: 20%;
        max-width: 20%;
	}

	.text-lg-left{
		text-align: left !important;
	}


	/*===*/
	.header-bottom .header-bottom-nav > .menu-item > a{
		padding: 0.25rem 1rem;
		font-weight: 400;
		text-transform: uppercase;
	}

	.header-bottom .header-bottom-nav > .menu-item:hover > a{

	}

	.header-nav .sub-menu,
	.active>ul.children, .active>ul.sub-menu:not(.nav-dropdown){
		display: none !important;
		padding: 0;
		/*min-width: unset;*/
		border: 0;
		border-radius: 0.25rem;
		background-color: #fff;
		box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
	}

	.header-nav .menu-item{
		width: unset !important;
		min-width: unset !important;
		position: relative;
	}

	.header-nav .sub-menu>.menu-item>a{
		padding: 0.75rem 0;
		font-size: 15px;
		font-weight: 500;
		color: #000;
		text-transform: capitalize;
	}

	.header-nav .sub-menu > .menu-item:hover > a{
		color: var(--primary-color);
	}

	.header-nav .menu-item:hover>.sub-menu{
		display: block !important;
		animation: menu 0.3s;
	}

	.header-nav .sub-menu .menu-item>.sub-menu{
		position: absolute;
		left: 100%;
		top: 0;
		z-index: 10;
	}

	.header-nav .sub-menu li{
		display: block;
	}

	@keyframes menu {
	    0% { transform: translateY(20px); opacity: 0}
	    100% { transform: translateY(0px); opacity: 1}
	}

	/*===*/
	.row-footer{
		flex-wrap: nowrap;
		justify-content: space-between;
	}

	.row-footer:after{
		content: none;
	}

	/*.col-lg-auto{
		flex-basis: auto;
		max-width: fit-content;
	}*/


	/*===*/
	/*.box-category .box-text{
		position: absolute;
		left: 0;
		right: 0;
		top: 50%;
		transform: translateY(30%);
		opacity: 0;
	}

	.box-category .box-text h5{
		color: #fff;
	}

	.box-category:hover img{
		filter: brightness(0.5);
	}

	.box-category:hover .box-text{
		transform: translateY(-50%);
		opacity: 1;
	}*/


	/*=== Page Thực phẩm lành*/
	.wrapper-breeding-process{
		display: block;
		position: relative;
		height: 400px;
	}

	.icon-breeding-process{
		position: absolute;
		width: 300px;
		min-width: unset;
		display: flex;
		flex-direction: column;
		transform: translateX(-50%);
	}

	.wrapper-breeding-process .icon-breeding-process:nth-child(odd){
		flex-direction: column-reverse;
		transform: translate(-50%, -100%);
	}

	.wrapper-breeding-process .icon-breeding-process:nth-child(odd) .icon-box-img{

	}

	.wrapper-breeding-process .icon-breeding-process:nth-child(odd) .icon-box-text{
		display: flex;
		flex-direction: column-reverse;
	}


	.wrapper-breeding-process .icon-breeding-process:nth-child(even) .icon-box-img{
		position: absolute;
		top: 0;
		left: 50%;
		transform: translate(-50%, -100%);
	}

}
/* X-Large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
	
}
/* XX-Large devices (larger desktops, 1400px and up)*/
@media (min-width: 1500px) {
	
}