﻿@charset "utf-8";

/*-- 全局reset
-------------------------------------------*/

html, body, div,
h1, h2, h3, h4, h5, h6,
hr, p, blockquote,
dl, dt, dd, ul, ol, li,
pre, form, fieldset, object, code,
legend, button, input, textarea, label,
th, td, a, img {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font: inherit;
    vertical-align: baseline;
    word-wrap: break-word;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font: 14px/1.5 'Helvetica Neue', 'Helvetica', 'Arial', '\5FAE\8F6F\96C5\9ED1', 'Microsoft YaHei', 'Tahoma', 'Hiragino sans gb', 'SimSun', 'Sans-serif';
    color: #333;
}

/*清除内外边距*/
h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    font-size: 100%;
}

dd, dl, dt, ul, ul li,ol {
    list-style: none;
    display: block;
}

img {
    max-width: 100%;
    vertical-align: middle;
    border: 0;
    -ms-interpolation-mode: bicubic;
    -webkit-touch-callout: none;
}

/*设置默认字体*/
:focus {
    outline: 0;
}


/*重置列表*/
fieldset, img {
    border: 0 none;
    vertical-align: top;
}

/*重置图片元素*/
address, caption, cite, code, dfn, em, i, th, var, optgroup {
    font-style: normal;
    font-weight: normal;
}

abbr, acronym {
    border: 0;
    font-variant: normal;
}

input, button, textarea, select, optgroup, option {
    font-family: inherit;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
}

code, kbd, samp, tt {
    font-size: 100%;
}

/*@purpose To enable resizing for IE */
/*@branch For IE6-Win, IE7-Win */
input, button, textarea, select {
    *font-size: 100%;
    outline: none;
}

/*
form label {
    cursor: pointer;
}
*/

textarea {
    resize: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*重置表格*/
blockquote, q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

.clearfix:after, .clearfix:before {
    display: table;
    content: " ";
}

.clearfix:after {
    clear: both;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

a {
    color: #333;
    text-decoration: none;
    -webkit-transition: color .2s ease-in-out;
    -moz-transition: color .2s ease-in-out;
    transition: color .2s ease-in-out;
    -webkit-transition: background-color .2s ease-in-out;
    -moz-transition: background-color .2s ease-in-out;
    transition: background-color .2s ease-in-out;

}

a:hover {
    /*color: #1eb37b;*/
    text-decoration: none;
}


/*--清除浮动
-------------------------------------------*/
.cf:before,
.cf:after {
    content: "";
    display: table;
}

.cf:after {
    clear: both;
}

.cf {
    clear: both;
    *zoom: 1;
}

/*-- 字号、颜色、外边距、内补丁、居中、行高、显示、隐藏
--------------------------------------------------------------------------*/
.c-333 {
    color: #333;
}

.c-666 {
    color: #666;
}

.c-999 {
    color: #999;
}

/* 字号 */
.f9 {
    font-size: 9px;
    -webkit-text-size-adjust: none;
}

.f12,
.fb12 {
    font-size: 12px;
}

.simsun {
    font-family: SimSun;
}

.f14,
.fb14 {
    font-size: 14px;
}

.f16,
.fb16 {
    font-size: 16px;
}

.f18,
.fb18 {
    font-size: 18px;
}

.f20,
.fb20 {
    font-size: 20px;
}

.fb,
.fb12,
.fb14,
.fb16,
.fb18,
.fb20 {
    font-weight: 700;
}

/* 隐藏 居中 */

.tc {
    text-align: center;
}

.tr {
    text-align: right;
}

.show {
    display: block;
}

.hide {
    display: none !important;
}

/*文字隐藏,省略号*/
.ti,
.te {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ti {
    text-indent: -999em;
}

.te2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ico {
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
    background-repeat: no-repeat;
    -webkit-background-size: contain !important;
    background-size: contain !important
}

/* ----------flex布局------------ */
/* ----------------------------------------------------------------
       fbox：定义布局为盒模型
       flex-100：子元素占据剩余的空间

       hbox：  盒模型--水平布局 不折行
       whbox： 盒模型--水平布局 且折行
       vhbox： 盒模型--垂直布局

       vbox：  子元素--水平居中
       cbox：  子元素--垂直居中
       cwbox： 子元素--水平垂直居中(左右 多元素居中)
       vcbox： 子元素--垂直水平居中(上下 多元素居中)

       jbox：  子元素--两端对齐
       jcbox： 子元素--垂直居中且两端对齐
       jwcbox：子元素--垂直居中且两端对齐 且折行 最后一行两端对齐
       jlcbox：子元素--垂直居中且两端对齐 且折行 最后一行居左对齐
       ---------------------------------------------------------------- */

/*定义盒模型*/
.flex,.fbox, .hbox, .whbox, .vhbox, .vbox, .cbox, .cwbox, .vcbox, .jbox, .jcbox, .jwcbox, .jlcbox {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

/*水平排列*/
.hbox, .whbox {
    -webkit-box-orient: horizontal;
    -webkit-flex-direction: row;
    -webkit-box-align: stretch;
    -ms-flex-direction: row;
    flex-direction: row;
    align-items: stretch; /*未定义高度撑满*/
}

/*水平折行排列*/
.whbox, .jwcbox, .jlcbox {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

/*垂直排列*/
.vhbox, .vcbox {
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    -webkit-box-align: stretch;
    -ms-flex-direction: column;
    flex-direction: column;
    align-items: stretch; /*未定义高度撑满*/
}

/*水平居中*/
.vbox, .cwbox, .vcbox {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

/*垂直居中*/
.cbox, .cwbox, .vcbox, .jcbox {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

/*水平垂直居中 (注:水平居中和垂直居中之和(--多行水平居中排列--)的结合体)*/
.cwbox {

}

/*水平垂直居中 (注:水平居中和垂直居中之和(--多行垂直排列--)的结合体)*/
.vcbox {

}

/*两端对齐*/
.jbox, .jcbox, .jwcbox, .jlcbox {
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

/*居中两端对齐 单行居中对齐  (注:垂直居中和两端对齐的结合体)*/
.jcbox {

}

/*两端对齐 且折行  最后一行也两端对齐  (注:水平折行排列和两端对齐的结合体)*/
.jwcbox {

}

/*两端对齐 且折行  最后一行左对齐  (注:水平折行排列和两端对齐的结合体)*/
.jlcbox {
}

.jlcbox:after {
    content: "";
    flex: auto;
}

.flex-column{
    -ms-flex-direction: column;
    flex-direction: column;
}
/*撑满剩余空间*/
.flex {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}
.col-20 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
}

.col-25 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
}

.col-30 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 30%;
    flex: 0 0 30%;
}

.col-33 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33.33%;
    flex: 0 0 33.33%;
}

.col-35 {
    -webkit-box-flex: 0;
    ms-flex: 0 0 35%;
    flex: 0 0 35%;
}

.col-40 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 40%;
    flex: 0 0 40%;
}

.col-50 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
}

.col-60 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 60%;
    flex: 0 0 60%;
}
.col-66 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 66.66%;
    flex: 0 0 66.66%;
}
.col-80 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 80%;
    flex: 0 0 80%;
}
.col-100 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
}
