/* Form
----------------------------------------------- */

form {
  table {
    float: left;
    width: 445px;
    margin-bottom: 20px;
  }

  th,
  td {
    vertical-align: top;
    padding-top: 2px;
    padding-bottom: 2px;
  }

  th {
    font-weight: normal;
    text-align: left;
    width: 200px;
    padding-top: 3px;
  }

  textarea {
    width: 100%;
  }

  input[type="submit"],
  input.button.main {
    font-size: 18px;
  }

  textarea {
    height: 100px;
  }

  strong.error,
  td.error,
  th.error,
  .error {
    color: #f60;
  }

  &.preview {
    td,
    th {
      border: 1px solid #c7e9e5;
      border-width: 1px 0 0 0;
    }

    th.header,
    td.spacer {
      border-width: 0;
    }

    th strong {
      font-weight: normal;
    }

    td,
    th.header,
    th.header strong {
      font-weight: bold;
    }
  }
}

input.form_error {
  border: 2px solid #f60;
}

form td.error_message {
  width: 40px;
  padding: 0;
  background-image: url("/assets/error_icon-26690a46.gif");
  background-repeat: no-repeat;
  background-position: 5px center;
}

table .error_message {
  border: 0;
  margin: 0;
  padding: 0;
  width: 20px;
  height: 20px;
  text-indent: -2000px;
  background-position: center left;
}

table.rates tbody th,
table.rates tbody td {
  border: 1px solid #fff;
  border-width: 1px 0;
  font-size: 12px;
  white-space: nowrap;
  padding: 1px 2px;
}
