/*! 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; */
}

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

.w-20 {
  width: 20% !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);
}

.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;
}

.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;
}

.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);
  }
}

/* 百度人脸识别 */
.p-check {
  width: 100%;
  padding-top: 4.797vh;
  text-align: center;
}

.p-check .title {
  font-size: 24px;
  color: #1c1d1f;
}

.p-check .content {
  margin: 20px auto 0;
}

.p-check .check-speech .image,
.p-check .check-speech .number {
  background-color: #f2f3f5;
  border-radius: 10px;
}

.p-check .check-speech .verifiy-code {
  display: -webkit-flex;
  display: flex;
  margin-top: 30px;
  -webkit-justify-content: center;
  justify-content: center;
}

.p-check .check-speech .number {
  font-size: 26px;
  font-weight: bold;
  color: #1c1d1f;
  padding: 8px;
  background-color: #ccc;
}

.p-check .check-speech .number:not(:last-child) {
  margin-right: 15px;
}

.p-check .check-action .recode-warp {
  position: relative;
  margin: 3.2vw 2.66667vw 0 0;
  height: 5.33333vw;
}

.p-check .check-action .recode-warp .recode {
  float: right;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  font-size: 3.2vw;
  color: #5a90fa;
}

.p-check .check-action .recode-warp .recode-icon {
  width: 4vw;
  height: 4vw;
  margin-right: 1.6vw;
}

.p-check .check-action-row1 {
  padding: 0 12.26667vw;
}

.p-check .check-action-row2 {
  padding: 0 4vw;
}

.p-check .check-action-row3 {
  padding: 0 4vw;
}

.p-check .check-action .action-list {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  height: 53.06667vw;
}

.p-check .check-action .action-item {
  -webkit-flex: 1;
  flex: 1;
  margin: 0 1.33333vw;
}

.p-check .check-action .action-card {
  position: relative;
  height: 39.73333vw;
  overflow: hidden;
  border-radius: 1.33333vw;
  background-color: #f2f3f5;
}

.p-check .check-action .action-tip {
  margin-top: 2.66667vw;
  height: 10.66667vw;
  font-size: 4.8vw;
  line-height: 10.66667vw;
  text-align: center;
  border-radius: 1.33333vw;
  font-weight: bold;
  color: #1c1d1f;
  background: #f2f3f5;
}

.p-check .check-action .moving-box {
  width: 78.66667vw;
  height: 44.26667vw;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.p-check .check-video .video {
  width: 49.06667vw;
  height: 69.86667vw;
  border-radius: 1.33333vw;
}

.p-check .check-image .image {
  position: relative;
  width: 72.8vw;
  display: -webkit-flex;
  display: flex;
}

.p-check .check-image .image-left {
  width: 47.46667vw;
  height: 67.46667vw;
  background-size: cover;
  border-radius: 1.6vw;
}

.p-check .check-image .image-right {
  width: 22.66667vw;
  margin-left: 2.66667vw;
}

.p-check .check-image .image-light,
.p-check .check-image .image-dark {
  width: 22.66667vw;
  height: 32.4vw;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 1.6vw;
}

.p-check .check-image .image-light {
}

.p-check .tip-list {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  margin-top: 20px;
  padding-top: 10px;
  text-align: left;
}

.p-check .tip-line {
  position: relative;
  padding-left: 4vw;
  line-height: 16px;
  font-size: 16px;
  color: #4e4f52;
}

.p-check .tip-line:not(:first-child) {
  margin-top: 10px;
}

.p-check .tip-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #5a90fa;
  border-radius: 50%;
}

.p-check .footer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  padding: 0 13.6vw;
}

.p-check .footer-button {
  -webkit-flex: 1;
  flex: 1;
}

.p-check .loading {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  padding-top: 30.66667vw;
  background-color: #fff;
}

.p-check .image-input,
.p-check .video-input {
  display: none;
}

/* word css */

.docx-root {
  /* box-shadow: 2px 1px 20px #ccc; */
  /* border: 1px solid #eee; */
  padding: 1rem;
  max-width: 900px;
  /* min-height: 600px; */
  margin: 0px auto;
  word-break: break-all;
}

.docx-root table {
  width: 100%;
}

.docx-root td {
  padding-left: 2px;
  padding-right: 2px;
}

.docx-root p {
  font-family: eastAsia, sans-serif;
  font-size: 10.5pt;
  text-align: justify;
  display: block;
  list-style-type: none;
  padding: 0;
  margin: 0;
  line-height: 1.44;
}

.docx-root p span {
  display: inline;
  white-space: pre-wrap;
}

.docx-root .hyperlink {
  display: block;
  text-decoration: none;
  text-align: left;
  padding: 6px 0;
}

.docx-root .hyperlink span:nth-last-child(2) {
  float: right;
}

.docx-root img {
  max-width: 100%;
}

