/**
 * @file
 * Form Styling
 */
/**
 * Convert px to em
 * Stolen from https://github.com/stubbornella/oocss, modified with default value
 *
 * @param $px - the value in pixel you want to convert
 * @param $context - the context in pixel e.g. you want to set margin on your text,
 * and font size on your text is equivalent to 14px, then your context is 14.
 */
/**
 * Override moblle padding
 */
/* line 8, ../sass/forms.scss */
form {
  max-width: 100%;
}

/* line 12, ../sass/forms.scss */
input[type='text'],
input[type='password'],
select,
textarea {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  /* keep these inside the form, will do this more thoroughly later */
  padding: 5px 7px 4px;
  font-size: 13px !important;
  color: #7c7c7c;
  border: 1px solid #b1b1b1;
}
/* line 23, ../sass/forms.scss */
.container-inline input[type='text'], .container-inline
input[type='password'], .container-inline
select, .container-inline
textarea {
  width: auto;
}

/* line 28, ../sass/forms.scss */
.form-item {
  /* Wrapper for a form element (or group of form elements) and its label */
  margin: 1.846em 0;
}
/* line 31, ../sass/forms.scss */
.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;
}
/* line 37, ../sass/forms.scss */
.form-item label {
  /* The label for a form element */
  display: block;
  font-weight: bold;
}
/* line 42, ../sass/forms.scss */
.form-item label.option {
  /* The label for a radio button or checkbox */
  display: inline;
  font-weight: normal;
}
/* line 47, ../sass/forms.scss */
.form-item .form-required {
  /* The part of the label that indicates a required field */
  color: #c00;
}
/* line 51, ../sass/forms.scss */
.form-item .description {
  /* The descriptive help text (separate from the label) */
  font-size: 1em;
}
/* line 55, ../sass/forms.scss */
.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" */
}

/* line 61, ../sass/forms.scss */
.form-submit {
  /* The submit button */
}

/* line 65, ../sass/forms.scss */
.container-inline div,
.container-inline label {
  /* Inline labels and form divs */
  display: inline;
}

/* line 71, ../sass/forms.scss */
.tips {
  /* Tips for Drupal's input formats */
}

/* line 74, ../sass/forms.scss */
a.button {
  /* Buttons used by contrib modules like Media */
  -moz-appearance: button;
  -webkit-appearance: button;
}

/*
 * Password confirmation
 */
/* line 82, ../sass/forms.scss */
.password-parent,
.confirm-parent {
  margin: 0;
}

/*
 * Search (search-block-form.tpl.php)
 */
/* line 91, ../sass/forms.scss */
#block-search-form {
  /* Wrapper for the search form */
  margin-top: 0.231em;
  margin-top: 0;
}
/* line 94, ../sass/forms.scss */
#block-search-form form {
  margin-top: 0;
}
@media (max-width: 47.9em) {
  /* line 91, ../sass/forms.scss */
  #block-search-form {
    padding-top: 0.923em;
  }
}
/* line 100, ../sass/forms.scss */
#block-search-form:focus {
  outline: thin dotted #ffffff !important;
}

/* Search block */
@media (max-width: 47.9em) {
  /* line 106, ../sass/forms.scss */
  .block-search {
    overflow: hidden;
    background-color: #4d5155;
    margin-bottom: 0;
    border-top: 1px solid #5F6366;
  }
  /* line 47, ../sass/_custom.scss */
  .block-search:after {
    content: "";
    display: table;
    clear: both;
  }
}
/* line 116, ../sass/forms.scss */
.block-search .form-item {
  margin: 0;
  display: block !important;
}
/* line 121, ../sass/forms.scss */
.block-search form {
  background: #fff;
  height: 2.308em;
  margin: 1em auto 1em 1em;
  padding-top: 0.154em;
  padding-bottom: 0.154em;
  position: relative;
  width: 18.846em;
  border: 1px solid #bababa;
}
@media (min-width: 48em) {
  /* line 121, ../sass/forms.scss */
  .block-search form {
    float: right;
  }
}
/* line 136, ../sass/forms.scss */
.block-search form input[type="text"] {
  background: none repeat scroll 0 0 transparent;
  border: medium none;
  height: 1.538em;
  line-height: 1.462em;
  margin: 0 2.308em 0 0.769em;
  outline: medium none;
  width: 15.769em;
  position: relative;
  top: 2px;
  padding: 0px;
}
/* line 149, ../sass/forms.scss */
.block-search form input[type="text"]:focus {
  outline: thin dotted #000 !important;
}
/* line 155, ../sass/forms.scss */
.block-search form button,
.block-search form input[type="image"] {
  border: medium none;
  cursor: pointer;
  float: none;
  height: 18px;
  right: 0.385em;
  padding: 0.231em;
  position: absolute;
  top: 0.4em;
  width: 19px;
  background: #FFF;
}

