/* ---- Middle Column ---- */
a:focus {
	outline:none;
}
#middleForm {
	width:564px;
	float:left;
	clear:right;
/*	margin-bottom:15px;	*/
}
#contentAreaForm {
	padding:0 20px;
	margin-top:5px;
}
#contentAreaForm h1 {
	font:bold 140% Arial, Helvetica, sans-serif;
	color:#00518A;	
}
#contentAreaForm .stepsheaderLine {
	margin:5px 0;
}
#contentAreaForm h2 {
	font:normal 97% Arial, Helvetica, sans-serif;
	color:#666;
	margin:15px 0 10px;
}
#contentHeading{
	font:bold 140% Arial, Helvetica, sans-serif;
	color:#00518A;
	margin-top:10px;
	text-align:center;
}
#contentHeadingLogin{
	font:bold 140% Arial, Helvetica, sans-serif;
	color:#00518A;
	margin:20px 0 0 186px;
	padding-bottom:15px;
/*	text-align:center; */
	background:url("../../images/stepsheader_line.jpg") 1px 27px no-repeat;
}
#contentHeader{
	font:bold 140% Arial, Helvetica, sans-serif;
	color:#00518A;
	margin-top:-10px;
}

#space{
	padding-top:6px;
}

/* form */
form[id=signupform] {
    font-size: .9em;
}

form[id=userForm] {
    font-size: .9em;
}

form{
    font-size: .9em;
}

form ul {
    position: relative;
    list-style: none;
    width: 100%;
    padding: 0;
}
form p.alignfix {
	font-size: 11px;
    line-height: 13px;
    color: #444;
	margin-top:15px;
	margin-bottom:30px;
	margin-left:60px;
}

form p.alignfix a:link, a:visited, a:active {
	font:normal 11px Arial, Helvetica, sans-serif;
	color:#3B8BB6;
	text-decoration:underline;
}
form p.alignfix a:hover {
	font:normal 11px Arial, Helvetica, sans-serif;
	color:#0072AF;
	text-decoration:underline;
}
.formBody{
	margin-top:-30px;
}

/* Fixes for forms around everything in JSF */

form ul.glassList {
    list-style: url(../images/aquadot.jpg) disc outside;
    vertical-align: top;
    line-height: 1.2em;
    margin-left: 40px;
}

form ul.glassList li {
    line-height: 1.1em;
    font-size: 1.1em;
    padding: 2px 0 3px 0;
}

form .pagebanner, form .exportlinks, form .table {
    font-size: 1.1em;
}
/* End of JSF fixes */

form li {
    line-height: 2em;
    margin: 0;
    padding: 1px 1px 6px 10px;
}

form li.focused {
/*    background-color: #fff7c0 !important; */
	background-color: #ffffff !important;
}

form li.loginFieldPlacing {
	margin:10px 0 0 60px;
}

form li p {
	font-size: 11px;
    line-height: 13px;
    color: #444;
	
}

form[id] li {
    display: block;
}

form[id] ul.glassList li {
    display: list-item;
}

form li div {
    display: inline-block;
}

form li div.group {
    display: block !important;
    background-color: #f7f7f7;
    padding: 10px;
    width: 355px;
}

form li div.group p, form div.group p label {
    text-align: left;
}

form li div.group input.large, form li div.group textarea.large, form li fieldset {
    width: 339px;
}

input.extralarge{
	width: 500px;
}

.textextralarge{
    width: 504px;
    border-top: 1px solid #7c7c7c;
    border-left: 1px solid #c3c3c3;
    border-right: 1px solid #c3c3c3;
    border-bottom: 1px solid #ddd;
    background: #fff url(../images/fieldbg.gif) repeat-x top;
    color: #333;
} 


form[id] li div {
    display: inline;
}

form .left{
    float: left !important;
    margin: 0;
}

form .right{
    float: right !important;
    margin: 0;
}

form .clear{
    clear: both;
}

form li div {
    margin-bottom: 0;
}

form li div p {
    margin: 0 0 5px 0;
}

form div.left{
    margin-right: 2px !important;
}

form div.left[class]{
    margin-right: 4px !important;
}

form div.left img{
    margin: 0 0 -2px 0;
}

/* ----- INFO ----- */
form h2{
    font-size: 1.8em;
    clear: left;
}

form .info{
    font:normal 100% Arial, Helvetica, sans-serif;
	display: inline-block;
	color:#666;
    margin: 10px 0 20px 0px;
	padding: 0 0 4px 0;
/*    border-bottom: 1px dotted #ccc !important;	*/
    text-align: left;
}

form .info[class]{
    display: block;
}

form .info p{
    font-size: 1em;
    line-height: 1.3em;
    margin: 0 0 0 0;
}

