.coblocks-form {

	label {
		display: block;
		float: none;
		margin-bottom: 3px;
	}

	.coblocks-form__submit + label {
		margin: 1.25rem 0 3px 0;
	}

	.required-error.hidden {
		display: none;
	}

	.coblocks-field,
	select {
		margin: 0 0 1.25rem 0;
		width: 100%;

		&.verify {
			height: 0;
			left: 0;
			opacity: 0;
			position: absolute;
			top: 0;
			width: 0;
			z-index: -1;
		}
	}

	.coblocks-field {

		input[type="radio"] {
			display: inline-block;
			float: left;
			margin: 5px 5px 0 0;
		}

		.coblocks-checkbox-label {
			display: inline-flex;
			width: 95%;
		}
	}

	textarea {
		float: none;
		height: 200px;
		margin: 0 0 1.15rem 0;
		resize: vertical;
		width: 100%;
	}

	span.required {
		color: $alert-red;
		margin-left: 5px;
	}

	.coblocks-radio-label + .coblocks-field.verify + .coblocks-form__submit {
		margin-top: 1.25rem;
	}

	.coblocks-form__submit .wp-block-button__link {

		&.is-style-outline {
			background-color: transparent;
			border: 2px solid !important;
		}

		&.is-style-circular {
			border-radius: 100px !important;
		}

		&.is-style-3d {
			box-shadow: inset 0 -3px 0 0 rgba(0, 0, 0, 0.25);
		}

		&.is-style-shadow {
			box-shadow: 0 4px 6px rgba(0, 0, 0, 0.11), 0 1px 3px rgba(0, 0, 0, 0.075);
		}
	}

	.coblocks-form__inline-fields {
		align-items: center;
		display: flex;
		flex-flow: row wrap;
		margin-bottom: 1.15rem;

		.coblocks-form__inline-field {
			margin-bottom: 0.15rem;
			width: 50%;

			input[type="text"] {
				margin-bottom: 3px;
				width: 100%;
			}

			&:first-child {
				padding-right: 10px;
			}

			&:last-child {
				padding-left: 10px;
			}
		}

		@media only screen and (max-width: 535px) {
			display: block;

			.coblocks-form__inline-field {
				width: 100%;

				&:first-child,
				&:last-child {
					margin: 0 0 1.15rem 0;
					padding: 0;
				}
			}
		}
	}

	&__subtext {
		display: block;
		line-height: 1;
		margin-bottom: -0.3rem;
		margin-top: 0.3rem;
		opacity: 0.66;
	}

	.coblocks-form-submission {
		margin-bottom: 4em;
		padding: 1.5em 1em;

		p {
			margin: 0 auto;
			word-wrap: break-word;
		}
	}

	.form-errors .form-error-message {
		color: $alert-red;
	}

	.coblocks--inline {
		display: flex;
		flex-flow: row wrap;
		margin-bottom: 1.25rem;

		label {
			margin-right: 10px;
		}

		input[type="radio"] {
			margin-top: 5px;
		}

		.coblocks-checkbox-label {
			width: auto;
		}

		input[type="checkbox"] {
			margin-top: 2px;
		}
	}
}

// Import style tweaks for core WordPress themes
@import "theme";
