@charset "utf-8";

/* reset */

body,h1,h2,h3,h4,h5,h6,p,dl,dd,ul,ol,pre,form,input,textarea,th,td,select{margin:0; padding:0; font-weight: normal;text-indent: 0;}

html {
    font-family:'Microsoft YaHei',SimSun,sans-serif;
    -webkit-user-select: none; /* 禁止ios和android用户选中文字 */
    -webkit-touch-callout: none; /* 禁止ios长按时触发系统的菜单，禁止ios&android长按时下载图片 */
    -webkit-text-size-adjust: 100%!important; /* ios禁止调整字体大小 */
}

body {
    font-size: 12px;
    line-height: 20px;
    background: #f5f5f5;
    color: #505050;
}

a,button,input,textarea,select { 
    background:none;
    /* 去除android a/button/input标签被点击时产生的边框 & 去除ios a标签被点击时产生的半透明灰色背景 */
    -webkit-tap-highlight-color:rgba(255,0,0,0);
    outline: none;
    -webkit-appearance:none; /* webkit去除表单元素的默认样式 */
}

em {font-style:normal}

li {list-style:none}

a {color: #323232;text-decoration: none;display:block;}
a:focus{outline:none;}

img{border:none; vertical-align:middle;}

table{border-collapse:collapse;}

textarea{ resize:none; overflow:auto;}

/* 取消内边距和边框对盒子宽度的影响 */
* {-webkit-box-sizing: border-box;-moz-box-sizing: border-box;-ms-box-sizing: border-box;
    -o-box-sizing: border-box;box-sizing: border-box;}

input::-webkit-input-speech-button {display:none} /* android上去掉语音输入按钮 */

/* placeholder透明度和焦点颜色 */
input::-webkit-input-placeholder{color: #000;opacity:.3;}
input:focus::-webkit-input-placeholder{color:#EEEEEE;}
textarea::-webkit-input-placeholder{color: #000;opacity:.3;}
textarea:focus::-webkit-input-placeholder{color:#EEEEEE;}

/* end reset */

/* 媒体查询 */
@media screen and (min-width: 320px) {
    html {
        font-size: 100px;
    }
}
@media screen and (min-width: 360px) {
    html {
        font-size: 112.5px;
    }
}
@media screen and (min-width: 400px) {
    html {
        font-size: 125px;
    }
}
@media screen and (min-width: 440px) {
    html {
        font-size: 137.5px;
    }
}
@media screen and (min-width: 480px) {
    html {
        font-size: 150px;
    }
}

/* public */

/* 清除浮动 */
.clearfix:after { content:''; display:block; clear:both; }
.clearfix { zoom:1; }

/* 布局 */
.fl {float:left;}
.fr {float:right;}
.cb {clear:both;}
.cl {clear:left;}
.cr {clear:right;}
.rel {position:relative;}
.abs {position:absolute;}
.fix {position: fixed;}
.tac {text-align:center;}
.tal {text-align:left;}
.tar {text-align:right;}
.dib {display:inline-block;}
.vab {vertical-align:bottom;}
.vam {vertical-align:middle;}
.vat {vertical-align:top;}
.hide {display:none;}
.block {display:block;}
.to-wrap {word-break: break-all;word-wrap: break-word;white-space: pre-wrap;}  /* 强制换行 */
.no-wrap {white-space:nowrap;}  /* 禁止换行 */
.outE {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}  /*溢出显示...*/

/* flex */
.flex-row {
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    justify-content: space-between;
    align-items: center;  
}
.flex-col {
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    justify-content: space-between;
}
.flex-wrap { /* 设置子条目超宽自动换行(容器属性) */
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.flex1 {
    -webkit-box-flex: 1;      /* OLD - iOS 6-, Safari 3.1-6 */
    -moz-box-flex: 1;         /* OLD - Firefox 19- */
    -webkit-flex: 1;          /* Chrome */
    -ms-flex: 1;              /* IE 10 */
    flex: 1;                  /* NEW, Spec - Opera 12.1, Firefox 20+ */
}
.flex2 {
    -webkit-box-flex: 2;
    -moz-box-flex: 2;
    -webkit-flex: 2;
    -ms-flex: 2;
    flex: 2;
}
.flex3 {
    -webkit-box-flex: 3;
    -moz-box-flex: 3;
    -webkit-flex: 3;
    -ms-flex: 3;
    flex: 3;
}
.jc-center {justify-content: center;} /* 容器属性 主轴对齐方式 */
.jc-start {justify-content: flex-start;}
.ai-start {align-items: flex-start;} /* 容器属性 纵轴对齐方式 */
.as-start {align-self: flex-start;} /* 条目属性 纵轴对齐方式 */
.as-end {align-self: flex-end;}
.order-1 {-webkit-order:-1;order:-1;} /* 条目属性 前置条目 */

/* 容器 */
.container {padding:0 0 60px 0;overflow:auto;margin-top:45px;-webkit-overflow-scrolling:touch;}

/* 头尾 */
header,footer {position:fixed;right:0;left:0;z-index:1;text-align:center;}/*background:#CCCCCC;*/
header {top:0;height:45px;}
footer {bottom:0;}

/* 边距 */
.m5{margin:5px;}
.p5{padding:5px;}
.pt5{padding-top:5px;}
.mt10{margin-top: 10px;}
.mb10{margin-bottom: 10px;}
.ml10{margin-left: 10px;}
.mr10{margin-right: 10px;}
.ml-auto {margin-left: auto !important;}

/* 共用样式 */
.bgc-base{
    background-color:#000 !important;
}
.bgc-gray{
    background-color:#555 !important;
}
.bgc-light{
    background-color:#777 !important;
}
.bgc-lighted{
    background-color:#999 !important;
}
.bgc-white{
    background-color:#fff !important;
}
.bgc-info{
    background-color:#5bc0de !important;
}
.bgc-danger{
    background-color:#fd5b37 !important;
}
.bgc-red {
    background-color: #ea5628;
}
.bgc-blue {
    background-color: #5a71b5;
}
.c-gray{
    color: gray;
}
.c-red {
    color: red;
}
.c-blue {
    color: blue;
}

/* 文本框 */


/* 按钮 */
.btn {
    font-size: 14px;
    text-align: center;
    border-radius: 4px;
    height: 30px;
    line-height: 30px;
    margin: 0 auto;
    color: #fff;
}

/* end public */