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

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

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

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

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

/*
 * Search (search-block-form.tpl.php)
 */
#block-search-form {
  float:right;
  width:226px;
  height:30px;
  margin:10px 14px 0 0;
  padding:0;
} 
 
#search-block-form /* Wrapper for the search form */ {
  display: block;
  float:right;
  width:226px;
}

#block-search-form .form-actions,
#block-search-form .form-type-textfield {
  margin:0;
  padding:0;
  height:21px;
  display: block;
  clear: none;
  float: left;
}

#block-search-form .form-type-textfield input {
  border:1px solid #bfbfbf;
  width:190px;
  height:19px;
  float:left;
}
#block-search-form .form-actions input {
  display: block;
  width:28px;  
  height:21px;
  margin:0;
  padding:0;
  border:0;
  background: transparent url(../images/site-chrome/social-sprite-v2.png) no-repeat -85px -67px;
  text-indent: -9999px;
  font-size:0;
  line-height: 0;
  text-transform: capitalize;
}

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

/* Donation and Registration Node Styles */

body.node-type-registration-form #page-wrapper,
body.node-type-donation-form #page-wrapper {
  width:920px;
}

body.node-type-registration-form #bottom-footer,
body.node-type-donation-form #bottom-footer {
  width:920px;
}

body.node-type-registration-form #logo,
body.node-type-donation-form #logo {
  margin-left:0;
}

body.node-type-registration-form .panel-2col-stacked-mixed .panel-col-first,
body.node-type-donation-form .panel-2col-stacked-mixed .panel-col-first {
  width:582px;
}

body.node-type-registration-form .panel-2col-stacked-mixed .panel-col-last,
body.node-type-donation-form .panel-2col-stacked-mixed .panel-col-last {
  width:338px;
}

body.node-type-registration-form .panel-2col-stacked-mixed .panel-col-last .inside,
body.node-type-donation-form .panel-2col-stacked-mixed .panel-col-last .inside {
  margin:0 0 0 38px;
}

body.node-type-registration-form,
body.node-type-donation-form {
  background: url(../images/site-chrome/body-vertical-bg.png) repeat-x 0 0px #e2e2e2;
}

body.node-type-registration-form #main,
body.node-type-donation-form #main {
  background-color:transparent;
  border:0;
}

body.node-type-registration-form #content.column,
body.node-type-donation-form #content.column {
  width:100%;
}

.node-type-registration-form .donation-title,
.node-type-donation-form .donation-title {
  float:right;
  clear:none;
  width:640px;
  margin-top:65px;
}
 
  .node-type-registration-form .donation-title h1,
  .node-type-donation-form .donation-title h1 {
    color:#626262;
    font-size:30px;
    line-height: normal;
    font-family: Arial, Helvetica, sans-serif;
  }

.node-type-registration-form .pane-node-body,
.node-type-donation-form .pane-node-body {
  margin:0 2px 20px 2px;
}

.node-type-registration-form .pane-node-webform,
.node-type-donation-form .pane-node-webform {
  background-color:#fff;
  border:2px solid #eaeaea;
}

.node-type-registration-form .fundraiser_submit_message,
.node-type-donation-form .fundraiser_submit_message {
  margin-left:12px;
}

.node-type-donation-form .pane-node-webform .pane-content {
  margin:20px 0 30px 0;
}

.node-type-registration-form #content .page-content,
.node-type-registration-form .panel-2col-stacked-mixed .panel-col-first .inside,
.node-type-donation-form #content .page-content,
.node-type-donation-form .panel-2col-stacked-mixed .panel-col-first .inside {
  margin:0;
}

.node-type-registration-form .panel-2col-stacked-mixed .panel-col-last,
.node-type-donation-form .panel-2col-stacked-mixed .panel-col-last {
  background:none;
}

.node-type-registration-form .webform-component.form-item,
.node-type-donation-form .webform-component.form-item {
  margin:5px 0 6px 0;
  float:left;
  width:100%;
}

.node-type-registration-form fieldset legend,
.node-type-donation-form fieldset legend {
  font-size:13px;
  font-weight: normal;
  line-height: normal;
  color:#4978a1;
  padding:10px 0 10px 12px;
  float:left;
}

.node-type-registration-form fieldset fieldset legend,
.node-type-donation-form fieldset fieldset legend {
  margin-left:0;
}

.node-type-registration-form #webform-component-donation legend,
.node-type-donation-form #webform-component-donation legend {
  display: none;
}

.node-type-registration-form fieldset,
.node-type-donation-form fieldset {
  border:0;
  padding:0;
  margin:0;
  width:100%;
  float:left;
  padding:10px 0;
  border-top:2px solid #f9f9f9;
}

.node-type-registration-form fieldset fieldset,
.node-type-donation-form fieldset fieldset {
  border: 0;
  padding: 0;
}

.node-type-registration-form fieldset .fieldset-wrapper,
.node-type-donation-form fieldset .fieldset-wrapper {
  margin-left:12px;
}

.node-type-registration-form fieldset fieldset .fieldset-wrapper,
.node-type-donation-form fieldset fieldset .fieldset-wrapper {
  margin-left:0px;
}

.node-type-registration-form fieldset:first-child,
.node-type-donation-form fieldset:first-child {
  border-top:0;
}

.node-type-registration-form .webform-component.form-item label,
.node-type-donation-form .fundraiser-payment-fields .form-item label,
.node-type-donation-form .webform-component.form-item label {
  font-size:11px;
  line-height:normal;
  font-weight:normal;
  color:#626262;
}

