﻿@import url('fonts.css');

/* @charset "utf-8"; */

* {
    margin: 0;
    padding: 0;
}

*,
*:after,
*:before {
    margin: 0;
    padding: 0;
    /* transition: all .5s; */
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html {
    -webkit-text-size-adjust: 100%;
}

html,
body {
    font-family: "微软雅黑", Arial, Helvetica, sans-serif;
    color: #282828;
}

body {
    font-size: 14px;
    position: relative;
    width: 100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav {
    display: block;
    padding: 0;
    margin: 0;
}

input,
textarea {
    margin: 0;
    padding: 0;
    outline: 0;
    -webkit-appearance: none;
    border-radius: 0;
    font-family: "微软雅黑", Arial, Helvetica, sans-serif;
}


/*input[type="checkbox"] {*/


/*    -webkit-appearance: checkbox;*/


/*}*/

input[type="radio"] {
    -webkit-appearance: radio;
}

:after,
:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

a,
a:hover,
a:active {
    color: #282828;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
}

a,
a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

:focus,
a:focus {
    outline: none;
    -moz-outline: none;
}

table,
table td {
    border-collapse: collapse;
    border-spacing: 0;
}

ul li,
.ul,
.ul li {
    list-style: none;
}

hr {
    margin: 0;
    padding: 0;
    border: 0;
    color: #282828;
    height: 1px;
}

img {
    border: none;
    max-width: 100%;
    vertical-align: middle;
    display: block;
    margin: 0 auto;
}

.Ispic {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

pre {
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
    margin: 0;
    font-family: "微软雅黑";
    text-align: justify;
    text-justify: inter-ideograph;
}

.Absolute-Center {
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.clear {
    clear: both;
    overflow: hidden;
    zoom: 0;
}

.clearfix:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {
    zoom: 1;
}

.h1 {
    margin: 0;
    padding: 0;
}


/*单行文本省略号*/

.dot {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.dot2,
.dot3,
.dot4 {
    display: -webkit-box;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    -webkit-box-orient: vertical;
}

.dot2 {
    -webkit-line-clamp: 2;
}


/*多行文本省略号*/

.dot3 {
    -webkit-line-clamp: 3;
}

.dot4 {
    -webkit-line-clamp: 4;
}


/*盒子布局*/

.flexsb {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
}

.flexsa {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: space-around;
}

.flexlf {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: left;
}

.flexed {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: flex-end;
}

.flexce {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
}

.cflexce {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    flex-direction: column;
    flex-wrap: wrap;
}

.to-top {
    position: fixed;
    bottom: 10px;
    cursor: pointer;
    right: 10px;
    display: none;
    z-index: 9999;
    background: url(../image/totop.png) no-repeat center;
    background-size: 100%;
    width: 50px;
    height: 50px;
    font-size: 0;
}