form.f { width: 450px; padding:10px; margin: 1em 0; border: 1px solid #9FA4A9; line-height:1.25em;  }
form.small-label { background:#E5EBF3 url('../images/g-bg-form-small.gif') repeat-y;}

form.f p { clear:left; padding-top:4px; }

form.f div { clear:left; padding:5px 0; margin: 0; }
form.f div div { clear:none; padding:0; }
#content form.f div div p { font-size:1em; margin:0 0 1em 0; }
form.f label { width:80px; display:block; float:left; margin:0 20px 0 0;}
form.f input, form.f textarea { line-height:1.25em; border:#ccc solid 1px; padding:2px; font-size:1em;}  
form.f select { line-height:1.25em; border:#ccc solid 1px; font-size:1em; padding:2px 0;}  
form.f input { width:250px; }
form.f textarea { width:250px;}

form.f .field { display: block; margin: 0 0 0 100px;}
form.f input.checkbox { width:25px; vertical-align:middle; border:0;}
form.f input.small, form.f select.small { width:55px; }
form.f input.medium, form.f select.medium { width:130px; }
form.f input.large, form.f select.large { width:250px; }
form.f input.checkbox-group { margin:0 0 0 100px;}

form.f div.inline-field label { width:80px; display:inline; float:none; margin:0 10px 0 0;}
form.f div.inline-field { margin:0 0 0 100px; color:#585757; }
form.f div.buttons,form.f p.buttons { margin: 20px 0 0 200px; }

form.medium-label .field { display: block; margin: 0 0 0 150px; }
form.medium-label { width:630px; border: 0;}
form.medium-label label { width:130px;}
form.medium-label div.inline-field label { width:55px; display:inline; float:none; margin:0 10px 0 0;}
form.medium-label div.inline-field { margin:0 0 0 150px;}
form.medium-label .checkbox-group { margin:0 0 0 150px; font-size:1em;}
form.medium-label textarea { width:350px;}

form.large-label .field { display: block; margin: 0 0 0 200px; }
form.large-label { width:630px; border: 0;}
form.large-label label { width:180px;}
form.large-label div.inline-field label { width:55px; display:inline; float:none; margin:0 10px 0 0;}
form.large-label div.inline-field { margin:0 0 0 200px;}
form.large-label .checkbox-group { margin:0 0 0 200px; font-size:1em;}

form.f input.submit, form.f a.button, form.f input.button { padding: 0.25em 1em; border: 1px solid #9FA4A9; background-color: #E5EBF3; width: auto; cursor: pointer; color: #000; }
form.f a.button:hover { text-decoration: none; }
form.f input.submit {   border: 1px solid #2C7EC9; background-color: #6FD2F1; }
form.f input.submit:hover { background-color: #2C7EC9; }

label.rhs_label {display: inline !important; float: none !important; width: auto !important; margin:0 !important;}
form.f .field ul { margin: 0 0 1em 2em; padding: 0; }
form.f .field ul li { margin: 0; padding: 0; }

form.f table { width:28em; border:#ccc solid 1px; border-collapse: collapse;}
form.f td, th { padding:4px 6px;}
form.f table thead { background-color:#ccc;}
form.f th { text-align:left; width:60%; }
form.f tbody th {border-right:#eee solid 1px;}
form.f table tfoot { background-color:#eee;}

form.f textarea.large { width:450px; height:16em; }

form.f div.form-section { padding-top:0; }

form.auto { width:auto; border:0; padding:0; }
form.auto table { width:100% }
form.auto td, th { padding:2px; }
form.auto th { width:auto; }