
input, textarea {
	margin: 1px;

}

input.invalid, textarea.invalid {
	background-color:  #ffff66;
	border: 2px;
	border-color: #BB0000 !important;
	border-style: solid;
	margin: 3px !important;
}

input.invalid:focus, textarea.invalid:focus {
	background-color: #ffff66;
	border: 2px;
	border-color: #BB0000 !important;
	border-style: solid;
	margin: 3px !important;
}

input:focus, textarea:focus {
	background-image: none;
	border: 2px;
	border-color: #0079FF;
	border-style: solid;
	margin: 0;
}

input[type="checkbox"]:focus, input[type="radio"]:focus {
	border: 0;
	margin: 1px;
}

input[type="submit"] {
	border-style: none;
	border-width: 2px;
	margin: 0px;
}

input[type="submit"]:active {
	border-style: inset;
	border-width: 2px;
	margin: 0px;
}

input[type="submit"]:focus {
	border-style: outset;
	border-width: 2px;
	margin: 0px;
}

legend {
	/*background-color: #FFFFFF;
	border: 1px;
	border-color: #7E9FDA;
	border-style: solid;
	color: #3362B4;
	font-weight: bold;*/
	padding: 5px;
}

.boxes {
	border: none;
}

.required {
	background-image: url(../images/required.gif);
	background-position: right;
	background-repeat: no-repeat;
}

.invalid {
	background-image: url(../images/field-alert.gif);
	background-position: right;
	background-repeat: no-repeat;
}

radio.invalid {
	background-image:none;
}

textarea.required {
	background-position:right 0.5em;
}