/* line 171, ../sass/forms.scss */
.search-form input#edit-submit,
.search-form input#edit-submit-4 {
  border: none;
  background: #336699;
  color: #FFF;
  padding: 5px 33px 5px;
  display: inline-block;
  border-radius: 0px;
  -webkit-border-radius: 0px;
}

/* line 182, ../sass/forms.scss */
.ui-autocomplete-field {
  text-transform: capitalize;
}

/* line 186, ../sass/forms.scss */
.search-results .search-snippet-info {
  padding-left: 0;
}

/*
 * Drupal's default login form block
 */
/* line 194, ../sass/forms.scss */
#user-login {
  text-align: left;
  /* LTR */
  /*
   * OpenID
   *
   * The default styling for the OpenID login link seems to assume Garland's
   * styling of list items.
   */
}
@media (min-width: 48em) {
  /* line 194, ../sass/forms.scss */
  #user-login {
    max-width: 60%;
  }
}
/* line 208, ../sass/forms.scss */
#user-login 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. */
}
/* line 212, ../sass/forms.scss */
html.js #user-login li.openid-link,
#user-login li.openid-link {
  /* The "Log in using OpenID" link. */
  margin-top: 1.846em;
  margin-left: -1.538em;
  /* LTR */
  /* Un-do some of the padding on the ul list. */
}
/* line 218, ../sass/forms.scss */
#user-login li.user-link {
  /* The "Cancel OpenID login" link. */
  margin-top: 1.538em;
}

/* line 223, ../sass/forms.scss */
#user-login ul {
  margin: 1.538em 0;
}

/*
 * Drupal admin tables
 *
 * We overrode these styles in normalize.css, but restore them for the admin
 * section of the site.
 */
/* line 235, ../sass/forms.scss */
form th {
  text-align: left;
  /* LTR */
  padding-right: 1.231em;
  /* LTR */
  border-bottom: 0.231em solid #ccc;
}
/* line 241, ../sass/forms.scss */
form tbody {
  border-top: 1px solid #ccc;
}
/* line 245, ../sass/forms.scss */
form tr.even {
  background-color: #fff;
}
/* line 249, ../sass/forms.scss */
form table .item-list ul {
  margin: 0;
}

/* line 257, ../sass/forms.scss */
.lt-ie8 tr.even th,
.lt-ie8 tr.even td,
.lt-ie8 tr.odd th,
.lt-ie8 tr.odd td {
  border-bottom: 1px solid #ccc;
  /* IE doesn't display borders on table rows */
}

/*
 * Drupal core wrongly puts this in system.menus.css. Since we override that, add it back.
 */
/* line 268, ../sass/forms.scss */
td.menu-disabled {
  background: #ccc;
}

/*
 * Hide fieldsets and legends on certain pages, when added as an accessibility improvement.
 */
/* line 279, ../sass/forms.scss */
.section-conectese .subscribe-block-with-textfield fieldset,
.section-conectese .subscribe-block-with-textfield-col fieldset,
.section-stay-connected .subscribe-block-with-textfield fieldset,
.section-stay-connected .subscribe-block-with-textfield-col fieldset {
  border: 0;
  padding: 0;
  margin-left: 0;
}
/* line 284, ../sass/forms.scss */
.section-conectese .subscribe-block-with-textfield legend,
.section-conectese .subscribe-block-with-textfield-col legend,
.section-stay-connected .subscribe-block-with-textfield legend,
.section-stay-connected .subscribe-block-with-textfield-col legend {
  position: absolute;
  left: -5000px;
}