/* ----- SECTIONS ----- */
form .section{
    display: inline-block;
    border-top: 1px dotted #ccc !important;
    margin-top: 15px !important;
    padding-top: 12px !important;
    padding-bottom: 0 !important;
}

form .section[class]{
    display: block;
}

form .first{
    border-top: none !important;
    margin-top: 0 !important;
    padding-top: 1px !important;
}

form .section h3{
    font-size: 1.25em;
}

form .section p{
    font-size: 11px;
    line-height: 13px;
}

/* ----- FIELDS AND LABELS ----- */
label.desc { 
	margin: 4px 0 3px 0;
    border: 0;
    color:#425D7E;
    font-size: 100%;
    line-height: 1.3em;
    display: block;
	font-weight:bold;
}

/* wwlbl is from Struts and this is needed to make things work properly with IE 7 */
div.wwlbl { display: block !important }

p label {
    font-weight: normal;
}

input.text, input.number, input.url, input.email, input.password, input.file,
textarea.textarea, select.select{
    font-size: 1.2em;
    border-top: 1px solid #7c7c7c;
    border-left: 1px solid #c3c3c3;
    border-right: 1px solid #c3c3c3;
    border-bottom: 1px solid #ddd;
    background: #fff url(../images/fieldbg.gif) repeat-x top;
    color: #333;
}

input.text, input.number, input.url, input.email, input.password, input.file{
    padding: 2px;
}

input.text{
	font-size: 1em;
}

*:lang(en) input.text{
	font-size: 1.2em;
}

input.currency{
    text-align: right;
}

input.checkbox, input.radio{
    display: block;
    line-height: 1.4em;
    margin: 8px 0 0 3px;
    width: 13px;
    height: 13px;
}

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


label.choice {
    display: block;
    line-height: 1.4em;
    margin: -19px 0 0 25px;
    padding: 4px 0 5px 0;
    color: #444;
    width: 80%;
    font-size: 1.05em;
}

textarea.textarea{
    font-size: 1.1em;
    font-family: Tahoma,"Lucida Grande", "Trebuchet MS", Verdana, sans-serif;
    margin-bottom: 1px;
}

textarea.textarea[class]{
    font-family: "Lucida Grande", Tahoma, "Trebuchet MS", Verdana, sans-serif;
}

select.select{
    padding: 1px 0 0 0;
    margin: 1px 0 3px 0;
}

select.select[class]{
    margin: 0;
    padding: 1px 0 1px 0;
}

#userHeading{
    padding-top:5px;
    color:#425D7E;
    font-weight:bold;
    height:20px;
}

/* ----- SIZES ----- */
form .small{
    width: 70px;
}

form .medium{
    width: 170px;
}

form .state{
    width: 160px;
}

form .large, form textarea.textarea{
    width: 349px;
}

form .tags{
    width: 320px;
}

form textarea.small{
    height: 5.5em;
}

form textarea.medium{
    height: 10em;
}

form textarea.large{
    height: 20em;
}

/* ----- ERRORS ----- */
form li.error{
    background-color: #FFDFDF;
    margin: 3px 0 !important;
}

input.error, textarea.error{
    background: #FFCA7A;
}

p.error, li.error label.desc{
    color: red !important;
}

p.error{
    font-size: 9px !important;
    margin: 1px 0;
}

/* ----- REQUIRED ----- */
.req {
    font-size: 1.2em !important;
    color:#FF0000;
    font-weight: bold;
}

/* ----- Fieldsets ----- */
fieldset {
    margin: 0 0 5px 0;
    padding: 10px 10px 5px 10px;
    color: #444;
}

/* Firefox and others, don't apply to IE or it will put a border under each input element */
li>fieldset, form>fieldset { border: 1px solid silver }

fieldset.choices{
    padding: 10px 5px 10px 10px;
}

fieldset.fieldset{
    padding: 0 0 10px 0;
}

legend{
    font-weight: bold;
    margin: 0 0 0 0;
    color: #444;
}

#formProperties[id] legend, .choices[class] legend{
    margin: 0 0 0 -5px;
}

.fieldset legend{
    margin: 0;
}

.fieldset[class] legend{
    margin: 0 0 0 5px;
}

#formProperties fieldset div{
    margin-bottom: 7px;
}

fieldset div .number{
    margin: 7px 15px 0 0;
}

fieldset p{
    margin: 10px;
}

/* ----- Choices ----- */
.choices input{
    width: 200px;
    margin-right: 3px;
}

.choices ol{
    margin: 10px 0 0 0;
}

.choices[class] ol{
    margin: 0 !important;
}

.choices img{
    margin: 0 0 1px 0;
}

