body {
	background-color: var(--rebate-background-color) !important;
	position: relative;
	min-height: 100vh;
}

.control, .input, .select, .textarea {
	--bulma-input-placeholder-color: grey !important;
}

.text-entry-link {
	position: fixed;
	top: 10px;
	right: 10px;
}
.lang-switcher {
	position: fixed;
	top: 10px;
	left: 10px;
	z-index: 999;
}

.field[data-type=checkbox] {
	display: flex;
	flex-direction: row;
	gap: 0.5em;
	justify-content: start;
	align-items: start;
}

strong {
	color: inherit !important;
}


.field.multifile .file-list.populated {
	border: rgba(255, 255, 255, 0.3) 1px solid;
	padding: 0.5em 0.75em;
}

.add-btn {
	font-weight: bolder;
	text-align: center;
}

#loading-div {
	display: none;
	position: fixed;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: 999;
	justify-content: center;
	align-items: center;
	padding: 0;
	margin: 0;
	pointer-events: all;
}

#loading-div .progress {
	width: 80vw;
	max-width: 30em;
}

.field[data-type=select] select, .field[data-type=select] .select {
	width: 100%;
}

.field[data-type=file] .file {
	display: flex;
	width: 100%;
	flex-direction: row;
	justify-content: center;
	align-items: start;
}

.field[data-type=checkbox] {
	padding-left: 0.2em;
}

.field[data-type=multiproduct] .products-container {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: start;
	align-items: stretch;
	gap: 0.5em;
	padding: 0.5em 0;
}

.field[data-type=multiproduct] .product-wrapper {
	display: grid;
	grid-template-columns: 5fr 2fr 0.75fr;
	column-gap: 1em;
	width: 100%;
}

.field[data-type=multiproduct] .product-wrapper.single-product {
	grid-template-columns: 5fr 2fr;
}

.field[data-type=multiproduct] .product-wrapper .select select {
	width: 100%;
}
.field[data-type=multiproduct] .products-container .product-wrapper:nth-child(2) .btn-remove {
	filter: grayscale(1);
	pointer-events: none;
	opacity: 80%;
}

.field[data-type=multiproduct] .template {
	display: none;
}


.tos-link {
	color: inherit !important;
}



.field textarea {
	height: 16em;
	resize: none;
}

.field .char-counter {

}

/*Mobile*/
@media screen and (max-width: 768px) {
	.desktop-only {
		display: none !important;
	}
	.select select {
		padding: 0.25em 0.5em !important;
	}
	.product-wrapper .select.mobile-small::after {
		display: none !important;
	}
}

/*Desktop*/
@media screen and (min-width: 769px) {
	.mobile-only {
		display: none !important;
	}
}

.anchor-img:not(.page-bound) {
	position: absolute;
	z-index: 0;
}

.anchor-img:not(.page-bound) {
	--transformX: 0;
	--transformY: 0;
	transform: translate(var(--transformX), var(--transformY));
}
.anchor-img:not(.page-bound).x-left {
	left: 0;
}
.anchor-img:not(.page-bound).x-left.form-bound {
	--transformX: -100%;
}
.anchor-img:not(.page-bound).x-center {
	left: 50%;
	--transformX: -50%;
}
.anchor-img:not(.page-bound).x-center.form-bound {
	--transformX: -150%;
}
.anchor-img:not(.page-bound).x-right {
	right: 0;
}
.anchor-img:not(.page-bound).x-right.form-bound {
	--transformX: 100%;
}
.anchor-img:not(.page-bound).y-top {
	top: 0;
}
.anchor-img:not(.page-bound).y-center {
	top: 50%;
	--transformY: -50%;
}
.anchor-img:not(.page-bound).y-bottom {
	bottom: 0;
}

.anchor-img.has-width {
	width: var(--width) !important;
}
.anchor-img.has-height {
	height: var(--height) !important;
}

.button-wrapper {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: start;
	gap: 0.5em;
}

.button-wrapper.left {
	justify-content: start;
}

.notification-modal {
	display: none;
	position: fixed;
	width: 30em;
	max-width: 90vw;
	height: 3em;
	left: 50%;
	bottom: 1em;
	transform: translateX(-50%);
	padding: 11px !important;
	color: white;
	text-align: center;
	font-weight: bolder;
	z-index: 100;
}

#main-form {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: start;
	z-index: 10;
	margin: 2em 0
}

#main-form .column {
	z-index: 10;
	position: relative;
}

#main-form label {
	color: var(--rebate-label-color) !important;
	font-family: var(--rebate-label-font) !important;
}

.label-color {
	color: var(--rebate-label-color) !important;
}

.vertical-imgs {
	line-height: 0 !important;
	display: flex;
	flex-direction: column;
	justify-content: start;
	align-items: center;
	gap: 0;
}
.vertical-imgs a {
	display: block;
}