/*
 * FOIA Webform
 */
/* line 293, ../sass/forms.scss */
.node-type-webform.section-foia {
  /* Override default form styles. */
  /* Fix IE11-only bug */
  /* Override style guide form styles. */
  /* FOIA Webform elements */
  /* Conditional webform field. */
}
/* line 295, ../sass/forms.scss */
.node-type-webform.section-foia input[type='text'],
.node-type-webform.section-foia select {
  width: inherit;
}
/* line 299, ../sass/forms.scss */
.node-type-webform.section-foia .webform-component--email-confirm input.email,
.node-type-webform.section-foia .webform-component--email input.email,
.node-type-webform.section-foia input[type='text'] {
  padding: 6px 7px 5px;
}
/* line 304, ../sass/forms.scss */
.node-type-webform.section-foia .form-type-radio,
.node-type-webform.section-foia .webform-component-radios > label {
  margin-bottom: 0.5em;
}
/* line 308, ../sass/forms.scss */
.node-type-webform.section-foia .webform-component-radios {
  margin-top: 0;
}
/* line 311, ../sass/forms.scss */
.node-type-webform.section-foia fieldset {
  border: none;
  padding: 0;
  margin: 1.846em 0 0 0;
}
/* line 316, ../sass/forms.scss */
.node-type-webform.section-foia legend {
  font-weight: bold;
  margin-bottom: 8px;
}
/* line 320, ../sass/forms.scss */
.node-type-webform.section-foia legend .form-required {
  color: #c00;
}
/* line 325, ../sass/forms.scss */
.node-type-webform.section-foia .webform-component-fieldset > legend {
  width: 100%;
}
/* line 332, ../sass/forms.scss */
.node-type-webform.section-foia .form-type-checkbox label,
.node-type-webform.section-foia .form-type-radio label {
  vertical-align: middle;
  padding-left: 5px;
}
/* line 338, ../sass/forms.scss */
.node-type-webform.section-foia .webform-component--first-name,
.node-type-webform.section-foia .webform-component--middle-initial,
.node-type-webform.section-foia .webform-component--last-name,
.node-type-webform.section-foia .webform-component--email,
.node-type-webform.section-foia .webform-component--email-confirm,
.node-type-webform.section-foia .webform-component--phone {
  float: left;
}
/* line 346, ../sass/forms.scss */
.node-type-webform.section-foia [class^="form-item-submitted-address-locality-block-locality"],
.node-type-webform.section-foia [class^="form-item-submitted-address-locality-block-administrative-area"],
.node-type-webform.section-foia .webform-component--first-name,
.node-type-webform.section-foia .webform-component--middle-initial,
.node-type-webform.section-foia .webform-component--email {
  margin-right: 1.5em;
}
/* line 353, ../sass/forms.scss */
.node-type-webform.section-foia .webform-component--first-name,
.node-type-webform.section-foia .webform-component--middle-initial,
.node-type-webform.section-foia .webform-component--last-name,
.node-type-webform.section-foia .webform-component--email,
.node-type-webform.section-foia .webform-component--email-confirm,
.node-type-webform.section-foia .webform-component--phone,
.node-type-webform.section-foia [class^="form-item-submitted-address-country"],
.node-type-webform.section-foia .form-item-submitted-address-country {
  margin-top: 0;
}
/* line 363, ../sass/forms.scss */
.node-type-webform.section-foia [class^="form-item-submitted-address-street-block-premise"],
.node-type-webform.section-foia [class^="form-item-submitted-address-premise"],
.node-type-webform.section-foia .form-item-submitted-address-premise {
  margin-bottom: 0;
}
/* line 368, ../sass/forms.scss */
.node-type-webform.section-foia [class^="form-item-submitted-address-country"],
.node-type-webform.section-foia [id^="addressfield-wrapper"],
.node-type-webform.section-foia #addressfield-wrapper,
.node-type-webform.section-foia .webform-component--doc-request,
.node-type-webform.section-foia .webform-component--email,
.node-type-webform.section-foia .webform-component--phone {
  clear: both;
}
/* line 376, ../sass/forms.scss */
.node-type-webform.section-foia .webform-component--email-confirm input.email,
.node-type-webform.section-foia .webform-component--email input.email {
  color: #7c7c7c;
  border: 1px solid #b1b1b1;
}
/* line 381, ../sass/forms.scss */
.node-type-webform.section-foia .webform-component--dont-have-email {
  float: right;
  margin: 0;
}
/* line 385, ../sass/forms.scss */
.node-type-webform.section-foia .webform-component--dont-have-email p {
  margin: 0;
}
/* line 389, ../sass/forms.scss */
.node-type-webform.section-foia .webform-component--email,
.node-type-webform.section-foia .webform-component--email-confirm,
.node-type-webform.section-foia .webform-component--phone {
  width: 320px;
}
/* line 394, ../sass/forms.scss */
.node-type-webform.section-foia [id^="edit-submitted-address-street-block-thoroughfare"],
.node-type-webform.section-foia [id^="edit-submitted-address-thoroughfare"],
.node-type-webform.section-foia [id^="edit-submitted-address-street-block-premise"],
.node-type-webform.section-foia [id^="edit-submitted-address-premise"],
.node-type-webform.section-foia #edit-submitted-address-thoroughfare,
.node-type-webform.section-foia #edit-submitted-address-premise {
  width: 100% !important;
}
/* line 404, ../sass/forms.scss */
.node-type-webform.section-foia [id^="addressfield-wrapper"] input.locality,
.node-type-webform.section-foia #addressfield-wrapper input.locality {
  width: 205px !important;
}
/* line 408, ../sass/forms.scss */
.node-type-webform.section-foia [class^="form-item-submitted-address-locality-block-locality"],
.node-type-webform.section-foia [class^="form-item-submitted-address-locality-block-administrative-area"],
.node-type-webform.section-foia [class^="form-item-submitted-address-locality-block-postal-code"] {
  float: left;
}
/* line 413, ../sass/forms.scss */
.node-type-webform.section-foia [class^="form-item-submitted-address-locality-block-postal-code"],
.node-type-webform.section-foia [class^="form-item-submitted-address-postal-code"],
.node-type-webform.section-foia .form-item-submitted-address-postal-code {
  margin-right: 0 !important;
}
/* line 419, ../sass/forms.scss */
.node-type-webform.section-foia .webform-component--records-fieldset--doc-consumer-complaint,
.node-type-webform.section-foia .webform-component--records-fieldset--ftc-records,
.node-type-webform.section-foia .webform-component--desc-fieldset--private-info,
.node-type-webform.section-foia .webform-component--desc-fieldset--private-name,
.node-type-webform.section-foia .webform-component--desc-fieldset--edu-info,
.node-type-webform.section-foia .webform-component--desc-fieldset--edu-name,
.node-type-webform.section-foia .webform-component--desc-fieldset--media-info,
.node-type-webform.section-foia .webform-component--desc-fieldset--media-name,
.node-type-webform.section-foia .webform-component--desc-fieldset--other-info,
.node-type-webform.section-foia .webform-component--desc-fieldset--other-name {
  margin-left: 21px;
  margin-top: 10px;
  margin-bottom: 15px;
}
/* line 433, ../sass/forms.scss */
.node-type-webform.section-foia .webform-component--records-fieldset--doc-consumer-complaint.webform-component-markup, .node-type-webform.section-foia .webform-component--records-fieldset--doc-consumer-complaint > label,
.node-type-webform.section-foia .webform-component--records-fieldset--ftc-records.webform-component-markup,
.node-type-webform.section-foia .webform-component--records-fieldset--ftc-records > label,
.node-type-webform.section-foia .webform-component--desc-fieldset--private-info.webform-component-markup,
.node-type-webform.section-foia .webform-component--desc-fieldset--private-info > label,
.node-type-webform.section-foia .webform-component--desc-fieldset--private-name.webform-component-markup,
.node-type-webform.section-foia .webform-component--desc-fieldset--private-name > label,
.node-type-webform.section-foia .webform-component--desc-fieldset--edu-info.webform-component-markup,
.node-type-webform.section-foia .webform-component--desc-fieldset--edu-info > label,
.node-type-webform.section-foia .webform-component--desc-fieldset--edu-name.webform-component-markup,
.node-type-webform.section-foia .webform-component--desc-fieldset--edu-name > label,
.node-type-webform.section-foia .webform-component--desc-fieldset--media-info.webform-component-markup,
.node-type-webform.section-foia .webform-component--desc-fieldset--media-info > label,
.node-type-webform.section-foia .webform-component--desc-fieldset--media-name.webform-component-markup,
.node-type-webform.section-foia .webform-component--desc-fieldset--media-name > label,
.node-type-webform.section-foia .webform-component--desc-fieldset--other-info.webform-component-markup,
.node-type-webform.section-foia .webform-component--desc-fieldset--other-info > label,
.node-type-webform.section-foia .webform-component--desc-fieldset--other-name.webform-component-markup,
.node-type-webform.section-foia .webform-component--desc-fieldset--other-name > label {
  font-weight: normal;
  font-style: italic;
}
/* line 438, ../sass/forms.scss */
.node-type-webform.section-foia .webform-component--records-fieldset--doc-consumer-complaint > label,
.node-type-webform.section-foia .webform-component--records-fieldset--ftc-records > label,
.node-type-webform.section-foia .webform-component--desc-fieldset--private-info > label,
.node-type-webform.section-foia .webform-component--desc-fieldset--private-name > label,
.node-type-webform.section-foia .webform-component--desc-fieldset--edu-info > label,
.node-type-webform.section-foia .webform-component--desc-fieldset--edu-name > label,
.node-type-webform.section-foia .webform-component--desc-fieldset--media-info > label,
.node-type-webform.section-foia .webform-component--desc-fieldset--media-name > label,
.node-type-webform.section-foia .webform-component--desc-fieldset--other-info > label,
.node-type-webform.section-foia .webform-component--desc-fieldset--other-name > label {
  font-style: normal;
}
/* line 442, ../sass/forms.scss */
.node-type-webform.section-foia .webform-component--desc-fieldset--private-info,
.node-type-webform.section-foia .webform-component--desc-fieldset--edu-info,
.node-type-webform.section-foia .webform-component--desc-fieldset--media-info,
.node-type-webform.section-foia .webform-component--desc-fieldset--other-info {
  margin-top: 12px;
  margin-bottom: 12px;
}
/* line 449, ../sass/forms.scss */
.node-type-webform.section-foia .webform-component--records-fieldset--doc-type {
  margin-bottom: 0;
}
/* line 452, ../sass/forms.scss */
.node-type-webform.section-foia .webform-component--records-fieldset--doc-consumer-complaint {
  margin-bottom: 8px;
}
/* line 455, ../sass/forms.scss */
.node-type-webform.section-foia .webform-component--fees {
  margin-bottom: 1em;
}
/* line 458, ../sass/forms.scss */
.node-type-webform.section-foia .webform-component--max-amount {
  margin-top: 0;
}
/* line 461, ../sass/forms.scss */
.node-type-webform.section-foia .webform-component--max-amount > label {
  float: left;
  line-height: 28px;
  margin-right: 1.5em;
}
/* line 467, ../sass/forms.scss */
.node-type-webform.section-foia .webform-submit {
  background: #336699;
  color: #FFF !important;
  margin-top: 5px;
  padding: 13px;
  padding-bottom: 8px;
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 8px;
  text-transform: uppercase;
  border: none;
}
/* line 476, ../sass/forms.scss */
.node-type-webform.section-foia .webform-submit:hover {
  background: #244873;
  text-decoration: none;
}
/* line 483, ../sass/forms.scss */
.node-type-webform.section-foia .webform-component label.error {
  float: none;
  clear: both;
  /* margin: 1.5em 0; */
  background-image: url(/misc/message-24-error.png);
  background-color: #fef5f1;
  background-position: 8px 8px;
  background-repeat: no-repeat;
  border: 1px solid #ed541d;
  margin: 6px 0;
  padding: 10px 10px 10px 50px;
  line-height: 20px;
}
