/* 公共复用样式 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* font-family: Microsoft YaHei; */
}

.fix-bg {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, .6);
  z-index: 99;
}

.fix-cover-bg {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, .6);
  z-index: 9999;
}

.fix-bg-none {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 99;
}

.fix-central {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
}

.fix-cover-central {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

.text-flow {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flex {
  display: flex;
  align-items: center;
}

.flex-inline {
  display: inline-flex;
  align-items: center;
}

.flex-d-tb {
  display: flex;
  flex-direction: column;
}

.flex-bet {
  display: flex;
  justify-content: space-between;
}

.flex-right {
  display: flex;
  justify-content: flex-end;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-top-ag {
  display: flex;
  align-items: flex-start;
}

.flex-bottom-ag {
  display: flex;
  align-items: flex-end;
}

.flex-d-tb {
  flex-direction: column;
}

.flex-grid {
  flex-direction: row;
  flex-wrap: wrap;
}

.flex-flow {
  display: flex;
  flex-flow: wrap;
}

.flex-space-bet {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.line {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ele-none {
  display: none;
}

[v-cloak] {
  display: none;
}

.no-border {
  border: none !important;
}

.border-type-1 {
  width: 100%;
  height: 1px;
  background-image: linear-gradient(to right, #ccc 0%, #ccc 50%, transparent 50%);
  background-size: 8px 1px;
  background-repeat: repeat-x;
}

ul, li, ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: #666;
  cursor: pointer;
}

a:hover {
  text-decoration: none;
}

img {
  width: 100%;
  max-width: 100%;
}

textarea {
  resize: none;
}

.tab {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn, button, [type="btn"] {
  outline: none;
  border: none;
  resize: none;
  /* padding: 6px 12px; */
  cursor: pointer;
  border-radius: 4px;
}

.btn-primary {
  background-color: #1959C9;
  color: #fff;
}

.btn-warning {
  background-color: #E8AD32;
  color: #fff;
}

.btn-danger {
  background-color: #de1c1c;
  color: #fff;
}

.btn-default {
  background-color: #F4F4F4;
  color: #333;
}

.btn-side-primary {
  border: 1px solid #116BAA;
  color: #116BAA;
  background-color: #fff;
}

.btn-side-warning {
  border: 1px solid #E8AD32;
  color: #E8AD32;
  background-color: #fff;
}

.btn-side-danger {
  border: 1px solid #de1c1c;
  color: #de1c1c;
  background-color: #fff;
}

.btn-side-default {
  border: 1px solid #F4F4F4;
  color: #F4F4F4;
  background-color: #fff;
}

.btn-primary:hover {
  background-color: #409EFF;
  color: #fff;
}

.btn-warning:hover {
  background-color: #f1c15d;
  color: #fff;
}

.btn-danger:hover {
  background-color: #de1c1c;
  color: #fff;
}

.btn-default:hover {
  background-color: #e1e1e1;
  color: #fff;
}

.btn-side-primary:hover {
  background-color: #116BAA;
  color: #fff;
}

.btn-side-warning:hover {
  background-color: #E8AD32;
  color: #fff;
}

.btn-side-danger:hover {
  background-color: #de1c1c;
  color: #fff;
}

.btn-side-default:hover {
  background-color: #F4F4F4;
  color: #fff;
}

.pointer {
  cursor: pointer;
}

input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input[type="number"] {
  -moz-appearance: textfield;
  padding: 0 14px;
}

.avatar {
  border-radius: 50%;
}
