/**
 * @file
 * Form Styling
 */


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

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

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

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

.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; /* Drupal core uses "0.4em 0" */
}

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

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


/*
 * Password confirmation
 */
.password-parent,
.confirm-parent {
  margin: 0;
}


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


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

html.js #user-login-form li.openid-link,
#user-login-form li.openid-link /* The "Log in using OpenID" link. */ {
  margin-top: 1.5em;
  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: 1.5em;
}

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


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

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

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

form tr.even {
  background-color: #fff;
}

form table .item-list ul {
  margin: 0;
}


/*
 * Horizontal forms
 */
.horizontal-form .form-text,
.horizontal-form .form-textarea {
	border-color: #498340;
}

.horizontal-form .form-item label {
	font-weight: normal;
	line-height: 1.1em;
	padding-top: 3px;
}

.horizontal-form .form-submit {
	background-color: #d85009;
	color: #f3cbb6;
	border-radius: 4px;
	border: none;
	padding: 6px 10px;;
	font-weight: bold;
	font-size: 13px;
}

.horizontal-form .description {
	color: #777;
	font-size: 12px;
}

.horizontal-form .form-submit:hover {
	background-color: #f3cbb6;
	color: #993B0C;
	cursor: pointer;
}

/** Filter **/

.filter-guidelines,
.filter-help {
	display: none;
}
.filter-wrapper {
	padding: 0;
	border: none;
}
a[id*='switch_edit-field'] {
	text-align: right;
	font-size: 10px;
	color: #666;
}

body.page-node-add form input.form-text,
body.page-node-edit form input.form-text {
	background: #f5f5f5;
	border: 1px solid #cccccc;
	border-radius: 5px;
	padding: 6px;
}

body.page-node-add form textarea.form-textarea,
body.page-node-edit form textarea.form-textarea {
	background: #f5f5f5;
	border: 1px solid #cccccc;
	border-radius: 5px;
	padding: 6px;
}

body.page-node-add form input.form-submit,
body.page-node-edit form input.form-submit {
	background: #498340;
	color: #fff;
	border: none;
	padding: 6px 12px;
	font-size: 14px;
	border-radius: 5px;
	cursor: pointer;
}

body.page-node-add tr.odd .form-item,
body.page-node-add tr.even .form-item,
body.page-node-edit tr.odd .form-item,
body.page-node-edit tr.even .form-item {
	margin: 0 0 1em 0;
}
body.page-node-add .form-item .description,
body.page-node-edit .form-item .description {
	font-size: 11px;
	color: #666;
	line-height: 1.1em;
}
body.page-node-add tr.odd .form-item.form-type-radio,
body.page-node-add tr.even .form-item.form-type-radio,
body.page-node-edit tr.odd .form-item.form-type-radio,
body.page-node-edit tr.even .form-item.form-type-radio {
	margin-bottom: 0.1em;
}
body.page-node-add input[id$='-remove-button'],
body.page-node-add .field-add-more-submit,
body.page-node-edit input[id$='-remove-button'],
body.page-node-edit .field-add-more-submit {
	text-align: right;
	float: right;
	margin: 1em 0;
	font-size: 12px;
	padding: 3px 6px;
}
body.page-node-add input[id$='-remove-button'].form-submit,
body.page-node-edit input[id$='-remove-button'].form-submit {
	background-color: #666;
	font-size: 11px;
	margin: 0 0.5em 0.5em 0;
}

/** CK Editor **/

span.cke_skin_kama {
	border: 0 !important;
	padding: 0 !important;
}
	span.cke_skin_kama .cke_toolbox_collapser {
		display: none;
	}
	span.cke_skin_kama .cke_wrapper {
		padding: 0 !important;
		background: none !important;
	}
		span.cke_skin_kama  table.cke_editor td.cke_contents {
			border: 1px solid #999;
		}
	span.cke_skin_kama .cke_toolgroup {
		background: none;
	}


/** Field Sets **/

body.page-node-add fieldset,
body.page-node-edit fieldset {
	border: 1px solid #ccc;
	margin: 0.5em 0;
}
	body.page-node-add fieldset legend,
	body.page-node-edit fieldset legend {
		font-weight: bold;
	}
	body.page-node-add fieldset table,
	body.page-node-edit fieldset table {
		width: 100%;
	}
		body.page-node-add fieldset table .draggable > td > div,
		body.page-node-edit fieldset table .draggable > td > div {
			padding: 0px 10px;
			margin-top: 1em;
		}
	body.page-node-add fieldset.filter-wrappe,
	body.page-node-edit fieldset.filter-wrapper {
		border: none;
	}

a.tabledrag-handle {
	padding-left: 0.5em;
}

a.tabledrag-handle .handle  {
	width: none;
}

/** Vertical tabs **/

.vertical-tabs {
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
}
	.vertical-tabs ul.vertical-tabs-list {
		border-top: 0;
	}
		.vertical-tabs ul.vertical-tabs-list a {
			color: #666;
		}
		.vertical-tabs ul.vertical-tabs-list a:hover {
			text-decoration: none;
			color: #000;
		}
		.vertical-tabs ul.vertical-tabs-list a.selected {
			color: #000;
		}
		.vertical-tabs .vertical-tabs-list li.first {
			border-top: 1px solid #ccc;
		}
		.vertical-tabs .vertical-tabs-list li {
			border-top-left-radius: 10px;
			border-bottom-left-radius: 10px;
		}

	.vertical-tabs .vertical-tabs-panes {
	}

/* hide language based search for anon users */

.not-logged-in #edit-advanced .form-item-language {
  display: none;
}
