
blockquote[type=cite] {
  display: block;
  margin: 1em 0px;
  padding-left: 1em;
  border-left: solid;
  border-color: blue;
  border-width: thin;
}


input {
  vertical-align: bottom;
  border: 2px inset rgb(204, 204, 204);
  color: black;
}
input[type=hidden] {
  border: none;
  visibility: collapse;
}

input[type=image] {
  border: 2px solid blue;
  vertial-align:baseline;
}

input[type=image]:focus {
  border: 2px dotted black;
}

input[type=image][disabled] {
  border: 2px solid rgb(153, 153, 153);
  cursor: default;
}

input[type=file] {
  white-space: nowrap;
  border:none;
}

/* browse button for file selector */
input[type=file] input[type="button"] {
  height:inherit;
}

/* Show browse button inside the file selector disabled */
input[type=file][disabled] input[type="button"] {
  border: 1px solid;
} 

input[type=file] input[type="button"]:-moz-buttonlabel {
  content:"Browse...";
  font-family: sans-serif;
}

/* Show browse button disabled */
input[type="file"][disabled] input[type="button"]:-moz-buttonlabel  {
  color: gray;
}


input[type=radio] {
  /* these margins are for NavQuirks, we need a Standard ua.css */  
  margin-left:   3px;   
  margin-right:  5px;  
  margin-top:    2px; 
  margin-bottom: 4px; 
  border: 2px outset rgb(153, 153, 153);
  background-color:rgb(204, 204, 204);
  color:black;
  width:12px;
  height:12px;
  -moz-border-radius:6px;
}

input[type=radio][disabled] {
  border: 1px solid;
}

input[type=radio]:focus {
  border: 2px inset rgb(153, 153, 153);
}

input[type=radio]:hover {
  border : 2px solid black;
}

input[type=radio]:active {
  background-color: white;
}

input[type=radio][disabled]:hover {
  border: 1px solid rgb(153, 153, 153);
}

input[type=radio][disabled]:active {
  background-color: rgb(204, 204, 204);
}

:-moz-radio {
  background-color:black;
  width:6px;
  height:6px;
  left:6px;
  top:6px;
  -moz-border-radius:3px;
}


input[type=checkbox] {
  /* these margins are for NavQuirks, we need a Standard ua.css */  
  padding-top:   0px;
  padding-left:  0px;
  padding-right: 1px;
  padding-bottom:1px;
  margin-left:   3px;   
  margin-right:  4px;  
  margin-top:    3px; 
  margin-bottom: 3px;
  border: 2px inset rgb(153, 153, 153);
  background-color:rgb(204, 204, 204);
  width:13px;
  height:13px;
  color:black;
/*  -moz-border-radius:1px; */
}

input[type=checkbox]:focus {
  border: 2px dotted rgb(153, 153, 153);
}

input[type=checkbox]:hover {
  border : 2px solid black;
}

input[type=checkbox]:active {
  background-color: white;
}

input[type=checkbox][disabled] {
  border: 2px solid;
}

input[type=checkbox][disabled]:hover {
  border: 2px solid rgb(153, 153, 153);
}

input[type=checkbox][disabled]:active {
  background-color:rgb(204, 204, 204);
}

/* submit */
input[type="submit"] { 
  border: 2px outset rgb(156, 154, 156);
  background-color: rgb(206, 207, 206);
  color:black; 

  padding: 1px;
}

input[type="submit"]:hover {
   border : 2px solid black;
}

input[type="submit"]:active {
  border-style: inset;

  padding-left: 2px;
  padding-right: 0px;
  padding-top: 2px;
  padding-bottom: 0px;
}

input[type="submit"]:hover:-moz-outline {
   border : 1px solid black;
}

input[type="submit"]:active:-moz-outline {
   border : 1px solid black;
}

input[type="submit"][disabled] {
   border: 1px solid;
}

input[type="submit"][disabled]:hover {
  border: 1px solid rgb(156, 154, 156);
}

input[type="submit"][disabled]:active {
  padding: 1px;
}

input[type="submit"]:-moz-focus-inner {
   padding-left  : 2px;
   padding-right : 2px;
   padding-top   : 1px;
   padding-bottom: 1px;
   margin: 0px;
}

input[type="submit"]:focus:-moz-focus-inner {
   padding-left  : 1px;
   padding-right : 1px;
   padding-top   : 0px;
   padding-bottom: 0px;
 
   margin: 0px;
   border : 1px dotted black;
}

input[type=submit]:-moz-buttonlabel {
  content:"Submit Query";
  font-family: sans-serif;
  font-size: small;
}

input[type="submit"][disabled]:-moz-buttonlabel  {
  color: gray;
}

input[type=submit][value]:-moz-buttonlabel {
  content:attr(value);
  font-family: sans-serif;
  font-size: small;
}


