/* $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: normal;
	font-family: helvetica_neue_bold;
}

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

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

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



/** overrides **/
input,
textarea,
select {
	font-family: helvetica_neue, Verdana, Tahoma, "DejaVu Sans", sans-serif;
}

html.js input.form-autocomplete {
	background-color: #F6F5F1;
}

input.form-text {
	border-radius: 3px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-o-border-radius: 3px;
	-ms-border-radius: 3px;
	-webkit-border-radius: 3px;
	transition-property: border-color;
	-moz-transition-property: border-color;
	-o-transition-property: border-color;
	-webkit-transition-property: border-color;
	transition-duration: 0.1s;
	-moz-transition-duration: 0.1s;
	-o-transition-duration: 0.1s;
	-webkit-transition-duration: 0.1s;
	transition-timing-function: linear;
	-moz-transition-timing-function: linear;
	-o-transition-timing-function: linear;
	-webkit-transition-timing-function: linear;
	background-color: #F6F5F1;
	border: 1px solid #CCCCCC;
	font: 13px/15px helvetica_neue, Arial, sans-serif !important;
	padding: 5px;
	vertical-align: bottom;
}

textarea {
	background-color: #F6F5F1;
	border: 1px solid #CCCCCC;
	font-size: 12px;
	padding: 5px;
}

.form-select {
	padding: 5px;
}

input.form-text:focus,
textarea:focus {
	background-color: #FFFFFF;
	border: 1px solid #39B2E5;
	box-shadow: #B5DFF1 0 0 5px 0;
	-moz-box-shadow: #B5DFF1 0 0 5px 0;
	-o-box-shadow: #B5DFF1 0 0 5px 0;
	-webkit-box-shadow: #B5DFF1 0 0 5px 0;
}

input[type="button"],
input.form-submit {
	border-radius: 20px;
	-moz-border-radius: 20px;
	-khtml-border-radius: 20px;
	-webkit-border-radius: 20px;
	box-shadow: rgba(0, 0, 0, 0.1) 0 1px 0 0;
	-moz-box-shadow: rgba(0, 0, 0, 0.1) 0 1px 0 0;
	-o-box-shadow: rgba(0, 0, 0, 0.1) 0 1px 0 0;
	-webkit-box-shadow: rgba(0, 0, 0, 0.1) 0 1px 0 0;
	transition-property: box-shadow;
	-moz-transition-property: box-shadow;
	-o-transition-property: box-shadow;
	-webkit-transition-property: box-shadow;
	transition-duration: 0.2s;
	-moz-transition-duration: 0.2s;
	-o-transition-duration: 0.2s;
	-webkit-transition-duration: 0.2s;
	transition-timing-function: linear;
	-moz-transition-timing-function: linear;
	-o-transition-timing-function: linear;
	-webkit-transition-timing-function: linear;
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, #9C2B2F), color-stop(100%, #9E0B0F));
	background-image: -moz-linear-gradient(top, #9C2B2F 0%, #9E0B0F 100%);
	background-image: linear-gradient(top, #9C2B2F 0%, #9E0B0F 100%);
	background: #9E0B0F;
    border: 1px solid #9E0B0F;
	color: #FFFFFF;
	cursor: pointer;
	font-family: helvetica_neue, Helvetica, Arial, sans-serif;
    font-size: 13px;
	font-weight: bold !important;
	line-height: 21px;
	padding: 4px 17px 6px 17px;
	text-align: center;
	text-shadow: #780003 0 -1px 0;
}

input[type="button"]:hover,
input.form-submit:hover {
	box-shadow: #9C2B2F 0 0 5px 0;
	-moz-box-shadow: #9C2B2F 0 0 5px 0;
	-o-box-shadow: #9C2B2F 0 0 5px 0;
	-webkit-box-shadow: #9C2B2F 0 0 5px 0;
	border-color: #780003;
	text-decoration: none;
}

input[type="button"]:active,
input.form-submit:active {
	background-color: #780003;
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, #9E0B0F), color-stop(100%, #780003));
	background-image: -moz-linear-gradient(top, #9E0B0F 0%, #780003 100%);
	background-image: linear-gradient(top, #9E0B0F 0%, #780003 100%);
	text-shadow: #B55A00 0 -1px 0;
}

fieldset legend,
fieldset legend a {
	font-family: code_bold, "Trebuchet MS", Helvetica, sans-serif;
	font-size: 13px;
	text-transform: uppercase;
}
