/*! Taobao Style Platform Copyright(c) 2008-2100, Taobao.com Inc. Some rights reserved. */

/**
 * reset.css based on YUI
 *
 * Update Log:
 * 2009-05-18   yubo    将html的默认背景色从白色改成透明
 * 2009-03-26   yubo    将reset.css和base.css合并为reset.css
 * 2009-02-11   yubo    将small的样式也reset掉
 * 2009-02-10   yubo    border: 0 -> border: none
 * 2008-12-23   yubo    margin: 0; padding: 0 中加入 button. 表单元素相关样式中也加入button
 * 2008-11-12	yubo	created initial version
 */

body { font: 12px/1.5 Tahoma,Helvetica,Arial,'宋体',sans-serif; }
html, legend { color: #404040; 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: none;
}

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

li { list-style: none; }

caption,th { text-align: left; }

h1,h2,h3,h4,h5,h6 { font-size: 100%; }
h1 { font-size: 18px; /* 18px / 12px = 1.5 */ }
h2 { font-size: 16px; }
h3 { font-size: 14px; }

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

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

/* to preserve line-height and selector appearance */
sup { vertical-align: text-top; }
sub { vertical-align: text-bottom; }

input,button,textarea,select {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
}
/*to enable resizing for IE*/
input,button,textarea,select { *font-size: 100%; }

select, input, button, textarea {
	font: 100% Tahoma,Helvetica,Arial,sans-serif;
}

/**
 * To help tables remember to inherit
 */
table { font-size: inherit; font: 100%; }

/**
 * fixed-width elements
 */
pre, code, kbd, samp, tt{
	font-family: 'Courier New', Courier, monospace;
}

/**
 * 默认情况下，small的字号比默认小，这里reset掉，抹平差异
 * 对于中文默认为12px时，让small也12px非常有必要。小于12px的中文字很难识别
 */
small { font-size: 100%; }

/*a:link, a:visited {*/
a {
	color: #36c;
	text-decoration: none;
}
/*a:hover, a:active {*/
a:hover {
	color: #f60;
	text-decoration: underline;
}

abbr,acronym {
	/* indicating to users that more info is available */
	border-bottom: 1px dotted;
	cursor: help;
}

ins { text-decoration: none; }
del { text-decoration: line-through; }

hr {
    color: #D1D7DC;
    background-color: #D1D7DC;
    border: none;
    height: 1px;
}

/***********************************************
 * Misc Style
 ***********************************************/
/* 让非ie浏览器默认也显示垂直滚动条，防止因滚动条引起的闪烁等 */
html {
    /*min-height: 101%; 这个方法不好，不是想要的效果 */

    overflow-y: scroll; /* 在opera下会同时触发水平滚动条，但考虑opera的用户数，也就可以忽略了 */

	/*overflow: -moz-scrollbars-vertical; 这个方法只针对firefox
    overflow-x: auto; 上面一行会将overflow-x干掉，因此这里重设回来
    ref: http://developer.mozilla.org/en/docs/Mozilla_CSS_Extensions#overflow */
}

