/*------------------FORMS------------------*/
form, fieldset {
	border-width: 0;
	margin: 0;
	padding: 0;
}
.form {
	margin: 0 auto 3em auto;
}
input, select, option, textarea, label, .radioCheck {
	resize: vertical;
	border-width: 0;
	line-height: 1.6em;
	margin: 0;
	color: #666666;
	font-size: 1rem;
}

.form button {
	height: 50px;
}
input, select, textarea {
	font-family: 'brother-1816', sans-serif;
	font-weight: 300;
	padding: .6em 1.2em;
	color: #999999;
	border: 1px solid #dddddd;
	display: inline-block;
	width: 100%;
	max-width: 100%;
	height: 50px;
	background-color: #FFFFFF;
	-webkit-transition: all .3s cubic-bezier(0.215, 0.61, 0.355, 1);
	-moz-transition: all .3s cubic-bezier(0.215, 0.61, 0.355, 1);
	-ms-transition: all .3s cubic-bezier(0.215, 0.61, 0.355, 1);
	-o-transition: all .3s cubic-bezier(0.215, 0.61, 0.355, 1);
	transition: all .3s cubic-bezier(0.215, 0.61, 0.355, 1);
	-webkit-appearance:none;
	-moz-appearance:none;
	-o-appearance:none;
	appearance:none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}
input[type="submit"], textarea {
	font-family: 'brother-1816', sans-serif;
	height: auto;
}
select::-ms-expand {
	display: none;
}
.icon-wrapper {
	position: relative;
}
.icon-wrapper i {
	position: absolute;
	color: #aaaaaa;
	font-size: 1.5rem;
	line-height: 50px;
	height: 50px;
	top: 0;
	right: .5em;
	pointer-events: none;
}
option {
	background-color: #FFFFFF;
	color: #888888;
}
input[type="radio"]:checked,
input[type="radio"]:not(:checked) {
	font-family: 'brother-1816', sans-serif;
	position: absolute;
	left: -99999999px;
}
input[type="radio"]:checked + label,
input[type="radio"]:not(:checked) + label
{
	font-family: 'brother-1816', sans-serif;
	position: relative;
	padding-left: 2em;
	cursor: pointer;
	display: inline-block;
	font-weight: 300;
	line-height: 1.6em;
}
input[type="radio"]:checked + label:before,
input[type="radio"]:not(:checked) + label:before {
	font-family: 'brother-1816', sans-serif;
	content: '';
	position: absolute;
	left: 0;
	top: 4px;
	width: 18px;
	height: 18px;
	border: 1px solid #888888;
	border-radius: 100%;
	background: #fff;
}
input[type="radio"]:checked + label:after,
input[type="radio"]:not(:checked) + label:after {
	font-family: 'brother-1816', sans-serif;
	content: '';
	width: 12px;
	height: 12px;
	background: #666666;
	position: absolute;
	top: 8px;
	left: 4px;
	border-radius: 100%;
	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
}
input[type="radio"]:not(:checked) + label:after {
	opacity: 0;
	-webkit-transform: scale(0);
	transform: scale(0);
}
input[type="radio"]:checked + label:after {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}


input[type="checkbox"]:checked,
input[type="checkbox"]:not(:checked) {
	font-family: 'brother-1816', sans-serif;
	position: absolute;
	left: -99999999px;
}
input[type="checkbox"]:checked + label,
input[type="checkbox"]:not(:checked) + label
{
	font-family: 'brother-1816', sans-serif;
	position: relative;
	padding-left: 2em;
	cursor: pointer;
	display: inline-block;
	font-weight: 300;
	line-height: 1.6em;
}
input[type="checkbox"]:checked + label:before,
input[type="checkbox"]:not(:checked) + label:before {
	font-family: 'brother-1816', sans-serif;
	content: '';
	position: absolute;
	left: 0;
	top: 4px;
	width: 18px;
	height: 18px;
	border: 1px solid #888888;
	border-radius: 15%;
	background: #fff;
}

input[type="checkbox"][disabled] + label {
	font-family: 'brother-1816', sans-serif;
	color: #ccc;
	cursor: default;
}
input[type="checkbox"][disabled] + label:before {
	font-family: 'brother-1816', sans-serif;
	border-color: #ccc;
}

input[type="checkbox"]:checked + label:after,
input[type="checkbox"]:not(:checked) + label:after {
	font-family: 'brother-1816', sans-serif;
	content: '';
	width: 12px;
	height: 12px;
	background: #666666;
	position: absolute;
	top: 7px;
	left: 3px;
	border-radius: 12%;
	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
}
input[type="checkbox"]:not(:checked) + label:after {
	font-family: 'brother-1816', sans-serif;
	opacity: 0;
	-webkit-transform: scale(0);
	transform: scale(0);
}
input[type="checkbox"]:checked + label:after {
	font-family: 'brother-1816', sans-serif;
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}


input:focus, textarea:focus, select:focus {
	font-family: 'brother-1816', sans-serif;
	background-color: #fbfbfb;
	color: #333333;
	border: 1px solid #aaaaaa;
	outline: none;
}
legend {
	font-family: 'brother-1816', sans-serif;
	font-weight: 500;
	font-weight: normal!important;
	font-size: 1em;
	display: block;
	color: #666;
	padding: 0 0 .2em 0;
}
.legend-inline {
	margin-bottom: 1em;
}

