@charset "utf-8";
/*CSS reset*/

*{ margin:0; padding:0;}
*, *:after, *:before{
-o-box-sizing:border-box; 
-webkit-box-sizing:border-box; 
-moz-box-sizing:border-box; 
-ms-box-sizing:border-box; 
box-sizing:border-box;}

/** 清除内外边距 **/
html{overflow-y:scroll;overflow:-moz-scrollbars-vertical;}
body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, /* structural elements 结构元素 */
dl, dt, dd, ul, ol, li, /* list elements 列表元素 */
pre, /* text formatting elements 文本格式元素 */
form, fieldset, legend, button, input, textarea, /* form elements 表单元素 */
th, td /* table elements 表格元素 */ {
    margin: 0;
    padding: 0;
}

/** 设置默认字体 **/
body, button, input, select, textarea{ font-size:12px; font-family:arial,'Hiragino Sans GB','Microsoft Yahei','微软雅黑','宋体',\5b8b\4f53,Tahoma,Arial,Helvetica,STHeiti; color:#000; line-height:24px;}
h1, h2, h3, h4, h5, h6{font-size:100%;}
address, cite, dfn, em, var, i { font-style: normal; } /* 将斜体扶正 */
b{ font-weight:normal;}
code, kbd, pre, samp { font-family: courier new, courier, monospace; } /* 统一等宽字体 */
small { font-size: 12px; } /* 小于 12px 的中文很难阅读，让 small 正常化 */

/** 重置列表元素 **/
ul, ol, dl, li, dt, dd{ list-style: none; }
 
/** 重置文本格式元素 **/
a{outline-style:none; color:#333; text-decoration:none;}
a:link, a:hover, a:active, a:visited {color:#333; text-decoration:none;}

/*清除链接虚框*/
/*a,area {blr:expression(this.onFocus=this.blur()) }  for IE 
:focus {-moz-outline-style: none; }  for Firefox   
*/
 
/** 重置表单元素 **/
legend { color: #000; } /* for ie6 */
fieldset, img { border: 0; } /* img 搭车：让链接里的 img 无边框 */
button, input, select, textarea { font-size: 100%;  border:0; background:none;} /* 使得表单元素在 ie 下能继承字体大小 */
input:focus{ outline:none;}
/** 苹果设备样式清除 **/
input[type=button], input[type=submit], input[type=file], button { cursor: pointer; -webkit-appearance: none; }
/* 注：optgroup 无法扶正 */
 
/** 重置表格元素 **/
table { border-collapse: collapse; border-spacing: 0; }
p{word-wrap:break-word;}

img{ vertical-align:middle; display:inline-block; border:none; max-width: 100%; height: auto; -ms-interpolation-mode:bicubic;}

iframe{ padding:0; margin:0; border:0;}

/*禁止多行文本框textarea拖拽*/
textarea {
    resize: none;
}

/*修改输入框placeholder文字默认颜色 v4*/
input::input-placeholder, textarea::input-placeholder {color: #999;}
input, textarea{color: #333; color:#999\9;}
/*去除Chrome等浏览器文本框默认发光边框*/
input, button, select, textarea{outline:none;}
/*去除IE10+浏览器文本框后面的小叉叉*/
input::clear, input::reveal, input::-ms-clear, input::-ms-reveal{display: none;}

/*低版本ie兼容css3*/
.pie{behavior: url(js/PIE.htc);}
.iebg{-ms-behavior: url(js/backgroundsize.min.htc);}

/*ie-css3.htc用法*/
.divdivdivdivdiv/*div名称*/{
    position:relative;
    z-index:5;
    behavior:url(js/ie-css3.htc);
}

/*清浮动*/
.clearfd{ *zoom:1; }
.clearfd:after{ content:"."; display:block; clear:both; height:0; line-height:0; font-size:0; visibility:hidden; overflow:hidden;}

/*
 说明：
 1.IE中要实现块内单行两端对齐需要使用其私有属性text-align-last:justify配合，text-align-last 要生效，必须先定义text-align 为justify
 2.line-height:0 解决标准浏览器容器底部多余的空白
*/
/*display布局*/
.dpif{ font-size:0; line-height:0; *word-spacing:-1px;/* IE6、7 */}
.dpi{ display:inline-block; *display:inline; *zoom:1; }

/*常用样式*/
.mgl0{ margin-left:0 !important;}
.mgr0{ margin-right:0 !important;}
.mgt0{ margin-top:0 !important;}
.mgb0{ margin-bottom:0 !important;}
.pdl0{ padding-left:0 !important;}
.pdr0{ padding-right:0 !important;}
.pdt0{ padding-top:0 !important;}
.pdb0{ padding-bottom:0 !important;}
.bdt0{ border-top:none !important;}
.bdb0{ border-bottom:none !important;}
.dpn{ display:none !important;}

