/*
 * Transitions
 */
:root {
	--mh-announcements-transition: 400ms ease;
}

/*
 * Colors
 */
:root {
	--mh-announcements-color-black: #000;
	--mh-announcements-color-error-alert: #e95459;
	--mh-announcements-color-gray-100: #f7f7f7;
	--mh-announcements-color-gray-700: #757575;
	--mh-announcements-color-gray-800: #555555;
	--mh-announcements-color-success-alert: #80b50d;
	--mh-announcements-color-teal-500: #00857c;
	--mh-announcements-color-teal-700: #005c55;
	--mh-announcements-color-warning-alert: #f0a626;
	--mh-announcements-color-white: #fff;
	/* Banner*/
	--mh-announcements-banner-background-color: #f7f7f7;
	--mh-announcements-banner-border-color: #cfd2d7;
	/* Confirmation Colors */
	--mh-announcements-acceptance-text-color: var(--mh-announcements-color-white);
	--mh-announcements-acceptance-background-color: var(--mh-announcements-color-teal-500);
	--mh-announcements-acceptance-text-hover-color: var(--mh-announcements-color-white);
	--mh-announcements-acceptance-background-hover-color: var(--mh-announcements-color-teal-700);
	--mh-announcements-declining-text-color: var(--mh-announcements-color-white);
	--mh-announcements-declining-background-color: var(--mh-announcements-color-gray-700);
	--mh-announcements-declining-text-hover-color: var(--mh-announcements-color-white);
	--mh-announcements-declining-background-hover-color: var(--mh-announcements-color-gray-800);
}

/*
 * Spacing
 */
:root {
	--mh-announcements-space-base: 0.25rem;
	--mh-announcements-space-l: calc(var(--mh-announcements-space-s) * 4);
	--mh-announcements-space-m: calc(var(--mh-announcements-space-s) * 3);
	--mh-announcements-space-s: calc(var(--mh-announcements-space-base) * 2);
	--mh-announcements-space-xl: calc(var(--mh-announcements-space-s) * 5);
	--mh-announcements-space-xxl: calc(var(--mh-announcements-space-s) * 6);
	--mh-announcements-space-xxxl: calc(var(--mh-announcements-space-s) * 8);
}

/*
 * Typography
 */
:root {
	--mh-announcements-content-font-size: 0.875rem;
	--mh-announcements-font-weight-bold: 700;
	--mh-announcements-font-weight-light: 200;
	--mh-announcements-heading-font-size: 1rem;
}

/*
 * Box Model
 */
:root {
	--mh-announcements-container-max-width: 1440px;
}

/*
 * Modal Configuration
 */
:root {
	--mh-announcements-modal-max-width: 50em;
	--mh-announcements-modal-overlay: rgba(0, 0, 0, 0.75);
	--mh-announcements-modal-zindex: 100;
}

/*
 * Title Configuration
 */
:root {
	--mh-announcements-title-text-align: left;
	--mh-announcements-title-text-color: var(--mh-announcements-color-black);
}

.mh-anc-button {
	/*
	* Acceptance
	*/
	/*
	 * Declining
	 */
}
.mh-anc-button--accept {
	background-color: var(--mh-announcements-acceptance-background-color);
	color: var(--mh-announcements-acceptance-text-color);
}
.mh-anc-button--accept:hover, .mh-anc-button--accept:focus {
	background-color: var(--mh-announcements-acceptance-background-hover-color);
	color: var(--mh-announcements-acceptance-text-hover-color);
}
.mh-anc-button--decline {
	background-color: var(--mh-announcements-declining-background-color);
	color: var(--mh-announcements-declining-text-color);
}
.mh-anc-button--decline:hover, .mh-anc-button--decline:focus {
	background-color: var(--mh-announcements-declining-background-hover-color);
	color: var(--mh-announcements-declining-text-hover-color);
}

.banner-container {
	display: flex;
	flex-direction: column;
}

