﻿form {
    padding: 0;
    margin: 0;
}

table.form td {
    padding: 5px;
}

input {
    margin: 0;
}
.required 
{
    color:#cc0000;
}

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 {
    background: url(images/icons/date_field.gif) no-repeat 100% 50%;
    width: 7em;
}

/*
 *  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:475px
}
.formlayout li 
{
    display:block;
    margin:0 0 0 0;
    clear:left;
    list-style-type:none;
	height:30px;
}
.formlayout li div 
{
    float:left;
	#padding:3px 0 0 0;
}
.formlayout label 
{
    float:left;
    clear:left;
    width:85px;
    margin:0 20px 0 0;
}

.widelabel label {
width:120px !important
}


.formlayout input 
{
    float:left;
}
input.fullwidth 
{
    width:362px;
}
select.fullwidth 
{
    width:366px;
	margin:0 !important;
}


.medwidth 
{
    width:300px;
}
.rightcol 
{
	float:right;
	width:182px;
	margin-left:16px;
}
.rightcol input, .rightcol textarea  
{
    width:70px;
}
.rightcol select {
    width:150px;
}
.leftcol
{
    width:275px;
}
.leftcol input, .leftcol select, .leftcol textarea {
	width:140px;
}
.leftcol select {
	width:165px;
}


.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 input
{
      font-weight: bold;
      width: 120px;
      text-align: left;
      margin:  0 0 10px 0;
      border: 1px solid #333;
      padding: 0 16px 1px 4px;
      color: #ffffff;
      font-size: 1em;
      background: url(../images/arrow-btn.gif) no-repeat right bottom #666;
      cursor: pointer;
}

.imagebutton
{
      width:auto !important;
      text-align:auto !important;
      margin:0 !important;
      border:0 !important;
      padding:0 !important;
      color:inherit !important;
      font-size: 1em !important;
      background:none !important;
      cursor:pointer !important;
}



#buttons {
	clear:left;
	text-align:right;
	padding:10px 17px 0 0;
}
.jobbuttons {
	padding:15px 12px 10px 0 !important;
}

.col-2 .formlayout {
	width:auto !important
}
.col-2 .formlayout li, .adjustliheight li {
	height:50px !important
}
.col-2 .formlayout input, .adjustliheight input {
	width:166px;
}
.col-2 .formlayout select, .adjustliheight select {
width:168px;
}

.radiolist-horizontal 
{
    margin:0 0 20px 0;
    padding:0;
}




