@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';
@import './card.scss';
@import "./style.scss";

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

//main-container全局样式
.app-container {
  padding: 20px;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}

#front {
  color: #d3d6dd;
  background-color: #000000;
  width: 100%;
  height: 100vh;

  .bg {
    padding: 0.2rem 0.2rem 0 0.2rem;
    background-image: url("../image/pageBg.png");
    background-size: cover;
    background-position: center center;
  }

  .host-body {
    .title {
      position: relative;
      width: 6.25rem;
      text-align: center;
      background-size: cover;
      background-repeat: no-repeat;

      .title-text {
        font-size: 0.3rem;
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translate(-50%);
      }

      .title-bototm {
        position: absolute;
        bottom: -0.375rem;
        left: 50%;
        transform: translate(-50%);
      }
    }

    // 平行四边形
    .react-left {
      cursor: pointer;
      font-size: 0.225rem;
      width: 3.75rem;
      height: 0.625rem;
      line-height: 0.625rem;
      text-align: center;
      transform: skewX(-45deg);

      .react-after {
        position: absolute;
        right: -0.3125rem;
        top: 0;
        height: 0.625rem;
        width: 0.625rem;
        background-color: #0f1325;
        transform: skewX(45deg);
      }

      .text {
        display: inline-block;
        transform: skewX(45deg);
      }
    }

    .react-right {
      cursor: pointer;
      font-size: 0.225rem;
      width: 3.75rem;
      height: 0.625rem;
      line-height: 0.625rem;
      text-align: center;
      transform: skewX(45deg);

      .react-before {
        position: absolute;
        left: -0.3125rem;
        top: 0;
        height: 0.625rem;
        width: 0.625rem;
        background-color: #0f1325;
        transform: skewX(-45deg);
      }
      .text {
        display: inline-block;
        transform: skewX(-45deg);
      }
    }

    .body-box {
      margin-top: 0.2rem;
      display: flex;
      flex-direction: column;

      //下方区域的布局
      .content-box {
        display: grid;
        grid-template-columns: 16fr;
      }

      // 底部数据
      .bototm-box {
        margin-top: 0.125rem;
        display: grid;
        grid-template-columns: repeat(2, 50%);
      }

      .frist-content-box {
        display: grid;
        grid-template-columns: 4fr 3fr 6fr 3fr;
      }

      //下方区域的布局
      .three-content-box {
        display: grid;
        grid-template-columns: 12fr 4fr;
      }

      // 第三页底部数据
      .three-bototm-box {
        margin-top: 0.125rem;
        display: grid;
        grid-template-columns: repeat(4, 25%);
      }

      //年产量布局
      .annual-box {
        display: grid;
        grid-template-columns: repeat(2, 50%);
      }
    }
  }
}

.m-7{
  width:180px;
  height:180px;
  z-index:7;
}
.m-7-k{
  width:180px;
  height:180px;
  position:absolute;
}
.m-7-k .m-7xz1{
  width:180px;
  height:180px;
  position:absolute;top:0px;left:0px;
  z-index:8;
  filter:alpha(opacity=50);
  -moz-opacity:0.50;
  opacity:0.50;
  background: no-repeat url("../image/gif-7-1.png") left top;
  -webkit-background-size: 180px 90px;
  -moz-background-size: 180px 90px;
  background-size: 180px 180px;
  -webkit-border-radius: 90px;
  border-radius: 90px;
  -moz-transition:all .2s;
  -webkit-transition:all .2s;
  transition:all .2s;
  -moz-animation:rotate 2s infinite linear;
}
.m-7-k .m-7xz2{
  width:180px;
  height:180px;
  position:absolute;top:0px;left:0px;
  z-index:9;
  filter:alpha(opacity=70);
  -moz-opacity:0.70;
  opacity:0.70;
  background: no-repeat url("../image/gif-7-2.png") left top;
  -webkit-background-size: 180px 90px;
  -moz-background-size: 180px 90px;
  background-size: 180px 180px;
  -webkit-border-radius: 90px;
  border-radius: 90px;
  -moz-transition:all .3s;
  -webkit-transition:all .3s;
  transition:all .3s;
  -moz-animation:rotate 3s infinite linear;
  -webkit-animation:rotate 3s infinite linear;
  animation:rotate 3s infinite linear;
}
.m-7-k .m-7xz3{
  width:180px;
  height:180px;
  position:absolute;top:0px;left:0px;
  z-index:10;
  filter:alpha(opacity=50);
  -moz-opacity:0.50;
  opacity:0.50;
  background: no-repeat url("../image/gif-7-3.png") left top;
  -webkit-background-size: 180px 90px;
  -moz-background-size: 180px 90px;
  background-size: 180px 180px;
  -webkit-border-radius: 90px;
  border-radius: 90px;
  -moz-transition:all 0.5s;
  -webkit-transition:all 0.5s;
  transition:all 0.5s;
  -moz-animation:rotate 0.5s infinite linear;
}
.m-7-k .m-7zt1{
  width:140px;
  height:15px;
  border-bottom: 1px solid;
  padding-bottom:35px;
  margin:50px auto 0 auto;
  color:#19a9da;
  font:20px/18px '楷体';
  text-align:center;
}
.m-7-k .m-7zt2{
  width:180px;
  height:50px;
  margin-top:8px;
  color:#9C0;
  font:50px/40px 'ds-digitalbold';
  text-align:center;
}

.annual {
  width:100px;
  height:10px;
  margin-top:18px;
  margin-left: 0.3rem;
  padding-top: 0.25rem;
  color: #cfe5ea;
  font:30px/15px 'ds-digitalbold';
  text-align:center;
}

.specFont {
  margin-top: 0.3rem;
  margin-left: 0.01rem;
  color: #4a7d87;
  font:40px/20px 'ds-digitalbold';
}

.ModelFont {
  color: #ddf5fd;
  font:20px/10px 'ds-digitalbold';
}

@font-face {/*液晶字体*/
  font-family: 'ds-digitalbold';
  src: url('_-webfont.eot');
  src: url('_-webfont.eot?#iefix') format('embedded-opentype'),
  url('_-webfont.woff2') format('woff2'),
  url('_-webfont.woff') format('woff'),
  url('_-webfont.ttf') format('truetype'),
  url('_-webfont.svg#ds-digitalbold') format('svg');
  font-weight: normal;
  font-style: normal;
}