.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: block !important;
  }
  .phone-show-flex {
    display: flex !important;
  }
  .phone-con {
    flex-direction: column;
    align-items: center;
  }
  .phone-text-center {
    text-align: center;
  }
}

/* BASICS */

.CodeMirror {
  /* Set height, width, borders, and global font properties here */
  font-family: monospace;
  height: 300px;
  color: black;
  direction: ltr;
}

/* PADDING */

.CodeMirror-lines {
  padding: 4px 0; /* Vertical padding around content */
}
.CodeMirror pre.CodeMirror-line,
.CodeMirror pre.CodeMirror-line-like {
  padding: 0 4px; /* Horizontal padding of content */
}

.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
  background-color: white; /* The little square between H and V scrollbars */
}

/* GUTTER */

.CodeMirror-gutters {
  border-right: 1px solid #ddd;
  background-color: #f7f7f7;
  white-space: nowrap;
}
.CodeMirror-linenumbers {}
.CodeMirror-linenumber {
  padding: 0 3px 0 5px;
  min-width: 20px;
  text-align: right;
  color: #999;
  white-space: nowrap;
}

.CodeMirror-guttermarker { color: black; }
.CodeMirror-guttermarker-subtle { color: #999; }

/* CURSOR */

.CodeMirror-cursor {
  border-left: 1px solid black;
  border-right: none;
  width: 0;
}
/* Shown when moving in bi-directional text */
.CodeMirror div.CodeMirror-secondarycursor {
  border-left: 1px solid silver;
}
.cm-fat-cursor .CodeMirror-cursor {
  width: auto;
  border: 0 !important;
  background: #7e7;
}
.cm-fat-cursor div.CodeMirror-cursors {
  z-index: 1;
}
.cm-fat-cursor-mark {
  background-color: rgba(20, 255, 20, 0.5);
  -webkit-animation: blink 1.06s steps(1) infinite;
  -moz-animation: blink 1.06s steps(1) infinite;
  animation: blink 1.06s steps(1) infinite;
}
.cm-animate-fat-cursor {
  width: auto;
  border: 0;
  -webkit-animation: blink 1.06s steps(1) infinite;
  -moz-animation: blink 1.06s steps(1) infinite;
  animation: blink 1.06s steps(1) infinite;
  background-color: #7e7;
}
@-moz-keyframes blink {
  0% {}
  50% { background-color: transparent; }
  100% {}
}
@-webkit-keyframes blink {
  0% {}
  50% { background-color: transparent; }
  100% {}
}
@keyframes blink {
  0% {}
  50% { background-color: transparent; }
  100% {}
}

/* Can style cursor different in overwrite (non-insert) mode */
.CodeMirror-overwrite .CodeMirror-cursor {}

.cm-tab { display: inline-block; text-decoration: inherit; }

.CodeMirror-rulers {
  position: absolute;
  left: 0; right: 0; top: -50px; bottom: 0;
  overflow: hidden;
}
.CodeMirror-ruler {
  border-left: 1px solid #ccc;
  top: 0; bottom: 0;
  position: absolute;
}

/* DEFAULT THEME */

.cm-s-default .cm-header {color: blue;}
.cm-s-default .cm-quote {color: #090;}
.cm-negative {color: #d44;}
.cm-positive {color: #292;}
.cm-header, .cm-strong {font-weight: bold;}
.cm-em {font-style: italic;}
.cm-link {text-decoration: underline;}
.cm-strikethrough {text-decoration: line-through;}

.cm-s-default .cm-keyword {color: #708;}
.cm-s-default .cm-atom {color: #219;}
.cm-s-default .cm-number {color: #164;}
.cm-s-default .cm-def {color: #00f;}
.cm-s-default .cm-variable,
.cm-s-default .cm-punctuation,
.cm-s-default .cm-property,
.cm-s-default .cm-operator {}
.cm-s-default .cm-variable-2 {color: #05a;}
.cm-s-default .cm-variable-3, .cm-s-default .cm-type {color: #085;}
.cm-s-default .cm-comment {color: #a50;}
.cm-s-default .cm-string {color: #a11;}
.cm-s-default .cm-string-2 {color: #f50;}
.cm-s-default .cm-meta {color: #555;}
.cm-s-default .cm-qualifier {color: #555;}
.cm-s-default .cm-builtin {color: #30a;}
.cm-s-default .cm-bracket {color: #997;}
.cm-s-default .cm-tag {color: #170;}
.cm-s-default .cm-attribute {color: #00c;}
.cm-s-default .cm-hr {color: #999;}
.cm-s-default .cm-link {color: #00c;}

.cm-s-default .cm-error {color: #f00;}
.cm-invalidchar {color: #f00;}

.CodeMirror-composing { border-bottom: 2px solid; }

/* Default styles for common addons */

div.CodeMirror span.CodeMirror-matchingbracket {color: #0b0;}
div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}
.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }
.CodeMirror-activeline-background {background: #e8f2ff;}

/* STOP */

/* The rest of this file contains styles related to the mechanics of
   the editor. You probably shouldn't touch them. */

.CodeMirror {
  position: relative;
  overflow: hidden;
  background: white;
}

.CodeMirror-scroll {
  overflow: scroll !important; /* Things will break if this is overridden */
  /* 50px is the magic margin used to hide the element's real scrollbars */
  /* See overflow: hidden in .CodeMirror */
  margin-bottom: -50px; margin-right: -50px;
  padding-bottom: 50px;
  height: 100%;
  outline: none; /* Prevent dragging from highlighting the element */
  position: relative;
}
.CodeMirror-sizer {
  position: relative;
  border-right: 50px solid transparent;
}

/* The fake, visible scrollbars. Used to force redraw during scrolling
   before actual scrolling happens, thus preventing shaking and
   flickering artifacts. */
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
  position: absolute;
  z-index: 6;
  display: none;
  outline: none;
}
.CodeMirror-vscrollbar {
  right: 0; top: 0;
  overflow-x: hidden;
  overflow-y: scroll;
}
.CodeMirror-hscrollbar {
  bottom: 0; left: 0;
  overflow-y: hidden;
  overflow-x: scroll;
}
.CodeMirror-scrollbar-filler {
  right: 0; bottom: 0;
}
.CodeMirror-gutter-filler {
  left: 0; bottom: 0;
}

.CodeMirror-gutters {
  position: absolute; left: 0; top: 0;
  min-height: 100%;
  z-index: 3;
}
.CodeMirror-gutter {
  white-space: normal;
  height: 100%;
  display: inline-block;
  vertical-align: top;
  margin-bottom: -50px;
}
.CodeMirror-gutter-wrapper {
  position: absolute;
  z-index: 4;
  background: none !important;
  border: none !important;
}
.CodeMirror-gutter-background {
  position: absolute;
  top: 0; bottom: 0;
  z-index: 4;
}
.CodeMirror-gutter-elt {
  position: absolute;
  cursor: default;
  z-index: 4;
}
.CodeMirror-gutter-wrapper ::selection { background-color: transparent }
.CodeMirror-gutter-wrapper ::-moz-selection { background-color: transparent }

.CodeMirror-lines {
  cursor: text;
  min-height: 1px; /* prevents collapsing before first draw */
}
.CodeMirror pre.CodeMirror-line,
.CodeMirror pre.CodeMirror-line-like {
  /* Reset some styles that the rest of the page might have set */
  -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
  border-width: 0;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  margin: 0;
  white-space: pre;
  word-wrap: normal;
  line-height: inherit;
  color: inherit;
  z-index: 2;
  position: relative;
  overflow: visible;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-variant-ligatures: contextual;
  font-variant-ligatures: contextual;
}
.CodeMirror-wrap pre.CodeMirror-line,
.CodeMirror-wrap pre.CodeMirror-line-like {
  word-wrap: break-word;
  white-space: pre-wrap;
  word-break: normal;
}

.CodeMirror-linebackground {
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 0;
}

.CodeMirror-linewidget {
  position: relative;
  z-index: 2;
  padding: 0.1px; /* Force widget margins to stay inside of the container */
}

.CodeMirror-widget {}

.CodeMirror-rtl pre { direction: rtl; }

.CodeMirror-code {
  outline: none;
}

/* Force content-box sizing for the elements where we expect it */
.CodeMirror-scroll,
.CodeMirror-sizer,
.CodeMirror-gutter,
.CodeMirror-gutters,
.CodeMirror-linenumber {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

.CodeMirror-measure {
  position: absolute;
  width: 100%;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

.CodeMirror-cursor {
  position: absolute;
  pointer-events: none;
}
.CodeMirror-measure pre { position: static; }

div.CodeMirror-cursors {
  visibility: hidden;
  position: relative;
  z-index: 3;
}
div.CodeMirror-dragcursors {
  visibility: visible;
}

.CodeMirror-focused div.CodeMirror-cursors {
  visibility: visible;
}

.CodeMirror-selected { background: #d9d9d9; }
.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
.CodeMirror-crosshair { cursor: crosshair; }
.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }
.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }

.cm-searching {
  background-color: #ffa;
  background-color: rgba(255, 255, 0, .4);
}

/* Used to force a border model for a node */
.cm-force-border { padding-right: .1px; }

@media print {
  /* Hide the cursor when printing */
  .CodeMirror div.CodeMirror-cursors {
    visibility: hidden;
  }
}

/* See issue #2901 */
.cm-tab-wrap-hack:after { content: ''; }

/* Help users use markselection to safely style text background */
span.CodeMirror-selectedtext { background: none; }