.node-type-registration-form .webform-component.form-item label span.form-required,
.node-type-donation-form .fundraiser-payment-fields .form-item label span.form-required,
.node-type-donation-form .webform-component.form-item label span.form-required {
  float:left;
  padding-right:4px;
  margin-left:-11px;
}

.node-type-registration-form #webform-component-donation .webform-component.form-item label span.form-required,
.node-type-donation-form #webform-component-donation .webform-component.form-item label span.form-required {
  display: none;
}

.node-type-registration-form .form-item.webform-component-email label,
.node-type-registration-form .form-item.webform-component-select label,
.node-type-registration-form .form-item.webform-component-textfield label,
.node-type-donation-form .fundraiser-payment-fields .form-item label,
.node-type-donation-form .form-item.webform-component-email label,
.node-type-donation-form .form-item.webform-component-select label,
.node-type-donation-form .form-item.webform-component-textfield label {
  display: inline-block;
  width:157px;
  margin-right:0;
  padding-left:10px;
}

.node-type-donation-form #webform-component-donation .form-item.webform-component-textfield label {
  width:auto;
  display: inline-block;
  margin-right: 10px;
  padding-left:0;
}
.node-type-donation-form #webform-component-donation #webform-component-donation--other-amount .description {
  font-size: 11px;
  margin-top: 6px;
  display: none;/* hidden */
}
.node-type-donation-form #webform-component-donation #webform-component-donation--other-amount #edit-submitted-donation-other-amount {
  width:100px;
}

.node-type-registration-form .form-item.webform-component-radios label,
.node-type-donation-form .form-item.webform-component-radios label {
  font-size:13px;
  font-weight: normal;
  line-height: normal;
  color:#4978a1;
  margin-bottom:14px;
}

.node-type-registration-form .form-item .form-text,
.node-type-donation-form .form-item .form-text {
  width:261px;
}

.node-type-registration-form #webform-component-donation #edit-submitted-donation-amount .form-item,
.node-type-donation-form #webform-component-donation #edit-submitted-donation-amount .form-item {
  display: inline-block;
  margin-right: 10px;
}

.node-type-registration-form #webform-component-donation #edit-submitted-donation-amount .form-item label,
.node-type-donation-form #webform-component-donation #edit-submitted-donation-amount .form-item label {
  vertical-align: middle;
  padding:0 5px 0 0px;
  font-size:11px;
  line-height:normal;
  font-weight:normal;
  color:#626262;
}

.node-type-registration-form .form-actions .form-submit,
.node-type-donation-form .form-actions .form-submit {
  width:159px;
  height:38px;
  margin-left:182px;
  background:transparent url(../images/site-chrome/form-submit-btn-bg.png) no-repeat 0 0;
  border:0;
  text-transform:uppercase; 
  text-indent:-9999;
  font-size:0;
  line-height:0;
  cursor: pointer;
}

.node-type-registration-form .form-actions .form-submit {
  background-position: 0 100%;
  margin-bottom:25px;
}
/* Billing info checkbox opt-in styles */
.node-type-donation-form #webform-component-billing-information .webform-component-checkboxes .form-checkboxes {
  margin-left:171px;
  margin-right:20px;
}
.node-type-donation-form #webform-component-billing-information .webform-component-checkboxes .form-checkboxes .form-item {
  margin-bottom:8px;
}

.node-type-donation-form .fundraiser_submit_message {
  display:none;
}

/** Payment Information **/
.node-type-donation-form #webform-component-payment-information .webform-component#webform-component-payment-information--recurs-monthly label {
  display: inline-block;
  width: 157px;
  margin-right: 0;
  padding-left: 0px;
}
.node-type-donation-form #webform-component-payment-information .webform-component #edit-submitted-payment-information-recurs-monthly {
  display: inline-block;
}
.node-type-donation-form #webform-component-payment-information #webform-component-payment-information--recurs-monthly.webform-component .description {
  margin-left:162px;
  font-size: 11px;
  line-height: normal;
  font-weight: normal;
  color: #626262;
  margin-top: 6px;
  margin-bottom: 8px;
  width:374px;
}
.node-type-donation-form #webform-component-payment-information #webform-component-payment-information--payment-method {
  margin-bottom:14px;
}

.node-type-donation-form #webform-component-payment-information #edit-submitted-payment-information-payment-fields-credit-expiration-date-card-expiration-month {
  margin-right:10px;
}

.node-type-donation-form #webform-component-payment-information .webform-component.form-item {
  margin-left:10px;
}

.node-type-donation-form #webform-component-payment-information .form-item.webform-component-radios label {
  font-size:11px;
  line-height:normal;
  font-weight:normal;
  color:#626262;
  width:162px;
  float:left;
}

.node-type-donation-form #webform-component-payment-information .form-item.webform-component-radios #edit-submitted-payment-information-payment-method {
  display: block;
  float: left;
  clear: none;
  width: 353px;
}
  .node-type-donation-form #webform-component-payment-information .form-item.webform-component-radios #edit-submitted-payment-information-payment-method label {
    float:none;
    width:auto;
    vertical-align: middle;
  }
  .node-type-donation-form #webform-component-payment-information .form-item.webform-component-radios #edit-submitted-payment-information-payment-method .form-type-radio:first-child {
    margin-bottom:4px;
  }

/* Misc. Registration Styles */
.node-type-registration-form #webform-component-your-information {
  border-bottom:2px solid #f7f7f6;
  margin-bottom:14px;
}
.node-type-registration-form #edit-submitted-your-information-receive-emails-from-aspca {
  margin-left:171px;
}

.form-item .error,
.form-item .error.valid {
  display: none;
}

/* Google Search area styles */
.gsc-search-box form tbody {
  border-top:none !important;
}
