/**
 * Styles for the helpfulness form.
 */

#prac-helpful-form.usa-form,
.prac-helpful-form.usa-form,
#prac-helpful-form .usa-form,
.prac-helpful-form .usa-form {
    max-width: 100%;
    width: 100%;
    border-left: 6px solid #f36d00;
    border-radius: 4px;
    background-color: #f0f4f8;
    padding-left: 2rem;
    margin-bottom: 1.25rem;
    line-height: 4rem;
    min-height: 4rem;
    position: relative;
    float: right;
}

.response_text {
  display: none;
}

#prac_helpful {
  display: flex;
  justify-content: flex-end;
}

@media screen and (max-width: 640px) {
  #prac-helpful-form.usa-form,
  .prac-helpful-form.usa-form,
  #prac-helpful-form .usa-form,
  .prac-helpful-form .usa-form {
      padding: 0 1rem;
  }

  #prac_helpful {
    flex-direction: column;
  }

  #prac_helpful .button,
  #prac_helpful .helpful_title,
  #prac_helpful .btns,
  #prac_sorrowful input
  {
    display: inherit;
    width: 100%;
  }

  .js-form-item-helpful-comment {
    max-width: unset;
    margin-left: auto;
    margin-right: auto;
  }

}

#prac_helpful .helpful_title
{
  flex: 1;
  order: 1;
}

#prac_helpful div[data-drupal-selector="edit-actions"],
#prac_helpful div:nth-child(1)
 {
  display: inherit;
  order: 2;
}

#prac_helpful .no-action,
#prac_helpful .btns
{
  display: inherit;
  order: 3;
}

#prac-helpful-form .form-row-wrapper .button,
.prac-helpful-form .form-row-wrapper .button {
    display: block;
    transition: all .2s;
    border: 0;
    border-radius: 2px;
    background-color: #0e7bc0;
    cursor: pointer;
    padding: .9375rem 1.875rem;
    margin: 0.5rem;
    text-decoration: none;
    line-height: 1;
    color: #fff;
    font-weight: 700;
}

.form-row-wrapper .button:hover {
    background-image: linear-gradient(180deg,rgba(0,0,0,.25),rgba(0,0,0,.25));
    text-decoration: none;
    color: #fff;
}

#prac_sorrowful {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#block-prachelpful {
  padding-top: 1.875rem;
}

.js-form-wrapper div.ajax-progress {
  display: none;
}
