:root {
	--radius: 1rem;
	--highlight-color: var(--wp--preset--color--sal-green); /* green highlight */
	--border-color: #ccc;
}

path:focus {
	outline-width: 0px !important;
}

#wpadminbar {
	display: none;
}

html {
	font-size: 19px;
	color: var(--wp--preset--color--sal-black);
}

body {
	font-size: 1rem; /* equals whatever html is set to */
	overflow-anchor: none;
}

html,
body {
	margin: 0 !important;
	padding: 0 !important;
}

h2 {
	margin: 0 !important;
}

.wp-block-separator {
	width: 100%;
}

.wp-block-group > .wp-block-group {
	min-height: inherit;
}

.wp-block-group .wp-block-group,
footer .wp-block-group,
footer {
	min-height: auto !important;
	margin-block-start: 0;
	position: relative;
}

footer .wp-block-group,
footer {
	z-index: 205;
}

.wp-block-template-part {
	margin-block-start: 0;
}

ol.wp-block-list,
ul.wp-block-list {
	counter-reset: item;
	list-style: none; /* remove default numbers */
	padding-left: 0;
}

ol.wp-block-list li,
ul.wp-block-list li {
	position: relative;
	counter-increment: item;
	padding-left: 2rem; /* space for number */
	z-index: 5;
}

ol.wp-block-list li::before,
ul.wp-block-list li::before {
	content: '';
	position: absolute;
	left: -0.5rem;
	top: 0.5rem;
	width: 1rem;
	height: 1rem;
	background: var(--wp--preset--color--sal-yellow);
	border-radius: 50%;
	z-index: -1;
}

ul.wp-block-list li::before {
	left: 0;
}

ol.wp-block-list li::before {
	width: 1.7rem;
	height: 1.7rem;
}

ol.wp-block-list li::after {
	position: absolute;
	top: 0;
	left: 0;
	content: counter(item) '.';
}

/* ul.wp-block-list li::after {
	position: absolute;
	left: 0.15rem;
	top: 1.05rem;
	width: 0.5rem;
	height: 0.5rem;
	background: var(--wp--preset--color--sal-yellow-300);
	border-radius: 50%;
	content: '';
} */

ol.wp-block-list li:not(:last-child),
ul.wp-block-list li:not(:last-child) {
	margin-bottom: 0.8rem;
}

.translate-background-right {
	background: var(--wp--preset--color--sal-yellow);
}

.translate-background-right .wp-block-cover__image-background {
	background-position-x: -1vw !important;
	left: calc(33% + 6vw);
	right: auto;
}

.has-large-font-size {
	line-height: 1.3;
}

.wp-block-post-content {
	padding-top: clamp(0px, 12vw, 110px);
}
.entry-content {
	margin-block-start: 0;
	min-height: 83.6vh;
}
.entry-content > div {
	margin-block-start: 0;
}

.entry-content > .wp-block-group.alignfull,
.entry-content > .wp-block-cover.alignwide,
.single-post {
	padding-right: 4vw;
	padding-left: 4vw;
}

.single-post {
	padding-bottom: 2rem;
}

.entry-content
	> .wp-block-cover
	.wp-block-cover__inner-container
	> .wp-block-group,
.entry-content > .wp-block-group:has(> .wp-block-columns),
.entry-content > .wp-block-group:has(> .wp-block-query) {
	display: flex;
	justify-content: center;
	flex-direction: column;
}

.entry-content > .wp-block-group > .wp-block-columns {
	width: 100%;
}

.is-wide-width {
	max-width: 1250px;
	margin: 0 auto;
}

.max-width-700 {
	max-width: 700px;
}

.max-width-800 {
	max-width: 800px;
}

.participe-column-img img {
	max-height: 70vh;
	object-fit: contain !important;
}

.with-sticky-child {
	align-items: flex-start !important;
}

.sticky {
	position: sticky !important;
	top: 10vh;
}

.cards .wp-block-column {
	display: flex;
	flex-direction: column;
}

.cards .wp-block-column hr {
	width: 100%;
}

.cards .wp-block-buttons {
	margin-top: auto;
}

.map-wrapper {
	width: 100%;
	height: 200px;
	margin: 0 auto;
	position: relative;
	display: block;
}

