/*
Author: Natalie Downe
Date: 03/10/2005
Description: all styles that affect the general layout and look of forms 

	NOTE: any problems with IE please do not put hacks in here, use formsIE.css to over-ride

	TO USE: used by default in the header, if not required (such as in 
	contactability and availability) the set 'noForms' variable to anything,
	eg:     <c:param name="noForms" value="true" /> */

/* -------------- Forms -------------- */

form { 
	margin-top: 2em;
}

form div {
	margin: 1em 0;
}

input {
	/*color: #698AB7;
	background-color: white;*/
	border: 1px solid #A8A9C6;
	padding: 0.1em 0.3em;
	color: black;
	background-color: white;
}

input:active, 
textarea:active {
	/*background-color: #FAFAFC;
	color: #698AB7;*/
	background-color: #FAFAFC;
	color: black;
}

html body div.containsCheck div,
html body div.containsRadio div {
clear: both;
margin: 0;
}

html body div.containsCheck input,
html body div.containsRadio input{
    width: 1em;
    border: none;
    overflow: hidden;
    background-color: #F5F5F9;
}

form input[type=radio], 
form input[type=checkbox],
html body div#content form input.radio, 
html body div#content form input.checkbox{
	width: 1em !important;
	background-color: inherit;
	color: inherit;
}

form label, p.mockLabel {
	width: 12em;
	float: left;
	display: block;
	font-weight: bold;
	cursor: pointer;
	padding-left: 8px;
	text-align: left;
	clear: left;
}

form label.radio {
	width: 5em;
	float: none;
	display: inline;
	font-weight: normal;
	cursor: pointer;
	padding-left: 0;
	text-align: left;
}

div label span.hint {
    font-size: 12px;
}

form div.smallBlock {
margin: 0;
}
form div.smallBlock label{
width: 80%;
}

form div#saveContainer,
div.saveContainer {
	clear:both;	
}

form input[type=submit], 
form div#saveContainer input, 
form div.saveContainer input,
div#saveContainer input, 
div.saveContainer input,
div#saveContainer a.linkButton:link,
div#saveContainer a.linkButton:visited,
div#saveContainer a.linkButton:hover,
div#saveContainer a.linkButton:active,
div#formContainer div.newSaveContainer input {
	text-decoration: none;
	border: 1px solid black;
	padding: 0.2em 0.2em;
	margin: 0.8em 1em;
	background-color: #000066;
	background-image: url(/images/icons/buttonBevel.gif);
	background-position: top left;
	background-repeat: no-repeat;
	color: white;
	text-transform: uppercase;
	font-weight: normal;
	width: 4.5em;
	font-size: 0.85em;
}

div#saveContainer form,
div#saveContainer form div {
margin: 0;
padding: 0;
}


div#saveContainer form input {
width: 10em;
}
 
div#content form div#saveContainer input.nonIndent, 
div#content div.saveContainer input.nonIndent  {
	margin-left: 1em;
}

form input[type=submit]:active, 
div#saveContainer input:active, 
div.saveContainer input:active,
div#saveContainer a.linkButton:active {
	border: 1px solid black;
	background-position: bottom right;
}


div#content div#saveContainer a.linkButton:link,
div#content div#saveContainer a.linkButton:visited,
div#content div#saveContainer a.linkButton:hover,
div#content div#saveContainer a.linkButton:active {
	margin: 1em 0 1em 1em;
	position: relative;
	top: 1.3em;
	padding-left: 0.5em;
	padding-right: 0.5em;
}

input.disabled {
	color: #999999;
	background-color: #F5F5F9;
	border: 1px solid #D8D8D8;
}

div#saveContainer,
div.saveContainer {
	border-top: 1px solid #000066;
	background-color: #A8A9C6;
	height: 3.5em;
	clear: both;
	width: 105%;
}

div.newSaveContainer {
        border-top: 1px solid #000066;
border-left: 1px solid #A8A9C6;
border-right: 1px solid #A8A9C6;        
background-color: #A8A9C6;
padding: 1em;
width: 90%;
}
* html div#saveContainer,
* html div.saveContainer {
	width: 100%;
}

label.required, .required {
	background-image: url(/images/icons/required.gif);
	background-repeat: no-repeat;
	background-position: left 5px; 
}

label.noneRequired {
	padding-left: 0;
}

p.required {
	padding-left: 8px;
}

p.awaitingModeration, span.awaitingModeration {
	color: green;
	font-style: italic;
	margin:0;
	padding:0;
	font-weight: bold;
	text-align: left;
}

label a:link,
label a:visited,
label a:hover,
label a:active {
	color: #698AB7;
	font-weight: normal;
/*	font-size: 0.8em;*/
}

div.longLabel {
    width: 100%;
    overflow: hidden;
    padding: 1em 0;
}

div.longLabel label {
	width: 90%;
	float: left; 
	clear: none;
}

div.longLabel input {
	width: 1em;
	float: left;
	margin-right: 0.5em;
}

div.longLabel p.expandedInfo {
	float: left;
	clear: left;
	width: 100%; 
}

input.emailAddress {
	width: 25em;
}

/* errors */

/* errors */
ul.formValidationError li {
	list-style-type: none;
	border-width: 1px ;
	padding: 0.4em 0 0 15px;
	margin: 0;
	width: 100%;
	height: 2em;
	background-color: #FCE0DA;
	color: black;
	font-weight: bold;
	font-size: 0.8em;
	text-align: left;
	background-image: url(/images/icons/required.gif);
	background-repeat: no-repeat;
	background-position: 6px 40%;
}

ul.formValidationError {
	margin: 0 0 0 12.5em;
	width: 225px;
	padding: 0;
	clear: both;
} 

div.hiddenField {
	margin:0;
	height:0;
	padding:0;
}

/* mceEditor 

html body div#content form table.mceEditor tbody {
	font-size: 12pt;
}*/

/* Exceptions */

div.midsize input {
	width: 39.8%;
}

div.midsize label {
	width: 15em;
}

div.midsize ul.formValidationError {
	margin: 0 0 0 15.5em;
	width: 39.4%;
}

div.small ul.formValidationError {
	width: 18.6%;
}

/* used for long lables small normal input boxes (not checkboxes) */
div.reverseLength input {
	width: 4em;
	margin-left: 2em;
}

div.reverseLength label {
	width: 23em;
}

div.reverseLength label em {
	font-style: normal;
	text-transform: uppercase;
}

div.reverseLength p {
	clear: both;
	font-style: italic;
	padding: 1em 0 0 0;
	margin: 0;
}

div.hiddenFields {
	height: 0;
	padding:0;
	margin:0;
	border: none;
}
