@CHARSET "UTF-8";

/*******************************************************************************
 * forms.css
 *
 * This file contains styles for forms.
 *
 * Forms must be of the "form" class, or within a div of the same class in order
 * for them to be styled.
 *
 * Author: William Madden
 *
 * Copyright (c) JB Interactive, 2008
 ******************************************************************************/

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

/*******************************************************************************
 * CONTROLS
 ******************************************************************************/
.form .control, .form .control_error {
	margin-bottom: 8px;
	padding: 9px 0;
	clear: both;
}

.form .control_error {
	background-color: #FFE6E3;
}

/*.form select {
	height: 24px;
}*/

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

.form input[type="submit"] {
	margin: 20px 0 0 190px;
	width: 150px;
	height: auto;
	padding: 0;
	display: block;
}

.form label {
	width: 170px;
	float: left;
	line-height: 28px;
	color: #656565;
	text-align: right;
	padding-right: 20px;
}

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

.form span.plaintext {
	display: block;
	margin-top: 4px;
}

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

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

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

.captcha p {
	padding: 0;
}

.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;
}

/* ------------------------------------------------------------------------
	Mat's additions :)
   ------------------------------------------------------------------------ */

input.author_name {
	width: 150px;
	margin-right: 0.5em;
}

.delete_form {
	float: left;
	margin: 1em 1em 0 0;
}

#corporation_id {
	width: 300px;
}
