/* $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;
}

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

.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 */ {
	padding:3px 5px;
	border:1px solid #837765;
}

#edit-search-theme-form-1-wrapper	{
	width:190px;
}

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

#edit-search-theme-form-1	{
	border:none;
	width:190px;
}

#search .form-submit	{
background:url(../images/search.png) no-repeat;
border:0;
}

/*text colour in search field*/
.custom-search-default-value {
color:#3c3d2f;
}

/*New search block - header block*/

#block-search-0	{
	float:right;
	clear:both;	
	padding:3px 5px;
	border:1px solid #837765;
}

#edit-search-block-form-1-wrapper	{
	width:190px;	
}

#edit-search-block-form-1	{
	border:none;
	width:190px;
}

#search-block-form .form-submit	{
background:url(../images/search.png) no-repeat;
border:0;
}



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

/*
 * Sign up for newsletter form
 */

.front #simplenews-block-form-5 #edit-mail	{
	border:1px solid #837765;
	width:170px;
	padding:3px 5px;
}

#simplenews-block-form-5 #edit-mail, #block-multiblock-1 #edit-mail 	{
	border:1px solid #837765;
	width:150px;
	padding:3px 5px;
}

#simplenews-block-form-5 .form-required, #block-multiblock-1 .form-required		{
	display:none;
}


#simplenews-block-form-5 #edit-submit, #block-multiblock-1 #edit-submit	{
	background:#3c3d2f;
	color:#fff;
	padding:5px;
	border:none;
	text-transform:uppercase;
	-moz-border-radius: 0.4em;
	text-shadow:0 1px 1px #c1bbb2;
}

#simplenews-block-form-5 #edit-submit:hover, #block-multiblock-1 #edit-submit:hover	{
	background:#000;
}


/*
 * 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: 1px solid #ccc;
}

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


/*
 * FACETED SEARCH *
 */
 
 
.faceted-search-env-theme h3, .faceted-search-env-region h3, .faceted-search-env-campaign h3, .faceted-search-env-publication h3	{	
	color:#837765;
	text-transform:uppercase;
	padding:0.5em 0;
	font-weight:bold;
	margin-bottom:0;
	margin-top:0;
	font-size:1.1em;
	border-top:1px solid #BDBFA4;
	display:block;
}

.faceted-search-facet-active h3 	{
	display:inline;
	border-top:none;
}

.faceted-search-facet .item-list ul {
	padding-left:20px;
	list-style:none;
}

.faceted-search-facet a:link,.faceted-search-facet a:visited  {
	color:#3c372f;
}

.faceted-search-category	{
	font-size:0.9em;
}

.faceted-search-count	{
	color:#837765;
}

/*#block-faceted_search_ui-1_current a:link, #block-faceted_search_ui-1_current a:visited	{
	font-size:0.9em;
	color:#e76832;
}*/

#block-faceted_search_ui-1_related	{
	margin-bottom:25px;
}


#block-faceted_search_ui-1_current.block, #block-faceted_search_ui-3_current.block, #block-faceted_search_ui-2_current.block, #block-faceted_search_ui-4_current.block	{
	background:#f2f1ef;
	margin-bottom:0;
	padding: 5px 5px 1em;
	font-size:0.9em;
}

a:link.button, a:visited.button	{
		-webkit-border-radius: 0.25em;
		-moz-border-radius: 0.25em;
		border-radius: 0.25em;
		background:#E76832;
		color:#fff;
		padding:4px;
		display:inline-block;
		margin-left:10px;
}

a:link.button:hover, a:visited.button:hover	{
		background:#847766;
		color:#fff;
		padding:4px;
}




