/** 
 * 描述：公共样式
 * 作用范围：全局
 */

html, body {
    font: 14px/1.5 "宋体", Helvetica, Tahoma, Arial, sans-serif;
    color: #404040;
}

body, p, h1, h2, h3, h4, h5, h6,
dl, dt, dd, ul, ol, li, form,
select, input, textarea, button,
table, caption, tr, th, td {
    margin: 0;
    padding: 0;
}

ol, ul {
    list-style: none;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
}

img {
    max-width: 100%;
    border: 0 none;
}

a {
    outline: 0;
    color: #08C;
    text-decoration: none;
}

a:hover {
    color: #058;
    text-decoration: underline;
}

a:active {
    background-color: transparent;
}

input, button, textarea, select, option {
    font-family: inherit;
    font-size: 100%;
    outline: 0;
}

textarea {
    overflow: auto;
    resize: none;
}

button {
    border: 0 none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/* 布局样式 */
.cf, .nav {
    *zoom: 1;
}

.cf:before, .cf:after,
.nav:before, .nav:after {
    display: table;
    content: "";
}

.cf:after, .nav:after {
    clear: both;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.cfl {
    clear: left;
}

.wrapper {
    margin-left: auto;
    margin-right: auto;
    width: 1000px;
}

.hidden {
    display: none;
}

.block {
    display: block;
}

.ovh {
    overflow: hidden;
}

.vt {
    vertical-align: top;
}

/* 导航列表 */
.nav li {
    float: left;
}

.nav-list li {
    float: none; /* 防止.nav-list嵌套到.nav里的时候，.nav-list下的li浮动 */
}

.nav li a,
.nav li a:hover,
.nav-list li a,
.nav-list li a:hover {
    display: block;
    text-decoration: none;
}

.nav-list li img {
    display: block;
}

/* 常用公共类 */
.icon {
    display: inline-block;
    margin-right: 3px;
    width: 16px;
    height: 16px;
    font-size: 14px;
    vertical-align: middle;
    background-repeat: no-repeat;
}

.pillar {
    display: inline-block;
    width: 0;
    height: 100%;
    vertical-align: middle;
}

.linkico {
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
}

.linkico:hover {
    text-decoration: none;
}

.linkico .icon {
    float: left;
    margin-top: 2px;
}

/* 表单控件 */
.text, textarea {
    padding: 2px;
    line-height: 16px;
    font-size: 12px;
    border: 1px solid #bcbcbc;
    background-color: #fff;
    box-sizing: content-box !important;
    -moz-box-sizing: content-box !important;
    -ms-box-sizing: content-box !important;
    -webkit-box-sizing: content-box !important;
}

.text {
    width: 174px;
    height: 16px;
}

.text:hover {
    border-color: #929292;
}

textarea {
    width: 174px;
    min-height: 54px;
}

.text[disabled],
.text[disabled]:hover,
textarea[disabled],
textarea[disabled]:hover {
    border-color: #CDD1D2;
    background-color: #eee;
}

.checkbox, .radio {
    display: inline-block;
    padding-left: 18px;
    min-height: 20px;
    line-height: 20px;
    font-size: 12px;
    font-weight: normal;
    cursor: pointer;
    vertical-align: middle;
}

.checkbox input,
.radio input {
    float: left;
    margin: 3px 0 0 -18px;
    width: 13px;
    height: 13px;
}

.must {
    color: #f00;
    font-size: 12px;
}

.input-mini {
    width: 74px;
}

/* 表单布局 */
.form-item {
    padding: 4px 0;
}

.form-lab {
    float: left;
    width: 80px;
    min-height: 1px;
}

.form-field {
    padding: 0 10px;
    overflow: hidden;
}

.form-field .must {
    float: left;
    margin: 4px 0 0 -10px;
    width: 6px;
    height: 16px;
}

/* 行内表单 */
.form-inline {
    padding: 4px 0;
}

.form-inline .form-item {
    float: left;
    width: 290px;
}

.form-lab {
    padding-left: 10px;
}

.form-inline .fi-block {
    display: block;
    float: none;
}

.form-col-3 {
    width: 380px !important;
}

.form-col-4 {
    width: 580px !important;
}

.form-col-5 {
    width: 670px !important;
}

.form-col-6 {
    width: 870px !important;
}

.form-col-8 {
    width: 1160px !important;
}

/* 水平表单 */
.form-horizontal .form-lab {
    text-align: right;
}

/* 表单按钮 */
.btn {
    display: inline-block;
    padding: 0;
    width: 80px;
    height: 22px;
    line-height: 22px;
    font-size: 12px;
    color: #666;
    vertical-align: middle;
    cursor: pointer;
    border: 0;
    background: url(../images/button_bg.png) no-repeat 0 -50px;
}

.btn:hover {
    background-position: 0 -75px;
}

.btn-primary {
    color: #fff;
    background-position: 0 0;
}

.btn-primary:hover {
    background-position: 0 -25px;
}

/* 滚动条 */
.nicescroll-rails {
    background: rgba(0, 0, 0, 0.4);
}

