:root {
    --default-font: 'trebuchet ms',arial,geneva,sans-serif;
    --light: #f1f1f1;
    --dark: #bbb;
    }

#cmdFormSubmit {
	/*
	background: rgb(189,189,189);
	background: linear-gradient(180deg, rgb(209, 208, 208) 0%, rgba(255,255,255,1) 60%, rgb(167, 167, 167) 100%);
	box-shadow: 2px 2px 4px rgba(0, 0, 0, .3);
	*/
	box-shadow: none !important;
	background: #dfdfdf !important;
	font-family: var(--default-font);
	font-size: 14px;
	border-radius: .6rem;
	font-weight: bold;
	text-transform: uppercase;
	color: #000;
	display: block;
	letter-spacing: 1px;
	padding: .7rem 2rem .7rem 2rem;
	text-align: center;
	border: 1px solid rgba(0,0,0,.3);
	&:disabled {
		opacity: .3;
	}
}

body {
	font-family: var(--default-font);
	font-size: 14px;
	color: #333;
}

[trlt2] {
	display: none;
}

#tblCoApplicant {
	transition: height 1s;
}

td.radios label {
	margin: 0 1rem 0 .25rem;
}

textarea, input[type=phone], input[type=tel], input[type=text], input[type=zipcode], input[type=email], input[type=number], input[type=date], select {
	outline: none;
    padding: .2em;
}

h1 {
	font-family: var(--default-font);
	font-size: 2em;
	color: #0099CC;
	margin: 2rem 0 3rem 0;
	border-bottom: 2px solid #0066AA;
	font-weight: normal;
}
div#content {
	max-width: 1000px;
	margin: auto;
}
fieldset {
	border-radius: 5px;
	border: 1px solid rgba(0, 0, 0, .3);
	&#tblCoApplicant {
		div.formContainer {
			display: none;
		}
	}
	#useJoint {
		margin-right: 1em;
	}
	legend {
		h2 {
			font-size: 1.1em;
			font-weight: bold;
			color: #004466;
			margin: 0 .5em;
			display: inline-block;
		}
	}
	div.formContainer {
		display: grid;
		grid-template-columns: 200px 1fr;
		grid-template-rows: auto;
		margin-top: 1em;
		& > div {
			&.label {
				font-weight: bold;
				color: #333;
				white-space: nowrap;
			}
			&.element {
				text-align: left;
			}
			h3 {
				margin: 1em 0 0 -5em;
				font-size: 1.0em;
				font-weight: bold;
				color: #004466;
				border-bottom: 1px solid gray;
				width: 80%;
			}
		}
	}
	div.voi-spinner {
		position: absolute;
		left: 25%;
		transform: translateX(-50%);
		top: 25%;
		transform: translateY(-50%);
		padding: 2em;
		background: #fff;
		border-radius: 4em;
		box-shadow: 0 0 32px #FFF, 0 0 16px #FFF, 0 0 8px #FFF;
	}
	[readonly], [disabled] {
		border: 0;
		outline: 0;
		background: transparent;
		+ .formFieldHints {
			display:none;
		}
	}
}

.appaddrlt2, .appemplt2, .coappaddrlt2, .coappemplt2 {
	display: none;
}

div.formFieldHints {
	margin-top: .2rem;
	font-style: italic;
	font-size: .8rem;
	opacity: .5;
	mousepointer: default;
	&:hover {
		opacity: 1;
	}
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance:textfield;
}

div.poweredby {
	margin-top: 4em;
}

@media screen and (min-width: 600px) {
	div#divForm {
		max-width: 1000px;
		margin: auto;
	}
	fieldset {
		.formContainer {grid-gap: 1rem;}
		.label {
			text-align: right;
			font-size: .9rem;
			white-space: nowrap;
			&::after {
				content: ":";
			}
		}
		div {
			> h3 {
				margin-left: -8em;
			}
		}
	}
}

@media screen and (max-width: 599px) {
	body {
		width: 100%;
		margin: 0;<input type="checkbox" name="chkMobile" id="chkMobile">Mobile
		padding: 1em;
		font-size: 18px;
	}
	div#divForm {
		width: 100%;
		margin: auto;
	}
	fieldset {
		div.formContainer {
			display: block;
			.label {
				display: block;
				text-align: left;
				margin-bottom: .3rem;
				font-size: .9rem;
			}
			.element {
				display: block;
				margin-bottom: 1rem;
			}
		}
		div.voi-spinner {
			position: absolute;
			left: 30%;
			/* transform: translateX(-50%);*/
			top: 30%;
			/* transform: translateY(-50%); */
		}
	}
	#cmdFormSubmit {
		white-space: normal;
		word-wrap: break-word;
		width: 70%;
	}
}

#jGrowl {
	&.jGrowl {
		&.top-right {
			right: 50% !important;
			transform: translateX(50%) !important;
			color: #000 !important;
			font-size: 1rem !important
		}
	}
	.jGrowl-notification {
		background-color: #efef00 !important;
		opacity: 1;
		border: 4px solid white;
		box-shadow: 0 0 32px #fff, 0 0 24px #fff, 0 0 16px #fff;		
		padding: 1rem;
		border-radius: 1rem;
		width: 300px;
		jGrowl-message {
			color: black !important;
			font-size: 1rem !important;
		}
	}
	.jGrowl-closer {
		background-color: rgba(255, 255, 0, .8);
		opacity: .9;
		width: auto;		
	}
}

.formerror {
	background-color: rgba(255, 255, 0, .5);
}

.divMobilePhone {

	margin-top: .5rem;
	label.mobilePhone {
		margin-left: .5rem;
	}
}

.kewlButton {
	background: #dfdfdf;
	border-radius: .5rem;
}

input[required] {
	/* border: 1px solid red; */
}
