.sab-alert-bar {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999999;
	box-sizing: border-box;
	width: 100%;
	padding: 15px 40px 15px 16px;
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
}

.sab-alert-bar.sab-alert-bar--visible {
	display: block;
}

.sab-alert-bar__inner {
	max-width: 1200px;
	margin: 0 auto;
}

.sab-alert-bar__message a {
	text-decoration: underline;
	font-weight: 600;
}

.sab-alert-bar__button {
	display: inline-block;
	margin-left: 12px;
	padding: 4px 14px;
	background: var( --sab-btn-bg );
	color: var( --sab-btn-text );
	border: 1px solid currentColor;
	border-radius: 4px;
	font: inherit;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.sab-alert-bar__button:hover {
	background: var( --sab-btn-hover-bg );
	color: var( --sab-btn-hover-text );
	text-decoration: none;
}

.sab-alert-bar__close {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	background: var( --sab-btn-bg );
	border: none;
	border-radius: 3px;
	color: var( --sab-btn-text );
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	padding: 4px 8px;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.sab-alert-bar__close:hover {
	background: var( --sab-btn-hover-bg );
	color: var( --sab-btn-hover-text );
}

body.sab-has-alert-bar {
	transition: padding-top 0.15s ease;
}

.sab-popup-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1000000;
}

.sab-popup-modal.sab-popup-modal--open {
	display: block;
}

.sab-popup-modal__overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba( 0, 0, 0, 0.6 );
}

.sab-popup-modal__dialog {
	position: relative;
	width: 90%;
	max-width: 900px;
	height: 80vh;
	margin: 5vh auto;
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba( 0, 0, 0, 0.3 );
}

.sab-popup-modal__iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.sab-popup-modal__close {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 1;
	width: 32px;
	height: 32px;
	border: none;
	background: transparent;
	color: var( --sab-btn-text, #333 );
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.sab-popup-modal__close:hover {
	color: var( --sab-btn-hover-text, #000 );
}

body.sab-popup-open {
	overflow: hidden;
}
