document.addEventListener("DOMContentLoaded", function(event) {
		if ("off" != jQuery.cookie("porto_ads_status")) {
		 jQuery(".custom-notice").removeClass("d-none").addClass("d-flex");
		}
		jQuery("body").on("click", ".custom-notice .mfp-close", function() {
		 jQuery(this).closest(".custom-notice").fadeOut();
		 jQuery.cookie("porto_ads_status", "off", { expires : 7 });
		 jQuery(".custom-notice").removeClass("d-flex");
		});
	});