@charset "utf-8";

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
menu,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
main,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section {
    display: block;
}

/* HTML5 hidden-attribute fix for newer browsers */
*[hidden] {
    display: none;
}

body {
    line-height: 1;
}

menu,
ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* clear float */
.clearFix::after {
    content: '';
    display: block;
    height: 0;
    overflow: hidden;
    clear: both;
}

/* ie 6/7 */
.clearFix {
    zoom: 1;
}

body {
    font-family: 'opensansBold', 'Microsoft YaHei';
}

a {
    text-decoration: none;
}

* {
    font-family: 'opensansBold';
}

/* 省略 */
.overflow-one {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* msg */
.success {
    background-color: #bde4c0;
    color: #1b7322;
}

.error {
    background-color: rgb(236, 221, 221);
    color: #a91e12;
}

.warning {
    background-color: rgb(236, 220, 186);
    color: #9b6412;
}

.info {
    background-color: rgb(241, 236, 236);
    color: #242222;
}

.success-text {
    color: #1b7322;
}

.error-text {
    color: #a91e12;
}

.warning-text {
    color: #9b6412;
}

.info-text {
    color: #242222;
}

.scroll-box::-webkit-scrollbar {
    width: 10px;
    height: 8px;
}

.scroll-box::-webkit-scrollbar-thumb {
    border-radius: 20px;
    -webkit-box-shadow: inset 0 0 5px #242222;
    box-shadow: inset 0 0 5px #242222;
    background: #242222;
}

.scroll-box::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px white;
    box-shadow: inset 0 0 5px white;
    border-radius: 10px;
    background: white;
}

.xqeditor-editor {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(153, 153, 153, 0.5);
}
.xqeditor-editor .xqeditor-editor-set {
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  padding: 0 10px;
  height: 50px;
  font-size: 14px;
  border-bottom: 1px solid rgba(153, 153, 153, 0.5);
}
.xqeditor-editor .xqeditor-editor-set .xqeditor-editor-set-title {
  color: #333;
}
.xqeditor-editor .xqeditor-editor-set .xqeditor-editor-set-title i {
  margin-right: 10px;
}
.xqeditor-editor .xqeditor-editor-set .xqeditor-editor-set-btn button {
  position: relative;
  padding: 0 10px;
  font-size: 16px;
  color: #666;
  border: none;
  background: none;
  cursor: pointer;
}
.xqeditor-editor .xqeditor-editor-set .xqeditor-editor-set-btn button:hover {
  color: #333;
}

.xqeditor-editor .xqeditor-editor-set .xqeditor-editor-set-btn button.file input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.xqeditor-editor .xqeditor-editor-ipt {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 500px;
  overflow: hidden;
}
.xqeditor-editor .xqeditor-editor-ipt .xqeditor-editor-code {
  flex: 1;
  box-sizing: border-box;
  width: 50%;
  height: 100%;
  border-right: 2px solid #e3e3e3;
  overflow: hidden;
}
.xqeditor-editor .xqeditor-editor-ipt .xqeditor-editor-code #markdown-code {
  position: relative;
  width: 100%;
  height: 100%;
  background: rgba(248, 248, 248, 0.5);
}
.xqeditor-editor .xqeditor-editor-ipt .xqeditor-editor-code #markdown-code #leftnum {
  position: absolute;
  left: 0;
  top: 0;
  box-sizing: border-box;
  padding: 10px 10px 10px 5px;
  width: 45px;
  height: 100%;
  min-width: 45px;
  max-width: 45px;
  min-height: 100%;
  max-height: 100%;
  background: #f8f8f8;
  border: none;
  border-right: 1px solid rgba(153, 153, 153, 0.5);
  font-size: 16px;
  line-height: 1.5;
  text-align: right;
  outline: none;
  color: #333;
  overflow: hidden;
}
.xqeditor-editor .xqeditor-editor-ipt .xqeditor-editor-code #markdown-code #code {
  box-sizing: border-box;
  padding: 10px 85px 10px 55px;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-width: 100%;
  min-height: 100%;
  font-size: 16px;
  line-height: 1.5;
  border: none;
  outline: none;
  color: #333;
  background: #fff;
}
.xqeditor-editor .xqeditor-editor-ipt .xqeditor-editor-preview {
  flex: 1;
  width: 50%;
  box-sizing: border-box;
  height: 100%;
  overflow: hidden;
}
.xqeditor-editor .xqeditor-editor-ipt .xqeditor-editor-preview .markdown-body {
  box-sizing: border-box;
  padding: 20px 10px;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}
.xqeditor-editor .xqeditor-editor-status {
  box-sizing: border-box;
  padding: 0 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 35px;
  color: #666;
  font-size: 14px;
  background: #fff;
  border-top: 1px solid rgba(153, 153, 153, 0.2);
}
.xqeditor-editor .xqeditor-editor-status .xqeditor-editor-gotop {
  margin-left: 8px;
  cursor: pointer;
}
.xqeditor-editor .xqeditor-info {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -160px;
  margin-top: -120px;
  box-sizing: border-box;
  padding: 20px;
  width: 320px;
  height: 240px;
  background: #fff;
  box-shadow: 0 0 5px #ccc;
  z-index: 3;
}
.xqeditor-editor .xqeditor-info h2 {
  margin-bottom: 10px;
  text-align: center;
  font-size: 16px;
  line-height: 2;
}
.xqeditor-editor .xqeditor-info p {
  font-size: 14px;
  line-height: 1.8;
}
.xqeditor-editor .xqeditor-info a {
  color: #084680;
}
.xqeditor-editor .xqeditor-info .xqeditor-info-close {
  position: absolute;
  top: 10px;
  right: 0;
  width: 30px;
  height: 30px;
  cursor: pointer;
}
.xqeditor-editor .xqeditor-info .xqeditor-info-close i {
  font-size: 18px;
}
.xqeditor-editor.scale {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  overflow: hidden;
  z-index: 99;
}
.xqeditor-editor.scale .xqeditor-editor-ipt {
  height: calc(100vh - 50px);
}
.xqeditor-editor.preview .xqeditor-editor-code {
  display: none;
}
.xqeditor-editor.edit .xqeditor-editor-preview {
  display: none;
}
@media all and (max-width: 768px) {
  .xqeditor-editor .xqeditor-editor-set {
    align-items: flex-start;
    flex-direction: column;
    padding: 10px;
    height: 110px;
  }
  .xqeditor-editor .xqeditor-editor-set .xqeditor-editor-set-title {
    margin-bottom: 20px;
    padding-left: 10px;
  }
  .xqeditor-editor .xqeditor-editor-set .xqeditor-editor-set-btn {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
  }
  .xqeditor-editor .xqeditor-editor-set .xqeditor-editor-set-btn button {
    margin-bottom: 5px;
    padding: 0 10px;
  }
  .xqeditor-editor .xqeditor-editor-ipt {
    flex-direction: column;
  }
  .xqeditor-editor .xqeditor-editor-ipt .xqeditor-editor-code,
  .xqeditor-editor .xqeditor-editor-ipt .xqeditor-editor-preview {
    width: 100%;
    height: 200px;
  }
  .xqeditor-editor .xqeditor-editor-ipt .xqeditor-editor-code #markdown-code #code {
    padding-right: 10px;
  }
  .xqeditor-editor .xqeditor-editor-ipt .xqeditor-editor-code {
    border-bottom: 1px solid rgba(153, 153, 153, 0.5);
  }
}

.hide {
  display: none!important;
}