#main-form input, #main-form select, #main-form textarea {
	color: var(--rebate-input-color) !important;
	font-family: var(--rebate-input-font) !important;
	border: var(--rebate-input-border) !important;
	background-color: white;
}

button, .button, #main-form .file-cta {
	color: var(--rebate-button-color) !important;
	background-color: var(--rebate-button-background) !important;
	border-color: var(--rebate-button-border-color) !important;
	border-width: var(--rebate-button-border-size) !important;
	border-style: solid;
}

.content {
	color: var(--rebate-label-color) !important;
}

#main-form > .columns {
	width: 100% !important;
	max-width: var(--form-width) !important;
	position: relative;
}

.banner {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: start;
}

.banner img {
	max-height: 10em;
}

.field.multifile .file {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	width: 100%;
}

.description {
	margin-top: 1em;
}

.promo-ended, .promo-not-started {
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

#menuDropdown {
	position: fixed;
	top: 10px;
	right: 10px;
	min-width: 10em;
	justify-content: center;
	z-index: 9999;
}



.header-bar.horizontal #menuDropdown > a:not(:first-child) {
	border-left: solid 1px rgba(0, 0, 0, 0.2);
}

#menuDropdown .navbar-link {
	color: var(--rebate-label-color) !important;
	padding-top: 0;
	z-index: 10;
}

#menuDropdown .navbar-link::after {
	margin-top: -0.6rem;
}

#menuDropdown .navbar-dropdown {
	right: 10px;
	background-color: rgba(255, 255, 255, 0.5);
	border-radius: 2px;
	z-index: 10;
	/*display: block;*/
}

#menuDropdown .navbar-dropdown a {
	color: black;
	text-align: center;
	width: 100%;
	padding: 6px 0;
	display: block;
}

.header-bar {
	width: 100vw;
	height: 3em;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	position: fixed;
	background-color: var(--rebate-background-color);
	z-index: 9999;
	top: 0;
	left: 0;
}

.header-bar.horizontal .navbar-item {
	color: var(--rebate-label-color)
}

#menuDropdown .navbar-dropdown a.is-active-page {
	pointer-events: none;
}

#menuDropdown .navbar-dropdown a:hover {
	text-decoration: underline;
}

@media (min-width: 1024px) {
	.navbar-item.has-dropdown:hover .navbar-dropdown {
		display: block;
	}
}
.is-active-page {
	background-color: #f5f5f5;
	font-weight: bold;
}

.image-flex-wrapper {
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin: 1em auto;

	column-gap: var(--desktop-col-gap);
	row-gap: var(--desktop-row-gap);
}

.image-flex-wrapper a {
	max-width: var(--width) !important;
}

body ul {
	list-style: unset !important;
	margin: 0 0 0 2em !important;
	padding: unset !important;
}

@media screen and (max-width: 900px) {
	.navbar-dropdown {
		position: fixed;
		background-color: white !important;
		display: none;
	}

	.navbar-dropdown.active {
		display: block;
	}

	.image-flex-wrapper {
		column-gap: var(--mobile-col-gap);
		row-gap: var(--mobile-row-gap);
	}

	body .content, body #main-form {
		padding: 0 1em !important;
	}

	.image-flex-wrapper a {
		min-width: 10em;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.image-flex-wrapper {
		/*gap: var(--mobile-row-gap);*/
		flex-direction: column;
		flex-wrap: nowrap;
		justify-content: start;
		align-items: center;
	}
}

@media screen and (min-width: 901px) {
	.header-bar.horizontal #menuDropdown {
		top: 2px;
		gap: 0;
	}
}

.file-cta .file-label .file-valid {
	display: none;
}

