form {  margin: 0 }

form em {
 color: #998;
 margin-left: 1em;
}

form label { cursor:pointer; }

form table { width: 100%; }

form table th { white-space: nowrap; }

form table td { width: 100%; }

form table td, form table th {
 padding: .3em .75em;
 border-bottom: 1px dotted #ccb;
 font-weight: normal;
 font-size: 85%;
}

form td.buttons, form th.buttons {
 border-width: 0;
}

input, textarea, select {
  margin:1px 0;
  font:100%/1.2em Monaco,Monospace;
}

td input, td textarea, td select, #searchform input, #advsearch input {
  font-size:110%;
}

input.text {
 background: #fff;
 border: 1px solid #ccc;
 border-color: #aaa #eee #eee #aaa;
 color: #333;
}

form textarea {
 background: #fff;
 display: block;
 clear: left;
 width: 97%;
 border: 1px solid #ccc;
 border-color: #ccc #fff #fff #ccc;
 color: #444;
}

form input.text:focus, form textarea:focus {
 background: #ffe;
 border-color: #aa9 #ddc #ddc #aa9;
}

select { border:1px solid #ccc; }

form input.button {
 padding: 0 1em;
 border: 1px solid #999;
 border-color: #eec #776 #554 #eec;
 background: #ddc;
 color: #000;
 font-weight: bold;
}

form input.button:active {
 border-color: #554 #eec #eec #554;
 background: #ccc;
 color: #000;
}
