@charset "UTF-8";

/*reset*/

html {
  /*font-size:100px;*/
  /*background-color: #fff;*/
}
@font-face {
  font-family: 'D-DIN';
  src: url('D-DIN.otf');
}
.f-din {
  font-family: 'D-DIN';
}
body,
button,
input,
select,
textarea {
  font: 400 0.28rem/1.5 'Microsoft Yahei', 'Hiragino Sans GB', 'Microsoft Sans Serif', 'WenQuanYi Micro Hei', sans-serif;
  outline: none;
}

body,
div,
span,
a,
em,
i,
img,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
input,
textarea,
label,
p,
th,
td,
hr,
button,
footer,
header,
menu,
nav,
section {
  margin: 0;
  padding: 0;
}

footer,
header,
hgroup,
menu,
nav,
section,
img {
  display: block;
  width: 100%;
}

canvas,
video {
  display: inline-block;
  vertical-align: baseline;
}

ul,
ol {
  list-style: none;
}

li {
  *vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

i,
em {
  font-style: normal;
}

button {
  border-style: none;
}

a {
  background-color: transparent;
  text-decoration: none;
}

a,
input,
div {
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  -moz-tap-highlight-color: rgba(255, 255, 255, 0);
  -ms-tap-highlight-color: rgba(255, 255, 255, 0);
  -o-tap-highlight-color: rgba(255, 255, 255, 0);
  tap-highlight-color: rgba(255, 255, 255, 0);
}

a:active,
a:hover {
  outline: 0;
}

b,
strong {
  font-weight: normal;
}

img {
  border: 0;
  -webkit-transform: scale(1) rotate(0deg) translate3d(0, 0, 0);
  transform: scale(1) rotate(0deg) translate3d(0, 0, 0);
  max-width: 100%;
}

input {
  line-height: normal;
  -webkit-appearance: none;
  border: 0;
  outline: none;
}

input[type='checkbox'],
input[type='radio'] {
  box-sizing: border-box;
  padding: 0;
}

input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  height: auto;
}

input[type='search'] {
  -webkit-appearance: textfield;
  box-sizing: content-box;
}

input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}

input::-ms-clear {
  display: none;
}

textarea {
  overflow: auto;
}

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

/* 清除浮动*/

/*.clear{clear:both;}
.clear:after, .clear:before {content: "";display: table;clear: both;overflow: hidden;}*/

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

.clearfix:after {
  clear: both;
}

.clearfix {
  zoom: 1;
}

/* 单行文字溢出虚点显示*/

.ell {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.disn {
  display: none;
}

/*  多行溢出隐藏 */

.l-ell {
  display: -webkit-box !important;
  display: box !important;
  word-wrap: break-word;
  word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  box-orient: vertical;
  -ms-line-clamp: 2;
  -moz-line-clamp: 2;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.fw {
  font-weight: 700;
}
.fl {
  float: left;
}

.fr {
  float: right;
}

.hide {
  display: none;
}

.show {
  display: block;
}
* {
  box-sizing: border-box;
}
body {
  -webkit-user-select: none;
  max-width: 750px;
  margin: 0 auto;
  position: relative;
}
.icon {
  /*display: inline-block;*/
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

/* 土司 */
.totals {
  top: 50%;
  text-align: center;
  color: #fff;
  width: 3.52rem;
  height: auto;
  background: rgba(33, 33, 33, 0.8);
  padding: 0.2rem 0.36rem;
  margin: -1.76rem 1.99rem;
  border-radius: 10px;
  position: fixed;
  z-index: 9999;
}

.frame {
  animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
  0% {
    transform: scale(0);
  }
  80% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