.fileupload-modal-wrapper {
	display: none;
	z-index: 999999 !important;
}
.fileupload-modal-wrapper.active {
	display: block;
}
.fileupload-modal-wrapper.active .dark-overlay {
	position: fixed;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: 999999 !important;
}
.fileupload-modal-wrapper.active .dark-overlay .fileupload-modal {
	position: fixed;
	left: 50vw;
	top: 50vh;
	transform: translate(-50%, -50%);
	width: 95%;
	height: 95%;
	max-width: min(800px, 85vw);
	max-height: min(700px, 80vh);
	background-color: var(--rebate-multifile-popup-color);
	padding: 1em 1em;
	border: 2px solid #222222;
}
.fileupload-modal-wrapper.active .dark-overlay .fileupload-modal .large {
	font-size: 18pt;
}
.fileupload-modal-wrapper.active .dark-overlay .fileupload-modal .medium {
	font-size: 14pt;
}
.fileupload-modal-wrapper.active .dark-overlay .fileupload-modal .bold {
	font-weight: bold;
}
.fileupload-modal-wrapper.active .dark-overlay .fileupload-modal .button-wrapper.top {
	height: 70%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	gap: 1rem;
	position: relative;
}
@media screen and (max-width: 760px) {
	.fileupload-modal-wrapper.active .dark-overlay .fileupload-modal .button-wrapper.top .disclaimer-zone {
		overflow-y: scroll;
		line-height: 1.65em;
	}
}
.fileupload-modal-wrapper.active .dark-overlay .fileupload-modal .button-wrapper.top .close-btn-floating {
	position: absolute;
	top: -2em;
	right: -2em;
	background-color: var(--rebate-background-color);
	color: white;
	border: 1px solid #222222;
	width: 32px;
	height: 32px;
	cursor: pointer;
	border-radius: 50%;
}
.fileupload-modal-wrapper.active .dark-overlay .fileupload-modal .button-wrapper.top .close-btn-floating:hover {
	filter: brightness(130%);
}
.fileupload-modal-wrapper.active .dark-overlay .fileupload-modal .button-wrapper.top .disclaimer-zone {
	text-align: center;
}
.fileupload-modal-wrapper.active .dark-overlay .fileupload-modal .button-wrapper.top .file.disabled {
	filter: grayscale(1);
	opacity: 40%;
}
.fileupload-modal-wrapper.active .dark-overlay .fileupload-modal .button-wrapper.top input {
	cursor: pointer;
}
.fileupload-modal-wrapper.active .dark-overlay .fileupload-modal .button-wrapper.top input:disabled {
	cursor: not-allowed;
}
.fileupload-modal-wrapper.active .dark-overlay .fileupload-modal .button-wrapper.top .stfans-btn {
	text-align: center;
}
.fileupload-modal-wrapper.active .dark-overlay .fileupload-modal .file-list {
	height: 20%;
	overflow-y: scroll;
	border: #dddddd 2px solid;
	display: flex;
	flex-direction: column;
	justify-content: start;
	align-items: stretch;
	gap: 0.5em;
	padding: 0.75em 2em;
}
.fileupload-modal-wrapper.active .dark-overlay .fileupload-modal .file-list .file-line.template {
	display: none;
}
.fileupload-modal-wrapper.active .dark-overlay .fileupload-modal .file-list .file-line {
	display: grid;
	grid-template-columns: 5fr 1fr;
	column-gap: 1em;
}
.fileupload-modal-wrapper.active .dark-overlay .fileupload-modal .file-list .file-line:not(:last-child) {
	border-bottom: #dddddd 1px solid;
}
.fileupload-modal-wrapper.active .dark-overlay .fileupload-modal .file-list .file-line .label {
	font-size: 16pt;
	color: #dddddd;
	max-width: 80%;
	overflow-x: hidden;
	text-overflow: ellipsis;
}
.fileupload-modal-wrapper.active .dark-overlay .fileupload-modal .file-list .file-line .remove-wrapper {
	display: flex;
	justify-content: end;
	align-items: center;
}
.fileupload-modal-wrapper.active .dark-overlay .fileupload-modal .file-list .file-line .remove-wrapper .remove-btn {
	cursor: pointer;
	color: #dddddd;
}
.fileupload-modal-wrapper.active .dark-overlay .fileupload-modal .button-wrapper.bottom {
	height: 10%;
	display: flex;
	justify-content: center;
	align-items: center;
}
@media screen and (max-width: 1024px) {
	.fileupload-modal-wrapper.active .dark-overlay .fileupload-modal {
		padding: 0.5em 0.5em;
	}
	.fileupload-modal-wrapper.active .dark-overlay .fileupload-modal .button-wrapper.top .close-btn-floating {
		right: -1em;
	}
	.fileupload-modal-wrapper.active .dark-overlay .fileupload-modal .file-wrapper span.stfans-btn {
		font-size: 14pt;
	}
	.fileupload-modal-wrapper.active .dark-overlay .fileupload-modal p {
		font-size: 9pt;
	}
	.fileupload-modal-wrapper.active .dark-overlay .fileupload-modal p.large {
		font-size: 13pt;
	}
	.fileupload-modal-wrapper.active .dark-overlay .fileupload-modal p.medium {
		font-size: 10.5pt;
	}
	.fileupload-modal-wrapper.active .dark-overlay .fileupload-modal p.bold {
		font-weight: bold;
	}
}

.id-display {
	position: fixed;
	display: none;
	left: 0.5em;
	top: 3em;
	background-color: rgba(0, 0, 0, 0.8);
	color: white;
	text-align: center;
	padding: 0.5em 1em;
	border-radius: 0.5em;
	min-width: 3em;
	z-index: 99999;
}

.date-separated {
	height: 40px;
	display: grid;
	grid-template-columns: 1fr 2fr 1fr;
	grid-template-rows: 1fr;
	column-gap: 1em;
}

.date-separated .date-month {
	width: 100%;
}