/**
 * @author wangjb<wangjb@taofen8.com>
 * @date 2016/04/03
 * @desc 公共样式
 * @note 不要随意改动样式，会影响其他页面
 **/
@charset "utf-8";
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  outline:none;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
.hide {
  display: none;
}
body,ul,ol,div,img,li{
    margin:0px;
    padding:0px;
    box-sizing:border-box;
    -moz-box-sizing:border-box; /* Firefox */
    -webkit-box-sizing:border-box; /* Safari */
    -webkit-text-size-adjust:none;
    /*// font: 12px arial,sans-serif,"Microsoft YaHei","微软雅黑";*/
    font-family:PingFang-SC-Regular,HeitiJ-Light,Helvetica Neue,Helvetica,STHeiTi,sans-serif;-webkit-font-smoothing:antialiased;
    tap-highlight-color:rgba(0,0,0,0);
    -webkit-tap-highlight-color:rgba(0,0,0,0);
    line-height: 17px;
    font-size: 12px;
    /*font-family: "Microsoft YaHei",Helvetica,"Hiragino Sans GB",Arial,sans-serif;*/
    /*font-size: 12px;*/
}
@font-face{font-family:iconfont;src:url("//at.alicdn.com/t/font_1474372158_1245542.eot");src:url("//at.alicdn.com/t/font_1474372158_1245542.eot?#iefix") format("embedded-opentype"),url("//at.alicdn.com/t/font_1474372158_1245542.woff") format("woff"),url("//at.alicdn.com/t/font_1474372158_1245542.ttf") format("truetype"),url("//at.alicdn.com/t/font_1474372158_1245542.svg#iconfont") format("svg")}
body{
    color: #5d5d5d;
    background-color: #f3f3f3;
    max-width: 720px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
}
::-webkit-scrollbar {
    display: none;
} 
span,input,textarea{
    tap-highlight-color:rgba(0,0,0,0);
    -webkit-tap-highlight-color:rgba(0,0,0,0);
}
a{
    text-decoration: none;
    background:none;
    color: #212121;
}
a:hover{
    background:none; 
    -webkit-tap-highlight-color: transparent;
}
/*VUE模版隐藏html中的代码*/
[v-cloak] {
  display: none;
}
.tf-center{
	text-align: center;
}
.text-left{
    text-align: left;
}
.text-right{
    text-align: right;
}
.tf-table .text-left{
    text-align: left;
}
.tf-table .text-right{
    text-align: right;
}
.tf-left{
	float: left;
}
.tf-right{
	float: right;
}
.tf-clear{
	clear: both;
}
.tf-hide{
	display: none;
}
.tf-hidden{
	visibility: hidden;
}
.tf-p15{
	width: 15%;
}
.tf-p10{
	width: 10%;
}
.tf-p20{
	width: 20%;
}
.tf-p25{
	width: 25%;
}
.tf-p30{
	width: 30%;
}
.tf-p40{
	width: 40%;
}
.tf-p45{
	width: 45%;
}
.tf-p55{
	width: 55%;
}
.tf-p50{
	width: 50%;
}
.tf-p60{
	width: 60%;
}
.tf-p70{
	width: 70%;
}
.tf-p75{
	width: 75%;
}
.tf-p80{
	width: 80%;
}
.tf-p90{
	width: 90%;
}
.tf-p100{
    width: 100%;
}
.tf-p33{
    width: 33.33%;
}
.empty-box{
    height: 100%;
    background: #fff;
    position: absolute;
    max-height: 100%;
    width: 100%;
}
.tf-empty {
    text-align: center;
    position: relative;
    padding-top: 60%;
    height: 100%;
    max-height: 100%;
    background-color: #ffffff;
}
.tf-empty img {
	width: 50px;
}
.empty-info{
  width: 200px;
  margin: 10px auto;
    color: #cccccc;
}
.go-index{
    width: 90px;
    margin: 10px auto;
    border: 1px solid #b9b9b9;
    border-radius: 2px;
    padding: 4px;
    color: #b0b0b0;
}
.direction-box{
	position: fixed;
	z-index: 590;
	right: 0;
    bottom: 70px;
    width: 45px;
}
.assist-box{
	width: 45px;
	height: auto;
	overflow: hidden;
}
.assist-box img{
	width: 100%;
    display: block;
}
.tf-btn{
	border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    background: #f81948;
    padding: 5px;
    text-align: center;
    font-size: 14px;
    color: #ffffff;
    border: 1px solid #f81948;
}
.ui-wrapper,.ui-content{
	max-width: 720px;
	width: 100%;
	margin: 0 auto;
	position: relative;
}
.iframe-box{
	box-sizing: border-box;
}
.mask-box{
	position: fixed;
	height: 100%;
	width: 100%;
  max-width: 720px;
	background-color: rgba(0,0,0,0.3);
	top: 0;
	left: 0;
	z-index: 9999;
	pointer-events:auto;
}
.line-word{
    white-space:nowrap;
	text-overflow:ellipsis;
	-o-text-overflow:ellipsis;
	overflow: hidden;
}
.two-line-word{
	overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: -o-ellipsis-lastline;
}
.two-side-align {
    display: inline-block;
    text-align:justify;
    text-align-last:left;  
    -moz-text-align-last:left; 
    -ms-text-align-last:left;  
}
/*.two-side-align:after{
    display:inline-block;
    overflow:hidden;
    width:100%;
    height:0;
    content:'';
    vertical-align:top;
}*/
.main-color{
    color: #f81948;
}
.modal-mask {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .5);
  display: table;
  transition: opacity .3s ease;
}

