body.mce-content-body.editor-content {
	height: auto;
	overflow: auto;
	padding: 1rem;
}

.wpcf7 .hidden {
	display: none;
}

.wpcf7 .form-input > .input-control > .wpcf7-form-control-wrap {
	width: 100%;
}

.wpcf7 form .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	display: none;
}

.wpcf7-not-valid-tip {
	display: block;
	color: rgb(var(--color-theme-warning));
	font-size: clamp(.90625rem,.8969907407rem + .049382716vw,2.86875rem);
	font-style: normal;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.5;
}

.wpcf7-form .wpcf7-spinner {
	display: none;
}

.grecaptcha-badge {
	display: none !important;
}

.wpcf7 .form-input > .form-control.is\:select:after {
	top: 1.75rem;
}

.wpcf7-form > div:first-child[style="display: none;"] + * {
	margin-top: 0;
}

.form-checkable > .wpcf7-form-control-wrap {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.form-checkable > .wpcf7-form-control-wrap.is\:checked + .checkable-label::after {
	transform: none;
	opacity: 1;
}

.input-control.is\:file > .wpcf7-form-control-wrap {
	position: absolute;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
}

.wpcf7-form.sent .form-feedback {
	color: rgb(var(--color-theme-success));
	background: rgba(var(--color-theme-success), .12);
}

.wpcf7-form.resetting .form-feedback,
.wpcf7-form.submitting .form-feedback {
	display: none;
}

.editor-content > * + .wp-caption,
.editor-content > * + .wp-caption + .wp-caption,
.editor-content > .wp-caption + * {
	margin-top: 2rem;
}

.editor-content .wp-caption .wp-caption-text {
	padding: 0.25rem 0.75rem;
	font-size: 0.9rem;
	background: #f5f5f5;
}

.grecaptcha-tos-label {
	display: flex;
	align-items: center;
	padding: 10px;
	gap: 10px;
	font-size: 12px;
	line-height: 1.5;
	background: #fff;
	border: 1px solid rgba(0,0,0, 0.12);
	border-radius: 6px;
}

.grecaptcha-tos-label::before {
	content: '';
	flex-shrink: 0;
	display: block;
	width: 16px;
	height: 16px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 83.76'%3E%3Cpath fill='%231c3aa9' d='M84 41.82c0-.6-.02-1.2-.04-1.8V6.03l-9.4 9.4C66.87 6.01 55.17 0 42.06 0S16.31 6.51 8.65 16.59l15.4 15.56c1.51-2.79 3.65-5.19 6.24-7 2.69-2.1 6.5-3.81 11.77-3.81.64 0 1.13.07 1.49.21 6.53.52 12.19 4.12 15.52 9.35l-10.9 10.9c13.81-.05 29.41-.09 35.82 0'/%3E%3Cpath fill='%234285f4' d='M41.82 0c-.6 0-1.2.02-1.8.04H6.03l9.4 9.4C6.01 17.13 0 28.83 0 41.94s6.51 25.75 16.59 33.41l15.56-15.4a20.374 20.374 0 0 1-7-6.24c-2.1-2.69-3.81-6.5-3.81-11.77 0-.64.07-1.13.21-1.49.52-6.53 4.12-12.19 9.35-15.52l10.9 10.9c-.05-13.81-.09-29.41 0-35.83'/%3E%3Cpath fill='%23ababab' d='M0 41.94c0 .6.02 1.2.04 1.8v33.99l9.4-9.4c7.69 9.41 19.39 15.43 32.5 15.43s25.75-6.51 33.41-16.59L59.95 51.6a20.374 20.374 0 0 1-6.24 7c-2.69 2.1-6.5 3.81-11.77 3.81-.64 0-1.13-.07-1.49-.21-6.53-.52-12.19-4.12-15.52-9.35l10.9-10.9c-13.81.05-29.41.09-35.83 0'/%3E%3C/svg%3E") no-repeat 50% 50%;
	background-size: contain;
}

/** Cookiebot - aaherkules.pl specific */
body[class] #CookieBannerNotice {
	padding: 15px 20px;
	color: rgb(var(--color-theme-foreground));
	font-family: Figtree, ui-system, sans-serif;
	background: rgb(var(--color-theme-light));
	border-radius: var(--border-radius);
	box-shadow: 0 .9375rem 2.1875rem rgba(var(--color-theme-dark),.12);
}

body[class] #CookieBanner .cookiebanner-main-title,
body[class] #CookiebotWidget .CookiebotWidget-header {
	margin-bottom: 3px;
	color: rgb(var(--color-accent-secondary-dimmed));
	font-family: Figtree,ui-system,sans-serif;
	font-size: 17px;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}

body[class] #CookiebotWidget {
	color: rgb(var(--color-theme-foreground));
	font-family: Figtree, ui-system, sans-serif;
}

body[class] #CookiebotWidget.CookiebotWidget-open .CookiebotWidget-contents {
	min-height: 260px;
}

