/* Satzuma Forms default front styles — enqueued; theme CSS can override */

.satzumaforms-input {
	border: 1px solid black;
	width: 100%;
	border-radius: 5px;
	font-size: 1em;
	line-height: 1em;
	padding: 10px;
}

.satzumaforms-input[type="checkbox"] {
	width: initial;
}

.satzumaforms-message-text,
.satzumaforms-error-message {
	font-size: 14px;
	font-weight: bold;
	border: 1px solid red;
	color: red;
	border-radius: 5px;
	margin: 10px 0 0;
	display: inline-block;
	position: relative;
	padding: 3px 10px 3px 60px;
}

.satzumaforms-message-text:before,
.satzumaforms-error-message:before {
	content: "Error: ";
	background: red;
	color: white;
	margin-right: 20px;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	line-height: calc(1em + 12px);
	padding: 0 5px;
}

.satzumaforms-required {
	color: red;
	padding: 0 0 0 0.33em;
}

p.satzumaforms-error {
	margin: 0;
	padding: 0;
}

p.satzumaforms-help {
	font-size: 0.75em;
	padding: 0.75em 0 0;
	margin: 0;
	font-style: italic;
}

.satzumaforms-field-header,
.satzumaforms-spam,
.satzumaforms-footer {
	padding-top: 30px;
}

.satzumaforms-fieldset {
	margin-top: 30px;
}

.satzumaforms-field-error {
	border: 10px solid transparent;
	outline: 1px solid red;
	border-radius: 10px;
	margin: 1em 0;
}

.satzumaforms-body label {
	display: block;
	padding-bottom: 0.5em;
}

.satzumaforms-input-textarea {
	min-height: 5em;
}

.satzumaforms-submit {
	background: black;
	color: white;
	font-size: 1em;
	padding: 0.33em 1.33em;
	border-radius: 10px;
	border: 2px solid black;
	transition: 0.2s;
	cursor: pointer;
}

.satzumaforms-submit:hover {
	background: transparent;
	color: black;
}
