@charset "utf-8";

/* ======================================================================================================
	form
====================================================================================================== */
#form {
	padding-top:2em;
}

.form-notes {
	width:1000px;
	max-width:100%;
	margin:0 auto;
	font-size:110%;
	line-height:1.8;
	text-align:center;
}
.form-notes.wide {
	width:1200px;
}
.top-padding {
	padding-top:2em;
}

.form-logo {
	max-width:50%;
	margin:0 auto;
	padding-bottom:2em;
}

.form-wrapper {
	padding:2em 0 6em;
}
#form-table input ,
#form-table select ,
#form-table textarea {
	font-size:inherit;
	font-family:inherit;
}

dl#form-table {
	width:100%;
	max-width:800px;
	margin:0 auto;
	font-size:120%;
	display:flex;
	flex-wrap:wrap;
}

dl#form-table dt {
	width:35%;
	padding:1.3em 0 0;
	text-align:right;
}

dl#form-table dd {
	width:calc(100% - 35%);
	padding-left:1em;
	padding-top:1em;
}

.status2 dl#form-table dt {
	padding-top:1em;
}
.status2 dl#form-table dd {
	color:#00f;
	font-weight:bold;
}


@media screen and (max-width:799px) {
	.form-notes {
		padding:0 1em;
		line-height:1.6;
	}
	.form-header h1 {
		font-size:240%;
	}
	.form-wrapper dl {
		padding:0 0.5em;
		font-size:110%;
	}

	.form-wrapper {
		padding:0 0 3em;
	}

	.form-notes.wide p {
		padding-bottom:1em;
	}

	dl#form-table {
		width:90%;
	}

	dl#form-table dt {
		width:100%;
		padding-top:0.5em;
	}
	dl#form-table dd {
		width:100%;
		padding:0.5em 1em;
		border-bottom:1px dashed #ccc;
	}
}




/* ====================================================================
	form - optional / required
==================================================================== */
.optional,
.required {
	display:flex;
	justify-content:flex-end;
	align-items:center;
}
.optional:after,
.required:after {
	content:attr(data-text);
	display:inline-block;
	margin-left:0.5em;
	padding:0 0.3em;
	background-color:#f00;
	border-radius:0.3em;
	color:#fff;
	font-size:80%;
	line-height:1.6;
}
.optional:after {
	background-color:#ccc;
	opacity:0;
}

@media screen and (max-width:799px) {
	.optional,
	.required {
		flex-direction:row-reverse;
	}

	.optional:after {
		content:" ";
	}
	.required:after {
		margin-right:0.3em;
		padding:0.1em 0.3em 0.2em;
	}
}



/* ====================================================================
	form - field
==================================================================== */
input ,textarea {
	width:100%;
	-webkit-appearance:none; 
	appearance:none;
	border-radius:0.3em;
}
input[type='radio'] ,input[type='checkbox'] {
	width:1em;
	height:1em;
	-webkit-appearance:auto; 
	appearance:auto;
}

input:not([type="submit"]) ,
select ,
textarea {
	padding:0.3em 0.5em;
	border:2px solid #999;
	border-radius:0.3em;
}

.textarea-text {
	padding:2.5em 5em !important;
}

textarea {
	resize:none;
	height:8em;
	padding:0.5em;
}

span.check {
	display:flex;
	justify-content:flex-start;
	align-items:center;
}
span.check > label {
	padding-left:0.3em;
}


.field-group.flex {
	justify-content:flex-start;
}
.field-group.flex > * {
	margin-left:0.6em;
	margin-right:1em;
}

input[type="checkbox"],
input[type="radio"] {
	position:relative;
	width:20px;
	z-index:2;
	accent-color:#f36;
	cursor:pointer;
}
input[type="checkbox"] + label ,
input[type="radio"] + label {
	position:relative;
	margin-left:-2em;
	padding:0.3em 1.5em 0.3em 2em;
	border-radius:0.3em;
	transition:all 0.1s ease;
	-webkit-transition:all 0.1s ease;
	cursor:pointer;
}
input[type="checkbox"] + label > span ,
input[type="radio"] + label > span {
	padding-left:0.3em;
}
input[type="checkbox"]:checked + label ,
input[type="radio"]:checked + label {
	color:#fff;
	background:#f69;
}


@media screen and (max-width:799px) {
	input[type="submit"] {
		width:auto;
		padding:0.5em 1em;
	}

	input:focus ,textarea:focus {
		border:solid 2px #000000;
		outline:none;
		background-color:#99e5ff;
	}

	input:focus[type="submit"] {
		opacity:0.8;
		border:none;
		outline:none;
		background-color:#000f4c;
	}
}



/* ====================================================================
	form - button
==================================================================== */
.formButton {
	padding:2em 0 2em 1em;
	text-align:center;
}
.formButton.contact {
	padding:4em 0;
}
input[type="submit"] ,.formButton a {
	width:auto;
	padding:0.8em 3em;
	background-color:#f69;
	color:#ffffff;
	font-size:130%;
	font-weight:bold;
	line-height:1;
	text-indent:0.3em;
	letter-spacing:0.3em;
	border:none;
	outline:none;
	transition:all 0.2s ease;
	-webkit-transition:all 0.2s ease;
	cursor:pointer;
}
input[type="submit"]:hover ,.formButton a:hover {
	background-color:#f36;
}

input[type="submit"].back {
	background:#aaa;
}
input[type="submit"].back:hover {
	background-color:#888;
}

.formButton a {
	font-size:100%;
	text-indent:0.1em;
	letter-spacing:0.1em;
	border-radius:0.5em;
}

@media screen and (max-width:799px) {
	.button-wrapper {
		padding:2em 7em 0;
	}
}


/* ====================================================================
	form - error
==================================================================== */
.error {
	margin:0.3em 0 0.5em;
	display:inline-block;
	padding:0.2em 2em;
	color:#f00;
	border:1px solid #f00;
	background:#000;
	border-radius:0.2em;
	font-size:90%;
	filter:brightness(1.2);
}



/* ====================================================================
	form - error
==================================================================== */
.linkList.flex {
	padding-top:2em;
}
.linkList.flex > li {
	padding:0.5em;
}

.linkList.flex > li a {
	display:block;
}
.linkList.flex > li a:hover {
	box-shadow:0 0 0.5em #666;
}