body[class] #CookiebotWidget .CookiebotWidget-header strong {
	color: rgb(var(--color-accent-secondary-dimmed));
	font-family: Figtree,ui-system,sans-serif;
	font-size: 17px;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}

body[class] #CookiebotWidget .CookiebotWidget-header {
	padding: 15px 20px 0 20px;
	margin-bottom: 0;
	border-bottom: 0;
}

body[class] #CookiebotWidget .CookiebotWidget-header .CookiebotWidget-close {
	margin-top: -15px;
	margin-bottom: -15px;
	margin-right: -15px;
}

body[class] #CookieBanner .cookiebanner-main-description {
	font-size: 14px;
	line-height: 1.5;
}

body[class] #CookiebotWidget .CookiebotWidget-body[class] {
	padding: 0;
}

body[class] #CookiebotWidget .CookiebotWidget-body-inner {
	padding: 15px 20px;
}

body[class] #CookiebotWidget .CookiebotWidget-header .CookiebotWidget-close svg {
	fill: rgb(var(--color-accent-secondary));
}

body[class] #CookiebotWidget.CookiebotWidget-open #CookiebotWidget-widgetContent {
	background: rgb(var(--color-theme-light));
	border-radius: var(--border-radius);
	box-shadow: 0 .9375rem 2.1875rem rgba(var(--color-theme-dark),.12);
}

body[class] #CookiebotWidget .CookiebotWidget-body[class] .CookiebotWidget-consents-list .CookiebotWidget-state {
	color: rgb(var(--color-accent-secondary-dimmed));
}

body[class] #CookiebotWidget .CookiebotWidget-body[class] .CookiebotWidget-consents-list li {
	color: rgb(var(--color-accent-secondary-dimmed));
	font-size: 14.5px;
	letter-spacing: 0;
}

body[class] #CookiebotWidget .CookiebotWidget-body[class] .CookiebotWidget-consents-list li.CookiebotWidget-approved[data-consent=necessary] svg,
body[class] #CookiebotWidget .CookiebotWidget-body[class] .CookiebotWidget-consents-list li.CookiebotWidget-approved svg {
	width: 16px;
	height: 16px;
	fill: rgb(var(--color-accent-secondary));
}

body[class] #CookiebotWidget .CookiebotWidget-consent-details button {
	margin-bottom: 0;
	color: rgb(var(--color-accent-secondary));
}

body[class] #CookiebotWidget .CookiebotWidget-consent-details button svg {
	width: 10px;
	height: 7px;
	margin-left: 8px;
	fill: rgb(var(--color-accent-secondary));
}

body[class] #CookiebotWidget .CookiebotWidget-body[class] .CookiebotWidget-consents-list {
	margin-bottom: 15px;
}

body[class] #CookiebotWidget .CookiebotWidget-body[class] .CookiebotWidget-main-logo {
	z-index: 5;
	position: absolute;
	right: 0;
	bottom: 12px;
	margin-top: 0;
}

body[class] #CookiebotWidget .CookiebotWidget-body[class] .CookiebotWidget-main-logo svg {
	fill: rgba(var(--color-accent-secondary), 0.4);
}

body[class] #CookiebotWidget .CookiebotWidget-consent-details .CookiebotWidget-consent-details-box {
	margin-top: 10px;
	margin-bottom: 35px;
	padding: 10px 15px;
	background: rgba(var(--color-accent-secondary), 0.08);
}

body[class] #CookiebotWidget .CookiebotWidget-consent-details * {
	color: rgb(var(--color-accent-secondary-dimmed));
}

body[class] #CookiebotWidget .CookiebotWidget-consent-details strong {
	letter-spacing: 0;
}

body[class] #CookieBanner .cookiebanner-buttons-accept,
body[class] #CookieBanner .cookiebanner-buttons-deny,
body[class] #CookieBanner .cookiebanner-buttons-details,
body[class] #CookieBanner .cookiebanner-accept-selection,
body[class] #CookiebotWidget #CookiebotWidget-buttons #CookiebotWidget-btn-withdraw,
body[class] #CookiebotWidget #CookiebotWidget-buttons #CookiebotWidget-btn-change {
	min-height: 0;
	color: #fff;
	font-family: Figtree, ui-system, sans-serif;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	border: 0;
	border-radius: var(--border-radius-sm);
	background: linear-gradient(0deg,rgb(var(--color-accent-gradient-pale-start)),rgb(var(--color-accent-gradient-pale-end)));
	transition: all .3s ease;
}

body[class] #CookieBanner .cookiebanner-buttons-details,
body[class] #CookiebotWidget #CookiebotWidget-buttons #CookiebotWidget-btn-withdraw {
	color: rgb(var(--color-theme-foreground));
	background: rgb(var(--color-accent-secondary-80));
}

