/*! pacakge version：0.1.0 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  height: 100%;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
    "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
}

a {
  color: black;
  cursor: pointer;
  text-decoration: none;
}

input {
  font-size: 0.9rem;
}

.con-page {
  /* max-width: 75rem; */
  /* margin: auto; */
}

/* *{
  transition: all 0.4s;
} */

.con-page > form > div {
  /* max-width: 75rem; */
}

.w-20 {
  width: 20% !important;
}

.w-33 {
  width: 33.333% !important;
}

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

.position-full {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.pointer {
  cursor: pointer;
}

.line-height-1 {
  line-height: 1 !important;
}

.line-height-13 {
  line-height: 1.3 !important;
}

.line-height-175 {
  line-height: 1.75 !important;
}

.line-height-2 {
  line-height: 2 !important;
}

.border-0 {
  border: 0 !important;
}

.border-left-0 {
  border-left: 0 !important;
}

.border-right-0 {
  border-right: 0 !important;
}

.border-bottom-0 {
  border-bottom: 0 !important;
}

.border-top-0 {
  border-top: 0 !important;
}

.opacity-100 {
  opacity: 1;
}

.opacity-80 {
  opacity: 0.8;
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-20 {
  opacity: 0.2;
}

.opacity-0 {
  opacity: 0;
}

.tree-item {
  padding-left: 26px;
}

.text-small {
  font-size: 0.9rem !important;
}

.tree-item::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  border-left: 1px solid currentColor;
  content: "";
  opacity: 0.2;
}

.tree-item.tree-item-last::after {
  bottom: auto;
  height: 16px;
}

.tree-item::before {
  position: absolute;
  top: 16px;
  width: 26px;
  left: 0;
  border-top: 1px solid currentColor;
  content: "";
  opacity: 0.2;
}

.tree-item-con {
  padding-left: 13px;
}

/* 字体icon样式 */
/* fallback */
@font-face {
  font-family: "Material Icons";
  font-style: normal;
  font-weight: 400;
  src: url(/material-ui-icons.woff2) format("woff2");
}

.material-icons {
  font-family: "Material Icons";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -moz-font-feature-settings: "liga";
  -moz-osx-font-smoothing: grayscale;
}

/* 滚动条样式 */
/* ::-webkit-scrollbar 滚动条整体部分
::-webkit-scrollbar-thumb  滚动条里面的小方块，能向上向下移动（或往左往右移动，取决于是垂直滚动条还是水平滚动条）
::-webkit-scrollbar-track  滚动条的轨道（里面装有Thumb）
::-webkit-scrollbar-button 滚动条的轨道的两端按钮，允许通过点击微调小方块的位置。
::-webkit-scrollbar-track-piece 内层轨道，滚动条中间部分（除去）
::-webkit-scrollbar-corner 边角，即两个滚动条的交汇处
::-webkit-resizer 两个滚动条的交汇处上用于通过拖动调整元素大小的小控件 */

::-webkit-scrollbar-track {
  /* -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); */
  background-color: transparent;
}

::-webkit-scrollbar-button,
::-webkit-scrollbar-corner,
::-webkit-scrollbar-track-piece {
  background-color: transparent;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  border-radius: 30px;
  background-color: #aaa;
  height: 10px;
  opacity: 0.5;
}

figure img {
  max-width: 650;
  box-shadow: 0 0 1px #aaa;
  margin: auto;
  display: block;
}

/* overwrite */
.MuiSelect-outlined {
  padding: 0.5rem 1rem !important;
}

.MuiSelect-root {
  min-width: 80px !important;
}

.MuiButton-sizeSmall {
  min-width: 1rem !important;
}

.MuiOutlinedInput-adornedStart {
  padding-left: 0.25rem !important;
}

.MuiOutlinedInput-adornedEnd {
  padding-right: 0.25rem !important;
}

.MuiCircularProgress-static {
  transition: transform 900ms;
}

.MuiBackdrop-root {
  background-color: rgba(0, 0, 0, 0.85) !important;
}

.MuiMenuItem-root,
.MuiInputBase-input {
  font-size: 0.85rem !important;
}

.public-DraftEditor-content[contenteditable="true"] {
  line-height: 200%;
}

.card-3d {
  transition: all 0.4s ease;
  transform-style: preserve-3d;
  transform: rotateY(10deg);
  transform-origin: left;
  box-shadow: inset 0 0 50px rgba(6, 209, 236, 0.2);
}

.card-3d.right {
  transition: all 0.4s ease;
  transform-style: preserve-3d;
  transform: rotateY(-10deg);
  transform-origin: right;
}

.card-3d:hover {
  transform: rotateY(0);
  box-shadow: inset 0 0 30px rgba(6, 209, 236, 1);
}

/*CodeMirror*/
.CodeMirror {
  height: 100%;
}

.CodeMirror-wrap pre.CodeMirror-line,
.CodeMirror-wrap pre.CodeMirror-line-like {
  line-height: 160%;
}

.breakpoints {
  /* width: 1em; */
}

.lint-error {
  font-family: arial;
  font-size: 90%;
  background: #ffa;
  color: #a00;
  padding: 2px 5px 3px;
}

.lint-error-icon {
  color: white;
  background-color: red;
  font-weight: bold;
  border-radius: 50%;
  padding: 0 3px;
  margin-right: 7px;
}

.cm-tab {
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAMCAYAAAAkuj5RAAAAAXNSR0IArs4c6QAAAGFJREFUSMft1LsRQFAQheHPowAKoACx3IgEKtaEHujDjORSgWTH/ZOdnZOcM/sgk/kFFWY0qV8foQwS4MKBCS3qR6ixBJvElOobYAtivseIE120FaowJPN75GMu8j/LfMwNjh4HUpwg4LUAAAAASUVORK5CYII=);
  background-position: right;
  background-repeat: no-repeat;
}

