
.form_style form {
	display: grid;
	grid-template-columns: auto 1fr;
}

@media (max-width: 700px) {
	.form_style form {
		display: grid;
		grid-template-columns: auto;
	}
}

.form_style label {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.form_style span {
	max-width: 50%;
	font-weight: bold;
	padding-right: 0.75em;
	white-space: nowrap;
	margin-top: auto;
	margin-bottom: auto;
}

.form_style input:-webkit-autofill,
.form_style input,
.form_style .textarea_field,
.form_style .select_field {
	box-sizing: border-box;
	border: 1px solid var(--menu_background_color);
	border-radius: 0.2em;
	padding: 0.3em;
	margin: 0.3em;
	outline: none;
	background-color: var(--widget_and_content_bg);
	color: var(--widget_and_content_text);
	font-size: 1em;
}

.form_style .input_field:focus,
.form_style .textarea_field:focus,
.form_style .select_field:focus {
	border: 3px solid var(--sub_menu_background_color);
}

.form_style .textarea_field {
	height: 10em;
	width: 100%;
}

.form_style input,
.form_style select {
	height: 2em;
}

.form_style .select_field {
	padding-right: 2.3em;

}

.form_style select {
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='%23D9b98c'><polygon points='0,25 100,25 50,75'/></svg>");
	background-repeat: no-repeat;
	background-position: calc(100% - 0.5em) center;
	background-size: 1em 1em;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.form_style input[type=submit],
.form_style input[type=button] {
	background: var(--button_bg_color);
	color: var(--button_text_color);
	border: 1px solid var(--menu_background_color);
	font-size: 1em;
	font-weight: bold;
	padding: 0.3em;
	margin: 0.3em;
	border-radius: 0.2em;
	outline: none;
	height: 2em;
}

.form_style input[type=submit]:hover,
.form_style input[type=button]:hover {
	background: var(--sub_menu_background_color);
}

.form_style input[type=checkbox] {
	height: 1.4em;
	margin-top: auto;
	margin-bottom: auto;
}

/* Remove autofill color */
input:-webkit-autofill,
input:-webkit-autofill:focus {
  transition: background-color 600000s 0s, color 600000s 0s, font-size 600000s 0s;
}
