@media print {
  page-break-inside: avoid !important;
  page-break-after: avoid; !important;
  page-break-before: avoid !important;
}

body {
    margin: 0 auto;
    font-family: "YaHei Consolas Hybrid", "Segoe UI", Helvetica, sans-serif, Tahoma, Arial, Geneva, Georgia, Palatino, "Times New Roman", "冬青黑体", "Microsoft YaHei", "微软雅黑", "Microsoft YaHei UI", "WenQuanYi Micro Hei", "文泉驿雅黑", Dengxian, "等线体", STXihei, "华文细黑", "Liberation Sans", "Droid Sans", NSimSun, "新宋体", SimSun, "宋体";
    color: #34495e;
    line-height: 1.5;
    padding: 15px;
    background-color: #ffffff;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    color: #34495e;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
    padding: 0;
}

p {
    padding: 0;
    margin-top: 16px;
    margin-bottom: 16px;
}

h1 {
    font-size: 26px;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 19px;
}

h6 {
    font-size: 18px;
}

a {
    color: #0099ff;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
    text-decoration: none;
    word-break: break-word;
}

a:hover {
    text-decoration: underline;
}

a:visited {
    color: #800080;
}

ul, ol {
    padding: 0;
    padding-left: 24px;
}

li {
    line-height: 24px;
}

li ul, li ol {
    margin-left: 16px;
}

p, ul, ol {
    font-size: 16px;
    line-height: 24px;
}

mark {
    color: #000000;
    background-color: #c4c400;
}

pre {
    display: block;
    /*overflow-y: hidden;*/
    /*overflow-x: auto;*/
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
}

code {
    font-family: "YaHei Consolas Hybrid", Consolas, Monaco, Monospace, Courier;
    color: #e96900;
    word-break: break-word;
}

pre code {
    display: block;
    padding-left: 0.5em;
    padding-right: 0.5em;
    color: #e8eaf6;
    background-color: #272822;
    line-height: 1.5;
    font-family: "YaHei Consolas Hybrid", Consolas, Monaco, Monospace, Courier;
    white-space: pre;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
}

aside {
    display: block;
    float: right;
    width: 390px;
}

blockquote {
    color: #34495e;
    border-left: .2em solid #a0c1dd;
    padding: .1em 1em;
    background-color: #f4f7f9;
    margin-left: 0;
}

blockquote p {
    color: #34495e;
}

hr {
    display: block;
    text-align: left;
    margin: 1em 0; 
    border: none;
    height: 1px;
    background-color: #bdc3c7;
}

table {
   padding: 0;
   margin: 1rem 0.5rem;
   border-collapse: collapse;
}

table tr {
   border-top: 1px solid #dfe2e5;
   background-color: #ffffff;
   margin: 0;
   padding: 0;
}

table tr:nth-child(2n),
th {
    background-color: #fafafa;
}

table tr:hover {
   background-color: #f1f2f6;
}

table tr th {
   font-weight: bold;
   border: 1px solid #dfe2e5;
   margin: 0;
   padding: 6px 13px;
}

table tr td {
   border: 1px solid #dfe2e5;
   margin: 0;
   padding: 6px 13px;
}

table tr th :first-child, table tr td :first-child {
   margin-top: 0;
}

table tr th :last-child, table tr td :last-child {
   margin-bottom: 0;
}

div.vx-mermaid-graph {
    margin: 16px 0px 16px 0px;
    overflow-y: hidden;
    /* background: #bdcbd3; */
    color: #c4c4c4;
}

div.vx-flowchartjs-graph {
    padding: 0px 5px 0px 5px;
    margin: 16px 0px 16px 0px;
    width: fit-content;
    overflow: hidden;
    /* background: #bdcbd3; */
    color: #c7c4c4;
}

div.vx-wavedrom-graph {
    padding: 0px 5px 0px 5px;
    margin: 16px 0px 16px 0px;
    width: fit-content;
    overflow: hidden;
    /* background: #bdcbd3; */
    color: #c4c4c4;
}

div.vx-plantuml-graph {
    padding: 5px 5px 0px 5px;
    margin: 16px 0px 16px 0px;
    width: fit-content;
    overflow: hidden;
    /* background: #bdcbd3; */
    color: #c4c4c4;
}

/* ::selection {
  background-color: #dae3ea;
  color: #34495e;
} */

::-webkit-scrollbar {
    background-color: #eaeaea;
    width: 10px;
    height: 10px;
    border: none;
}

::-webkit-scrollbar-corner {
    background-color: #eaeaea;
}

::-webkit-scrollbar-button {
    /* This selector affects the styling of both the up & down and left & right buttons of a scrollbar */
    height: 10px;
    width: 10px;
    background-color: #eaeaea;
}

::-webkit-scrollbar-button:hover {
    background-color: #ced6e0;
}

::-webkit-scrollbar-button:active {
    background-color: #b4c0cf;
}

::-webkit-scrollbar-track {
    /* This selector affects the styling of the area in the scrollbar between the two buttons */
    background-color: #eaeaea;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    /* This selector affects the styling of draggable element of the scollbar */
    border: none;
    background-color: #b4c0cf;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #ced6e0;
}

::-webkit-scrollbar-thumb:active {
    background-color: #b4c0cf;
}

::-webkit-scrollbar-button:horizontal:increment {
    background-image: url(right.svg);
    background-repeat: no-repeat;
    background-size: contain;
}

::-webkit-scrollbar-button:horizontal:decrement {
    background-image: url(left.svg);
    background-repeat: no-repeat;
    background-size: contain;
}

::-webkit-scrollbar-button:vertical:increment {
    background-image: url(down.svg);
    background-repeat: no-repeat;
    background-size: contain;
}

::-webkit-scrollbar-button:vertical:decrement {
    background-image: url(up.svg);
    background-repeat: no-repeat;
    background-size: contain;
}

#vx-content span.vx-search-match {
    color: #34495e;
    background-color: #4db6ac;
}

#vx-content span.vx-current-search-match {
    color: #34495e;
    background-color: #66bb6a;
}