@charset "utf-8";
body,h1,h2,h3,h4,h5,h6,ul,p,form,input,ul,ol,li,dl,dd,dt {
	margin: 0;
	padding: 0;
}
html {
	height: 100%;
	margin-bottom: 1px;
}


input, textarea {  
	padding:0;  
	vertical-align:middle; 
	font-family: monospace;
	font-size: 12px;
	margin: 3px 0;
}
textarea {
	padding: 2px;
}
label {
	margin-right: 10px;
}  
  
input[type="checkbox"],  
input[type="radio"] {  
	vertical-align: -0.2em; 
	margin-right: 3px; 
}  
  
input[type="submit"] {  
	padding:0.2em;  
}  
  
select {  
	padding:0;
	margin-right: 2px; 
} 


/* for IE7 */  
*+html input[type="radio"] {
	vertical-align: -0.2em; 
}

*+html input {  
    padding:0.2em;  
} 
  
*+html input.submit {  
    line-height:1.2;  
    padding-top:0.2em;  
} 
  
*+html select {  
    vertical-align:-0.2em;  
} 
  
/* for IE6 */
* html input {
	vertical-align: -0.25em; 
}
  
  
  
/* for Opera9.27 */  
html:first-child input {  
    padding:0.2em;  
} 
  
html:first-child input[type="checkbox"],  
html:first-child input[type="radio"] {  
    vertical-align:middle;  
} 
  
html:first-child input[type="submit"] {  
    padding:0.3em;  
} 
  
html:first-child select {  
    padding:0.2em;  
} 
  
/* for Opera9.5 [Safari3] */  
body:first-of-type input {  
    padding:0.2em;  
} 
  
body:first-of-type input[type="checkbox"],  
body:first-of-type input[type="radio"] {  
    vertical-align:-0.3em;  
} 
  
body:first-of-type input[type="submit"] {  
    padding:0.3em 0.3em 0.2em 0.3em;  
} 
  
/* for Safari3 */  
html:not(:only-child:only-child) input {  
    padding:0;  
    vertical-align:baseline;  
} 
  
html:not(:only-child:only-child) input[type="checkbox"],  
html:not(:only-child:only-child) input[type="radio"] {  
    vertical-align:baseline;  
} 
  
html:not(:only-child:only-child) select {  
    vertical-align:0.1em;  
}



/* for Safari2 */ 

html[xmlns*=""] body:last-child input {  
    padding:0;  
    vertical-align:baseline;  
} 
  
html[xmlns*=""] body:last-child input[type="checkbox"],  
html[xmlns*=""] body:last-child input[type="radio"] {  
    vertical-align:baseline;  
} 
  
html[xmlns*=""] body:last-child select {  
    vertical-align:0.1em;  
}