/* reset */
input[type="reset"] { 
  border: 2px outset rgb(156, 154, 156);
  background-color: rgb(206, 207, 206);
  color:black; 

  padding: 1px;
}

input[type="reset"]:hover {
   border : 2px solid black;
}

input[type="reset"]:active {
  border-style: inset;

  padding-left: 2px;
  padding-right: 0px;
  padding-top: 2px;
  padding-bottom: 0px;
}

input[type="reset"]:hover:-moz-outline {
   border : 1px solid black;
}

input[type="reset"]:active:-moz-outline {
   border : 1px solid black;
}

input[type="reset"][disabled] {
   border: 1px solid;
}

input[type="reset"][disabled]:hover {
  border: 1px solid rgb(156, 154, 156);
}

input[type="reset"][disabled]:active {
  padding: 1px;
}

input[type="reset"]:-moz-focus-inner {
   padding-left  : 2px;
   padding-right : 2px;
   padding-top   : 1px;
   padding-bottom: 1px;
   margin: 0px;
}

input[type="reset"]:focus:-moz-focus-inner {
   padding-left  : 1px;
   padding-right : 1px;
   padding-top   : 0px;
   padding-bottom: 0px;
 
   margin: 0px;
   border : 1px dotted black;
}
input[type=reset]:-moz-buttonlabel {
  content:"Reset";
  font-family: sans-serif;
  font-size: small;
}

input[type="reset"][disabled]:-moz-buttonlabel  {
  color: gray;
}

input[type=reset][value]:-moz-buttonlabel {
  content:attr(value);
  font-family: sans-serif;
  font-size: small;
}

/* button */
input[type="button"] { 
  border: 2px outset rgb(156, 154, 156);
  background-color: rgb(206, 207, 206);
  color:black; 
  padding: 1px;
}

input[type="button"]:hover {
   border : 2px solid black;
}

input[type="button"]:active {
  border-style: inset;
  padding-left: 2px;
  padding-right: 0px;
  padding-top: 2px;
  padding-bottom: 0px;
}

input[type="button"]:hover:-moz-outline {
   border : 1px solid black;
}

input[type="button"]:active:-moz-outline {
   border : 1px solid black;
}

input[type="button"][disabled] {
   border: 1px solid;
}

input[type="button"][disabled]:hover {
  border: 1px solid rgb(156, 154, 156);
}

input[type="button"][disabled]:active {
  padding: 1px;
}

input[type="button"]:-moz-buttonlabel {
  content:"   ";
  font-family: sans-serif;
  font-size: small;
  background-color:inherit;
}

input[type="button"][disabled]:-moz-buttonlabel {
  color: gray;
}

input[type="button"][value]:-moz-buttonlabel {
  content:attr(value);
  font-family: sans-serif;
  font-size: small;
  background-color:inherit;
}


input[type="button"]:-moz-focus-inner {
/*XXX[PERF] Set the padding to match between
  focus changes to prevent reflow */
   padding-left  : 1px;
   padding-right : 1px;
   padding-top   : 0px;
   padding-bottom: 0px;
   margin: 0px;
/*XXX[PERF] setup a border so the size does 
  not change between focus changes to prevent 
  reflows */
   border : 1px solid rgb(206, 207, 206);
}

input[type="button"]:focus:-moz-focus-inner {
   padding-left  : 1px;
   padding-right : 1px;
   padding-top   : 0px;
   padding-bottom: 0px;
   margin: 0px;
   border : 1px dotted black;
}


button { 
  display: inline;
  vertical-align: bottom;
  cursor: default;

  border: 2px outset rgb(156, 154, 156);
  background-color: rgb(206, 207, 206);
  color:black; 

  padding: 1px;
}

button:hover {
   border : 2px solid black;
}

button:active {
  border-style: inset;

  padding-left: 2px;
  padding-right: 0px;
  padding-top: 2px;
  padding-bottom: 0px;
}

button:hover:-moz-outline {
   border : 1px solid black;
}

button:active:-moz-outline {
   border : 1px solid black;
}

button[disabled] {
   border: 1px solid;
   color: gray;
}

button[disabled]:hover {
  border: 1px solid rgb(156, 154, 156);
}

button[disabled]:active {
  padding: 1px;
}

button:-moz-focus-inner {
   padding-left  : 2px;
   padding-right : 2px;
   padding-top   : 1px;
   padding-bottom: 1px;
   margin: 0px;
}

button:focus:-moz-focus-inner {
   padding-left  : 1px;
   padding-right : 1px;
   padding-top   : 0px;
   padding-bottom: 0px;
 
   margin: 0px;
   border : 1px dotted black;
}

input[type=text] {
  font-family:-moz-fixed;
  border: 2px inset rgb(204, 204, 204); /* for Nav Quirks */
  padding: 0px;                         /* for Nav Quirks */
  background-color: white;
  color: black;
  padding: 0px;
  margin-top:    1px;
  margin-bottom: 1px;
  margin-left:   0px;
  margin-rigth:  0px;
} 

