﻿/*＝＝＝＝＝此样式文件主要是重置及新设置的样式＝＝＝＝＝＝＝＝*/

/** 清除内外边距 **/
body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, /* structural elements 结构元素 */
dl, dt, dd, ul, ol, li,                          /* list elements 列表元素 */
pre,                                             /* text formatting elements 文本格式元素 */
form, fieldset, legend, button, input, textarea, /* form elements 表单元素 */
th, td{                                          /* table elements 表格元素 */ 
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align:baseline;
}

/** 重置表格元素 **/
table {
        border-collapse:collapse;
        border-spacing:0;
}

/** 重置列表元素 **/
ul, ol { list-style: none; }

/** 重置文本格式元素 **/
a { text-decoration: none; }
a:hover { text-decoration: underline; }

sup { vertical-align: text-top; }                                      /* 重置，减少对行高的影响 */
sub { vertical-align: text-bottom; }

/** 重置表单元素 **/
legend { color: #000; }                                                /* for ie6 */
fieldset, img { border: 0; }                                           /* img 搭车：让链接里的 img 无边框 */
button, input, select, textarea { font-size: 100%; }                   /* 使得表单元素在 ie 下能继承字体大小 */
input , textarea {
    outline: none;
    background:#fff;
    resize: vertical;
}
/* 注：optgroup 无法扶正 *


/* 重置 HTML5 元素 */
article, aside, details, figcaption, figure, footer,header, hgroup, menu, nav, section,
summary, time, mark, audio, video {
    display: block;
    margin: 0;
    padding: 0;
}
mark { background: #ff0; }

/* 其它 */
audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}
audio:not([controls]) {
    display: none;
}                
h1, h2, h3, h4, h5, h6 { font-size: 100%; }
address, cite, dfn, em, i, var { font-style: normal; }                 /* 将斜体扶正 */
code, kbd, pre, samp { font-family: courier new, courier, monospace; } /* 统一等宽字体 */
small { font-size: 12px; }                                             /* 小于 12px 的中文很难阅读，让 small 正常化 */

/*水平分隔线*/
hr {
        background: #ddd;/*Change the horizontal line*/
        color: #ddd;/*Must be same backgrond-color*/
        clear:both;/*clear float*/
        float: none;/*cancel the default for float*/
        width: 100%;/*define the width*/
        height: 1px;/*Change the height*/
        line-height: 1px;/*Clear small height for ie6*/
        font-size: 0;/*Clear small height for ie6*/
        border: none 0;/*Cancel default border style*/
        margin:1em 0;
}

/*浮动与清除浮动*/
.clearfix:before,
.clearfix:after {
    content: " ";
    display:table;
    height:0;
    font-size: 0;
    visibility: hidden;
}

.clearfix:after {
    clear:both;
    overflow:hidden;
}
.clearfix { 
    zoom: 1;
}

.fl{
    float:left;
}
.fr{
    float:right;
}
.mt5{
    margin-top:5px;
}
.mt10{
    margin-top:10px;
}
.mt15{
    margin-top:15px;
}
.mr5{
    margin-right:5px;
}
.mr10{
    margin-right:10px;
}
.mr15{
    margin-right: 15px;
}
.ml5{
    margin-left:5px;
}
.ml10{
    margin-left:10px;
}
.ml15{
    margin-left: 15px;
}
.mb5{
    margin-bottom:5px;
}
.mb10{
    margin-bottom:10px;
}
.mb15{
    margin-bottom: 15px;
}
div.bn{
    border: none;
}
.btn{
    display: inline-block;
}
.btn.sub{
    min-width: 80px;
    text-indent: center;
    height:27px;
    border:1px solid #ff6f3d;
    background-color: #ff6f3d;
    color:#fff;
    border-radius: 3px;
    cursor: pointer;
}
.icon,.btn{
    display: inline-block;
    text-align: center;
}
.table{
    display: table;
}
.cell{
    display: table-cell;
    vertical-align: middle;
}
.inline{
    display: inline-block;
    vertical-align: middle;
}


body {
    color: #333;
    font: 14px/1.4 Arial,Verdana,"微软雅黑";
}
a,a:visited,a:hover{
    color: #666;
    text-decoration: none;
}
.none{
    display: none;
}
.high{
    color:#f60;
}
.gray{
    color:#abb0a9;
}
.red,a.red,a.red:link,a.red:visited{
    color: #ff6a6a;
}
.green,a.green,a.green:link,a.green:visited{
    color:#25c771;
}
.blue,a.blue,a.blue:link,a.blue:visited{
    color:#007eff;
}
.bg-e8e8e8{
    background-color: #e8e8e8;
}
.bg-ffece4{
    background-color: #ffece4;
}
.bg-eaeaea{
    background-color: #eaeaea;
}
.bg-f5f6fa{
    background-color: #f5f6fa;
}
.bg-0099cd{
    background-color: #0099cd;
}
img{
    border: 0;
    max-width:100%;
    vertical-align: middle;
}
h1,h2,h3,h4,h5{
    font-weight: normal;
}
select{
    height:25px;
    box-sizing:border-box;
}
input[type=checkbox]{
    vertical-align: middle;
    margin-right:5px;
}
.center {
  text-align: center;
}
.tbcell {
  display: table-cell;
  vertical-align: middle;
}

/*公共部分*/
*{
    box-sizing:border-box;
}
.icon,.btn, [class*=btn-],[class*=icon-]{
    display: inline-block;
}
.btn, [class*=btn-]{
    cursor: pointer;
    vertical-align: -2px;
}

.white{
    color: #fff;
}
.err{
    color:red;
}
.red{
    color:#ff5c53;
}
.blue{
    color: #0099cd;
}
input[type=text],
select{
    width:250px;
    height:26px;
    line-height: 26px;
    box-sizing:border-box;
    border:1px solid #aaa;
    border-radius:2px;
    padding-left: 3px;
}
input[type=radio]{
    margin-right:5px;
}
.center{
    text-align: center;
}

/*弹窗*/
.cover{
   position: fixed;
    z-index: 120;
    top:0;
    right:0;
    bottom:0;
    left:0;
    background: rgba(0,0,0,.4);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000);
}
.alert{
    position: fixed;
    left:50%;
    top:45%;
    padding: 15px;
    min-width: 400px;
    min-height: 200px;
    margin-top:-150px;
    margin-left:-200px;
    z-index: 1000;
    color:#555;
    background: #fff;
}
.icon-close{
    background: url(../img/close.png) no-repeat center center;
    width: 40px;
    height:40px;
    position: absolute;
    top:-18px;
    right: -18px;
    cursor: pointer;
    z-index: 10;
}
.alert .content{
   /* padding:15px 0;*/
}
.alert .pad{
    width:430px;
    background-color: #fff;
    padding:10px 20px;
}
.alert .status-box{
    text-align: center;
    margin-top: 50px;
    font-size: 16px;
    line-height: 2;
}
.icon-err,.icon-ok{
    background: url(../img/err.png) no-repeat center center;
    width: 30px;
    height: 30px;
}
.icon-ok{
    background-image: url(../img/ok.png)
}

