@charset "utf-8";

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

input[type="radio"], input[type="checkbox"] {
    vertical-align: -2px;
}


:root *> .checkbox,.radio{
z-index: -1;
position: absolute;
}
.ie7 .radio{
z-index: 1;
}
.ie7 label.radiolabel{
padding-left:20px;
}
:root *> .checklabel{
background: url(/img/img_checkbox.png) 0 0 no-repeat;
padding-left:20px;
padding-bottom:2px;
}
.mac .checklabel{
background: url(/img/img_checkbox.png) 0 -2px no-repeat;
padding-left:20px;
padding-bottom:2px;
}
    
:root *> .radiolabel{
background: url(/img/img_radio.png) 0 0 no-repeat;
padding-left:19px;
padding-bottom:2px;
}
.mac .radiolabel{
background: url(/img/img_radio.png) 0 -2px no-repeat;
padding-left:19px;
padding-bottom:2px;
}
         
:root *> .checkbox:checked + label,:root *> .radio:checked + label {
background-position: 0 -20px;
}
.mac .checkbox:checked + label,.mac .radio:checked + label {
background-position: 0 -22px;
}

:root *> .radiolabel.selected {
background-position: 0 -20px;
}
.mac .radiolabel.selected {
background-position: 0 -22px;
}

/* safari用 */
@media screen and (-webkit-min-device-pixel-ratio:0) {
 input[type="radio"], input[type="checkbox"]  { vertical-align:1px;  }
}
select{
	background:url(/img/bg_select.png) 0 0 repeat-x;
	border:1px solid #666666;
	border-radius: 4px; /* CSS3草案 */  
    -webkit-border-radius: 4px; /* Safari,Google Chrome用 */  
    -moz-border-radius: 4px; /* Firefox用 */  
}

table {
	border-collapse:collapse;
	border-spacing:0;
	font-size:1em;
}

fieldset, img, abbr, acronym { border:0; }

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

ol, ul { 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:''; }

a { overflow:hidden; }

img { vertical-align:bottom; }

textarea{font-size:1em;}
