.form-field {
	height: 40px;
	position: relative;
	background: white;
	margin-bottom: 10px;
	box-sizing: border-box;
}

.form-field > input {
	height: 100%;
	padding: 0;
	margin: 0;
	border: none;
	width: 100%;
	outline: none;
	box-sizing: border-box;
	padding: 0 10px;
	border-radius: 4px;
	border: 1px solid rgba(0, 0, 0, 0.23);
}

.form-field:hover > input {
	border-color: 1px solid #555555;
}

#cc-number.form-field > input {
	padding: 0 40px 0 10px;
}

.form-field > input:focus {
	outline: none;
}

.form-error > input {
	border: 1px solid rgb(239, 83, 80);
}

.form-field-group {
	display: flex;
	flex-flow: wrap;
}

.form-field-group div {
	flex: 0 0 50%;
	box-sizing: border-box;
}

.form-field-group div:first-child {
	border-radius: 4px 0 0 4px;
}

.form-field-group div:last-child {
	border-radius: 0 4px 4px 0;
}

.form-button {
	border: 1px solid #1f8ab0;
	background-color: #3b495c;
	border-color: #3b495c;
	color: #ced5e0;
	font-family: inherit;
	border-radius: 4px;
	font-size: 16px;
	height: 35px;
	width: 100%;
}

.form-field-error {
	display: none;
	font-family: sans-serif;
	color: rgb(239, 83, 80);
	font-size: 12px;
	position: absolute;
	background: white;
	padding: 5px 10px;
	z-index: 999;
	border-radius: 8px;
	font-weight: bold;
	border: 1px solid rgb(60, 60, 60);
	pointer-events: none;
	bottom: -40px;
}

.form-field-error:before {
	content: '';
	display: block;
	width: 0px;
	height: 0px;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-bottom: 8px solid white;
	position: absolute;
	top: -5px;
	z-index: 999999;
	left: calc(50% - 10px);
}

.form-field-error:after {
	content: '';
	display: block;
	width: 0px;
	height: 0px;
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	border-bottom: 7px solid rgb(60, 60, 60);
	position: absolute;
	top: -7px;
	left: calc(50% - 9px);
}

.form-error .form-field-error:not(:empty) {
	display: block;
}

.form-field-addornment {
	position: absolute;
	right: 0;
	top: 0;
	width: 40px;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	pointer-events: none;
}
