/* CSS reset----------------------------------------------------------- */
/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
/**
 * YUI Reset
 * @module reset
 * @namespace
 * @requires 
 */
html {
	color: #000;
	background: #FFF;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
button,
textarea,
p,
blockquote,
th,
td {
	margin: 0;
	padding: 0;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

fieldset,
img {
	border: 0;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var,
optgroup {
	font-style: inherit;
	font-weight: inherit;
}

del,
ins {
	text-decoration: none;
}

li {
	list-style: none;
}

caption,
th {
	text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: 100%;
	font-weight: normal;
}

q:before,
q:after {
	content: '';
}

abbr,
acronym {
	border: 0;
	font-variant: normal;
}

sup {
	vertical-align: baseline;
}

sub {
	vertical-align: baseline;
}

/*because legend doesn't inherit in IE */
legend {
	color: #000;
}

input,
button,
textarea,
select,
optgroup,
option {
	font-family: inherit;
	font-size: inherit;
	font-style: inherit;
	font-weight: inherit;
	font-family:Arial,Helvetica,sans-serif;
}
input[type=text]:focus {
outline:none;
}
input[type=text]:focus,
textarea:focus{
	outline:none;
}
/*@purpose To enable resizing for IE */
/*@branch For IE6-Win, IE7-Win */
input,
button,
textarea,
select {
	*font-size: 100%;
}
/* clearfix */
.clearfix:after{clear:both;content:".";display:block;height:0;visibility:hidden;width:0;}
* html .clearfix{height:1%;}
.clearfix{min-height:1%;}

/* --FORM-- */  
fieldset {  
border:1px solid #ccc;  
margin-bottom:1em;  
padding:0 1em 1em 1em;  
}  
  
legend {  
background:#fff;  
padding:0.3em;  
}  
  
input, textarea {  
line-height:1.4;  
padding:0;  
vertical-align:middle;  
}  
  
input[type="checkbox"],  
input[type="radio"] {  
vertical-align:text-bottom;  
}  
  
input[type="submit"] {  
padding:0.1em;  
}  
  
select {  
padding:0;  
}    
/* for IE7 */  
*+html input {  
padding:0.1em;  
}  
  
*+html input.submit {  
line-height:1.2;  
padding-top:0.2em;  
}  
  
*+html select {  
vertical-align:-0.2em;  
}  

/* for Opera9.27 */  
html:first-child input {  
padding:0.1em;  
}  
  
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 {  

}  

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;  
}  

