/* Thanks Ryan Thrash! http://modxcms.com/ryan-thrash.html */

/* set the image to use and establish the lower-right position */ 
#success-overlay, #success-overlay .cssbox_body, #success-overlay .cssbox_head, #success-overlay .cssbox_head h2 { background: transparent url(/images/td-contact-form-success.png) no-repeat bottom right; } 
#success-overlay { 
	width: 352px !important; /* intended total box width - padding-right(next) */ 
	width: 322px; /* IE Win = width - padding */ 
	padding-right: 50px; /* the gap on the right edge of the image (not content padding) */
	display: none;
	position: absolute;
	top: 0;
	left: 0;
}

/* set the top-right image */ 
#success-overlay .cssbox_head { 
	background-position: top right;
	margin-right: -50px; /* pull the right image over on top of border */ 
	padding-right: 50px; /* right-image-gap + right-inside padding */
	height: 60px;
	position: relative;
} 

/* set the top-left image */ 
#success-overlay .cssbox_head h2 { 
	background-position: top left; 
	margin: 0; /* reset main site styles*/ 
	border: 0; /* ditto */ 
	padding: 40px 0 6px 90px; /* padding-left = image gap + interior padding ... no padding-right */ 
	height: auto !important; 
	height: 1%; /* IE Holly Hack */
	font-size: 14px;
	line-height: 14px;
	z-index: 1;
} 

/* set the lower-left corner image */ 
#success-overlay .cssbox_body { 
	background-position: bottom left; 
	padding: 0 0 15px 90px; /* mirror .cssbox_head right/left */ 
	height: 98px;
}

#success-overlay .cssbox p { 
	text-align: left; 
	font-size: 11px;
}

#success-overlay a {
	color: #EF6522;
	text-decoration: none;
	font-size: 11px;
}

#success-overlay a:hover { text-decoration: underline; }

#success-overlay .cssbox_head img { 
	position: absolute;
	top: 35px;
	left: 35px;
}

form {
	width: 402px;
	height: 173px;
	display: block;
	margin: 0 0 0 3px; 
	padding: 0;
}

fieldset {
	margin: 0;
	padding: 0;
	border: none;
	height: 143px;
}

legend span {
	display: none;
}

label {
	display: block;
	width: 100px;
	clear: left;
	text-align: right;
	margin-right: 5px;
}

.fieldset-wrapper { 
	position: relative;
	background: url(/images/td-contact-form.png) top left no-repeat;
	padding: 30px 0 0 40px;
}

#contact-form img, label, .input-spacer {
	float: left;
}

.input-spacer {
	width: 200px;
}

textarea, .text-field {
	font-size: 11px;
	width: 190px;
	font-family: Tahoma, Arial, sans-serif !important;
}

textarea {
	padding: 0 1px 0 3px;
	line-height: 13px;
	height: 42px;
	font-size: 11px;
}

#contact-form img.validation {
	visibility: hidden;
}

.submit-spacer {
	clear: left;
	width: 300px;
	padding-top: 5px;
}

.submit-spacer input {
	float: right;
}

.validation-instructions {
	color: red;
	visibility: hidden;
	font-size: 11px;
}

.validation-error {
	color: red;
	font-style: italic;
}

#success-overlay h5 {
	margin: 0;
	padding: 0;
	font-size: 14px;
}

#success-overlay p {
	margin: 0 0 1em;
	padding: 0;
}

.error {
	display: none;
	width: 352px;
	height: 93px;
	z-index: 1;
	background: url(/images/black-modal-overlay.png) top left no-repeat;
	position: absolute;
	top: 0;
	left: 0;
	color: red;
	padding: 40px 25px;
}

.error h6, .error img {
	float: left;
}

.error img {
	margin-right: 20px;
}

.error h6 {
	font-size: 12px;
	width: 170px;
	height: 50px;
	padding: 5px;
	font-weight: normal;
	margin: 20px 0;
}