.rel {
  position: relative;
}
.abs {
  position: absolute;
}
.fixed {
  position: fixed;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
.regular {
  font-family: "regular";
}
.medium {
  font-family: "medium";
}
.flex {
  display: flex;
  display: -webkit-box;
  /* Chrome 4+, Safari 3.1, iOS Safari 3.2+ */
  display: -moz-box;
  /* Firefox 17- */
  display: -webkit-flex;
  /* Chrome 21+, Safari 6.1+, iOS Safari 7+, Opera 15/16 */
  display: -moz-flex;
  /* Firefox 18+ */
  display: -ms-flexbox;
  /* IE 10 */
}
.flex-wrap {
  flex-flow: wrap;
}
.flex-between {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
.inline-block {
  display: inline-block;
}
.block {
  display: block;
}
.hide {
  display: none;
}
.txt {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* 一行省略溢出显示省略号*/
.bold {
  font-weight: 700;
}
.txt-center {
  text-align: center;
}
.txt-left {
  text-align: left;
}
.txt-right {
  text-align: right;
}
.ss span {
  position: relative;
  z-index: 1;
}
.ss i {
  display: block;
  -moz-transform: translateY(-50%) translateX(-50%);
  -ms-transform: translateY(-50%) translateX(-50%);
  -webkit-transform: translateY(-50%) translateX(-50%);
  transform: translateY(-50%) translateX(-50%);
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
}
.ss i:before {
  position: relative;
  content: '';
  display: block;
  margin-top: 100%;
}
.ss i:after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 50%;
}
.ss:hover i {
  -moz-animation: anim-out 0.75s;
  -webkit-animation: anim-out 0.75s;
  animation: anim-out 0.75s;
}
.ss:hover i:after {
  -moz-animation: anim-out-pseudo 0.75s;
  -webkit-animation: anim-out-pseudo 0.75s;
  animation: anim-out-pseudo 0.75s;
}
.img_rotate {
  -moz-animation: rotate 15s infinite linear;
  -webkit-animation: rotate 15s infinite linear;
  animation: rotate 15s infinite linear;
}
@-moz-keyframes rotate {
  0% {
    -moz-transform: rotate(0deg);
  }
  100% {
    -moz-transform: rotate(-360deg);
  }
}
@-webkit-keyframes rotate {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(-360deg);
  }
}
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}
.linear {
  transition-timing-function: linear;
  -o-transition-timing-function: linear;
  -moz-transition-timing-function: linear;
  -webkit-transition-timing-function: linear;
}
.ease {
  transition-timing-function: ease;
  -o-transition-timing-function: ease;
  -moz-transition-timing-function: ease;
  -webkit-transition-timing-function: ease;
}
.ease-in {
  transition-timing-function: ease-in;
  -o-transition-timing-function: ease-in;
  -moz-transition-timing-function: ease-in;
  -webkit-transition-timing-function: ease-in;
}
.ease-out {
  transition-timing-function: ease-out;
  -o-transition-timing-function: ease-out;
  -moz-transition-timing-function: ease-out;
  -webkit-transition-timing-function: ease-out;
}
.ease-in-out {
  transition-timing-function: ease-in-out;
  -o-transition-timing-function: ease-in-out;
  -moz-transition-timing-function: ease-in-out;
  -webkit-transition-timing-function: ease-in-out;
}
@-webkit-keyframes anim-out {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
@-moz-keyframes anim-out {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
@-ms-keyframes anim-out {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
@keyframes anim-out {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
@-webkit-keyframes anim-out-pseudo {
  0% {
    background: rgba(0, 0, 0, 0.25);
  }
  100% {
    background: 0 0;
  }
}
@-moz-keyframes anim-out-pseudo {
  0% {
    background: rgba(0, 0, 0, 0.25);
  }
  100% {
    background: 0 0;
  }
}
@-ms-keyframes anim-out-pseudo {
  0% {
    background: rgba(0, 0, 0, 0.25);
  }
  100% {
    background: 0 0;
  }
}
@keyframes anim-out-pseudo {
  0% {
    background: rgba(0, 0, 0, 0.25);
  }
  100% {
    background: 0 0;
  }
}
@keyframes fadeOfOpacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes am_top {
  0% {
    -webkit-transform: translate(0, 30px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translate(0, 0px);
    opacity: 1;
  }
}
@-webkit-keyframes am_top {
  0% {
    -webkit-transform: translate(0, 30px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translate(0, 0px);
    opacity: 1;
  }
}
@keyframes am_left {
  0% {
    -webkit-transform: translate(30px, 0);
    opacity: 0;
  }
  100% {
    -webkit-transform: translate(0, 0px);
    opacity: 1;
  }
}
@-webkit-keyframes am_left {
  0% {
    -webkit-transform: translate(30px, 0);
    opacity: 0;
  }
  100% {
    -webkit-transform: translate(0, 0px);
    opacity: 1;
  }
}
@keyframes am_right {
  0% {
    -webkit-transform: translate(-30px, 0);
    opacity: 0;
  }
  100% {
    -webkit-transform: translate(0, 0px);
    opacity: 1;
  }
}
@-webkit-keyframes am_right {
  0% {
    -webkit-transform: translate(-30px, 0);
    opacity: 0;
  }
  100% {
    -webkit-transform: translate(0, 0px);
    opacity: 1;
  }
}
@keyframes upDown {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10px);
  }
}
@-webkit-keyframes upDown {
  from {
    -webkit-transform: translateY(0);
  }
  to {
    -webkit-transform: translateY(-10px);
  }
}
.before {
  opacity: 0;
  visibility: hidden;
}
.after {
  opacity: 1;
  visibility: visible;
}
.upper {
  text-transform: uppercase;
}
.middle {
  vertical-align: middle;
}
.background {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
.coverbackground {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
