select,
textarea,
input[type=text],
input[type=email],
input[type=number],
input[type=password] {
	border: 1px solid var(--grey);
	border-radius: 4px;
	padding: 5px 12px;
	background-color: white;
	font-size: 16px;
	line-height: 1.81;
	min-height: 42px;
	max-width: 100%;
}

textarea::placeholder, 
input[type=text]::placeholder, 
input[type=email]::placeholder, 
input[type=number]::placeholder, 
input[type=password]::placeholder {
	color: var(--light-grey);
}

textarea {
	width: 100%;
	max-width: 500px;
	font-family: var(--font-family);
}

input[type=checkbox] {
	appearance: none;
	background-color: #fff;
	background-image: url(../img/check-white.svg);
	background-repeat: no-repeat;
	background-position: center;
	margin: 0;
	font: inherit;
	width: 14px;
	height: 14px;
	border: 1px solid var(--dark-blue);
	border-radius: 2px;
	transform: translateY(2px);
	margin-right: 4px;
	cursor: pointer;
	position: relative;
}

input[type="checkbox"]:checked {
	background-color: var(--dark-blue);
}

input[type=radio] {
	appearance: none;
	background-color: #fff;
	background-image: url(../img/check-white.svg);
	background-repeat: no-repeat;
	background-position: center;
	margin: 0;
	font: inherit;
	width: 15px;
	height: 15px;
	border: 2px solid var(--dark-blue);
	transform: translateY(2px);
	margin-right: 4px;
	cursor: pointer;
	position: relative;
	border-radius: 50%;
}

input[type="radio"]:checked {
	background-color: var(--dark-blue);
}

input::-webkit-input-placeholder {
	color: var(--font-color);
}

select {
	-webkit-appearance: none;
	appearance: none;
	background-image: url(../img/caret-down.svg);
	background-repeat: no-repeat;
	background-size: 10px auto;
	background-position: right 8px center;
	padding-right: 26px;
	color: var(--font-color);
}

.floating_label {
	position: relative;
}

.floating_label label {
	position: absolute;
	left: 11px;
	top: 10px;
	color: #6D7278;
	transition: 0.2s all;
	pointer-events: none;
	font-size: 16px;
	line-height: 23px;
}

.floating_label input:focus ~ label,
.floating_label input.has-value ~ label,
.floating_label textarea:focus ~ label,
.floating_label textarea.has-value ~ label {
	transform: translateY(-17px);
	font-size: 12px;
	color: var(--light-blue);
	background-color: white;
	padding: 0 4px;
	line-height: 15px;
	white-space: nowrap;
}

.form_title {
	font-size: 20px;
	line-height: 25px;
	color: var(--dark-blue);
	font-weight: bold;
	margin-bottom: 7px;
}

.form_description {
	color: var(--dark-blue);
	font-size: 14px;
	line-height: 18px;
	margin-bottom: 20px;
}

.form_row {
	margin-left: -2px;
	margin-right: -2px;
}

.form_col {
	float: left;
	padding-left: 2px;
	padding-right: 2px;
}

.two_third {
	width: 66.66666667%;
}

.one_third {
	width: 33.33333333%;
}

.sixty {
	width: 60%;
}

.forty {
	width: 40%;
}

.half {
	width: 50%;
}

.char_count {
	color: var(--light-grey);
	font-size: 12px;
}

.form_field {
	margin-bottom: 7px;
}

.permissions_field {
	font-size: 12px;
	line-height: 16px;
}

.plane_field {
	background-image: url(../img/plane-transparent.svg);
	background-repeat: no-repeat;
	background-position: left 12px center;
	padding-left: 40px !important;
}

.floating_label .plane_field + label {
	padding-left: 30px;
}

.password_wrapper {
	position: relative;
}

.password_wrapper input.password {
	padding-right: 35px;
}

.password_toggle {
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	width: 20px;
	height: 13px;
	background-image: url(../img/eye-black.svg);
	background-repeat: no-repeat;
	background-size: 100% auto;
	background-position: center;
	cursor: pointer;
}

.password_toggle.show_password {
	background-image: url(../img/eye-slash.svg);
}

.form_instructions {
	font-size: 14px;
}

.required > label:after {
	content: '*';
	color: var(--red);
	padding-left: 3px;
}

.required_asterisk {
	color: var(--red);
}
