/*格式化样式*/ body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td { margin: 0; padding: 0; } table { border-collapse: collapse; border-spacing: 0; } fieldset, img { border: 0; } address, caption, cite, code, dfn, em, strong, th, b, var { font-style: normal; font-weight: normal; } ol, ul { list-style: none; } caption, th { text-align: left; } h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: normal; } q:before, q:after { content: ""; } abbr, acronym { border: 0; } * { padding: 0px; margin: 0px; text-align: left; font-family: "PingFangSC-Regular", "微软雅黑", Arial, Verdana, Tahoma, "宋体", Helvetica, sans-serif; line-height: 150%; box-sizing: border-box; } html { width: 100%; height: 100%; font-size: 14px; color: #333; overflow: hidden; } body { width: 100%; height: 100%; font-size: 14px; text-align: center; color: #333; overflow: hidden; } table { border-collapse: collapse; } td { padding: 3px; } img { border: none; vertical-align: middle; } input { padding: 1px; vertical-align: middle; line-height: normal; } input:focus { outline: none; } .main-box { margin-right: auto; margin-left: auto; width: 960px; clear: both; zoom: 1; overflow: hidden; background-color: #cccccc; } .text-overflow-hidden { white-space: nowrap; word-spacing: normal; letter-spacing: normal; overflow: hidden; } .box-align-center { margin-right: auto; margin-left: auto; } /*css定义超链接四个状态也有顺序的。*/ a:link, a:visited { text-decoration: none; color: #1f376d; } a:hover, a:active { text-decoration: underline; color: #bd0a01; border: none; } .fl { float: left; } .fr { float: right; } .hauto { height: auto !important; } .clearfix:after { content: ""; display: block; clear: both; visibility: hidden; } .clearfix { *zoom: 1; } .iconfont { font-family: "iconfont"; font-style: normal; -webkit-font-smoothing: antialiased; -webkit-text-stroke-width: 0.2px; -moz-osx-font-smoothing: grayscale; color: #005395; font-size: 18px; } .bolderFont { font-weight: 600; } /* 超出部分隐藏 展示行数 */ .firstLine { -webkit-line-clamp: 1; } .secondLine { -webkit-line-clamp: 2; } .required { color: #fe2a44; margin-right: 4px; } .oneline { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .twoline { overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 2; -webkit-box-orient: vertical; display: -webkit-box; }