/* 选中单词的颜色 */
.cm-matchhighlight {
  background-color: #aaa;
}

.CodeMirror-selection-highlight-scrollbar {
  background-color: #999;
}

.transition_con {
  transition: all 0.6s ease;
}

/* 单边框表格 */
.table_con {
  border-collapse: collapse;
}

.table_con th,
.table_con td {
  padding: 6px;
  word-break: break-all;
  word-wrap: break-word;
}

.report_table td {
  text-align: left;
  height: 30px !important;
}

.report_table_w_10 {
  width: 10%;
}

.report_table_w_12 {
  width: 12%;
}

.report_table_w_15 {
  width: 15%;
}

.text_word_break {
  word-break: break-all;
  word-wrap: break-word;
}

.table_main td,
.table_main th {
  padding: 5px;
}

.table-fixed {
  table-layout: fixed;
}

.table-column {
  display: block;
}

.table-column tr {
  display: block;
  float: left;
}

.table-column td,
.table-column th {
  display: block;
}

.star {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  top: 100px;
  left: 400px;
  position: relative;
  transform-origin: 100% 0;
  animation: star-ani 6s infinite ease-in-out;
  box-shadow: 0 0 5px 5px rgba(255, 255, 255, 0.3);
  opacity: 0;
  z-index: 2;
}

.star:after {
  content: "";
  display: block;
  top: 0px;
  left: 4px;
  border: 0px solid #fff;
  border-width: 0px 90px 2px 90px;
  border-color: transparent transparent transparent rgba(255, 255, 255, 0.3);
  transform: rotate(-45deg) translate3d(1px, 3px, 0);
  box-shadow: 0 0 1px 0 rgba(255, 255, 255, 0.1);
  transform-origin: 0% 100%;
  animation: shooting-ani 3s infinite ease-in-out;
}

.pink {
  top: 30px;
  left: 395px;
  background: #ff5a99;
  animation-delay: 5s;
  -webkit-animation-delay: 5s;
  -moz-animation-delay: 5s;
}

.pink:after {
  border-color: transparent transparent transparent #ff5a99;
  animation-delay: 5s;
  -webkit-animation-delay: 5s;
  -moz-animation-delay: 5s;
}

.blue {
  top: 35px;
  left: 432px;
  background: cyan;
  animation-delay: 7s;
  -webkit-animation-delay: 7s;
  -moz-animation-delay: 7s;
}

.blue:after {
  border-color: transparent transparent transparent cyan;
  animation-delay: 12s;
  -webkit-animation-delay: 7s;
  -moz-animation-delay: 7s;
  animation-delay: 7s;
}

.yellow {
  top: 50px;
  left: 600px;
  background: #ffcd5c;
  animation-delay: 4.8s;
}

.yellow:after {
  border-color: transparent transparent transparent #ffcd5c;
  animation-delay: 4.8s;
}

@keyframes star-ani {
  0% {
    opacity: 0;
    transform: scale(0) rotate(0) translate3d(200, 200, 0);
    -webkit-transform: scale(0) rotate(0) translate3d(200, 200, 0);
    -moz-transform: scale(0) rotate(0) translate3d(200, 200, 0);
  }

  50% {
    opacity: 1;
    transform: scale(1) rotate(0) translate3d(-100px, 100px, 0);
    -webkit-transform: scale(1) rotate(0) translate3d(-100px, 100px, 0);
    -moz-transform: scale(1) rotate(0) translate3d(-100px, 100px, 0);
  }

  100% {
    opacity: 0;
    transform: scale(1) rotate(0) translate3d(-200px, 200px, 0);
    -webkit-transform: scale(1) rotate(0) translate3d(-200px, 200px, 0);
    -moz-transform: scale(1) rotate(0) translate3d(-200px, 200px, 0);
  }
}

.phone-show,
.phone-show-flex {
  display: none !important;
}

@media screen and (max-width: 600px) {
  .all-con {
    width: 100%;
  }
  .phone-hide {
    display: none !important;
  }
  .phone-show {
    display: table-cell !important;
  }
  .phone-show-flex {
    display: flex !important;
  }
  .phone-con {
    flex-direction: column;
    align-items: center;
  }
  .phone-text-center {
    text-align: center;
  }

  .phone-investigation-model {
    display: flex;
    flex-direction: column;
  }
  .phone-investigation-title {
    color: #757575 !important;
    margin-bottom: 0.25rem;
    padding: 0.25rem 0.25rem 0.25rem 1rem;
  }
  .phone-investigation-line {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #ccc;
  }
  .phone-investigation-line-item {
    display: flex;
    align-items: center;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
  .phone-investigation-line-item-left {
    width: 40%;
    border-right: 1px solid #ccc;
    padding: 0.5rem 0;
  }
  .phone-investigation-line-item-right {
    width: 60%;
    padding-left: 0.5rem;
    word-break: break-all;
    word-wrap: break-word;
  }
}