fieldset ol li {
    display: list-item !important;
    margin: 0 5px 2px 3px !important;
    padding: 0 !important;
    list-style: inside decimal;
}

/* ----- Buttons ----- */
input.button, button {
    width: 6em;
    padding: 2px 2px 0 0; /* fix for IE */
	margin:5px 0 0 0;
}


/* revert to normal for Firefox */
li>input.button, li>button, input.button>input.button, button>button {
    padding: 2px;
}

/* pickList for roles in Spring and WebWork */
table.pickList {
    padding: 0;
    border-spacing: 0;

}

table.pickList th.pickLabel {
    text-align: center;
}

table.pickList td {
    text-align: center;
    vertical-align: middle;
}

table.pickList td label {
    vertical-align: middle;
}

table.pickList td button {
    padding-bottom: 2px;
    font-size: 1em;
}

table.pickList td select {
    width: 130px;
}

/* END FORM ELEMENTS */

/* Specific forms */

#loginForm fieldset {
    width: 300px;
    padding: 10px 30px;
    margin: 0 auto;
}

#loginForm li {
    text-align: left;
    padding: 0;
}
#clearoneForm {
	height:20px;
	clear:both;
}

/* This is the style for the informational messages presented to the user */

div.error, span.error, li.error, div.message {
    background: #ffffcc;
    border: 1px solid #000;
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
    margin: 10px auto;
    padding: 3px;
    text-align: left;
    vertical-align: bottom;
}

/* use a different color for the errors */
div.error, span.error, li.error {
    border: 2px solid red;
}

/* For Spring MVC */
span.error {
    display: block;
}

label.error {
    display: none; /* Replace the label in error with the validation message */
    font-weight: bold;
}

/* IE fix, followed by the rest of the world fix */
li.error {
    padding: 3px !important;
}

ul>li.error {
    padding: 0 !important;
}

div.message p, div.message p {
    margin-bottom: 0;
}

img.validationWarning, div.error img.icon, div.message img.icon, li.error img.icon {
    border: 0 !important;
    width: 14px;
    height: 13px;
    vertical-align: middle;
    margin-left: 3px;
    background: transparent !important;
    /* important added because some themes define div#main img */
}

/* Replaces label with validation error */
div li img.validationWarning { float: left; margin-top: 5px; margin-right: 3px; }
/* hides the icon when message is below input fields */
li div p img.validationWarning { /*margin-top: -17px; float: right*/ display: none}

div.message a {
    background: transparent;
    color: #0000FF;
}

div.message a:visited {
    background: transparent;
    color: #0000FF;
}

div.message a:hover {
    background: transparent;
    color: #008000;
}

div.message a:active {
    text-decoration: underline overline;
}

div.message img.icon {
    vertical-align: middle;
}

img.calIcon {
    vertical-align: middle;
    padding-bottom: 6px;
}

span.fieldError, .errorMessage {
    color: red;
    font-size: .95em;
    font-weight: bold;
    display: block;
}

/* Tapestry-specific messages: 

http://tapestry.apache.org/tapestry4.1/usersguide/clientside-validation.html */
.fieldMissing {
    background: #FFCA7A !important;
}

.fieldInvalid {
    background: #FF887A !important;
    font-weight: bold;
}

.alertDialog {
    width: 30em;
    border: 2px solid red;
    padding: 2em;
    text-align: left;
    background: #fff;
    -moz-border-radius: 10px;
}

.alertContent .alertButton {
    float: right;
    position: relative;
    bottom: .75em;
}

.missingList, .invalidList {
    padding-bottom: 1em;
    padding-top: 0.2em;
    padding-left: 0.1em;
    padding-right: 0.2em;
    margin: 0;
}

.missingList {
    border-top: 4px solid #FFCA7A;
}

.invalidList {
    border-top: 4px solid #FF887A;
}

.missingList li, .invalidList li {
    list-style: none;
    line-height: 1.2;
}


/*Styles for Disabled inputs */
[disabled] {
    background-color:#f2f2ed !important;
}

p.loginLinks{
    font:normal 11px Tahoma, Helvetica, sans-serif;
    display: inline-block;
    color:#666;
/*    margin: 10px 0 0 190px; */
	text-align:center;
    padding: 0 0 4px 0;
}
p.loginLinksMargFix01 {
	margin-top:15px;
}
p.loginLinksMargFix02 {
	margin-top:5px;
}
p.loginLinks a:link, a:visited, a:active {
	font:normal 11px Arial, Helvetica, sans-serif;
	color:#5E769F;
	text-decoration:underline;
}
p.loginLinks a:hover {
	font:normal 11px Arial, Helvetica, sans-serif;
	color:#425B85;
	text-decoration:underline;
}
