form {  /* set width in form, not fieldset (still takes up more room w/ fieldset width */
  font:100% verdana,arial,sans-serif;
  margin: 0;
  padding: 0;
  min-width: 150px;
  max-width: 600px;
  width: 425px; 
}

form fieldset {
  /* clear: both; note that this clear causes inputs to break to left in ie5.x mac, commented out */
  border:0px;
  padding: 10px;  	/* padding in fieldset support spotty in IE */
  margin-bottom: 0px;
}

form fieldset legend {
	font-size:1.1em; /* bump up legend font size, not too large or it'll overwrite border on left */
                       /* be careful with padding, it'll shift the nice offset on top of border  */
}

form label { 
	display: inline;  /* block float the labels to left column, set a width */
	float: left; 
	padding: 0; 
	margin: 5px 5px 0px 0px; /* set top margin same as form input - textarea etc. elements */
	text-align: left; 
	
}

form fieldset label:first-letter { /* use first-letter pseudo-class to underline accesskey, note that */
	/*text-decoration:underline;*/    /* Firefox 1.07 WIN and Explorer 5.2 Mac don't support first-letter */
                                    /* pseudo-class on legend elements, but do support it on label elements */
                                    /* we instead underline first letter on each label element and accesskey */
                                    /* each input. doing only legends would  lessens cognitive load */
                                   /* opera breaks after first letter underlined legends but not labels */
}

form input, form textarea {
	/* display: inline; inline display must not be set or will hide submit buttons in IE 5x mac */
	     /* set width of form elements to auto-size, otherwise watch for wrap on resize */
	margin:5px 0 0 10px; /* set margin on left of form elements rather than right of
                             label aligns textarea better in IE */
	border:1px solid #cc99cc;
	}

form input#reset {
	margin-left:0px; /* set margin-left back to zero on reset button (set above) */
}

textarea { overflow: auto; }

form small {
	display: block;
	margin: 0 0 5px 160px; /* instructions/comments left margin set to align w/ right column inputs */
	padding: 1px 3px;
	font-size: 88%;
}

form .required{font-weight:bold;} /* uses class instead of div, more efficient */

form br {
	clear:left; /* setting clear on inputs didn't work consistently, so brs added for degrade */
}

/* Form */


.fbform span{
	font-family: verdana, helvetica, arial, sans-serif;
	font-weight:bold;
	margin-left:0px;
	float:left;
	display:inline;
}

.fbform label.check { 
	text-align: left;
	display:inline;
	color:#CC3366;
	font-size:10px;
	display:inline;
	float:left;

}

.fbform div.checkboxes{
	display:inline;
	float:left;
	margin:0;
	padding:0;
	clear:left;
}

#checkboxes_saakayttaa{

}
#checkboxes_postia{

}

#textbox_container_nimi{
	margin-top:25px;
	display:inline;
}

div.textbox_container{
display:inline;
	margin-top:5px;
	clear:left;
	float:left;
	width:425px;
}
.fbtextfield {
	background: #fff;
	width:280px;

	font-size:12px;
	float:right;
	margin-left:6px;
	margin-top:0px;
	padding-right:0px;
	padding-left:1px;
	display:inline;
}

.fbselect {
	background: #fff;
	width:280px;

	font-size:12px;
	float:right;
	margin-left:6px;
	margin-top:6px;
	padding-right:0px;
	padding-left:1px;
	display:inline;
}

.fbdatefield {
	float:right;
	display:inline;
	height:17px;
	font-size:12px;
	float:right;
	margin-left:6px;
	margin-top:0px;
	padding-right:0px;
	padding-left:1px;
	display:inline;
}
.fbfilefield{

	height:22px;
	float:right;
	width:280px;
	display:inline;
}
.fbtextarea {
	/* textarea tends to override font settings, so we will re-specify them here */
	font-family:Verdana,Arial,sans-serif;
	font-size: 1em;
	margin-left:0px;
	width:424px;
	margin-top:7px;
}
.fbradio {
	/* style radio buttons here, if need be */
	}
.fbheckbox {
display:inline;
padding:0px;
margin:4px 8px 0px 0px;
float:left;
border:0;
}

.fbform fieldset.fbsubmit {
clear:both;
}

div.submitcontainer{
	float:right;
	display:inline;
	margin-top:10px;
	width:420px;
}

.fbsubmitbtn {
	float:right;
	display:inline;
	margin-left:0px;
	background-color:#fff;
	color:#660000
}


div.fbintro{
margin-bottom:15px;
padding-top:0px;
float:left;
clear:left;
width:100%;
display:inline;
}
.fbfielderror {
	color: #e00000;
}
.fbrequired {
	color: #e00000;
}
/* Error Message */
.fbformerrormessage {
	float:left;
	margin: 0;
	display:inline;
	}
	.fbformerrormessage h2 {
		background: transparent;
		color: #e00000;
		font-size: 1.3em;
		padding: 0px 15px;
		margin: 0;
		}
	.fbformerrormessage ul {
		padding-bottom: 15px;
		margin-top: 5px;
		float:left;
		display:inline;
		}
	.fbformerrormessage li {
		margin-bottom: 5px;
		margin-top: 5px;
		clear:left;
		float:left;
		display:inline;
		}		
/* Thanks Message */
.fbthanks {
	background: transparent;
	margin: 0;
	}
	.fbthanks h2 {
		background: transparent;
		color:#CC3366;
		font-size: 14px;
		margin: 0;
		padding: 0px 0px;
		}
	.fbthanks p {
		padding: 0 0px;
		}
		.fbthanks p a {
			/* style the thanks link here, if need be */
			}
	

