/* Styles */
form {
	margin: 0;
	padding: 0;
}

fieldset
{
	margin-left:25px;
	padding:0px;
	margin-bottom:15px;
	background:#e1e0e0 url(/images/form.gif) repeat-x;
	border:1px solid #FFBDBA;
	height:auto;
	width:600px;
}

fieldset:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    }
<!--[if IE7]>

fieldset
{
    {
    zoom: 1;     /* triggers hasLayout */
    display: block;     /* resets display for IE/Win */
    }  /* Only IE can see inside the conditional comment
    and read this CSS rule. Don't ever use a normal HTML
    comment inside the CC or it will close prematurely. */
}

<![endif]-->
{
	/*only for function*/
}



legend {
	margin: 1em 0;
	padding: 0 .5em;
	color: #616161;
	background: transparent;
	font-size: 1.3em;
	font-weight: normal;
}

label {
	float:left;
	width:150px;
	margin-right:20px;
	padding:5px 0 0 0px;
	border:0px solid red;
	text-align: right;
}

fieldset div {
	margin-bottom: .5em;
	padding: 0;
	display: block;
	border:0px solid red;

}

fieldset div input{
	
	margin:0px;
	padding:6px 0 0 2px;
	float:left;
	width:167px;
	height:17px;
	font:normal 12px Arial;
	color:#999999;
	border:1px solid #ACACAC;
	background:url(/images/input_bg.gif) repeat-x;
}

fieldset div select {
	padding: 1px;
}

div.fm-multi div {
	margin: 5px 0;
}

div.fm-multi input {
	width: 1em;
}

div.fm-multi label {
	display: block;
	width: 200px;
	padding-left: 5em;
	text-align: left;
}

#fm-submit {
	clear: both;
	padding-top: 0em;
}

#fm-submit input {
	border: 0px solid #333;
	color: #fff;
	text-align: left;
	font-family:arial;
	height:auto;
	width:auto;
	border:0px solid red;
	background:none;
}

input:focus, textarea:focus {
	background: #efefef;
	color: #000;
}

	
/* required fields - does not work in IE */
fieldset div.fm-req {
	font:11px arial;
	float:left;
	padding:8px 0 0 5px;
	width:550px;
	border:0px solid red;
	margin:0px;
}

.req 
{
	font:11px arial;
}


.req2
{
	float:left;
	width:163px;
	padding:0px 0 0 0px;
	border:1px solid #808080;
	text-align: left;
	background:#fff;
}


fieldset div.fm-req label:before {
  /* content: "* ";  does not work in IE */
}

/* Basic page styling, not part of the form example */
 
#container {
	margin: 0 auto;
	padding: 1em;
	 
	width:100%;
}

p#fm-intro {
	margin: 0;
}

.submitstyle {
	border: 1px solid #333;
	padding: 1px 1em;
	background: #555;
	color: #fff;
	font-size: 100%;
	text-align: left;
}

.istyle {	
	width: 200px;
	border-top: 1px solid #555;
	border-left: 1px solid #555;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
	padding: 1px;
	color: #333;
}

 