/**
 * Recolour Complianz's persistent "manage consent" tab so it is visible
 * against a white background, and hide it on mobile so no tab lingers once
 * a visitor has made a choice. Neither option is available as a setting
 * that covers both cases at once, so this is done in CSS instead.
 */

#cmplz-manage-consent .cmplz-manage-consent {
	background-color: #0c57a8 !important;
	border-color: #0c57a8 !important;
	color: #fff !important;
}

@media ( min-width: 769px ) {
	#cmplz-manage-consent .cmplz-manage-consent:not( .cmplz-dismissed ) {
		width: var( --cmplz-manage-consent-height );
		min-width: var( --cmplz-manage-consent-height );
		display: flex !important;
		align-items: center;
		justify-content: center;
	}
}

@media ( max-width: 768px ) {
	#cmplz-manage-consent .cmplz-manage-consent {
		display: none !important;
	}
}

.wmf-cookie-preferences-link {
	background: none;
	border: none;
	color: inherit;
	cursor: pointer;
	font: inherit;
	padding: 0;
	text-decoration: underline;
}
