/* Button */
/* ******************************************** */

input[type="submit"] {
	border: 0;
	border-radius: 0;
	cursor: pointer;
	display: inline-block;
	font-family: Helvetica, sans-serif;
	font-size: 0.8rem;
	font-weight: 900;
	letter-spacing: 0.075em;
	height: 3rem;
	line-height: 3rem;
	padding: 0 2rem;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}

input[type="submit"] {
	background-color: transparent;
	-webkit-box-shadow: inset 0 0 0 2px var(--primary-color);
			box-shadow: inset 0 0 0 2px var(--primary-color);
	color: var(--primary-color) !important;
}

input[type="submit"]:hover {
	-webkit-box-shadow: inset 0 0 0 2px var(--primary-color);
			box-shadow: inset 0 0 0 2px var(--primary-color);
	color: var(--primary-color) !important;
}

input[type="submit"]:focus {
	-webkit-box-shadow: inset 0 0 0 4px var(--primary-color);
			box-shadow: inset 0 0 0 4px var(--primary-color);
	color: var(--primary-color) !important;
	z-index: 10;
}

/* Form */
/* ******************************************** */

form {
	margin: 0 0 2rem 0;
}

	form > :last-child {
		margin-bottom: 0;
	}

	form > .fields {
		display: -moz-flex;
		display: -ms-flex;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		width: calc(100% + 3rem);
		margin: -1.5rem 0 2rem -1.5rem;
	}

		form > .fields > .field {
			-moz-flex-grow: 0;
			-ms-flex-grow: 0;
			-webkit-box-flex: 0;
				-ms-flex-positive: 0;
					flex-grow: 0;
			-ms-flex-shrink: 0;
			-ms-flex-negative: 0;
				flex-shrink: 0;
			padding: 1.5rem 0 0 1.5rem;
			width: calc(100% - 1.5rem);
		}

			form > .fields > .field.half {
				width: calc(50% - 0.75rem);
			}

			form > .fields > .field.third {
				width: calc(100%/3 - 0.5rem);
			}

			form > .fields > .field.quarter {
				width: calc(25% - 0.375rem);
			}


input[type="text"],
input[type="email"],
select,
textarea {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
	background: transparent;
	border-radius: 0;
	border: solid 2px;
	color: inherit;
	display: block;
	outline: 0;
	padding: 0 1rem;
	text-decoration: none;
	width: 100%;
}

input[type="text"],
input[type="email"],
select {
	height: 3rem;
}

textarea {
	padding: 0.75rem 1rem;
}


input[type="text"],
input[type="email"],
select,
textarea {
	border-color: var(--text-color);
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
	border-color: var(--primary-color);
}

.fieldno {
	display: none;
	visibility: hidden;
}