/*
 * Styling for jsc/always.js's site-wide UI helpers (greyout overlay, throbber
 * preload, etc). Loaded unconditionally on every page (see do_begin_page() in
 * lib/html-lib.php, alongside always.js) so that these elements never need
 * inline "style" attributes or jQuery .css() calls, which Content-Security-Policy
 * (style-src) blocks.
 */

.cqpwebHiddenPreload {
	display: none;
}

#div_for_greyout {
	display: none;
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: #888888;
	background-color: rgba(0, 0, 0, 0.5);
}

#div_for_greyout.greyoutShown {
	display: block;
}

.greyoutContent {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	background-color: white;
}

.greyoutContent.greyoutPopupShown {
	display: block;
}

#link_to_close_greyout {
	cursor: pointer;
}

#searchBox {
	font-size: 1rem;
}
