input {
	margin: 0.1em;
}

input.invalid, textarea.invalid {
	background-color: #ffff00;
	border: 0.1em;
	border-color: #cc0000 !important;
	border-style: solid;
	margin: 0.1em !important;
}

input.invalid:focus, textarea.invalid:focus {
	background-color: #ffff00;
	border: 0.2em;
	border-color: #cc0000 !important;
	border-style: solid;
	margin: 0 !important;
}

input:focus, textarea:focus {
	background-image: none;
	border: 0.2em;
	border-color: #7E9FDA;
	border-style: solid;
	margin: 0;
}

input[type="checkbox"]:focus, input[type="radio"]:focus {
	border: 0;
	margin: 0.1em;
}

legend {
	background-color: #FFFFFF;
	border: 1px solid #7E9FDA;
	color: #3362B4;
	font-weight: bold;
	padding: 2px 10px;
}

.boxes {
	border: none;
}

.required {
	background-image: url(images/required.gif);
	background-position: right;
	background-repeat: no-repeat;
}

/* Form message boxes */

div.tmtFormMessage,
div.tmtFormErrorMessage {
	border: 0px;
	border-style: solid;
	margin: 0;
}

div.tmtFormMessage {
	background-color: #A4BFF0;
	border-color: #12387A;
}

div.tmtFormErrorMessage { background: url(/root_images/buttons/butt_alert.jpg) 0 0 no-repeat; padding: 0 0 0px 60px; color: #cc0000; min-height: 70px; margin: 0 0 10px 0}

div.tmtFormMessage ul,
div.tmtFormErrorMessage ul {
	list-style-type: square;
	margin-top: 0px;
	margin-bottom: 0;
	margin-left: 9px; padding-left: 9px
}
