@font-face {
  font-family: Iosevka;
  src: url(/fonts/iosevka-fixed-regular.woff2);
}

:root {
  --md-text-font: "Iosevka","PingFang SC","Microsoft YaHei","Arial","sans-serif";
  --md-code-font: "Iosevka","PingFang SC","Microsoft YaHei","Arial","sans-serif";
}

html {
  scroll-padding-top: 15px !important;
}

h1,h2,h3,h4,h5,h6 {
  color: #ff6600;
  border-bottom: dashed 1px rgb(128,128,128,.3);
  font-weight: 500 !important;
  text-transform: none !important;
}

h2 {
  margin-top: 80px !important;
}

h1>code,
h2>code,
h3>code,
h4>code,
h5>code,
h6>code,
:not(pre,h1,h2,h3,h4,h5,h6)>code {
  padding-top: 3px !important;
  padding-bottom: 3px !important;
  color: #ff6600 !important;
  font-weight: inherit !important;
  font-size: inherit !important;
  border-radius: 5px !important;
  background-color: rgb(255,102,0,.05) !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}

del {
  text-decoration: line-through;
  text-decoration-color: red;
}

img[src=""] {
  display: none;
}

.logo-img {
  width: 220px;
  height: 45px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
}

.ui-locale-tip {
  margin-left: 5px;
  padding: 3px;
  border-radius: 3px;
  background: #f60;
  display: inline-block;
  font-size: 12px;
  color: #fff !important;
  font-weight: 400 !important;
  line-height: 1;
}

.md-grid {
  max-width: 80rem;
}
.md-main {
  min-height: 600px;
}

.md-banner {
  background-color: #0000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 9;
}
.md-banner__inner {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  background-color: #da0000;
  color: white;
  text-align: center;
}

.md-content__inner.md-typeset {
  padding-left: 15px;
}

.md-content img:not([no-image-viewer]):not(.twemoji) {
  max-width: 85%;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 10px 10px 5px rgb(128,128,128,.2);
  cursor: zoom-in;
  margin-left: 30px;
  margin-bottom: 20px;
}

.md-content .highlight .gd {
  text-decoration: line-through #FF000077;
}
.md-content .highlight .gi {
  color: #FF6600;
  font-weight: bold;
}
.md-content em {
  color: red;
  font-weight: bold;
  font-style: normal;
  margin-left: 3px;
  margin-right: 3px;
}

.md-content strong {
  font-weight: normal;
  font-style: italic;
  margin-left: 3px;
  margin-right: 3px;
}

.md-typeset th,
.md-content td:first-child {
  white-space: nowrap;
}
.md-content blockquote {
  border-left: 3px solid dimgray;
  font-style: normal !important;
  margin: 0;
  margin-left: 5px;
  position: relative;
}
.md-content blockquote>p {
  display: block;
}

.md-footer__direction {
  display: block;
}

.md-typeset table:not([class]) {
  font-size: .7rem;
}

.md-typeset .admonition {
  width: 100%;
}

.md-nav__item .md-nav__link--active {
  color: #FF6600;
  border-bottom: 2px solid;
}

[data-md-color-primary=white] .md-nav__item .md-nav__link--active {
  border-image: linear-gradient(to right, rgb(255,102,0,1) 0, rgb(255,102,0,0) 75%) 1 1;
  background-image: linear-gradient(to right, rgba(255,255,224,1) 0, rgba(255,255,224,0) 75%);
}
[data-md-color-primary=black] .md-nav__item .md-nav__link--active {
  border-image: linear-gradient(to right, rgb(255,102,0,1), rgb(255,102,0,0) 75%) 1 1;
}
/*
.md-sidebar__scrollwrap {
  overflow-y: scroll;
}
.md-sidebar.md-sidebar--primary {
  width: unset;
  min-width: 300px;
  white-space: nowrap;
} */

.md-nav__item {
  word-break: break-word;
}
.md-sidebar.md-sidebar--primary .md-nav__item {
  font-size: .7rem;
}

.md-sidebar.md-sidebar--secondary {
  /* width: unset; */
  min-width: 10rem;
  max-width: 12rem;
}
.md-sidebar.md-sidebar--secondary .md-nav__item {
  font-size: .7rem;
}

[data-md-color-primary=white] .logo-img-auto {
  background-image: url(/img/logo-dataflux-func-site.png);
}

[data-md-color-primary=black] .logo-img-auto {
  background-image: url(/img/logo-dataflux-func-site-w.png);
}

/* For Theme */
.md-typeset .doc_footer * {
  margin: 0;
  padding: 0;
  border: none;
}

.md-typeset .doc_footer .doc-content-section ul {
  margin: 0 !important;
}

.md-typeset .doc_footer .doc-content-section ul li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.md-typeset .doc_footer {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.7rem;
  flex-wrap: wrap;
  padding: 0 0.6rem;
}

.md-typeset .doc_footer>.doc-content-section {
  flex: 2.5;
  margin-right: 0;
}

.md-typeset .doc_footer .doc-content-section .section-title {
  color: #e7eaf2;
  font-size: 0.8rem;
  margin: 0.6em 0;
  white-space: nowrap;
}

.md-typeset .doc_footer>.doc-content-section .section-title {
  margin-bottom: 1rem;
}

.md-typeset .doc_footer .section {
  flex: 1;
  display: flex;
  justify-content: space-between;
  margin-right: 7rem;
}

.md-typeset .doc_footer .doc-content-section .text-link {
  color: var(--md-footer-fg-color--light);
  cursor: pointer;
  line-height: 1.5;
  position: relative;
  white-space: nowrap;
}

