/**
 * RU Auth Compliance - dismissible block notice styles.
 *
 * @package RUAuthCompliance
 */

.ruac-closable {
	position: relative;
	padding-right: 40px !important;
}

.ruac-close {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY( -50% );
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	opacity: 0.6;
	transition: opacity 0.15s ease, background 0.15s ease;
}

.ruac-close:hover {
	opacity: 1;
	background: rgba( 0, 0, 0, 0.08 );
}

.ruac-close:focus {
	outline: 2px solid currentColor;
	outline-offset: 1px;
}

/* wp-login.php places #login_error above the form; give the button room. */
#login_error.ruac-closable {
	padding-right: 40px !important;
}
