﻿/*前端基础样式*/
*{margin: 0px auto;padding: 0px;box-sizing:border-box;-moz-box-sizing:border-box; /* Firefox */-webkit-box-sizing:border-box; /* Safari */}
/* 禁用iPhone中Safari的字号自动调整 */
html {
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
/* 解决IOS默认滑动很卡的情况 */
-webkit-overflow-scrolling : touch;
}
body,div,ul,li,ol,h1,h2,h3,h4,h5,h6,input,textarea,select,p,dl,dt,dd,a,img,button,form,table,th,tr,td,tbody,article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
/* 设置HTML5元素为块 */
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
display: block;
}
input{-webkit-appearance: none;border-radius:0;}
/* 禁止缩放表单 */
input[type="submit"], input[type="reset"], input[type="button"], input{
resize: none;
border: none;
}
a:link,a:active,a:visited,a:hover {
-webkit-tap-highlight-color: rgba(0,0,0,0);
-webkit-tap-highlight-color: transparent;
}
textarea{-webkit-appearance: none;resize:none; /*禁用了文本的拖拉，尤其在谷歌下*/}
img{max-width:100%;border: none;-ms-interpolation-mode: bicubic;/*为了照顾ie图片缩放失真*/}
li{list-style:none;}
p{word-break: break-all;word-wrap:break-word; /* 不够的单词自动换行 而不会被截掉 */}
pre{
    white-space: pre-wrap;       /* css-3 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    overflow: auto;
    word-break: break-all;
    word-wrap: break-word;
    margin-bottom: 20px;
    padding: 15px;
    font-size: 13px;
    border-radius: 4px;
    color: #abb2bf;
    background: #282c34;
    width:100%;
}
.clear {clear: both;}
.clearfix:after {
    content: "";
    display: block;
    visibility: hidden;
    height: 0;
    clear: both;
}
.clearfix {
    zoom: 1;
}
.overflow {overflow:hidden; }
.w50{width: 50%;}
.w25{width: 25%;}
.w20{width: 20%;}
.w33{width: 33.333333%;}
.fl{float: left;display: inline;}
.fr{float: right;display: inline;}
.db{display: block !important;}
.dn{display: none;}

/* 表格样式问题 */
table{
    border-collapse: collapse;
    display: table;
}
td, th{
    border: 1px solid #DDD;
}
/*系统input自动填充样式重置*/
input:-internal-autofill-selected {
  background-color: white !important;
  background-image: none !important;
  color: rgb(0, 0, 0) !important;
  box-shadow: inset 0 0 0 1000px white !important;
}
input:-webkit-autofill {
  box-shadow: 0 0 0px 1000px white inset !important;
}
input:-webkit-autofill:focus {
  box-shadow: 0 0 0px 1000px white inset !important;
}