body[class] #CookieBanner .cookiebanner-accept-selection,
body[class] #CookiebotWidget #CookiebotWidget-buttons #CookiebotWidget-btn-change {
	background: linear-gradient(0deg,rgb(var(--color-accent-secondary-gradient-start)),rgb(var(--color-accent-secondary-gradient-end)));
}

body[class] #CookieBanner .cookiebanner-buttons-accept:hover,
body[class] #CookieBanner .cookiebanner-buttons-accept:focus,
body[class] #CookieBanner .cookiebanner-buttons-deny:hover,
body[class] #CookieBanner .cookiebanner-buttons-deny:focus,
body[class] #CookieBanner .cookiebanner-buttons-details:hover,
body[class] #CookieBanner .cookiebanner-buttons-details:focus,
body[class] #CookieBanner .cookiebanner-accept-selection:hover,
body[class] #CookieBanner .cookiebanner-accept-selection:focus {
	color: #fff;
	transform: translateY(-2px);
	border: 0;
	background: linear-gradient(0deg,rgb(var(--color-accent-gradient-pale-start)),rgb(var(--color-accent-gradient-pale-end)));
	box-shadow: 0 .4rem 1rem rgba(var(--color-theme-dark),.12);
}

body[class] #CookieBanner .cookiebanner-accept-selection:hover,
body[class] #CookieBanner .cookiebanner-accept-selection:focus,
body[class] #CookiebotWidget #CookiebotWidget-buttons #CookiebotWidget-btn-change:hover,
body[class] #CookiebotWidget #CookiebotWidget-buttons #CookiebotWidget-btn-change:focus {
	background: linear-gradient(0deg,rgb(var(--color-accent-secondary-gradient-start)),rgb(var(--color-accent-secondary-gradient-end)));
}

body[class] #CookieBanner .cookiebanner-buttons-details:hover,
body[class] #CookieBanner .cookiebanner-buttons-details:focus,
body[class] #CookiebotWidget #CookiebotWidget-buttons #CookiebotWidget-btn-withdraw:hover,
body[class] #CookiebotWidget #CookiebotWidget-buttons #CookiebotWidget-btn-withdraw:focus {
	color: rgb(var(--color-accent-secondary));
	background: rgb(var(--color-accent-secondary-dimmed-150));
}

body[class] #CookieBanner .cookiebanner-preference-title {
	font-size: 14.5px;
	font-weight: 700;
	letter-spacing: 0;
}

body[class] #CookieBanner .cookiebanner-preference {
	border-radius: var(--border-radius-sm);
}

body[class] #CookieBanner .cookiebanner-preference-toggle {
	color: rgb(var(--color-theme-foreground));
	font-weight: 500;
}

body[class] #CookieBanner .cookiebanner-preference input:checked+label .cookiebanner-preference-ui {
	background: rgb(var(--color-accent-secondary));
}

body[class] #CookieBanner .cookiebanner-preference input:focus+.cookiebanner-preference-label,
body[class] #CookieBanner .cookiebanner-preference-label:hover {
	color: rgb(var(--color-accent-secondary));
	text-decoration: none;
}

body[class] #CookiebotWidget .CookiebotWidget-logo svg circle {
	fill: rgb(var(--color-accent-secondary));
}

@media (min-width: 601px) {
	body[class] #CookiebotWidget #CookiebotWidget-buttons button {
		margin-bottom: 0;
	}
}

@media (max-width: 600px) {
	body[class] #CookieBannerNotice {
		border-radius-bottom-left: 0;
		border-radius-bottom-right: 0;
		box-shadow: 0 -.2rem 2.1875rem rgba(var(--color-theme-dark),.12);
	}

	body[class] #CookiebotWidget.CookiebotWidget-open+#CookiebotWidgetUnderlay {
		display: none !important;
	}
}

/** Simple modal */
.simple-modal {
	z-index: 25;
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	bottom: 0;
	transition-property: opacity;
}

.simple-modal .modal-viewport {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	background: rgba(0,0,0, .77);
}

.simple-modal .modal-body {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
}

.simple-modal .modal-body img {
	display: block;
	width: auto;
	height: auto;
	max-width: none;
}

.simple-modal .modal-body .modal-close {
	z-index: 5;
	cursor: pointer;
	position: absolute;
	right: 5px;
	top: 5px;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: rgba(var(--color-brand-secondary), 0.85);
	border: 0;
	border-radius: 8px;
	appearance: none;
	transition-property: background, color, opacity;
}

.simple-modal .modal-body .modal-close svg {
	width: 24px;
	height: 24px;
}

.simple-modal .modal-body .modal-close:hover {
	color: rgba(var(--color-brand-secondary));
	background: rgba(var(--color-theme-light), 0.92);
}

.simple-modal.is\:closing,
.simple-modal[aria-hidden="true"] {
	opacity: 0;
}

@media (max-width: 767px) {
	.simple-modal .modal-body {
		max-width: 70vw;
	}

	.simple-modal .modal-body img {
		max-width: 100%;
	}
}
