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

/**
 * @file
 * Form Styling
 */


.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;
	display:block;
	font-weight:bold;
	margin-bottom:0.3em;
	margin-top:2em;
}

fieldset .form-item label {
	margin-top: .3em;
}


.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 */ {
  font-size: 1.5em;
  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 */ {
}

.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. */
}


/**
 * (Collapsible) fieldsets --------------------------------------------
 */
fieldset {
  margin: 1em 0;
  padding: 1em;
  border: 1px solid #BBBBBB;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

/* Targets IE 7. Fixes background image in field sets. */
*:first-child+html fieldset {
  padding: 0 1em 1em;
  background-position: 0 .75em;
  background-color: transparent;
}

*:first-child+html fieldset > .description, *:first-child+html fieldset .fieldset-wrapper .description {
  padding-top: 1em;
}

fieldset legend {
  /* Fix disappearing legend in FFox */
  display: block;
}

*:first-child+html fieldset legend, *:first-child+html fieldset.collapsed legend {
  display: inline;
}

html.js fieldset.collapsed {
  background: transparent;
  padding-top: 0;
  padding-bottom: .6em;
}

html.js fieldset.collapsible legend a {
  padding-left: 2em; /* LTR */
}

html.js fieldset.collapsed legend a {
}


html.js fieldset.collapsible legend a {
	padding-left: 1em;
	color: #555;	
}
	
fieldset legend {
	font-size:1.3em;
}

.form-text,
textarea {
	border:1px solid #BBBBBB;
	font-size:1em;
	padding:0.5em 0.7em;
}
textarea {
  padding-right: 0;
}

/**
 * Node forms ---------------------------------------------------------
 */


tr.odd .form-item, tr.even .form-item {
	white-space: normal;
}

.node-submit-buttons {
	padding: 20px 0;
	text-align: center;
	margin-top: 1em;
}

a.button, div.context-links a, input.form-submit,
.node-submit-buttons input.form-submit {
	margin-top: 0;
	margin-bottom: 0;
	border:1px solid #6B6B6B;
	color:#eee;
	font-size:.9em;
	margin:0 0.3em;
	padding:2px 5px;
	text-align:center;
	text-shadow:0 -1px 0 #353535;
	-moz-border-radius:3px;	
	-webkit-border-radius:3px;	
	border-radius:3px;
	
}

.node-submit-buttons input.form-submit {
	font-size: 1em;
	padding: 1em 1.5em;
}

#edit-delete {
	opacity: .3;
}
.node-form div.warning {
	background: none;
	padding: 1em;
	border: none;
}
.node-form span.warning {
	font-size: 2em;
	line-height: 1em;
}





.description {
	display: none;
}