.hr{
    height: 1px;
    margin: 20px 0;
    background: #418ba4;
}

.ft12{
    font-size: 12px;
}
.ft18{
    font-size: 18px;
}
.ft20{
    font-size: 20px;
}
.fff{
    color: #fff;
}
.mt30{
    margin-top: 30px;
}





/*---------------*/
.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 14px 10px;
    border-radius: 4px
}

.pagination>li {
    display: inline
}

.pagination>li>a,.pagination>li>span {
    position: relative;
    float: left;
    padding: 5px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #428bca;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd
}

.pagination>li:first-child>a,.pagination>li:first-child>span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px
}

.pagination>li:last-child>a,.pagination>li:last-child>span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px
}

.pagination>li>a:hover,.pagination>li>span:hover,.pagination>li>a:focus,.pagination>li>span:focus {
    color: #2a6496;
    background-color: #eee;
    border-color: #ddd
}

.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus {
    z-index: 2;
    color: #fff;
    cursor: default;
    background-color: #428bca;
    border-color: #428bca
}

.pagination>.disabled>span,.pagination>.disabled>span:hover,.pagination>.disabled>span:focus,.pagination>.disabled>a,.pagination>.disabled>a:hover,.pagination>.disabled>a:focus {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd
}

.pagination-lg>li>a,.pagination-lg>li>span {
    padding: 10px 16px;
    font-size: 18px
}

.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px
}

.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px
}

.pagination-sm>li>a,.pagination-sm>li>span {
    padding: 5px 10px;
    font-size: 12px
}

.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px
}

.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px
}