﻿@charset "UTF-8";
* {
  font: inherit;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }
  *::before, *::after {
    -webkit-box-sizing: inherit;
    box-sizing: inherit; }

html,
body,
div,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
dl,
li,
dt,
dd,
p,
blockquote,
pre,
form,
fieldset,
table,
th,
td,
span,
input,
textarea {
  margin: 0;
  padding: 0; }

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

li,
ol,
ul,
dl,
dt,
dd {
  list-style: none; }

i,
b,
em,
strong {
  font-weight: 400; }

em,
i {
  font-style: normal; }

img {
  max-width: 100%;
  vertical-align: middle;
  border: 0; }

:focus {
  outline: 0; }

a {
  color: inherit;
  text-decoration: none; }

.clearfix {
  zoom: 1; }
  .clearfix::after, .clearfix::before {
    display: table;
    content: ""; }
  .clearfix::after {
    clear: both; }

.fr {
  float: right !important; }

.fl {
  float: left !important; }

input {
  outline: 0;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none; }

input:focus,
textarea:focus {
  outline: 0; }

/*文本*/
.f-bold {
  font-weight: 400 !important; }

.f-normal {
  font-weight: 700 !important; }

.tx-left {
  text-align: left;
  font-weight: bold;
  font-weight: normal; }

.tx-center {
  text-align: center; }

.tx-right {
  text-align: right; }

.tx-justify {
  text-align: justify; }

.tx-align-last {
  text-align-last: justify; }

/* 文本截取 */
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; }

/* 间距 */
.p10 {
  padding: .1rem; }

.p15 {
  padding: .15rem; }

.p20 {
  padding: .2rem; }

.p30 {
  padding: .3rem; }

.mg10 {
  margin: .1rem; }

.mg15 {
  margin: .15rem; }

.mg20 {
  margin: .2rem; }

.mg30 {
  margin: .3rem; }

.pd0 {
  padding: 0 !important; }

.mg0 {
  margin: 0 !important; }

/* 布局类 */
.block {
  display: block !important; }

.inline-block {
  display: inline-block !important; }

.inline {
  display: inline-block !important; }

.flex {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between; }

.flex-center {
  justify-content: center !important; }

.flex-start {
  justify-content: flex-start !important; }

.flex-start {
  justify-content: flex-end !important; }

.flex-middle {
  align-items: center !important; }

.flex-between {
  justify-content: space-between !important; }

.flex-around {
  justify-content: space-around !important; }

.flex-sub {
  flex: 1; }

/* 全局 */
body {
  color: #333;
  font: 14px/1.43 -apple-system, 'Microsoft Yahei', Arial, Helvetica, sans-serif;
  position: relative; }

.g-wrapper {
  max-width: 7.5rem;
  margin: 0 auto;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; }

/*可编辑的状态*/
.canEdit {
  outline: .04rem dashed red;
  outline-offset: -.04rem; }
