/* general text input */
input[type='text'],
input[type='email'],
input[type='tel'] {
	-webkit-text-size-adjust: none;
	-webkit-tap-highlight-color: transparent;
	padding: 2.5px 20px;
	background-color: white;
	border-radius: 9px;
	font-size: 18px;
	color: #515151;
	border: rgb(112, 112, 112) 1px solid;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
	outline: none;
}

select {
	-webkit-text-size-adjust: none;
	-webkit-tap-highlight-color: transparent;
	padding: 2.5px 20px;
	background-color: white;
	border-radius: 9px;
	font-size: 18px;
	color: #515151;
	border: rgb(112, 112, 112) 1px solid;
}

input[type='text']::placeholder,
input[type='textarea']::placeholder,
input[type='email']::placeholder,
input[type='tel']::placeholder {
	color: #808080;
	font-size: 18px;
}

div.sc-formdesign-fieldcontainer {
	margin-bottom: 50px;
}

textarea {
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	border-bottom-left-radius: 5px;
	padding: 5px;
}

textarea:hover,
textarea:focus {
	outline: 0px !important;
	-webkit-appearance: none;
	box-shadow: none !important;
}

.text-area-wrapper {
	position: relative;
	width: fit-content;
}

.text-area-wrapper::after {
	pointer-events: none;
	content: url("data:image/svg+xml;charset=UTF-8, <svg xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 12 11'><circle cx='1' cy='1' r='1' transform='translate(5 9)' fill='rgb(112, 112, 112)'/><circle cx='1' cy='1' r='1' transform='translate(0 9)' fill='rgb(112, 112, 112)'/><circle cx='1' cy='1' r='1' transform='translate(10 9)' fill='rgb(112, 112, 112)'/><circle cx='1' cy='1' r='1' transform='translate(10 5)' fill='rgb(112, 112, 112)'/><circle cx='1' cy='1' r='1' transform='translate(10)' fill='rgb(112, 112, 112)'/><circle cx='1' cy='1' r='1' transform='translate(5 5)' fill='rgb(112, 112, 112)'/></svg>");
	display: block;
	position: absolute;
	width: 12;
	height: 11px;
	bottom: 2px;
	right: 2px;
	z-index: 999;
	background: white;
}

.custom-checkbox,
.custom-radio {
	display: grid;
	grid-template-columns: min-content auto;
	grid-gap: 0.5em;
}

.custom-checkbox__input-wrapper input {
	opacity: 0;
	width: 1em;
	height: 1em;
}

.custom-radio__input-wrapper input {
	opacity: 0;
	width: 0;
	height: 0;
	margin: 0;
}

.custom-checkbox__control {
	display: inline-grid;
	box-sizing: border-box;
	width: 30px;
	height: 30px;
	border-radius: 0.2em;
	border: 2px solid #707070;
}

.custom-radio__control {
	display: grid;
	place-items: center;
	box-sizing: border-box;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 2px solid #707070;
}

input.custom-radio__input + .custom-radio__control::before {
	content: '';
	width: 85%;
	height: 85%;
	box-shadow: inset 1em 1em #fdb913;
	border-radius: 50%;
	transition: 180ms transform ease-in-out;
	transform: scale(0);
}

input.custom-radio__input:checked + .custom-radio__control::before {
	transform: scale(1);
}

.custom-radio__input-wrapper {
	display: flex;
}

.custom-checkbox__control svg {
	transition: transform 0.1s ease-in 25ms;
	transform: scale(0);
}

.custom-checkbox__input-wrapper input:checked + .custom-checkbox__control svg {
	transform: scale(1);
}

.custom-checkbox__input-wrapper {
	display: grid;
	grid-template-areas: 'custom-checkbox';
}

.custom-checkbox__input-wrapper > * {
	grid-area: custom-checkbox;
}

.custom-checkbox__label, .custom-radio__label {
  align-self: center;
}

g rect {
	fill: #fdb913;
}

g path {
	fill: none;
	stroke: #707070;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.5;
}

.input-field__container {
	margin-bottom: 50px;
}

form {
	width: 50%;
}

.row {
	display: flex;
	display: -ms-flexbox;
}

.column {
	flex: auto;
}

.custom-input__label {
	display: inline-block;
	color: #333;
	font-size: 20px;
	margin-bottom: 5px;
}
