.kpform {
  margin: 0 auto;
  width: 400px;
  padding: 14px;
}

.inputerror {
  border: 1px solid #D8000C;
  background-color: #FFEAEA;
}

#blueform {
  font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif;
  font-size: 1em;
  border: solid 2px #b7ddf2;
  background: #ebf4fb;
}

#blueform p, #blueform h1, #blueform form, #blueform button {
  border: 0;
  margin: 0;
  padding: 0;
}

#blueform h1 {
  font-size: 1.15em;
  font-weight: bold;
  margin-bottom: 8px;
}

#blueform p {
  font-size: 0.9em;
  color: #666666;
  margin-bottom: 20px;
  border-bottom: solid 1px #b7ddf2;
  padding-bottom: 10px;
}

#blueform label {
  display: block;
  font-weight: bold;
  text-align: right;
  width: 140px;
  float: left;
  margin-top: 3px;
}

#blueform .small {
  color: #666666;
  display: block;
  font-size: 0.9em;
  font-weight: normal;
  text-align: right;
  width: 140px;
  margin-top: -7px;
}

#blueform input, #blueform textarea {
  float: left;
  font-size: 1em;
  padding: 4px 2px;
  border: solid 1px #aacfe4;
  width: 200px;
  margin: 2px 0 20px 10px;
}

#blueform textarea {
  font-size: 1.2em;
}

#blueform .inputerror {
  border: 1px solid #D8000C;
  background-color: #FFEAEA;
}

#blueform button {
  clear: both;
  margin-left: 150px;
  background: #ebf4fb;
  color: #aacfe4;
  border: solid 1px #aacfe4;
  padding: 4px 6px;
  font-size: 0.9em;
  font-weight: bold;
}

#blueform input.button {
  width: 100px;
  margin-left: 150px;
  background: #ebf4fb;
  color: #3F95C4;
  border: solid 1px #3F95C4;
  padding: 4px 6px;
  font-size: 0.9em;
  font-weight: bold;
}

#blueform input.button.second {
  margin-left: 10px;
}

#blueform input.button:hover {
  background: #3F95C4;
  color: #ffffff;
}

#entryform, #recordtable, .recordtable, .notes {
  font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif;
  font-size: 1em;
  border: solid 2px #b7ddf2;
  background-color: #ebf4fb;
  margin: 10px auto;
  width: 520px;
  padding: 10px;
}

#entryform table, #recordtable table, .recordtable table, .notes table {
  width: 100%;
  border-collapse: collapse;
}

#entryform h1 {
  border: 0;
  margin: 0px 0px 10px 0px;
  padding: 5px;
  font-size: 1.3em;
  font-weight: bold;
  background-color: #b7ddf2;
  text-align: center;
}

#entryform input, #entryform textarea, #entryform select {
  font-size: 1em;
  padding: 4px 2px;
  border: solid 1px #aacfe4;
  width: 200px;
}

#entryform select {
  width: auto;
}

#entryform input.radio {
  border: none;
  width: auto;
}

#entryform textarea {
  font-size: 1.2em;
}

#entryform .inputerror {
  border: 1px solid #D8000C;
  background-color: #FFEAEA;
}

#entryform input.button, #recordtable input.button, .recordtable input.button {
  width: 100px;
  background: #ebf4fb;
  color: #3F95C4;
  border: solid 1px #3F95C4;
  padding: 4px 6px;
  font-size: 0.9em;
  font-weight: bold;
}

#entryform input.button:hover, #recordtable input.button:hover, .recordtable input.button:hover {
  background: #3F95C4;
  color: #ffffff;
}

#entryform th, .notes th {
  font-weight: bold;
}

#entryform td, #entryform th, #recordtable td, #recordtable th, .recordtable td, .recordtable th, .notes th, .notes td {
  border-bottom: 1px dotted #ccc;
}

#entryform td.last, #recordtable td.last, .recordtable td.last {
  padding: 10px 0px 0px 0px;
  border: none;
  text-align: center;
}

#entryform th.last, .notes th.last, .notes td.last {
  border:none;
}

#entryform td.second, .notes td.second {
  padding-left: 15px;
  border-left: 1px dotted #ccc;
}

#entryform td, #recordtable td, .recordtable td, .notes td {
  padding: 3px;
}

#recordtable, .recordtable {
  width: 95%;
}

#recordtable input.button {
  width: 150px;
}

#recordtable th, .recordtable th {
  font-weight: bold;
  padding-bottom: 10px;
}

#recordtable th.second, .recordtable th.second {
  padding-top: 10px;
}

#recordtable td.center, #recordtable th.center, .recordtable td.center, .recordtable th.center {
  text-align: center;
}

#recordtable.tradesearch {
  font-size: 0.9em;
}

.recordtable a:hover {
  background: #3F95C4;
  color: #ffffff;
  text-decoration: none;
}

.notes th {
  width: 8em;
}

.spacer {
  clear: both;
  height: 1px;
  padding: 0px;
  margin: 0px;
}

