/*
Hydesign Reset CSS
(c) 2014, jiling http://www.hydesign.tw/
version: 1.0 | create: 20080212 | update: 20140410
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    vertical-align:baseline;
    /*background:transparent;*/
}


/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}


body {
    line-height:1;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
/*
h1{
	font-size:2rem; 2*12px=24px 
}
*/
p{
}

ol, ul {
	list-style:none;
}

li, span{
}

div{
     -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
     -moz-box-sizing: border-box;    /* Firefox, other Gecko */
     box-sizing: border-box;
}

/**/
blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

/* remember to define focus styles! */
:focus {
    outline: 0;
}

/* change colours to suit your needs */
ins {
    text-decoration: none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000; 
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}



/* change border colour to suit your needs */

hr {
    display:block;
    height:1px;
    border:0;   
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
    box-sizing: content-box;
	-moz-box-sizing: content-box;
}

input, button, textarea, select, optgroup, option {
    vertical-align:middle;
	font-family: inherit;
	font-size: inherit;
	font-style: inherit;
	font-weight: inherit;
}


button,input,select,textarea {
    margin: 0; 
	padding:0 5px;
    font-size: 100%; 
    min-height:inherit;
	
	/* IE 修正 */
	-pie-lazy-init: true;
	behavior: url(PIE.htc);

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

button,input {
    line-height: normal;
}

button,select {
    text-transform: none;
}

button,
html input[type="button"], 
input[type="reset"],
input[type="submit"] {
    cursor: pointer;
    -webkit-appearance: button;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
    padding: 0; 
    box-sizing: border-box; 
}

input[type="search"] {
    -webkit-appearance: textfield; 
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box; 
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input:-moz-placeholder,
textarea:-moz-placeholder {
  color: #a6bada;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: #a6bada;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #a6bada;
}

textarea {
    overflow: auto; 
    vertical-align: top; 
}

/* tables still need 'cellspacing="0"' in the markup */
table {
    border-collapse: collapse;
    border-spacing: 0;
}


.clear{
	clear: both;
	}