[class*='ct-mega-menu'] > .sub-menu {

	&.ct-ajax-pending {
		grid-template-columns: initial;
		align-items: center;
		justify-content: center;
		min-height: 300px;

		> * {
			display: none;
		}

		&:after {
			content: '';
			width: 16px;
			height: 16px;
			filter: invert(1) saturate(0) contrast(1000);
			background-color: inherit;
			animation: spin 0.7s linear infinite;

			-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' opacity='0.2' fill='none' stroke='currentColor' stroke-miterlimit='10' stroke-width='2.5'/%3E%3Cpath d='m12,2c5.52,0,10,4.48,10,10' fill='none' stroke='currentColor' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5'/%3E%3C/svg%3E") center no-repeat;
		}
	}
}