/* $Id: forms.css,v 1.3 2009/08/12 08:37:42 johnalbin Exp $ */

/**
 * @file
 * Form Styling
 */

#tinymce {
	background: none !important;
	padding: 0 10px;
}

.form-item,
.form-checkboxes,
.form-radios /* Wrapper for a form element (or group of form elements) and its label */ {
  margin: 1em 0;
}

.form-item input.error,
.form-item textarea.error,
.form-item select.error /* Highlight the form elements that caused a form submission error */ {
  border: 2px solid #c00;
}

.form-item label /* The label for a form element */ {
  display: block;
  font-weight: bold;
}

.form-item label.option /* The label for a radio button or checkbox */ {
  display: inline;
  font-weight: normal;
}

.form-required /* The part of the label that indicates a required field */ {
  color: #c00;
}

.form-item .description /* The descriptive help text (separate from the label) */ {
  font-size: 0.85em;
}

.form-checkboxes .form-item,
.form-radios .form-item /* Pack groups of checkboxes and radio buttons closer together */ {
  margin: 0.4em 0;
}

.form-submit /* The submit button */ {
}

input#edit-preview
{
	display: none;
}

.container-inline div,
.container-inline label /* Inline labels and form divs */ {
  display: inline;
}

.tips /* Tips for Drupal's input formats */ {
}


/*
 * Search (search-theme-form.tpl.php)
 */
#search-box /* Wrapper for the search form */ {
}

#edit-search-theme-form-1-wrapper label /* Label that says "Search this site:" */ {
  display: none;
}


/*
 * Search (search-block-form.tpl.php)
 */
#search-block-form /* Wrapper for the search form */ {
}

#edit-search-block-form-1-wrapper label /* Label that says "Search this site:" */ {
  display: none;
}


/*
 * Drupal's default login form block
 */
#user-login-form {
  text-align: left; /* LTR */
}


/*
 * OpenID
 *
 * The default styling for the OpenID login link seems to assume Garland's
 * styling of list items.
 */

#user-login-form ul /* OpenID creates a new ul above the login form's links. */ {
  margin-bottom: 0; /* Position OpenID's ul next to the rest of the links. */
}

#user-login-form li.openid-link /* The "Log in using OpenID" link. */ {
  margin-top: 1em;
  margin-left: -20px; /* LTR */ /* Un-do some of the padding on the ul list. */
}

#user-login-form li.user-link /* The "Cancel OpenID login" link. */ {
  margin-top: 1em;
}

#user-login ul {
  margin: 1em 0;
}

#user-login li.openid-link,
#user-login li.user-link /* The OpenID links on the /user form. */ {
  margin-left: -2em; /* LTR */ /* Un-do all of the padding on the ul list. */
}


/*
 * Drupal admin tables
 *
 * We overrode these styles in html-elements.css, but restore them for the admin
 * section of the site.
 */

form tbody {
  border-top: none;
}

form th,
form thead th {
  text-align: left; /* LTR */
  padding-right: 1em; /* LTR */
  border-bottom: 3px solid #ccc;
}

form tbody th {
  border-bottom: 1px solid #ccc;
}

/************* nice forms *************/

form.niceforms
{
	margin: 0 0 0 250px;
	padding: 0;
}

fieldset
{
	margin: 10px 0 20px 0;
	padding: 10px 0 10px 0;
	border: none;
}
.niceforms fieldset legend
{
	font-weight: 100;
	font-size: .85em;
	padding: 0 5px;
	text-transform: uppercase;
	background-color: #FE545B;
	color: white !important;
	height: 22px;
	border-radius: 6px;
}
fieldset legend,
fieldset legend a,
fieldset legend a:link,
fieldset legend a:visited
{
	color: #777;
}

.niceforms .form-item
{
	clear: both;
	margin: 0 0 10px 0;
}

.niceforms .form-item-tiny
{
	width: 120px;
	float: left;
}

/** reset internal elements **/
.niceforms .form-item .form-item,
.niceforms .form-item .form-item .item-title,
.niceforms .form-item .form-item .item-main,
.niceforms .form-item .form-item .item-help,
.niceforms table .form-item,
.niceforms table .form-item .item-title,
.niceforms table .form-item .item-main,
.niceforms table .form-item .item-help,
.niceforms table .form-item .item-box, table .form-item .item-box-inner,
.niceforms ul .form-item,
.niceforms ul .form-item .item-title,
.niceforms ul .form-item .item-main,
.niceforms ul .form-item .item-help,
.niceforms ul .form-item .item-box, ul .form-item .item-box-inner
{
	width: auto;
	margin: 0;
	padding: 0;
}

.niceforms .form-item .form-item .item-box-inner,
.niceforms .form-item .form-item .item-help-inner
{
	margin: 0;
}

.niceforms .form-item label,
.niceforms label.extra
{
	float: left;
	width: 240px;
	font-weight: 100;
	font-size: 1em;
	line-height: 1.2em;
	margin: 5px 0 0 -250px;
	text-align: right;
}

.niceforms .form-item .item-main
{
	float: left;
	font-size: 1em;
}
.niceforms .description
{
	clear: both;
	width: 380px;
	margin: 3px 0 0 0;
	font-size: .85em;
	line-height: 1.3em;
	color: #aaa;
}
.niceforms input.form-text,
.niceforms textarea.form-textarea
{
	padding: 5px 4px 1px 4px;
	border: 1px solid #B3B3B3;
	background-color: #fff;
	font-size: 1.3em;
	color: #333;
}
.niceforms input.form-text:focus,
.niceforms textarea.form-textarea:focus
{
	border-color: #ff9900;
}

.niceforms .form-item .item-main,
.niceforms input.form-text,
.niceforms .resizable-textarea
{
	width: 380px !important;
}
.niceforms table input.form-text
{
	width: auto !important;
}

/** radios, checkboxes **/
.niceforms .no-outdent,
.niceforms .form-radios,
.niceforms .form-checkbox
{
	margin: 0;
}
.niceforms .no-outdent label,
.niceforms .form-radios label
{
	margin-left: 5px;
	width: auto;
	font-weight: 100;
	float: none;
}
.niceforms .form-radios .form-item,
.niceforms .form-checkbox
{
	display: inline;
}

/** cck multiple items table **/
.niceforms table.content-multiple-table th
{
	display: none;
}
.niceforms table.content-multiple-table tr
{
	border: none;
}

/** video field fix **/
#edit-field-viz-video-0-embed-wrapper
{
	margin-top: 20px;
}

/** table form display **/

.niceforms table.form-table,
.niceforms table.form-table tbody
{
	border: none;
}

/* Animated throbber */
.niceforms html.js input.form-autocomplete {
  background-repeat: no-repeat;
  background-position: 100% 8px; /* LTR */
}
.niceforms html.js input.throbbing {
  background-position: 100% -12px; /* LTR */
}

.niceforms .form-item .filefield-element,
.niceforms .form-item .filefield-element .widget-edit .form-item
{
	margin: 0;
}

.niceforms .better-select div.form-checkboxes .form-item
{
	float: left;
	clear: none;
	width: 125px;
}

/**** fivestar ****/
.fivestar-form-item .item-main,
.fivestar-form-item .item-help 
{
	float: none;
	width: auto;
}

/**** t & c box ****/
#terms-conditions-box 
{
	width: 380px; 
	height: 260px; 
	overflow: auto;
	font-size: .9em;
	line-height: 1.4em;
	padding: 0 8px;
	border: 1px solid #B3B3B3;
}

/*** captcha ***/
.captcha legend
{
	display: none;
}
#recaptcha_widget_div
{
	margin-left: 38px;
}