/* FORM STYLES */

/* GLOBAL settings */

/* Text stuff */

form p
{
	font-family: 'founders-grotesk-light';
}

label
{
	font-family: 'founders-grotesk-light';
	line-height: 140%;
}

.input_label
{
	font-size: 1rem;
	margin-bottom: 0.625rem;
}

p.alert
{
	font-size: 1rem;
	color: #ff5544;
	margin-top: 0.3125rem;
	display: none;
}


/* Fields stuff */

select
{
	appearance: none;
	background-image: url('../img/ui/dropdown.svg');
	background-repeat: no-repeat;
	background-position: right 0.625rem top 50%;
	background-size: 0.625rem auto;
}

input[type=text], input[type=number], input[type=password], input[type=email], input[type=tel], textarea, select
{
	color: #000000;
	background-color: rgba(0,0,0, 0.02);
	font-family: 'founders-grotesk-light';
	font-size: 1rem;
	font-weight: inherit;
	padding: 0.625rem;
	border-radius: 0.3125rem;
	border: 1px solid rgba(0,0,0, 0.24);
	-webkit-appearance: none;
	-moz-appearance: none;
	text-align: left;
	text-align: -moz-left;
	text-align: -webkit-left;
	width: 100%;
}

textarea
{
	height: 10rem;
	resize: none;
	line-height: 140%;
}

label, input[type="submit"], input[type="button"]
{
	cursor: pointer;
}

input[type="submit"], input[type="button"], button
{
	font-size: 0.875rem;
	font-family: 'founders-grotesk-regular';
	font-weight: inherit;
	color: #000000;
	letter-spacing: 0.04rem;
	text-transform: uppercase;
	background: rgba(85,221,136,1.0);
	border-radius: 0;
	border: none;
	box-shadow: 2px 2px #000000;
	padding: 0.625rem 1.25rem;
	text-align: center;
	margin-top: 1.25rem;
}

input[type="submit"]:disabled, input[type="button"]:disabled
{
		opacity: 0.4;
}

input[type="submit"]:hover, input[type="button"]:hover, button:hover
{
	background: rgba(85,221,136,0.64);
	box-shadow: 4px 4px #000000;
}

input[type="submit"]:active,  input[type="button"]:active
{
	box-shadow: 0px 0px;
}

.inactive
{
	pointer-events: none;
	opacity: 0.24;
}



/* layout stuff */

.fields_33_34_33
{
	display: flex;
	align-items: top;
	margin-top: 2.5rem;
	margin-bottom: 1.25rem;
}

.fields_33_34_33 div:not(:first-child)
{
	padding-left: 0.625rem;
}

.fields_33_34_33 div:nth-child(odd)
{
	width: 33%;
}

.fields_33_34_33 div:nth-child(even)
{
	width: 34%;
}



/* DESKTOP settings (980px and above) */

@media only screen and (min-width: 980px)
{
}



/* Overrides for resolutions above 1680px */

@media only screen and (min-width: 1680px)
{
}


/* TABLET settings and/or overrides (over 640 and under 980px) */

@media only screen and (min-width: 640px) and (max-width: 979px)
{
}



/* SMARTPHONE settings and/or overrides (under 640px) */

@media only screen and (max-width: 639px)
{
	input[type="submit"], input[type="button"], button
	{
		margin-top: 0.625rem;
	}

	.optional
	{
		display: none;
	}

	.input_label
	{
		margin-top: 0.625rem;
		margin-bottom: 0.3125rem;
	}

	textarea
	{
		height: 5rem;
	}

	.fields_33_34_33
	{
		display: block;
		margin-top: 1.25rem;
		margin-bottom: 0;
	}

	.fields_33_34_33 div
	{
		width: 100%;
	}

	.fields_33_34_33 div:not(:first-child)
	{
		padding-left: 0;
	}

	.fields_33_34_33 div:nth-child(odd)
	{
		width: 100%;
	}
	
	.fields_33_34_33 div:nth-child(even)
	{
		width: 100%;
	}
}