.md-typeset .doc_footer .doc-content-section .text-link>img {
  min-width: 1rem;
  min-height: 1rem;
}

.md-typeset .doc_footer .doc-content-section .text-link .hover-item {
  display: none;
  position: absolute;
  bottom: 110%;
  left: -15px;
  padding: 0.2rem;
  background-color: #fff;
  color: #333;
  border-radius: 4px;
  z-index: 1;
  white-space: nowrap;
}

.md-typeset .doc_footer>.doc-content-section .text-link:first-child .hover-item {
  left: -10px;
}

.md-typeset .doc_footer>.doc-content-section .text-link:last-child .hover-item {
  left: -35px;
}

.md-typeset .doc_footer .doc-content-section .text-link:hover {
  color: var(--md-typeset-a-color);
}

.md-typeset .doc_footer .doc-content-section .text-link:hover .hover-item {
  display: block;
}

.md-typeset .doc_footer .doc-content-section .text-link a:hover {
  color: var(--md-typeset-a-color);
}

.md-copyright {
  width: 100% !important;
  margin-top: 1rem;
  border-top: 0.0454rem solid #2f3142;
}

.md-copyright__highlight {
  text-align: center;
}

.md-typeset .doc_footer .doc-content-section .authorized-certification {
  display: flex;
  justify-content: space-between;
}

.md-typeset .doc_footer .doc-content-section .authorized-certification .text-link {
  margin-right: 1rem;
}

.md-typeset .doc_footer .doc-content-section .authorized-certification .text-link:last-child {
  margin-right: 0;
}

.md-typeset .tabbed-set>input:first-child:checked~.tabbed-labels>:first-child,
.js .md-typeset .tabbed-labels:before {
  color: #FF6600;
}

/* Image viewer */
#ImageViewer>img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 99%;
  max-height: 99%;
}

#ImageViewer {
  width: 100%;
  height: 100%;
  position: fixed;
  background: rgba(0, 0, 0, 0.9);
  top: 0;
  left: 0;
  z-index: 1050;
  cursor: zoom-out;
}

/* Text special style */
.title-image {
  margin: 0;
  border: none;
  box-shadow: none;
  width: 100%;
  max-width: 100%;
  border-radius: 5px;
}

.highlight .hll {
  background-color: #ff660030 !important;
  border-left: 2px solid #FF6600;
  padding-left: 16px;
  box-shadow: none !important;
}

.hl-line {
  display: block !important;
  color: #FF6600 !important;
  font-weight: bold !important;
  font-style: italic !important;
  font-size: 18px !important;
  margin-bottom: 25px !important;
}

.site-logo-automata {
  font-family: Iosevka;
  font-size: 35px;
  margin: 0;
  letter-spacing: 2px;
  border-bottom: none;
  line-height: 42px;
}
[data-md-color-primary=white] .site-logo-automata-p1 {
  color: black;
}
[data-md-color-primary=black] .site-logo-automata-p1 {
  color: white;
}
[data-md-color-primary=white] .site-logo-automata-p2 {
  color: white;
  background-color: black;
  padding-left: 8px;
  padding-right: 8px;
  border-top-left-radius: 100px;
  border-bottom-right-radius: 50px;
}
[data-md-color-primary=black] .site-logo-automata-p2 {
  color: black;
  background-color: white;
  padding-left: 8px;
  padding-right: 8px;
  border-top-left-radius: 100px;
  border-bottom-right-radius: 50px;
}
[data-md-color-primary=white] .site-logo-automata-p3 {
  border-bottom: solid black 5px;
  font-size: 45px;
}
[data-md-color-primary=black] .site-logo-automata-p3 {
  border-bottom: solid white 5px;
  font-size: 45px;
}

.md-typeset :is(.admonition,details) {
  font-size: .75rem;
}

.blog-date {
  float: right;
  position: relative;
  top: -60px;
}

new:before {
  padding: 2px 6px;
  margin-right: 5px;
  border-radius: 3px;
  white-space: nowrap;
  font-size: small;
}

new:before {
  content: 'NEW';
  color: white;
  background: #FF0000d1;
}

docker-ver {
  margin-left: 5px;
  opacity: .75;
  font-size: 12px;
  white-space: nowrap;
}
docker-ver:before {
  content: '(Docker ';
}
docker-ver:after {
  content: ')';
}

section-title {
  color: #FF6600;
  font-size: 16px !important;
}
section-title * {
  font-size: 16px !important;
}

icon:before {
  color: white;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  width: 20px;
  line-height: 20px;
  border-radius: 3px;
}

icon[good]:before {
  content: '\2714';
  background-color: green;
  font-size: 20px;
}

icon[watch]:before {
  content: '!';
  background-color: orange;
  font-size: 15px;
  font-weight: bold;
}

icon[bad]:before {
  content: '\2716';
  background-color: red;
  font-size: 15px;
}

large {
  font-size: x-large;
}

code[data-clipboard-target] {
  cursor: pointer;
}

good, watch, bad {
  color: white;
  font-size: 14px;
  line-height: 1;
  display: inline-block;
  padding: 5px;
  border-radius: 3px;
  white-space: nowrap;
}

good {
  background-color: green;
}
watch {
  background-color: orange;
}
bad {
  background-color: red;
}

#SharePage {
  font-size: 16px;
  color: #FF6600;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding-right: 10px;
}

#imageInfo {
  padding: 3px 0;
  color: #FFF5;
  text-align: center;
}
