﻿/************************ FORMS GENERAL ****************************/

form {
    padding: 0;
    margin: 0;
}

table.form td {
    padding: 5px;
}

input {
    margin: 0;
}

input.text,
textarea {
    border: 1px solid #bbb;
    border-top-color: #999;
    border-left-color: #aaa;
    padding: 2px;
    vertical-align: top;
    margin: 0;
}

input.default {
    font-weight: bold;
}

input.date {
}

/*******************************  Form layouts **************************/
 
/*
	Field: value 

	E.g.
	
	Field1         |------------|
	Field2         |------------|
	Anotherfield   |------------|

*/

div.form-pairs dl,
div.form-pairs dl dt,
div.form-pairs dl dd {
	margin: 0;
	padding: 0;
}

div.form-pairs dl {
	margin-bottom: 1em;
}

div.form-pairs dl dt {
	float: left;
	width: 160px;
}

div.form-pairs dl dd {
	margin-left: 180px;
}

/*
	Field:
	Value

	E.g.
	
	Field1
	|------------|
	
	Field2
	|------------|
	
	Anotherfield
	|------------|

*/

div.form-vertical dl,
div.form-vertical dl dt,
div.form-vertical dl dd {
	margin: 0;
	padding: 0;
}

div.form-vertical dl {
	margin-bottom: 1em;
}

div.form-vertical dl dt {
    font-size: 0.916em;
}

div.form-vertical dl dd {
}

/* Vertical list of radio buttons AAAAAARGH These are horizontal, woop */

ul.radiolist-vertical,
ul.radiolist-vertical li {
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.radiolist-vertical li {
	display: inline;
}

ul.radiolist-vertical li input {
	margin-right: 5px;
}

ul.radiolist-vertical li label {
	margin-right: 10px;
}

ul.radiolist-vertical {
	margin-bottom: 1em;
}

/* Lists of checkboxes */

ul.checklist,
ul.checklist li {
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.checklist li {
	margin-bottom: 0.5em;
}

ul.checklist li input {
	margin-right: 5px;
}

/* New Forms Layout */


.formlayout 
{
	margin:0px;
	padding:0px;
	width:640px
}
.formlayout li 
{
    display:block;
    margin:0;
    padding:10px 0 0 0;
    clear:left;
    list-style-type:none;
}
.formlayout li div 
{
    float:left;
}
.formlayout label 
{
    float:left;
    clear:left;
    width:80px;
    margin:0 20px 0 0;
}

.widelabel label {
width:120px !important
}


.formlayout input 
{
    float:left;
}
.fullwidth 
{
    width:518px;
}
.medwidth 
{
    width:300px;
}
.rightcol 
{
	float:right;
	width:285px;
	margin-left:22px;
}
.rightcol input, .rightcol textarea  
{
    width:179px;
}
.rightcol select 
{
    width:183px;
}
.leftcol
{
    width:317px;
}
.leftcol input, .leftcol select, .leftcol textarea {
	width:190px;
}
.leftcol select {
	width:195px;
}


.removewidth div label 
{
    float:none;
    margin:0 10px 0 0;
    
}
.removewidth input 
{
    width:auto !important;
    float:none;
    margin:0 10px 0 0;   
}

.fieldnote 
{
    display:block;
    color:#666;
    clear:left;
    margin:0 0 0 100px;
    padding:4px 0 0 0;
    font-size:0.916em;
}

.fieldnote input 
{
    float:none;
    width:auto;
    margin:0px;
    padding:0px;
    
}
.fieldlabels 
{
    font-size:0.916em;
    
}
.fieldlabels label 
{
    padding-left:100px !important;
}


.fieldspacer 
{
    clear:left;
    display:block;
    height:10px;
    overflow:hidden;
}

#buttons {
	clear:left;
	padding: 1em 0;
}



/************************ FORMS BUILDER ****************************/

/* Client Custom Forms */

#customform fieldset
{
    display: block;
    border: 0;
    margin-bottom: 1em;
}

#customform div.field 
{
    display: block;
    width: 28%;
    float:left;
    display: inline;
    font-weight: bold;
    padding-top: 2px;
    text-align: right;
}

#customform div.value 
{
    margin-left: 30%;
}

#customform fieldset input, 
#customform fieldset label 
{
    margin: 0;
}

/* Text boxes */

#customform fieldset.text input,
#customform fieldset.textarea textarea 
{
    width: 85%;    
}

/* Single checkboxes */

#customform fieldset.checkbox input 
{
    float: left;
    display: inline;
}

#customform fieldset.checkbox label 
{
    width: auto;
    margin-left: 18px;
    display: block;
    float: none;
    zoom: 1;
}

/* Radio and checkbox lists */

#customform ul,
#customform ul li
{
    margin: 0;
    padding: 0;
    list-style: none;
    zoom: 1;
}

#customform ul li 
{
    margin-bottom: 0.2em;
}

#customform ul 
{
    display: block;
    padding-top: 2px;
}

#customform ul input 
{
    float: left;
    display: inline;
}

#customform ul label 
{
    width: auto;
    margin-left: 18px;
    display: block;
    float: none;
    zoom: 1;
}

/* Rules */

#customform hr 
{
    display:none;    
}

#customform .hr 
{
    display: none;
}

/* Captcha */

#customform .captcha img 
{
    margin-top: 10px;
    clear: left;
}


