/* 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 { 
	padding-right: 50px; /* the gap on the right edge of the image (not content padding) */
	display: none;
	position: absolute;
	top: -8px;
	left: 0;
}

/*#success-overlay { 
	width: 392px !important; /* intended total box width - padding-right(next) */ 
	/*width: 342px; /* 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: 505px;
	display: block;
	margin-left: 121px;
	padding: 0;
	padding-top: 5px;
	margin-bottom: 9px;
	/*border-color:#FFC2B3;
	border-style:solid;
	border-width:1px;*/
}
#invention-form {
	height: 208px;
}
	

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

legend span {
	display: none;
}

label {
	display: block;
	width: 110px;
	clear: left;
	text-align: right;
	margin-right: 5px;
}
.q-field {

	display: block;
	width:440px;
	clear: left;
	text-align: left;
	margin-right: 5px;
	margin-bottom:8px;
	margin-top:8px;
	margin-left: 36px;
}

.fieldset-wrapper { 
	position: relative;
	padding-left: 17px;
	background-color: #BED2FE;
}

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

.input-spacer {
	width: 330px;
}
.input-spacer-textarea {
	width: 300px;
	margin-left: 0px;
	margin-bottom: 0px;
	
}

textarea {
	font-size: 11px;
	width: 320px;
	font-family: Tahoma, Arial, sans-serif !important;
	resize: none;
	
}

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

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

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

.submit-spacer {
	clear: left;
	width: 442px;
	padding-top: 0px;
	font-size: 0px;
	border: none;
}

.submit-spacer input {
	margin-left: 162px;
}

.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: 452px;
	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;
}

#customButton{
	color: transparent;
	width: 140px;
	background-image: url(../images/submitButton.png);
	background-position: 140px 0px;
	display: block;
	height: 37px;
	border: none;
	}
#customButton:hover{
	background-image: url(../images/submitButton.png);
	background-position: 0px 0px;
}


#submitTitle{
	text-align: center;
	color: rgb(231, 120, 38);
	padding-top: 40px;
	font-size: 40px;
}
#inventionImages{
	display: inline-block;
	margin-left: 18px;
	margin-top: 35px;
	height:110px;
}
#explanation{
	color: rgb(20,20,20);
	font-size: 15px;
	text-align: justify;
	margin-left: 55px;
	margin-right: 55px;
	margin-top: 25px;
	line-height: 150%;
	}
.blue{
	color: rgb(231, 120, 38);
	}
#instructions{
	margin-left: 55px;
	margin-right: 55px;
	font-size: 15px;
	color: rgb(20, 20, 20);
	text-align: justify;
	line-height: 150%;
	}
.bigNumber{
	font-size: 22px;
	}
#footerLogos{
	text-align: center;
	}
#notComments{
	height: 90px;
	}
#commentsText{
	float: left;
	margin-right: 3px;
	}
#commentsArea{
	float: right;
	}
#commentsField{
	margin-left: 38px;
	}
.validation-instructions {
	color: red;
	visibility: hidden;
	font-size: 11px;
	margin-left: 128px;
}
#inventionImages img{
	margin-left: 25px;
	margin-right: 25px;
	}
.tinyText{
	font-size: 9px;
	}