.modal-mask-none {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .5);
  transition: opacity .3s ease;
}
.modal-wrapper {
	position: relative;
    display: table-cell;
    vertical-align: middle;
}
.modal-fff{
	background-color: #fff;
	z-index: 9999!important;
}
.modal-container {
  width: 100%;
  height: 100%;
  margin: 0px auto;
  /*padding: 20px 30px;*/
  background-color: #fff;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .33);
  transition: all .3s ease;
  font-family: Helvetica, Arial, sans-serif;
}
.modal-enter, .modal-leave {
  opacity: 0;
}
.modal-enter .modal-container,
.modal-leave .modal-container {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.tf-table{
	display: table;
  table-layout: fixed;
}
.tf-cell{
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
.cell-box{
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}
.img-cell{
	width: 100%;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
    overflow: hidden;
    position: relative;
}
.img-cell img{
    /*width: 100%;*/
    max-height: 100%;
    -webkit-max-height: 100%;
    -moz-max-height: 100%;
    -ms-max-height: 100%;
	  text-align: center;
    max-width: 100%;
    height: auto;
    vertical-align:middle;
    /*height: 100%;*/
}

/*伪类做图片垂直居中*/
.position-img-box{
    top: 0;
    left: 0px;
    position: absolute;
    width: 100%;
    height: 100%;
}
.position-img{
    position: relative;
    width: 100%;
    height: 100%;
    line-height: 0;
    font-size: 0; /*font-size: 0是防止在IE下div可能被撑高的可能*/
    *font-size: 200px; /*防止IE6、7产生200px的高度*/
    text-align: center;
}
.position-img img{
    vertical-align:middle;
    max-width: 100%;
    max-height: 100%;
    -webkit-max-height:100%;
    -webkit-max-height:100%;
    -moz-max-height:100%;
    -ms-max-height:100%;
}
.position-img:after{
    display:inline-block; 
    width:0;
    height:100%; 
    content:"center"; 
    vertical-align:middle; 
    overflow:hidden;
}
/*模块样式*/
.span-2-box{
    padding: 2px;
    background: #fff;
}
.p-l4{
  padding-left: 4px;
}
.p-r4{
  padding-right: 4px;
}
.span-2-1{
  padding-bottom: 2px;
}
.span-2-2{
  padding-top: 2px;
}
.span-img-box{
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    display: table;
    vertical-align: middle;
}
.span-img-box img{
	max-height: 100%;
    max-width: 100%;
    -webkit-max-height:100%;
    -webkit-max-height:100%;
    -moz-max-height:100%;
    -ms-max-height:100%;
    margin: 0 auto;
    vertical-align: middle;
    text-align: center;
}

/**屏幕宽度大于720px的样式**/
@media screen and (min-width:720px){

    .mask-box{
        left: calc(50% - 360px);
        left: -webkit-calc(50% - 360px);
        left: -moz-calc(50% - 360px);
        left: -ms-calc(50% - 360px);
    }
}

.flex-left,
.flex-center,
.flex-right,
.flex-space-between,
.flex-top,
.flex-middle,
.flex-bottom {
    display: -webkit-box;  /* 老版本语法: Safari, iOS, Android browser, older WebKit browsers. */
    display: -moz-box;     /* 老版本语法: Firefox (buggy) */
    display: -ms-flexbox;  /* 混合版本语法: IE 10 */
    display: -webkit-flex; /* 新版本语法: Chrome 21+ */
    display: flex;         /* 新版本语法: Opera 12.1, Firefox 22+ */
  -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
  -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
}
.flex-left {
   -webkit-box-pack: start;
    -ms-flex-pack: start;
    -webkit-justify-content: flex-start;
  justify-content: flex-start;
}
.flex-center {
  -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
}
.flex-right {
  -webkit-box-pack: end;
    -ms-flex-pack: end;
    -webkit-justify-content: flex-end;
  justify-content: flex-end;
}
.flex-space-between {
  -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
  justify-content: space-between;
}
.flex-top {
  -webkit-box-align: start;
    -ms-flex-align: start;
    -webkit-align-items: flex-start;
  align-items: flex-start;

  -webkit-align-content:flex-start;
  align-content: flex-start;
}
.flex-middle {
  -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
  align-items: center;

  -webkit-align-content:center;
  align-content: center;
}
.flex-bottom {
  -webkit-box-align: end;
    -ms-flex-align: end;
    -webkit-align-items: flex-end;
  align-items: flex-end;

  -webkit-align-content:flex-end;
  align-content: flex-end;
}
