@charset "utf-8";

/*
	Copyright: 阿锦的CSS通用样式
	Date: 2015-2-20 10:30 [AM]
	Advantages: 具有兼容全部主流浏览器,随意书写页面代码等特点.
	Study: 通过学习百度,谷歌,搜狗,有道,新浪,中关村,太平洋电脑网,电脑之家,tomshardware,NVIDIA,地球人,外星人,华硕,联想,京东,淘宝,天猫,凡客诚品,优酷,爱奇艺,土豆网,乐视,迅雷,迅腾,智联,前程无忧,58同城,赶集,猎聘,中华英才,卓博人才,应届生求职,应届毕业生,拉勾等大型网站的通用样式融汇总结而成.
	Cascading Style Sheets File , CSS文件
	The General Style , CSS通用样式
*/

/*HTML通用样式*/
*{margin:0;padding:0;}
html,body,div,dl,dt,dd,ol,ul,li,h1,h2,h3,h4,h5,h6,a,img,p,span,strong,em,form,label,button,input,textarea,select,table,thead,tbody,tfoot,tr,th,td,frame,iframe{margin:0;padding:0;word-wrap:normal;word-break:normal;} /*word-wrap:normal只在允许的断字点换行(浏览器保持默认处理),word-wrap:break-word长单词或URL地址换行到下一行*/ /*word-break:normal设置强行换行,word-break:break-all如果该行末端有个英文单词很长(congratulation等)它会把单词截断变成该行末端为conra(congratulation的前端部分)下一行为tulation(conguatulation)的后端部分了,word-break:keep-all只能在半角空格或连字符处换行*/
html,body{background:#FFF;height:100%;overflow:hidden;*overflow:visible;_overflow:visible;-webkit-text-size-adjust:none;} /*overflow:visible修正IE5.x和IE6的斜体溢出bug*/ /*overflow:visible默认值内容不会被修剪会呈现在元素框之外,hidden内容会被修剪并且其余内容是不可见的,scroll内容会被修剪但是浏览器会显示滚动条以便查看其余的内容,auto如果内容被修剪则浏览器会显示滚动条以便查看其余的内容,inherit规定应该从父元素继承overflow属性的值*/ /*-webkit-text-size-adjust:none禁用Webkit内核浏览器的文字大小调整功能*/
html{overflow-x:auto;overflow-y:auto;zoom:expression(function(ele){ele.style.zoom="1";document.execCommand("BackgroundImageCache",false,true);}(this));} /*overflow-y:scroll*/ /*overflow:-moz-scrollbars-vertical火狐下一直显示滚动框*/ /*zoom:expression(function(ele){ele.style.zoom="1";document.execCommand("BackgroundImageCache",false,true);}(this));一个IE6下重复加载的BUG*/ /*html-webkit-overflow-scrolling:touch;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;*/ /*使用bootstrap时,删除overflow-x:auto;overflow-y:auto;*/
body{min-width:1000px;min-height:100%;_height:100%;line-height:14px;color:#000;position:relative;cursor:default;zoom:1;} /*min-width:100px页面整体宽度最佳*/ /*字大小,字色*/ /*line-height:14px固定所有标签行高*/ /*text-align:center不需要则删*/
body,button,input,textarea,select,code{font-family:'Microsoft Yahei',微软雅黑,新宋体,宋体,"Helvetica Neue","Hiragino Sans GB";font-size:14px;} /*-ms-overflow-style:scrollbar为溢出元素添加滚动条*/
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;} /*text-rendering:optimizelegibility用font-face渲染文字WebKit专用*/
dl,dt,dd,ol,ul,li{list-style:none;}
img{vertical-align:middle;display:block; margin:0; padding:0;} /*vertical-align:top;*/ /*transition:opacity图片渐入渐出*/ /*可删opacity*/
img,button,iframe{border:0 none;}
strong{font-style:normal;font-weight:normal;}
label,button{cursor:pointer;} /*使用bootstrap时删除*/
button,input,textarea,select{vertical-align:middle;outline:0 none;}
em{font-style:normal;}
em,th{font-style:normal;font-weight:normal;}
textarea{overflow:auto;resize:vertical;} /*resize:vertical;resize:none;*/ /*用户可以调节元素的高度*/
textarea,input{word-wrap:normal;word-break:normal;} /*word-wrap:break-word;word-break:break-all;*/
frame,iframe{*overflow:auto;_overflow:auto;}
frameset{*overflow:hidden;_overflow:hidden;}
/*HTML通用样式,不常用*/
abbr,acronym,address,applet,b,big,blockquote,caption,center,cite,code,del,dfn,fieldset,font,hr,i,ins,kbd,legend,menu,object,pre,q,s,samp,small,strike,sub,sup,tt,u,var{margin:0;padding:0;}
abbr,acronym{border:0 none;font-variant:normal;} /*font-variant:normal浏览器会显示一个标准的字体*/
address,caption,cite,code,dfn,var{font-style:normal;font-weight:normal;}
area{border:0 none;outline:0 none;}
blockquote,q{quotes:none;} /*规定"content"属性的"open-quote"和"close-quote"的值不会产生任何引号*/
blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}
del{text-decoration:line-through;}
fieldset{border:0 none;}
i{font-style:normal;}
ins{text-decoration:none;}
legend{color:#000;}
menu{display:block;}
q:before,q:after{content:'';}
small{font-size:12px;}
sub{vertical-align:text-bottom;}
sup{vertical-align:text-top;}
/*HTML5通用样式*/
header,footer,nav,article,aside,audio,video,section,time{margin:0;padding:0;}
header,footer,nav,article,aside,section{display:block;}
audio,video{display:inline-block;*display:inline;_display:inline;*zoom:1;_zoom:1;}
/*HTML5通用样式,不常用*/
canvas,datalist,details,embed,figcaption,figure,hgroup,mark,output,progress,ruby,summary{margin:0;padding:0;}
details,figcaption,figure,hgroup{display:block;}
canvas{display:inline-block;*display:inline;_display:inline;*zoom:1;_zoom:1;}
mark{font-style:normal;font-weight:normal;}
/*兼容通用样式*/
html{*background-image:url(about:blank);_background-image:url(about:blank);background-attachment:fixed;} /*修正IE6下position:fixed抖动bug*/ /*background-attachment:fixed设置或检索背景图像是随对象内容滚动还是固定的*/
img{-ms-interpolation-mode:bicubic;} /*windows平台缩放图片时,可能出现图像失真现象*/
button::-moz-focus-inner,input[type="button"]::-moz-focus-inner,input[type=submit]::-moz-focus-inner,input[type=reset]::-moz-focus-inner,input[type=file]>input[type=button]::-moz-focus-inner{padding:0;border:0 none;} /*火狐浏览器单独兼容input*/
input[type="text"],input[type="password"],textarea{outline-style:none;-webkit-appearance:none;}
input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}
input[type="checkbox"],input[type="radio"]{padding:0;box-sizing:border-box;cursor:pointer;}
input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:none;}
a.sameButton,button.sameButton,input[type="button"].sameButton,input[type="reset"].sameButton,input[type="submit"].sameButton{padding:0 5px;height:20px;line-height:20px;background:#337AB7;border:0 none;color:#FFF;float:left;vertical-align:baseline;} /*删除按钮样式,自定义样式*/
a.sameButton:hover,button.sameButton:hover,input[type="button"].sameButton:hover,input[type="reset"].sameButton:hover,input[type="submit"].sameButton:hover{background:#265A88;}
table{width:100%;border-collapse:collapse;border-spacing:0;text-align:center;}  /*去掉table默认的样式,border-collapse:collapse为表格设置合并边框模型*/
table{empty-cells:hide;background:#fff;} /*隐藏表格中空单元格上的边框和背景,show,hide*/
table td{word-wrap:normal;word-break:normal; background:#fff;} /*word-wrap:break-word;word-break:break-all;都是能使其容器如DIV的内容自动换行*/
table th,table td{text-align:center;vertical-align:middle;background:#fff;}
/*超链接通用样式*/
a{text-decoration:none;cursor:pointer;blr:expression(this.onFocus=this.blur());} /*blr:expression(this.onFocus=this.blur());不会显示虚线*/
a,a:link,a:visited,a:hover,a:active,a:focus{outline:0 none;} /*页面虚线框*/
a:link{text-decoration:none;} /*未访问的链接*/
a:visited{text-decoration:none;} /*已访问的链接*/
a:hover{color:#F00;text-decoration:none;} /*鼠标滑到链接*/ /*text-decoration:underline*/
a:active{text-decoration:none;} /*被选择的链接*/
/*常用类通用样式*/
.wrapper{width:100%;float:left;position:relative;overflow:hidden;} /*position:relative;*/
h1{font-size:24px;}
h2{font-size:20px;}
h3{font-size:18px;}
h4{font-size:16px;}
h5{font-size:14px;}
h6{font-size:12px;}
.table{border:solid #2C2C2C;border-width:1px 0px 0px 1px;} /*#2C2C2C*/ /*使用bootstrap时删*/
.table th{border:solid #2C2C2C;border-width:0px 1px 1px 0px;} /*#808080*/
.table td{border:solid #2C2C2C;border-width:0px 1px 1px 0px;} /*#808080*/
/*清除浮动通用样式*/
.clear{height:0;line-height:0;font-size:0;clear:both;visibility:hidden;overflow:hidden;} /*width:100%*/
.clearfix{zoom:1;}
.clearfix:after{height:0;display:block;clear:both;visibility:hidden;content:' ';} /*content:'\20';content:'.';*/