@import "./styles.scss";

@font-face {
  font-family: 'iconfont';  /* project id 1995974 */
  src: url('https://at.alicdn.com/t/font_1995974_ihzpmuv4lpk.eot');
  src: url('https://at.alicdn.com/t/font_1995974_ihzpmuv4lpk.eot?#iefix') format('embedded-opentype'),
  url('https://at.alicdn.com/t/font_1995974_ihzpmuv4lpk.woff2') format('woff2'),
  url('https://at.alicdn.com/t/font_1995974_ihzpmuv4lpk.woff') format('woff'),
  url('https://at.alicdn.com/t/font_1995974_ihzpmuv4lpk.ttf') format('truetype'),
  url('https://at.alicdn.com/t/font_1995974_ihzpmuv4lpk.svg#iconfont') format('svg');
}

.iconfont {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke-width: 0.2px;
  -moz-osx-font-smoothing: grayscale;
}

html {
  line-height: 1; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

body {
  margin: 0;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  -webkit-box-sizing: content-box;
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted; /* 2 */
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

button,
input { /* 1 */
  overflow: visible;
  font-family: SJsuqian;
}

input::placeholder {
  color: #B3B3B3;
  font-size: 14px;
  font-family: SJsuqian;
}

button,
select { /* 1 */
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  -webkit-box-sizing: border-box;
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  -webkit-box-sizing: border-box;
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

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

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

h1, h2, h3, h4 {
  font-weight: normal;
  font-size: 14px;
  padding: 0;
  margin: 0;
}

p {
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}

ul, li {
  list-style: none;
  margin: 0;
  padding: 0;
}

i {
  font-style: normal;
}

img {
  vertical-align: middle;
}

html, body {
  width: 100%;
  min-height: 100vh;
}

body {
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 14px;
  color: #000;
  background: #fff;
}

* {
  box-sizing: border-box;
}

img {
  -webkit-user-drag: none;
}

.middle-container__item {
  overflow: hidden;
}

.flex {
  display: flex;
}

.flex-align, .flex-center {
  display: flex;
  align-items: center;
}

.flex-base {
  display: flex;
  align-items: baseline;

  &.center {
    justify-content: center;
  }
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-justify_center {
  display: flex;
  align-items: center;
  justify-content: center;

  &.active-wrapper {
    img {
      left: inherit;
    }
  }
}

.flex1 {
  flex: 1;
}

.fade-enter-active, .fade-leave-active {
  transition: opacity .3s ease-in-out;
}

.fade-enter, .fade-leave-to {
  opacity: 0;
}

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

.wrapper {
  min-height: calc(100vh - 308px);
  padding-top: 158px;

  .wrapper-content {
    width: 1280px;
    margin: 0 auto;
  }
}

.hover {
  cursor: pointer;
  transition: all ease-in-out .5s;

  &:hover {
    opacity: 0.4;
  }
}

.el-button {
  transition: all ease .5s;
}

.el-button--primary:focus {
  background: #1FBAD6 !important;
  border-color: #1FBAD6 !important;
}

.link-hover {
  cursor: pointer;
  transition: all ease .5s;

  &:hover {
    color: #1FBAD6 !important;
  }
}


.fade-enter-active,
.fade-leave-active {
  transition: all 0.5s ease;
}

.fade-enter-from,
.fade-leave-to {
  height: 200px;
}

.info-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;

  .info-item {
    display: flex;
    align-items: center;
    width: 50%;
    line-height: 17px;
    margin-bottom: 14px;
    font-size: 14px;
    font-family: SJsuqian;;

    label {
      margin-right: 6px;
      color: #666666;
    }

    span {
      color: #000;
    }
  }
}

.el-pagination {
  margin-top: 40px;
  text-align: center;
}

.text-disabled {
  color: #bbb !important;
  cursor: not-allowed !important;
}

.btn-disabled {
  opacity: 0.3;
  cursor: not-allowed;

  &:hover {
    opacity: 0.3;
  }
}

.btn-disabled1 {
  opacity: 0.3;
  background: #fff;
  cursor: not-allowed;

  &:hover {
    opacity: 0.3;
    color: #1FBAD6 !important;
    background: #fff !important;
  }
}

.el-button--primary {
  color: #fff !important;
  border-color: #1FBAD6;
  background-color: #1FBAD6;
}

.el-button--danger:focus, .el-button.el-button--danger.is-link:not(.is-disabled):hover {
  color: #fff !important;
  border-color: #FA5555;
  background-color: #FA5555;
}

.el-input-group__append .el-button {
  background-color: #1FBAD6 !important;
}

.admin-main {
  .left {
    &.el-scrollbar .el-scrollbar__wrap {
      overflow-x: hidden;
    }
  }
}

.admin-main .el-submenu__title i {
  color: #fff;
}

.el-menu--inline .el-menu-item {
  padding-left: 55px !important;
}

.el-menu {
  border: none !important;
}

.el-menu .el-menu-item i {
  color: #fff;
}

.fill {
  flex: 1;
}

.search-item {
  display: flex;
  align-items: center;
  margin: 0 16px 12px;

  label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    width: 100px;
  }

  input {
    width: 240px;
  }
}
