* {
  margin: 0;
  padding: 0;
}

body {
  font-family: verdana, arial, helvetica, sans-serif;
  font-size: 0.8em;
  font-color: black;
  background: white;
  text-align: center;
  line-height: 150%;
}

a {
  color: #263356;
  font-weight: bolder;
  text-decoration: none;
  border-bottom: 1px dotted #ccc;
}

a:hover {
  border: 0;
  color: white;
  background: #263356;
}

h1, h2, h3, h4 {
  margin: 10px 0;
  color: #263356;
}

h1 {
  padding-bottom: 5px;
  border-bottom: 1px dotted #999;
  font-size: 200%;
}

h2 {
  margin-top: 50px;
  border-bottom: 1px dotted #ccc;
  font-size: 150%;
}

h3 {
  font-size: 120%;
  text-decoration: underline;
}

p, ul, pre {
  margin: 8px 0;
}

ul {
  padding-left: 20px;
  list-style: square;
}

code {
  padding: 0 2px;
  font-size: 1.2em;
  background: #e8e8e8;
}

pre {
  border: 1px solid #263356;
  padding: 0 8px;
  font-size: 1.2em;
  background: #e8e8e8;
}

acronym {
  border-bottom: 1px dotted #ccc;
  cursor: help;
}

/** Form **/

label {
  margin: 3px 0;
  font-size: 90%;
  font-weight: bolder;
  display: block;
}

label.checkbox {
  font-weight: normal;
  display: inline;
}

input, textarea, select {
  border: 1px solid #ccc;
  padding: 3px;
  font-family: verdana, arial, helvetica, sans-serif;
  font-size: 11px;
  background: white;
}

input:hover, textarea:hover, select:hover {
  border: 1px solid green;
}

input:focus, textarea:focus, select:focus {
  border: 1px solid black;
}

fieldset {
  margin: 10px 0;
  padding: 10px;
  padding-top: 5px;
  border: 1px solid #ccc;
}

fieldset legend {
  font-size: 90%;
  font-weight: bolder;
}

input { width: 200px; }
input.short { width: 50px; }
input.medium { width: 150px; }
input.long { width: 250px; }

input.checkbox {
  border: 0;
  width: auto;
}

textarea {
  width: 400px;
  height: 150px;
}

textarea.short {
  height: 70px;
}


button.submit {
  margin-top: 10px;
}

span.required {
  color: red;
  font-size: 90%;
}

#formErrors {
  background: red;
  color: white;
  padding: 5px 10px;
}

#formErrors ul li {
  font-size: 90%;
}

/** Classes **/

.desc {
  font-size: 90%;
  color: #666;
  font-style: italic;
}

.bold {
  font-weight: bolder;
}

.note {
  border: 1px solid #263356;
  padding: 0 8px;
  background: #e8e8e8;
}

/** Construction **/

#dialog {
  margin: 100px auto 0 auto;
  width: 400px;
  text-align: left;
}

#footer {
  margin-top: 10px;
  border-top: 1px dotted #999;
  padding-top: 5px;
  color: #666;
  font-size: 80%;
  text-align: center;
}