/**
 * Embeds styling - Bottom.
 *
 * This file includes embed-specific styling that gets output after
 * all other styling. This file should generally be used for overrides
 * to styling in our bundles, but in most cases any styling we need to
 * add here indicates a scoping issue with styling elsewhere, so try
 * to fix problems upstream and keep this as light as possible.
 */

/**
 * This overrides a legacy bundle style that sets min-height: 100vh.
 */
body {
	min-height: 0;
}

/**
 * This overrides styling set by CFF.
 *
 * The .nw-cff #fbuilder selector allows us to avoid an
 * !important when serving single CFF Embed requests.
 */
#fbuilder,
.nw-cff #fbuilder {
	margin: 0;
}

/**
 * jQuery UI tooltip positioning for CFF embeds.
 *
 * CFF loads the jQuery UI tooltip JS but not the jQuery UI CSS,
 * causing tooltips to render in normal flow and expand the iframe.
 */
.ui-tooltip {
	position: absolute;
}

.ui-helper-hidden-accessible {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}
