@charset "utf-8";

/*
	Copyright: 阿锦的CSS通用样式
	Date: 2016-7-7 15:50 [PM]
	Advantages: 具有兼容全部主流浏览器,随意书写页面代码等特点.
	Study: 通过学习百度,谷歌,搜狗,有道,新浪,中关村,太平洋电脑网,电脑之家,tomshardware,NVIDIA,地球人,外星人,华硕,联想,京东,淘宝,天猫,凡客诚品,优酷,爱奇艺,土豆网,乐视,迅雷,迅腾,智联,前程无忧,58同城,赶集,猎聘,中华英才,卓博人才,应届生求职,应届毕业生,拉勾等大型网站的通用样式融汇总结而成.
	Cascading Style Sheets File , CSS文件
	The General Style , CSS通用样式
*/

/*HTML通用样式*/
html,body,div,dl,dt,dd,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{width:100%;float:left;*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%;*/
body{min-width:100px;min-height:100%;_height:100%;line-height:1;color:#333;position:relative;zoom:1;} /*min-width:100px页面整体宽度最佳*/
body,button,input,textarea,select,code{font-family:Arial,"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{list-style:none;}
ol,ul,ul li,li{margin:0;padding:0;list-style:none;word-wrap:normal;word-break:normal;    list-style-type: none;}
img{vertical-align:middle;display:block;} /*vertical-align:top;*/
img,button,iframe{border:0 none;}
strong{font-style:normal;font-weight:normal;}
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;} /*隐藏表格中空单元格上的边框和背景,show,hide*/
table td{word-wrap:normal;word-break:normal;} /*word-wrap:break-word;word-break:break-all;都是能使其容器如DIV的内容自动换行*/
table th,table td{text-align:center;vertical-align:middle;}
/*超链接通用样式*/
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;} /*被选择的链接*/