* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
*:before,
*:after {
  box-sizing: border-box;
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: #333;
}
img {
  border-style: none;
  vertical-align: middle;
  user-select: none;
}
table {
  border-collapse: collapse; 
  border-spacing: 0;
}
.cursor {
  cursor: pointer;
}
.nowrap {
  white-space: nowrap; 
}
.clearfix::after {
  display: block;
  visibility: hidden;
  content: "";
  height: 0;
  clear: both;
}
.clearfix {
    zoom: 1; /* ie */
}

/*  
  * position : pos
  */
.pos-rel {
  position: relative;
}
.pos-abs {
  position: absolute;
}
.pos-fix {
  position: fixed;
}

/* 
  * float : fl
  */
.fl {
  float: left;
}
.fr {
  float: right;
}
.fn {
    float: none;
}
.fi {
    float:inherit
}

/* 
  * state 
  * display : dis
  */
.dis-b {
  display: block;
}
.dis-n {
    display: none;
  }
.dis-in {
  display: inline;
}
.dis-inb {
  display: inline-block;
}
.dis-flex {
  display: flex;
}
.dis-inh {
  display: inherit;
}

/*
  * flex
  */
.flex-1 {
  flex: 1;
}
.flex-2 {
  flex: 2;
}
.flex-row {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  -webkit-flex-direction: row;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
}
.flex-column {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  -webkit-flex-direction: column;
  -webkit-box-orient: vertical;
}
.flex-c-start {
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  -webkit-box-pack: start;
}
.flex-a-center {
  -webkit-align-items: center;
  align-items: center;
  align-content: center;
  -webkit-align-content: center;
  -webkit-box-align: center;
}
.flex-c-center {
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-pack: center;
}
.flex-c-between {
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-box-pack: justify;
}


/* text-align */
.text-c {
  text-align: center;
}
.text-l {
  text-align: left;
}
.text-r {
  text-align: right;
}
.text-vm {
  vertical-align: middle;
}
.text-vb {
  vertical-align: bottom;
}

.text-els {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.text-indent {
    text-indent: 2em;
}

.strong {
  font-weight: bold;
}
.lighter {
    font-weight: lighter;
}
.em {
  font-style: italic;
}

.text-ltr {
    direction: ltr
}
.text-rtl {
    direction: rtl
}
.text-i {
    direction: inherit
}

.white {
  color: #fff;
}
.black {
  color: #000;
}
.gray {
  color: gray;
}
.gray-3 {
  color: #333;
}
.gray-6 {
  color: #666;
}
.gray-9 {
  color: #999;
}

.h1,
h1 {
  font-size: 0.32rem;
}
.h2,
h2 {
  font-size: 0.24rem;
}
.h3,
h3 {
  font-size: 0.2rem;
}
.h4,
h4 {
  font-size: 0.16rem;
}
.h5,
h5 {
  font-size: 0.14rem;
}
.h6,
h6 {
  font-size: 0.12rem;
}


.marg {
  margin: 0.15rem;
}
.marg-lr {
  margin: 0 0.15rem;
}
.marg-tb {
  margin: 0.15rem 0;
}
.marg-t {
  margin-top: 0.15rem;
}
.marg-r {
  margin-right: 0.15rem;
}
.marg-b {
  margin-bottom: 0.15rem;
}
.marg-l {
  margin-left: 0.15rem;
}
.magg-m {
    margin: 0 auto;
}

.padd {
  padding: 0.15rem;
}
.padd-lr {
  padding: 0 0.15rem;
}
.padd-tb {
  padding: 0.15rem 0;
}
.padd-t {
  padding-top: 0.15rem;
}
.padd-r {
  padding-right: 0.15rem;
}
.padd-b {
  padding-bottom: 0.15rem;
}
.padd-l {
  padding-left: 0.15rem;
}

/* border */
.border-n {
    border: none;
}
