body, dl, dd, /* dt, 默认没边距 */
ul, ol, /*li, 默认没边距 */
h1, h2, h3, h4, h5, h6, pre, /* code, 默认没边距 */
form, fieldset, legend, input, textarea,
p, blockquote, figure, hr, menu, dir,
thead, tbody, tfoot /* th,td 默认没边距 */
{   
    margin:0;
    padding:0;
}

body{
    font:12px/22px simsun,sans-serif;
    color:#996633;
    background:#291a17;
}

/*非大面积文字排版网站通常不需要列表项，如果需要可单独设置*/

ul, ol{
    list-style-type: none;
    list-style-image: none;
}

/*去除链接默认的下划线，提高文字可读性*/
a{
    text-decoration: none;
}

/*去掉 IE10+ 点击链接时的灰色背景*/

a:active {
    background-color: transparent;
}

/*去掉点击时的焦点框，同时保证使用键盘可以显示焦点框*/

a:active,
a:hover {
    outline: 0 none;
}
a:focus {
    outline: 1px dotted;
}
/*
 * 中文优先使用冬青黑体简体(OS X)、微软雅黑(Windows)和文泉驿微米黑(Linux)
 * 1. 防止元素中「font-family」不能继承
 * 2. 西文字体和 OS X 字体写在前面
 * 3. Opera 12.1 之前版本不支持中文字体的英文名称
 * 4. 微软雅黑「\5FAE\8F6F\96C5\9ED1」,中易宋体「\5B8B\4F53」
*/
body,
button, /* 1 */
input, /* 1 */
select, /* 1 */
textarea  /* 1 */
{
    font-family: 'simsun';
}

/*
 * 防止所有浏览器中的「sub」和「sup」影响行高
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

/*
 * 合并单元格边框
 */

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

/*
 * 1.去除 IE6/7/8/9 和 Firefox 3 中 a 内部 img 元素默认的边框
 */
img {
    border: 0 none; /* 1 */
}

/* ========= 表单 ========= */
/*
 * 修正 IE7 随着字数增加边距不断增加的问题
 */
input,
button {
 *overflow: visible;
}


/*
 * 统一各浏览器「text-transform」不会继承的问题
 */
button,
select {
  text-transform: none;
}

/*
 * 1. 避免 Android 4.0.* 中的 WebKit bug ，该bug会破坏原生的「audio」 和「video」控制器
 * 2. 更正 iOS 中无法设置可点击的「input」的问题
 * 3. 统一其他类型的「input」的光标样式
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button; /* 2 */
    cursor: pointer; /* 3 */
}

/*
 * 重置按钮禁用时光标样式
 */

button[disabled],
input[disabled] {
    cursor: default;
}

/*
 * 1. 修正 IE 8/9 box-sizing 被设置为「content-box」的问题
 * 2. 移除 IE 8/9 中多余的内边距
 * 3. 移出IE7 中多余的内边距(IE6 中任然存在)
 */


input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
    *height: 13px; /* 3 */
    *width: 13px; /* 3 */
}

/*
 * 1. 修正 Safari 5 和 Chrome 中「appearance」被设置为「searchfield」的问题
 * 2. 修正 Safari 5 和 Chrome 中「box-sizing」被设置为 「border-box」的问题
 */    
input[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box; /* 2 */
    box-sizing: content-box;
}
    
/*
 * 1.移除 OS X 中 Safari5 和 Chrome 搜索框的取消按钮
 * 2.以及内侧的左边距
 */
    
input[type="search"]::-webkit-search-cancel-button, /* 1 */
input[type="search"]::-webkit-search-decoration /* 2 */
{
    -webkit-appearance: none;
}
    
/*
 * 移除 Firefox 3+ 的内边距
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/*
 * 1. 移除 IE6-11 中默认的垂直滚动条
 * 2. 统一所有浏览器中的垂直对齐以及增强文字可读性
 * 3. 禁止水平拖动，防止破坏布局
 */
    

textarea {
    overflow: auto; /* 1 */
    vertical-align: top; /* 2 */
    resize: vertical; /* 3 */
}

/*
 * 修正 Chrome30- option 中文字无法显示的问题
 * http://jsbin.com/avujas/1/edit 
 */
select:disabled option:checked,
option:disabled:checked {
    color: #D2D2D2;
}

/*
 * 修正 Safari3+, Chrome1+ Placeholder 居中问题
 */

@media screen and (-webkit-min-device-pixel-ratio:0) {
input {
    line-height: normal !important;
}
}

/*
 * 修正 Firefox 19+ Placeholder 设置了opacity 的问题
 */
input::-moz-placeholder, textarea::-moz-placeholder {
 color: darkGray !important;
 opacity: 1 !important;
}

/*
 * label 元素给予手型，暗示此处可点击
 */

label {
    cursor: pointer;
}

/*
 * 统一 select 样式, Firefox 中有padding:1px 0;
 */
select[size],
select[multiple],
select[size][multiple] {
    border: 1px solid #AAA;
    padding:0;
}