p.form-field-note {
	font-family: 'brother-1816', sans-serif;
	font-weight: 300;
	font-size: 1em;
	margin: 0 0 1em 0;
	max-width: 100%;
}
.formHelper {
	font-family: 'brother-1816', sans-serif;
	position: absolute;
	top: -9999999px;
	left: -9999999px;
	z-index: 0;	
}
.alert {
	font-family: 'brother-1816', sans-serif;
	font-weight: 300;
	padding: .8em;
	line-height: 1.4em;
	font-size: 1.16rem;
	text-align: center;
	color: #333333;
	background: #f9f8cc;
	margin: 0 0 1em 0;
	-moz-border-radius: .3em;
	-webkit-border-radius: .3em;
	border-radius: .3em;
}
.alert-success {
	color: #59862d;
	background: #e7f3da;
}
.alert-error {
	color: #ff0000;
	background: #ffeaea;
}
.error-msg {
	color: red;
	font-style: italic;
	font-size: .86em;
	line-height: 1.3em;
}
.req-error {
	color: red;
}
ul.questions {
	font-family: 'brother-1816', sans-serif;
	font-weight: 300;
	list-style-type: none;
	margin: 0;
	padding: 0;
	max-width: 100%;
	color: #888888;
	font-size: 1em;
	letter-spacing: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}
ul.questions li {
	font-family: 'brother-1816', sans-serif;
	font-weight: 300;
	margin: 0;
	padding: 0;
	flex: 100%;
}
ul.questions label {
	font-family: 'brother-1816', sans-serif;
	display: block;
	padding: 0;
	font-weight: 300;
	margin: 0 0 .26em 0;
}

ul.questions p {
	padding: 0;
	margin: 0 0 .4em 0;
}
ul.questions .commentBox {
	height: auto;
	width: 100%;
	font-weight: 300;
	margin: 0;
}
ul.questions .button {
	font-size: 1.4rem;
	font-weight: 700;
	width: 100%;
}
ul.questions .button:focus {

}

.invalid-field {
	border-color: red;
}

.invalid-field::placeholder {
	color: red;
}
select.invalid-field:invalid {
	color: red;
}


.checbox-item {
	display: inline-block;
	margin: 0 1.5em .5em 0;
}
.checbox-item:last-of-type {
	margin: 0;
}


/* columns*/
.row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	width: 100%;
}
.form-column {
	display: flex;
	flex-direction: column;
	flex-basis: 100%;
	flex: 100%;
	margin: 0 0 1.5em 0;
}
.form-column-2 {

}
.form-column:last-child {
	margin: 0;
}
.donation-amount {
	display: none;
	margin-top: .5em;
}
.input-icon {
	position: relative;
}
.icon-form {
	padding: 0;
	color: #aaaaaa;
	text-align: center;
	position: absolute;
	width: 50px;
	height: 50px;
	line-height: 50px;
	left: 0;
	top: 0;
	pointer-events: none;
}
.input-icon input {
	max-width: auto;
	padding-left: 40px;
	outline: none;
}
.input-icon input:focus + .icon-form {
	color: #666;
	background: none;
}
.form-more-gap {
	margin-bottom: 1em!important;
}

.form-check-boxes {
	display: flex;
	flex-wrap: wrap;
	gap: 0 1rem;
	justify-content: flex-start;
	align-content: flex-start;
	align-items: flex-start;
}
.form-check-boxes > * {
	flex: 250px;
}

@media (min-width: 610px) {
	legend {
		font-size: 1.2em;
	}
	/* Form Layout*/
	ul.questions li.field-2 {
		flex: 1 1 calc(50% - 2rem);
	}
	ul.questions li.field-3 {
		flex: 1 1 calc(50% - 2rem);
	}
	ul.questions li.field-4 {
		flex: 1 1 calc(50% - 1rem);
	}
	ul.questions li.field-break {
		flex-basis: 100%;
		height: 0;
		margin: 0;
	}
	ul.questions li.field-full {
		flex: 0 0 100%;
		max-width: 100%;
	}
	ul.questions .btn:hover {
		background-color: #416269;
	}

	/* columns*/
	.form-column-2 {
		flex: 50%;
		max-width: 50%;
	}
	.form-column-3 {
		max-width: 33%;
	}

	.form-check-boxes {
		display: flex;
		flex-wrap: wrap;
		gap: 0 2rem;

	}
	.form-check-boxes > * {
		flex: 300px;
	}
}



@media (min-width: 990px) {
	input, select, option, textarea, label, .radioCheck, .form button {
		font-size: 1.2rem;
	}
	input, select, textarea, .form button {
		height: 60px;
	}
	.icon-wrapper i {
		line-height: 60px;
		height: 60px;
	}
	.icon-form {
		width: 60px;
		height: 60px;
		line-height: 60px;
	}

	input[type="checkbox"]:checked + label:after,
	input[type="checkbox"]:not(:checked) + label:after {
		font-family: 'brother-1816', sans-serif;
		content: '';
		width: 16px;
		height: 16px;
		background: #666666;
		position: absolute;
		top: 9px;
		left: 3px;
		border-radius: 12%;
		-webkit-transition: all 0.2s ease;
		transition: all 0.2s ease;
	}

	input[type="checkbox"]:checked + label:before,
	input[type="checkbox"]:not(:checked) + label:before {
		top: 6px;
		width: 22px;
		height: 22px;
	}

	ul.questions li.field-3 {
		flex: 1 1 calc(33% - 1rem);
	}

}



@media (min-width: 1280px) {

	ul.questions li.field-4 {
		flex: 1 1 calc(25% - 1rem);
	}

}

