/* Start of CMSMS style sheet 'IM - Forms' */
FormBuilder CSS base */
form {margin-top:0}
form, td, th, li { font-size: 100%}
form div {margin-bottom:0}

fieldset div {
	margin-bottom: 0.8em;
}
fieldset div div {
	margin-top: 0.5em;
}
fieldset {
	margin-bottom: 1em;
	border: none;
	padding: 0 0 0 0;
}

fieldset label {
	width:auto;
}
legend {
	display: none;
}

textarea {
	margin: 0.5em 0;
	width:98%;
	height: 8em;
}

/* Apply this class to text/select input fields with shorter labels
	to help alignment */
.short-label label {float:left; width:10em}
.short-label fieldset div input,
.short-label fieldset div select {width:16em}

/* Pretty up your Captcha image output */
.captcha {
	margin:0.5em 0;
	width:200px;
	text-align:center
}
.captcha img {border:1px solid #F60; margin-bottom:0.5em}
.captcha input {width:196px; margin-top:0.5em}

/* Just a bit more room for the Submit button */
.contactform .submit .fbsubmit {
font-size: 1.1em;
font-weight: bold;
color: #fff;
width: 120px;
background: url(uploads/infectious/bttn_submit.gif) no-repeat left top;
border: none;
margin: 0;
padding: 9px 0 10px 0;
}

.contactform input, .contactform textarea {
font-weight: normal;
width: 344px;
padding: 6px 3px;
border: 1px solid #d0cbb2;
background: #ebe9de;
}

.contactform input.checkbox {border: none;}
.contactform label {
	font-weight: bold;
	float: left;
	width: 344px;
	padding: 0 0 6px 0;
}
.contactform label.label {
	display: inline;
	float: none;
	width: 50px;
	font-size: 10px;
}

.contactform textarea {
	height: 120px;
}

.contactform .required {
font-weight: bold;
}

.contactform .error {
display: none;
}

/* ERRORS */
#main .error_message {
padding: 10px;
background: #e5e6e6;
width: 470px;
}

#sidebar .error_message {
padding: 6px;
background: #e5e6e6;
width: auto;
}

#main .error_message p, #sidebar .error_message p {
font-weight: bold;
margin-bottom: 0.6em;
}

#main .error_message ul, #sidebar .error_message ul {
margin: 0;
padding: 0;
}

#main .error_message ul li, #sidebar .error_message ul li {
margin: 0;
padding: 0;
list-style: none;
background: none;
}

.formbuilderform .message {
	line-height: 16px;
	padding: 0 0 8px 0;
}

/* Sidebar form + Fancybox -- for sidebar and fancybox modal window */

fieldset#smallform, div#fancy_div fieldset#appform {
padding: 0;
margin: 0;
}

fieldset#smallform div div, div#fancy_div fieldset#appform div div {
margin: 0;
}

div#sidebar .contactform {
padding-bottom: 1.4em;
}

.contactform .smallform label {
font-size: 0.9em;
padding-bottom: 3px;
width: 192px;
}

div#fancy_div .contactform .smallform label {
width: 300px;
}

.contactform .smallform input {
width: 192px;
}

div#fancy_div .contactform .smallform input {
padding: 3px;
width: 320px;
}

.contactform .smallform textarea {
width: 192px;
height: 68px;
margin-bottom: 0;
}

.contactform .smallSubmit .fbsubmit {
font-size: 1.1em;
font-weight: bold;
color: #fff;
width: 74px;
background: url(uploads/infectious/bttn_submit_sml.gif) no-repeat left top;
border: none;
margin: 0;
padding: 4px 0 6px 0;
}

div#fancy_div .contactform .smallSubmit .fbsubmit, div#main .contactform .smallSubmit .fbsubmit {
width: 107px;
height: 31px;
font-weight: bold;
font-family: Arial;
background: url(uploads/infectious/bttn_green.gif) no-repeat left top;
border: none;
margin: 0;
padding: 0;
}

div#main .contactform .smallSubmit .fbsubmit {
margin-left: 120px;
}

div#fancy_div .error_message, div#fancy_div .error {
display: none;
}

/* ERROR MESSAGE STYLING - MAIN */
div#main .error { 
display: none;
}

div#main .contactform .smallform label {
font-size: 1em;
width: 120px;
}

div#main .contactform .smallform input {
width: 360px;
}
/* End of 'IM - Forms' */

