@CHARSET "UTF-8";

/*******************************************************************************
 * forms.css
 *
 * This file defines styles for displaying forms, complete with error messages.
 * Assumes that each form input is contained by a div.control element.
 *
 * Author: William Madden
 *
 * Copyright (c) JB Interactive, 2008
 ******************************************************************************/

/*******************************************************************************
 * THE FORM
 ******************************************************************************/
.homepage_form {
	position: relative;
	width: 100%;
	margin-bottom: 18px;
}

/*******************************************************************************
 * CONTROLS
 ******************************************************************************/
.homepage_form .control {
	margin-bottom: 8px;
	padding: 9px 0;
}

.homepage_form .error {
	background-color: #FFE6E3;
}

.homepage_form input {
	margin: 4px 0;
	height: 16px;
	width: 300px;
}

.homepage_form label {
	width: 60px;
	float: left;
	line-height: 28px;
	color: #656565;
	text-align: left;
	padding-right: 20px;
	display: block;
}

.homepage_form label.required:after {
	content: ' *';
}

.homepage_form .checkbox {
	margin-top: 3px;
}


/*******************************************************************************
 * ERRORS
 ******************************************************************************/
#content .homepage_form .errors {
	padding: 0;
	margin: 9px 0 0;
	line-height:18px;
	clear: both;
}

#content .homepage_form .errors li {
	margin:  0 0 0 190px;
	padding: 0;
	color: #BB1111;
	list-style: none;
}

/* Stuff */
.captcha {
	display: block;
	width: 300px;
	float: left;
}

.captcha img {
	margin: 10px;
	border: 1px solid #DDD;
	width: 150px;
	height: 50px;
	float: left;
	margin: 0 10px 10px 0;
}

.captcha input {
	float: left;
	margin-top: 15px;
	width: 50px;
}


/* -- Main Forms -- */

table.form {
	width: 100%;
	margin-bottom: 18px;
	border: 1px solid #bbb;
	background-color: #fafafa;
}

table.form th {
	background: url(/img/layout/bg-box.gif) repeat-x bottom;
	text-shadow: #fff 1px 1px 1px;
	color: #333;
	height: 26px;
	line-height: 26px;
	padding: 0 10px;
	font-weight: bold;
	font-size: 14px;
}

table.form td {
	padding: 5px;
	vertical-align: top;
}

table.form .titles td {
	font-weight: bold;
	text-align: center;
}

tr.center td {
	text-align: center;
}

.submit {
	margin-bottom: 18px;
	text-align: center;
}