input[type=text][disabled] {
  color: gray;
}

input[type=password] {
  border: 2px inset rgb(204, 204, 204);
  background-color: white;
  color:black;
}

input[type=password][disabled] {
  color: gray;
}

label {
  display: inline;
  vertical-align: bottom;
  padding-left: 3px;
  padding-right: 3px;
}

select[size] {
  font-family: sans-serif;
  font-size: small;
  background-color: white;
  border: 2px inset rgb(153, 153, 153);
  padding-left:   0px;
  padding-top:    1px;
  padding-right:  0px;
  padding-bottom: 1px;
}

select, select[size="1"] {
  font-family: sans-serif;
  font-size: small;
  background-color: white;
  border: inset 2px rgb(192, 192, 192);
  padding-left:   0px;
  padding-top:    0px;
  padding-right:  0px;
  padding-bottom: 0px;
  margin: 0px 0px 0px 0px;
  vertical-align: bottom;
  background-color:rgb(204, 204, 204);  
  color:black;
  white-space:nowrap;
  text-align: left; 
}

select[size][disabled] {
  background-color:rgb(204, 204, 204);  
  border: 2px inset rgb(153, 153, 153);
}

select[multiple] {
  background-color: white;
  border: 2px inset rgb(153, 153, 153);
  padding-left:   0px;
  padding-top:    0px;
  padding-right:  3px;
  padding-bottom: 0px;
}

select[multiple][disabled] {
  background-color:rgb(204, 204, 204);  
  border: 2px inset rgb(153, 153, 153);
}

select[disabled] {
  background-color: rgb(204, 204, 204);
  border: 2px inset rgb(153, 153, 153);
}

select[multiple][size="1"] {
  background-color: white;
  border: 2px inset rgb(153, 153, 153);
  padding-left:   0px;
  padding-top:    0px;
  padding-right:  3px;
  padding-bottom: 0px;
}

/* combobox button */
select input[type="button"] {
  white-space:nowrap;
  border: outset 2px rgb(204, 204, 204);
  background-image:url("arrow.gif");
  background-repeat:no-repeat;
  background-position:center;
  width:12px;
  height:12px;
  -moz-border-radius:0px;
}

/* combobox button depressed */
select input[type="button"]:active {
  background-image:url("arrowd.gif");
  padding:1px;
}

select[disabled] input[type="button"] {
  border: solid 1px rgb(204, 204, 204);
}



option {
  min-height: 1em;
  display:block;
  font-family: sans-serif;
  font-size: small;
}

select[size] option {
  padding-left:   3px;
  padding-top:    0px;
  padding-right:  11px;
  padding-bottom: 0px;
}

select option, select[size="1"] option {
  padding-left:   3px;
  padding-top:    0px;
  padding-right:  5px;
  padding-bottom: 0px;
}

select[disabled] option {
  color:rgb(153, 153, 153);
  background-color:white; 
}


select option[disabled] {
  color:rgb(153,153,153); 
  background-color:rgb(204,204,204); 
}

optgroup {
  font-family: sans-serif;
  font-size: small;
  display:block;
  font-style:italic;
  font-weight:bold;
}

optgroup option {
  display:block;
  padding-left:20px;
  font-style:normal;
  font-weight:normal;
}

optgroup:before {
  display:block;
  content:attr(label);
}

select[size]:focus {
  border: 2px dotted rgb(128,128,128);
  padding-left:   0px;
  padding-top:    1px;
  padding-right:  0px;
  padding-bottom: 1px;
}

select:focus, select[size="1"]:focus {
  border: 2px dotted rgb(128,128,128);
  padding-left:   0px;
  padding-top:    0px;
  padding-right:  0px;
  padding-bottom: 0px;
}

select[multiple]:focus {
  border: 2px dotted rgb(128,128,128);
  padding-left:   0px;
  padding-top:    0px;
  padding-right:  3px;
  padding-bottom: 0px;
}

/* Begin - Margin setting for form controls inside tables for Nav Quirks */

td select[size] {
  margin-top:    0px;
  margin-bottom: 1px;
}

td select, td select[size="1"] {
  margin-top:    2px;
  margin-bottom: 2px;
}

td input[type="text"] {
  margin-top:    1px;
  margin-bottom: 1px;
}

td input[type="checkbox"] {
  margin-bottom: 1px;
}

td input[type="radio"] {
  margin-bottom: 1px;
}

td textarea {
  margin-top: 1px;
  margin-bottom: 2px;
}

/* End - Margin setting for form controls inside tables for Nav Quirks */

textarea {
  font-family:monospace;
  vertical-align: bottom;
  border: 2px inset #c0c0c0;
  background-color:white;
  color:black;
  padding:   0px;
  margin-top:    1px;
  margin-bottom: 1px;
  margin-left:   0px;
  margin-rigth:  0px;
}

textarea[disabled] {
  color: gray;
}