.banner {
	background-color: var(--mh-announcements-banner-background-color);
	color: var(--mh-announcements-color-black);
	transition: opacity var(--mh-announcements-transition);
	/*
	 * Announcements Variations
	 */
}
.banner[aria-hidden=true] {
	height: 0;
	left: 0;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	top: 0;
	transform: translateX(-100%);
	visibility: hidden;
	width: 0;
}
.banner[aria-hidden=false] {
	height: auto;
	left: auto;
	opacity: 1;
	overflow: visible;
	position: static;
	top: auto;
	transform: translateX(0);
	visibility: visible;
	width: auto;
}
.banner:not([aria-hidden=true]) + .banner:not([class*=is-announcement]) {
	border-top: 0.5px solid var(--mh-announcements-banner-border-color);
}
.banner__inner {
	margin-left: auto;
	margin-right: auto;
	max-width: var(--mh-announcements-container-max-width);
	padding: var(--mh-announcements-space-s) var(--mh-announcements-space-m);
	position: relative;
}
.banner__body {
	align-items: center;
	display: flex;
	flex-flow: row nowrap;
	width: 100%;
}
.banner__body > * {
	margin-left: var(--mh-announcements-space-base);
}
.banner__body > *:first-child {
	margin-left: 0;
}
@media only screen and (min-width: 48em) {
	.banner__body {
		padding-bottom: 0;
		padding-top: 0;
	}
}
.banner__core {
	align-items: flex-start;
	display: flex;
	flex: 1 1 100%;
	flex-flow: column nowrap;
}
@media only screen and (min-width: 48em) {
	.banner__core {
		align-items: center;
		flex-flow: row nowrap;
	}
}
.banner__header {
	color: var(--mh-announcements-title-text-color);
	font-size: var(--mh-announcements-heading-font-size);
	font-weight: var(--mh-announcements-font-weight-bold);
	margin: 0;
	text-align: var(--mh-announcements-title-text-align);
}
.banner__header + * {
	margin-top: 0.053125rem;
}
.banner__content {
	flex: 1 1 100%;
	font-size: var(--mh-announcements-content-font-size);
}
.banner__content > :first-child {
	margin-top: 0;
}
.banner__content > :last-child {
	margin-bottom: 0;
}
.banner__actions {
	flex: 0 1 auto;
	margin-top: var(--mh-announcements-space-base);
	/*
	 * Buttons
	 */
}
.banner__actions:empty {
	display: none;
}
.banner__actions.mh-modal-footer .mh-anc-buttons, .banner__actions.mh-modal-footer-placeholder .mh-anc-buttons {
	justify-content: center;
}
.banner__actions .mh-anc-buttons {
	column-gap: var(--mh-announcements-space-s);
	display: flex;
	margin-bottom: 0;
	/*
	 * Button
	 */
}
@supports not (column-gap: var(--mh-announcements-space-s)) {
	.banner__actions .mh-anc-buttons .mh-anc-button,
	.banner__actions .mh-anc-buttons .mh-anc-button--accept,
	.banner__actions .mh-anc-buttons .mh-anc-button--decline {
		margin: 0 var(--mh-announcements-space-base) 0 0;
	}
}
@media only screen and (min-width: 48em) {
	.banner__actions .mh-anc-buttons .mh-anc-button,
	.banner__actions .mh-anc-buttons .mh-anc-button--accept,
	.banner__actions .mh-anc-buttons .mh-anc-button--decline {
		margin: 0 0 0 var(--mh-announcements-space-base);
	}
}
@media only screen and (min-width: 48em) {
	.banner__actions .mh-anc-buttons {
		justify-content: flex-end;
	}
}
@media only screen and (min-width: 48em) {
	.banner__actions {
		flex: 0 0 auto;
		margin-top: 0;
	}
}
.banner__close-button {
	appearance: none;
	background-color: transparent;
	background-image: url(images/close--grey-700.15a5cd8d.svg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	border: 0;
	border-radius: 0;
	flex: 0 0 auto;
	height: 1rem;
	padding: 0;
	width: 1rem;
	background-image: url(images/close-teal.907b642b.svg);
	height: 0.75rem;
	width: 0.75rem;
}
.banner__close-button:hover, .banner__close-button:focus {
	background-image: url(images/close--grey-800.81f14711.svg);
	cursor: pointer;
}
.banner__close-button:hover, .banner__close-button:focus {
	background-image: url(images/close-teal.907b642b.svg);
}
.banner[class*=is-announcement] .banner__body, .banner.is-announcement--warning .banner__body {
	border: 1px solid var(--mh-announcements-color-warning-alert);
	padding-left: calc(var(--gutter) - var(--mh-announcements-space-s));
	padding-right: calc(var(--gutter) - var(--mh-announcements-space-s));
}
.banner[class*=is-announcement] .banner__body::before, .banner.is-announcement--warning .banner__body::before {
	background-image: url(images/alert-circle-outline--orange.5226f4f7.svg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	content: "";
	flex: 0 0 auto;
	height: 1.5rem;
	margin-right: var(--mh-announcements-space-base);
	width: 1.5rem;
}
@media only screen and (min-width: 48em) {
	.banner[class*=is-announcement] .banner__body, .banner.is-announcement--warning .banner__body {
		padding: var(--mh-announcements-space-base);
	}
}
.banner.is-announcement--error .banner__body {
	border: 1px solid var(--mh-announcements-color-error-alert);
}
.banner.is-announcement--error .banner__body::before {
	background-image: url(images/alert-circle-outline--red.7fd6fc66.svg);
}
.banner.is-announcement--success .banner__body {
	border: 1px solid var(--mh-announcements-color-success-alert);
}
.banner.is-announcement--success .banner__body::before {
	background-image: url(images/alert-circle-outline--green.8d182a2c.svg);
}
.banner.mh-announcement--banner {
	z-index: 10;
}
.banner.mh-announcement--banner-bottom-fixed {
	width: 100%;
	position: fixed;
}
.banner.mh-announcement--banner-top-fixed {
	width: 100%;
}
.banner.mh-announcement--banner-top-fixed-scrolled {
	position: fixed;
}
.banner.mh-announcement--banner-bottom-fixed {
	bottom: 0;
}
.banner.mh-announcement--banner-top-fixed {
	top: 0;
}

.mh-announcement-floating .mh-announcement--banner {
	position: fixed;
	display: inline-flex;
}
.mh-announcement-floating .mh-announcement--banner.mh-announcement-floating-position-top-right {
	top: 0;
	right: 0;
}
.mh-announcement-floating .mh-announcement--banner.mh-announcement-floating-position-top-center {
	top: 0;
	left: 50%;
	transform: translateX(-50%);
}
.mh-announcement-floating .mh-announcement--banner.mh-announcement-floating-position-top-left {
	top: 0;
	left: 0;
}
.mh-announcement-floating .mh-announcement--banner.mh-announcement-floating-position-center-right {
	top: 50%;
	right: 0;
	transform: translateY(-50%);
}
.mh-announcement-floating .mh-announcement--banner.mh-announcement-floating-position-center-center {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.mh-announcement-floating .mh-announcement--banner.mh-announcement-floating-position-center-left {
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}
.mh-announcement-floating .mh-announcement--banner.mh-announcement-floating-position-bottom-right {
	bottom: 0;
	right: 0;
}
.mh-announcement-floating .mh-announcement--banner.mh-announcement-floating-position-bottom-center {
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
}
.mh-announcement-floating .mh-announcement--banner.mh-announcement-floating-position-bottom-left {
	bottom: 0;
	left: 0;
}

.mh-announcement-dialog-container,
.mh-announcement-dialog__container {
	align-items: center;
	background: var(--mh-announcements-modal-overlay);
	display: flex;
	flex-flow: column nowrap;
	inset: 0;
	justify-content: center;
	padding: var(--mh-announcements-space-base);
	position: fixed;
	width: 100%;
	z-index: var(--mh-announcements-modal-zindex);
}
.mh-announcement-dialog-container[aria-hidden=true],
.mh-announcement-dialog__container[aria-hidden=true] {
	display: none;
}
@media only screen and (min-width: 48em) {
	.mh-announcement-dialog-container,
	.mh-announcement-dialog__container {
		padding: var(--mh-announcements-space-l);
	}
}
@media only screen and (min-width: 75em) {
	.mh-announcement-dialog-container,
	.mh-announcement-dialog__container {
		padding: var(--mh-announcements-space-xl);
	}
}

.mh-announcement-dialog__backdrop {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}
.mh-announcement-dialog__backdrop:hover, .mh-announcement-dialog__backdrop:focus {
	cursor: pointer;
}

.mh-announcement-dialog {
	background: var(--mh-announcements-color-white);
	display: flex;
	flex: 0 1 auto;
	flex-flow: column nowrap;
	justify-content: center;
	margin-left: auto;
	margin-right: auto;
	max-height: 100%;
	max-width: var(--mh-announcements-modal-max-width);
	padding: var(--mh-announcements-space-xxl) var(--mh-announcements-space-l);
	position: relative;
	/* IE11 best fit for flex overflow hack */
}
.mh-announcement-dialog--large {
	max-width: var(--mh-announcements-container-max-width);
	width: 100%;
}
.mh-announcement-dialog__header {
	word-wrap: break-word;
	overflow-wrap: anywhere;
	flex: 0 0 auto;
	font-size: 1.875rem;
	margin-bottom: var(--mh-announcements-space-l);
	text-align: var(--mh-announcements-title-text-align);
	color: var(--mh-announcements-title-text-color);
}
@supports not (overflow-wrap: anywhere) {
	.mh-announcement-dialog__header {
		hyphens: auto;
		overflow-wrap: break-word;
	}
}
.mh-announcement-dialog__content {
	flex: 0 1 auto;
	height: 100%;
	overflow-x: hidden;
	padding-right: var(--mh-announcements-space-s);
}
.mh-announcement-dialog__content > :first-child {
	margin-top: 0;
}
.mh-announcement-dialog__content > :last-child {
	margin-bottom: 0;
}
.mh-announcement-dialog__content > p > img, .mh-announcement-dialog__content > p > video {
	display: block;
	max-width: 100%;
}
.mh-announcement-dialog__content > blockquote {
	color: var(--mh-announcements-color-teal-700);
	font-weight: var(--mh-announcements-font-weight-light);
	margin: 0;
	text-align: left;
}
.mh-announcement-dialog__content > hr:not([aria-hidden=true]) {
	background-clip: content-box;
	background-color: var(--mh-announcements-color-teal-500);
	border: 0;
	box-sizing: border-box;
	display: block;
	height: 2px;
}
.mh-announcement-dialog__content::-webkit-scrollbar {
	-webkit-appearance: none;
	width: 5px;
}
.mh-announcement-dialog__content::-webkit-scrollbar-track {
	background: var(--mh-announcements-color-gray-100);
}
.mh-announcement-dialog__content::-webkit-scrollbar-thumb {
	background: var(--mh-announcements-color-teal-500);
	border-radius: 0;
}
.mh-announcement-dialog h2.mh-anc-button-title.text-align-left {
	text-align: left;
}
.mh-announcement-dialog h2.mh-anc-button-title.text-align-right {
	text-align: right;
}
.mh-announcement-dialog h2.mh-anc-button-title.text-align-center {
	text-align: center;
}
.mh-announcement-dialog__confirmation-wrapper {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: var(--mh-announcements-space-l);
}
.mh-announcement-dialog__confirmation-wrapper > * {
	margin-left: calc(var(--mh-announcements-space-l) / 2);
	margin-right: calc(var(--mh-announcements-space-l) / 2);
	max-width: calc(50% - var(--mh-announcements-space-l));
}
@media only screen and (min-width: 47.9375em) {
	.mh-announcement-dialog__confirmation-wrapper > * {
		margin-bottom: 5px;
		margin-top: 5px;
		max-width: 100%;
	}
}
.mh-announcement-dialog__confirmation-wrapper--align-left {
	justify-content: flex-start;
}
.mh-announcement-dialog__confirmation-wrapper--align-left > * {
	margin-left: 0;
	margin-right: var(--mh-announcements-space-l);
}
.mh-announcement-dialog__confirmation-wrapper--align-left > *:last-child {
	margin-right: 0;
}
.mh-announcement-dialog__confirmation-wrapper--align-right {
	justify-content: flex-end;
}
.mh-announcement-dialog__confirmation-wrapper--align-right > * {
	margin-left: var(--mh-announcements-space-l);
	margin-right: 0;
}
.mh-announcement-dialog__confirmation-wrapper--align-right > *:first-child {
	margin-right: 0;
}
.mh-announcement-dialog__close-button {
	appearance: none;
	background-color: transparent;
	background-image: url(images/close--grey-700.15a5cd8d.svg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	border: 0;
	border-radius: 0;
	flex: 0 0 auto;
	height: 1rem;
	padding: 0;
	width: 1rem;
	position: absolute;
	right: var(--mh-announcements-space-m);
	top: var(--mh-announcements-space-m);
}
.mh-announcement-dialog__close-button:hover, .mh-announcement-dialog__close-button:focus {
	background-image: url(images/close--grey-800.81f14711.svg);
	cursor: pointer;
}
@media only screen and (min-width: 48em) {
	.mh-announcement-dialog__close-button {
		right: var(--mh-announcements-space-l);
		top: var(--mh-announcements-space-l);
	}
}
@media only screen and (min-width: 48em) {
	.mh-announcement-dialog {
		padding: var(--mh-announcements-space-xxxl) var(--mh-announcements-space-xl);
	}
}
@media all and (-ms-high-contrast: none) {
	.mh-announcement-dialog {
		flex: 1 1 auto;
		height: 1px;
		width: 100%;
	}
}