.acf.map-wrapper {
	height: 300px;
}

.form-farmer.map-wrapper {
	height: 400px;
	width: 100%;
}

.consumer-form .map-wrapper {
	width: 100%;
}

.form-wrapper {
	margin: 1rem;
	position: relative;
}

.form-wrapper::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: -2;
	border: 6px solid #e3e3e3;
	border-radius: 20px;
}

.form-wrapper .acf-form {
	max-width: 1000px;
	margin: 0 auto;
}

.acf-form .wrapper-no-border > .acf-input > .acf-fields {
	border: none;
}
.acf-form .wrapper-no-border,
.acf-form .wrapper-no-border > .acf-input > .acf-fields > .acf-field {
	padding: 16px 0;
}

.acf-field input:focus,
.acf-field select:focus,
.acf-field textarea:focus {
	outline: 2px solid var(--highlight-color);
}

.acf-input-wrap {
	overflow: visible !important;
}

.map-spinner {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9999;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 20px;
	border: 1px solid black;
}

.spinner {
	aspect-ratio: 1;
	height: 48px;
	border: 6px solid #ccc;
	border-top-color: #333;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

.acf-sal-summary,
.acf-sal-tabs {
	margin: 0 auto;
	padding: 2rem 10vw;
}

.back-to-map {
	text-align: right;
	width: 100%;
	display: block;
}

.acf-sal-tabs .tab-nav {
	list-style: none;
	display: flex;
	gap: 0.5rem;
	margin: 0 0 1rem;
	padding: 0;
	margin-top: 2rem;
}

.acf-sal-tabs .tab-nav li a {
	text-decoration: none;
	background: #eee;
	padding: 0.5em 1em;
	border-radius: 5px;
	color: gray;
	font-size: clamp(0.6rem, 1.2vw, 0.68rem);
}

.acf-sal-tabs .tab-nav li a:hover,
.acf-sal-tabs .tab-nav li a.active {
	background: #ddd;
	color: black;
}

.acf-sal-tabs .tab-content.products thead > tr > th {
	text-align: left;
}

.acf-sal-tabs .tab-content:not(.products) tbody > tr > td:first-of-type {
	width: 33%;
	min-width: 400px;
	font-weight: 500;
}

@media (max-width: 830px) {
	.consumer-tabs .tab-nav {
		flex-direction: column;
	}
}

.sal-min-75vh {
	min-height: 75vh;
}

.sal-min-70vh {
	min-height: 70vh;
}

.sal-no-min-vh {
	min-height: auto;
}

.sal-align-end {
	align-self: flex-end;
}

.sal-dark-theme {
	background-color: var(--wp--preset--color--sal-black) !important;
	color: white;
}

.acf-form {
	/* border: 1px solid #e3e3e3; */
	padding: 2rem 3rem;
	position: relative;
}

.acf-form .input-coord {
	display: flex;
	gap: 1rem;
	padding-bottom: 1rem;
}

.acf-form::after {
	content: '';
	position: absolute;
	left: 2rem;
	right: 2rem;
	top: calc(2rem + 33px);
	bottom: 2rem;
	background-color: white;
	z-index: -1;
	border: 1px solid #eaecf0;
	border-top-right-radius: 1.25rem;
	border-bottom-right-radius: 1.25rem;
	border-bottom-left-radius: 1.25rem;
}

.acf-fields > .acf-tab-wrap {
	background: none !important;
	overflow: hidden !important;
	transform: translate(-1rem, -1px);
}

.acf-form-submit {
	text-align: center;
	padding-bottom: 0.5rem;
}

.acf-tab-group {
	padding: 0 !important;
	/* sheight: 37px; */
	border-bottom: 0 !important;
	margin-bottom: 36px !important;
}

.acf-fields > .acf-tab-wrap .acf-tab-group li {
	margin: 0;
}
.acf-fields > .acf-tab-wrap .acf-tab-group li a {
	border-top-right-radius: 0.5rem;
	padding: 5px 15px;
}

.acf-input input[type='text'],
.acf-input input[type='url'],
.acf-input input[type='email'],
.acf-input input[type='number'],
.acf-input textarea {
	width: 100%;
	padding: 0.6rem 0.75rem;
	border: 1px solid #e3e3e3;
	border-radius: var(--radius);
}

.acf-input input[type='number'] {
	max-width: 100px !important;
}
.acf-switch {
	border-radius: 1.25rem !important;
}

.acf-switch:hover,
.acf-switch.-focus {
	border-color: var(--highlight-color) !important;
	color: var(--highlight-color) !important;
}

.acf-switch .acf-switch-slider {
	border-radius: 1.25rem !important;
}

.acf-switch:hover .acf-switch-slider,
.acf-switch.-focus .acf-switch-slider {
	border-color: var(--highlight-color) !important;
}

.acf-switch .acf-switch-on {
	color: #fff;
	text-shadow: var(--wp--preset--color--sal-green) 0 1px 0 !important;
	overflow: hidden;
}

.acf-switch.-on {
	background: var(--wp--preset--color--sal-green) !important;
	border-color: var(--wp--preset--color--sal-green-100) !important;
}

.my-custom-toggle {
	display: inline-block;
	width: 20%;
	float: left;
}

.my-custom-toggle .acf-label,
.my-custom-input .acf-input,
.my-custom-input .acf-label {
	font-size: 13px;
}
.acf-accordion-title > label {
	font-size: 15px !important;
	font-weight: 600 !important;
}
.my-custom-input {
	display: inline-block;
	width: 80%;
}

.my-custom-input .acf-input > .acf-fields {
	display: flex;
}

.my-custom-wrapper {
	padding: 0 !important;
	margin: 0 !important;
}

.my-custom-wrapper > .acf-input > .acf-fields {
	border: none !important;
}

.my-custom-wrapper > .acf-label {
	display: none;
}

.button,
.btn,
.wp-block-button a {
	letter-spacing: 0.05rem;
	display: inline-block;
	margin: 5px 8px 5px 0;
	padding: 0.75rem 1rem;
	font-size: 1rem;
	font-weight: 500;
	text-transform: uppercase;
	border: 1px solid var(--border-color);
	border-radius: 1.65rem;
	background-color: #fff;
	color: #333;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
	line-height: 1;
}

.wp-block-button a {
	border-color: transparent;
}

/* hover / focus */
.button:hover,
.button:focus,
.btn:hover,
.btn:focus,
.wp-block-button a:hover,
.wp-block-button a:focus {
	border-color: var(--highlight-color);
	color: var(--highlight-color);
}

/* submit / primary */
/* .wp-block-button a, */
.button-primary,
.btn-submit {
	background-color: var(--highlight-color);
	border-color: transparent;
	color: #fff;
}

.wp-block-buttons > .wp-block-button {
	margin: 5px 8px 5px 0;
}

.wp-block-button a {
	background-color: inherit;
	color: inherit;
	margin: 0;
}

.wp-block-button.is-style-outline a {
	border-color: inherit;
}

.wp-block-button.is-style-outline:hover,
.wp-block-button.is-style-outline:focus {
	background-color: var(--wp--preset--color--sal-yellow);
	border-radius: 1.65rem;
}

.button-primary:hover,
.button-primary:focus,
.btn-submit:hover,
.btn-submit:focus {
	background-color: #f9f9f9; /* darker green */
	border-color: var(--highlight-color);
	color: #666;
}

/* clear / secondary */
.btn-clear {
	background-color: #f9f9f9;
	color: #666;
}

/* submit / primary */
.wp-block-button a:hover,
.wp-block-button a:focus {
	background-color: transparent !important;
	border-color: var(--wp--preset--color--sal-black);
	color: var(--wp--preset--color--sal-black);
}

/* submit / primary */

.btn-clear:hover,
.btn-clear:focus {
	background-color: #f1f1f1;
}

input[type='checkbox'],
input[type='radio'] {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 19px;
	height: 19px;
	border: 1px solid var(--border-color);
	border-radius: 50%; /* makes them round */
	display: inline-block;
	position: relative;
	cursor: pointer;
	vertical-align: middle;
	transition: border-color 0.2s, background-color 0.2s;
}

/* highlight when checked */
input[type='checkbox']:checked,
input[type='radio']:checked {
	background-color: var(--highlight-color);
	border-color: var(--highlight-color);
}

/* checkmark for checkbox */
input[type='checkbox']:checked::after {
	content: '';
	position: absolute;
	top: 2px;
	left: 6px;
	width: 3px;
	height: 8px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

/* dot for radio */
input[type='radio']:checked::after {
	content: '';
	position: absolute;
	top: 5px;
	left: 4px;
	width: 8px;
	height: 8px;
	background: #fff;
	border-radius: 50%;
}

input[type='range'] {
	overflow: hidden;
	width: 100px;
	-webkit-appearance: none;
	border: 1px solid grey;
	border-radius: 1.25rem;
	background-color: #f9f9f9;
	height: 25px !important;
}

input[type='range']::-webkit-slider-runnable-track {
	height: 15px;
	-webkit-appearance: none;
	color: var(--wp--preset--color--sal-green);
	/* color: orange; */
	/* margin-top: -1px; */
}

input[type='range']::-webkit-slider-thumb {
	width: 15px;
	-webkit-appearance: none;
	height: 15px;
	cursor: ew-resize;
	background: var(--wp--preset--color--sal-green);
	/* background: yellow; */
	border-radius: 100%;
}

/** FF*/
input[type='range']::-moz-range-progress {
	background-color: var(--wp--preset--color--sal-green-100);
}
input[type='range']::-moz-range-track {
	background-color: var(--wp--preset--color--sal-green-100);
}
/* IE*/
input[type='range']::-ms-fill-lower {
	background-color: var(--wp--preset--color--sal-green);
}
input[type='range']::-ms-fill-upper {
	background-color: var(--wp--preset--color--sal-green-100);
}

.blog-section ul {
	gap: 2rem;
}

.objectives-heading {
	z-index: -1;
	margin-bottom: -266px !important;
}

.cards ul.wp-block-list li::after {
	position: absolute;
	left: 0.25rem;
	top: 0.55rem;
	width: 0.35rem;
	height: 0.35rem;
}

.cards ul.wp-block-list li::before {
	left: -0.1rem;
	width: 1rem;
	height: 1rem;
}

.cards ul.wp-block-list li {
	padding-left: 1.5rem;
}

.white-space-no-wrap {
	white-space: nowrap;
}

.wp-block-sal-plus-container .h-captcha,
.wp-block-sal-plus-container .h-captcha iframe {
	max-width: 100%;
}

.wp-block-sal-plus-container .h-captcha {
	width: 100% !important;
}

@media (max-width: 1800px) {
	:root {
		--wp--preset--font-size--x-large: 2.5rem;
	}
}

@media (max-width: 1400px) {
	.flex-column-1400 {
		flex-direction: column;
	}
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 1100px) {
	.acf-form::after {
		top: calc(2rem + 43px);
	}

	.translate-background-right .wp-block-cover__image-background {
		background-position-x: -48vw !important;
		background-position-y: -14vh !important;
		right: 66%;
		left: auto;
		background-size: 145vh;
	}

	.translate-background-right .donations {
		align-content: flex-end;
		flex-wrap: wrap;
	}

	.translate-background-right .donations .wp-block-group {
		max-width: calc(66% - var(--wp--preset--spacing--50));
	}
}

@media (max-width: 782px) {
	.sticky {
		position: relative !important;
		top: 0;
	}

	.acf-sal-tabs .tab-content:not(.products) tbody > tr > td:first-of-type {
		min-width: auto;
	}

	.acf-sal-summary,
	.acf-sal-tabs {
		width: 90vw;
		padding: 0;
		font-size: 0.7rem;
	}
	.acf-sal-tabs .tab-nav {
		gap: 1rem;
		flex-direction: column;
	}
}

@media (max-width: 768px) {
	ol.wp-block-list,
	ul.wp-block-list {
		margin-left: 0.3rem;
	}

	ol.wp-block-list li,
	ul.wp-block-list li {
		padding-left: 1.8rem; /* space for number */
	}

	ol.wp-block-list li::before,
	ul.wp-block-list li::before {
		left: -0.2rem;
	}

	ol.wp-block-list li::before {
		top: 0.3rem;
		width: 1.2rem;
		height: 1.2rem;
	}

	ul.wp-block-list li::after {
		left: 0.075rem;
		top: 0.5rem;
		width: 0.25rem;
		height: 0.25rem;
		content: none;
	}

	.wp-block-columns.row-reverse-mobile {
		flex-direction: column-reverse;
	}

	.hide-max-768 {
		display: none !important;
	}

	.entry-content > .wp-block-group.alignfull,
	.entry-content > .wp-block-group.alignwide {
		padding-top: 1.5rem !important;
		padding-bottom: 1.5rem !important;
	}

	:root :where(.wp-block-group),
	.sal-min-75vh {
		min-height: auto !important;
	}

	.wp-block-spacer.reduce-max-768 {
		height: 1rem !important;
	}

	.wp-block-buttons {
		gap: 5px;
	}

	.wp-block-buttons {
		margin-block-start: 0;
		padding-bottom: 1rem !important;
	}

	.wp-block-buttons .wp-block-button {
		padding: 0;
	}
	.wp-block-buttons .wp-block-button a {
		padding: 0.5rem 0.65rem;
		font-size: 0.8rem;
	}

	.cards ul.wp-block-list {
		margin-bottom: 0.5rem;
	}

	.cards ul.wp-block-list li::before {
		left: -0.2rem;
		width: 1rem;
		height: 1rem;
	}

	:root {
		font-size: 20px;
		--wp--preset--font-size--small: 0.8rem;
		--wp--preset--font-size--medium: clamp(
			1rem,
			1rem + ((1vw - 0.2rem) * 0.215),
			1.125rem
		);
		--wp--preset--font-size--large: clamp(
			0.9rem,
			0.9rem + ((1vw - 0.2rem) * 0.43),
			1rem
		);

		--wp--preset--font-size--large-v-1: clamp(
			1.3rem,
			1.3rem + ((1vw - 0.2rem) * 0.43),
			1.5rem
		);

		--wp--preset--font-size--large-v-2: clamp(
			1.7rem,
			1.7rem + ((1vw - 0.2rem) * 0.43),
			1.8rem
		);
		--wp--preset--font-size--x-large: clamp(
			2rem,
			2rem + ((1vw - 0.2rem) * 0.43),
			2.2rem
		);
		--wp--preset--font-size--xx-large: clamp(
			2.3rem,
			2.3rem + ((1vw - 0.2rem) * 1.462),
			3rem
		);
		--wp--preset--font-size--gigantic: clamp(
			5rem,
			5rem + ((1vw - 0.2rem) * 1.72),
			6rem
		);
	}
	.has-xx-large-font-size {
		line-height: 1.1;
		margin-top: 1rem;
	}
}

@media (max-width: 599px) {
	body {
		font-size: 0.8rem;
	}
	.wp-block-post-content {
		padding-top: 25vw;
	}

	.entry-content > .wp-block-group.alignfull,
	.entry-content > .wp-block-group.alignwide {
		padding-right: 3vw;
		padding-left: 3vw;
	}

	.acf-form {
		padding: 2rem;
	}

	.acf-form::after {
		top: calc(5rem + 43px);
	}

	.button,
	.btn,
	.wp-block-button {
		font-size: 12px;
		padding: 0.5rem 0.65rem;
	}

	.entry-content > .wp-block-group {
		/* max-width: 90vw; */
		margin: 0 auto;
	}

	.translate-background-right .wp-block-cover__image-background {
		display: none;
	}

	.translate-background-right .donations .wp-block-group {
		max-width: none;
	}
}

@media (max-width: 435px) {
	.acf-form {
		padding: 1rem !important;
		margin: 1rem !important;
		border: none;
	}

	.acf-form::after {
		top: calc(8rem + 43px);
		left: 0;
		right: 0;
		bottom: 1rem;
	}
	.acf-form::after {
		top: calc(7rem + 52px);
	}

	.acf-fields > .acf-tab-wrap .acf-tab-group li a {
		border-radius: 0.5rem;
		margin-bottom: 2px;
		margin-right: 2px;
	}

	.acf-fields > .acf-field {
		padding: 16px 0 !important;
	}

	.my-custom-toggle {
		width: 100%;
	}

	.my-custom-input {
		width: 100%;
	}

	.my-custom-wrapper.acf-field {
		padding: 0 10px !important;
	}

	.my-custom-input .acf-input > .acf-fields {
		margin: 0 10px;
		padding: 0 10px;
		flex-direction: column;
	}
}
