.mastersul-cookie-banner[hidden],
.mastersul-cookie-modal[hidden] {
	display: none !important;
}

.mastersul-cookie-banner {
	position: fixed;
	z-index: 9998;
	right: 1rem;
	bottom: 1rem;
	left: 1rem;
	padding: 1.25rem;
	border: 1px solid #d8d8d8;
	border-radius: .5rem;
	background: #fff;
	box-shadow: 0 8px 30px rgba(0, 0, 0, .22);
	color: #212121;
	font-family: Arial, sans-serif;
}

.mastersul-cookie-banner__content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	max-width: 70rem;
	margin: 0 auto;
}

.mastersul-cookie-banner h2,
.mastersul-cookie-modal h2 {
	margin: 0 0 .5rem;
	font-size: 1.35rem;
	line-height: 1.25;
}

.mastersul-cookie-banner p,
.mastersul-cookie-modal p {
	margin: 0;
	font-size: .95rem;
	line-height: 1.5;
}

.mastersul-cookie-banner__links {
	margin-top: .45rem !important;
}

.mastersul-cookie-banner a,
.mastersul-cookie-modal a,
.mastersul-form-consent a {
	color: #174f82;
	text-decoration: underline;
}

.mastersul-cookie-banner__actions,
.mastersul-cookie-modal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
}

.mastersul-cookie-banner__actions {
	flex: 0 0 auto;
	justify-content: flex-end;
}

.mastersul-cookie-button {
	min-height: 2.75rem;
	padding: .65rem 1rem;
	border: 1px solid #174f82;
	border-radius: .25rem;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}

.mastersul-cookie-button--primary {
	background: #174f82;
	color: #fff;
}

.mastersul-cookie-button--secondary {
	background: #fff;
	color: #174f82;
}

.mastersul-cookie-button:focus,
.mastersul-cookie-modal__close:focus,
.mastersul-cookie-link:focus {
	outline: 3px solid rgba(23, 79, 130, .35);
	outline-offset: 2px;
}

.mastersul-cookie-modal {
	position: fixed;
	z-index: 9999;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	font-family: Arial, sans-serif;
}

.mastersul-cookie-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .58);
}

.mastersul-cookie-modal__panel {
	position: relative;
	width: 100%;
	max-width: 38rem;
	max-height: calc(100vh - 2rem);
	overflow-y: auto;
	padding: 1.5rem;
	border-radius: .5rem;
	background: #fff;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .3);
	color: #212121;
}

.mastersul-cookie-modal__close {
	position: absolute;
	top: .7rem;
	right: .8rem;
	padding: .2rem .45rem;
	border: 0;
	background: transparent;
	color: #333;
	font-size: 1.8rem;
	cursor: pointer;
}

.mastersul-cookie-category {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1rem;
	padding: 1rem;
	border: 1px solid #ddd;
	border-radius: .35rem;
}

.mastersul-cookie-category strong {
	display: block;
	margin-bottom: .2rem;
	font-size: 1rem;
}

.mastersul-cookie-category input {
	flex: 0 0 auto;
	width: 1.25rem;
	height: 1.25rem;
}

.mastersul-cookie-category__status {
	flex: 0 0 auto;
	color: #2b6e3f;
	font-size: .85rem;
	font-weight: 700;
}

.mastersul-cookie-modal__actions {
	justify-content: flex-end;
	margin-top: 1.25rem;
}

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

.mastersul-form-consent {
	display: flex;
	align-items: flex-start;
	gap: .55rem;
	width: 100%;
	margin: .75rem 0;
	color: inherit;
	font-size: .8rem;
	line-height: 1.4;
	text-align: left;
}

.mastersul-form-consent input {
	flex: 0 0 auto;
	width: 1rem !important;
	height: 1rem;
	margin-top: .1rem !important;
}

.wrap-footer .content form > input[type="text"] {
	width: 21%;
}

.wrap-footer .content form .mastersul-form-consent {
	flex: 0 0 28%;
	margin: 0 2% 0 0;
}

.wrap-footer .content form .mastersul-form-consent span,
.wrap-footer .content form .mastersul-form-consent a {
	color: #fff;
}

.wrap-footer .content form button[type] {
	width: 23%;
}

.mastersul-legal-header-spacer {
	height: 8rem;
	background: #051954;
}

.mastersul-legal-page {
	padding: 3rem 1rem;
}

.mastersul-legal-page__content {
	max-width: 70rem;
	margin: 0 auto;
	color: #333;
	line-height: 1.65;
}

.mastersul-legal-page h1 {
	margin-bottom: .75rem;
}

.mastersul-legal-page h2 {
	margin: 2rem 0 .6rem;
	font-size: 1.35rem;
}

.mastersul-legal-page p,
.mastersul-legal-page li {
	margin-bottom: .65rem;
}

.mastersul-legal-page ul {
	margin: .5rem 0 1rem 1.25rem;
}

@media (max-width: 70rem) {
	.mastersul-legal-header-spacer {
		display: none;
	}
}

@media (max-width: 56rem) {
	.wrap-footer .content form {
		flex-wrap: wrap;
	}

	.wrap-footer .content form > input[type="text"],
	.wrap-footer .content form .mastersul-form-consent,
	.wrap-footer .content form button[type] {
		width: 100%;
		flex-basis: 100%;
		margin-right: 0;
	}

	.mastersul-cookie-banner__content {
		display: block;
	}

	.mastersul-cookie-banner__actions {
		justify-content: stretch;
		margin-top: 1rem;
	}

	.mastersul-cookie-button {
		flex: 1 1 10rem;
	}
}
