* {
  text-shadow: 0 0 0;  
}
body {
  font-family: "SF Pro SC", "SF Pro Text", "SF Pro Icons", "PingFang SC", "Helvetica Neue", "Helvetica", "Arial", sans-serif !important;
	-webkit-font-smoothing: antialiased; /*chrome、safari*/
	-moz-osx-font-smoothing: grayscale;/*firefox*/
  color: #000; 
}

.container-fluid {
  padding-left: 0;
  padding-right: 0;
}

.container-fluid > * {
  /* max-width: 1200px; */
  margin-left: auto;
  margin-right: auto;
}


/* for 2k screen */
@media only screen and (min-width: 2000px) {
    body {
        font-size: 20px;
    }
    .container-fluid > * {
        /* max-width: 1500px; */
    }
}


.navbar {
  font-family: arial, 楷体;
}

#navbar .dropdown-item {
  padding-left:0.5em;
}

h2, h1 {
  margin-top: 0.25em;
  margin-bottom: 1em;
  color: #C30;
}

.h3, .h4, .h5, .h6, h3, h4, h5, h6  {
    margin-top: 1em;
    margin-bottom: 1em;
    color: #C30;
}

h1, h2, h3, h4, h5, h6 {
font-family: 微软雅黑;
}

h3, .h3 {
  padding-bottom:0.25em;
  margin-bottom:0.75em;
  border-bottom: 1px solid #ccc;  
}

h4, .h4 {
    margin-top: 1.2em;
}

body {
    line-height: 1.6;
}

article p code, article li code, article td code {
    margin-left: 0.25em;
    margin-right: 0.25em;
    padding-left:0.25em;
    padding-right:0.25em;
    background-color: #eee;
    border-radius: 2px;
    font-size: 1em;
    font-family: Menlo,Monaco,Consolas,"Courier New",monospace !important;
}


article code:before, article code:after {
    /* content: ' '; */
}

pre {
    font-family: Menlo,Monaco,Consolas,"Courier New",monospace !important;
}

article a:before, span.math:before, article a:after, span.math:after {
    content: ' ';
}

blockquote a:first-child, article a:first-child {
    margin-left: 0px;
}

blockquote {
    margin:1em 0;
    padding:0.5em 0.5em 0.5em 1.5em;
    border-left: 0.5em solid #ddd;
    background-color: #eee;
}

blockquote > :last-child {
    margin-bottom: 0;
    padding-bottom:0;
}

blockquote > :first-child {
    margin-top: 0;
    padding-top:0;
}

.article-content ul {
    padding-left:1.25em;
    /* margin-top: -0.5em; */
}

.article-content li > ul, .article-content ol > ul {
  margin-top: 0;
}

.article-content ul > li {
    margin-left: 0.5em;
    padding-left: 0.25em;
}
.article-content li {
  margin-top: 0.25em; 
}
.article-content li:first-child {
  margin-top: 0.25em; 
}


.article-content > ol {
  margin-left: 0;
  padding-left: 0;
  counter-reset: item;
  /* margin-top:-0.5em; */
}

.article-content img {
  max-width:100%;
  margin-left: auto;
  margin-right:auto;
  display:block;
}

.article-content > ol > li {
  margin-left: 0;
  padding-left: 2em;
  text-indent: -2em;
  list-style-type: none;
  counter-increment: item;
}

.article-content > ol > li:before {
  display: inline-block;
  width: 2em;
  padding-right: 0.5em;
  font-weight: bold;
  text-align: right;
  content: counter(item) ".";
}

.article-content table {
margin-bottom: 1em;
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  max-width: 100%;
}

.article-content td {
  font-size: 0.85em;
}

.article-content table td, .article-content table th {
  border: 1px solid #ddd;
  padding: 0.5em;
}

.article-content table tr:nth-child(even){background-color: #f2f2f2;}

.article-content table tr:hover {background-color: #ddd;}

.article-content table th {
  padding-top: 0.75em;
  padding-bottom: 0.75em;
  text-align: center;
  background-color: #777;
  color: white;
}


.mjx-chtml {
    padding-left: 4px !important;
    padding-right: 4px !important;
}

#toc nav {
    display: block;
}

#toc > nav a {
    padding: 0.25em 0;
    margin-left: 0;
}

#toc > nav a.active {
    color: red;
}

#toc > nav {
    padding-left: 0;
}
#toc > nav nav {
    padding-left:1em;
}

#toc nav a {
    display: block;
    overflow: hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
}

#toc-container {
    top: 1em;
}
.list-group .active a {
    color: white;
}

.highlight pre {
    padding: 1em;
}
.highlight {
    border-radius: 0.5em;
    line-height: 1.4em;
    margin-bottom: 1em;
}

hr.colored {
    margin: 2em 5em;
    height: 0.25em;
    color: red;
}


.tag-1 { font-size: 1.5em; }
.tag-2 { font-size: 1.4em; }
.tag-3 {font-size: 1.3em;}
.tag-4 { font-size: 1.2em; }
.tag-5 { font-size: 1.1em; }

.tag-9 { font-size: 0.9em; }
.tag-10 { font-size: 0.8em; }

.grey, .ccc {
    color: #ccc;
}

.red {
    color: red;
}

#sidebar li a {
    display: block;
    white-space:nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header:hover a.copy-link {
    color: #007bff;
} 

ol.article-list {
    padding-left: 1.25em;
}

.article-list li {
    padding-left:0.25em;
}

.article-list li > blockquote {
    margin-left: -1.5em;
    margin-top: 0;
}

/* ------------------ begin of admonition -------------------- */

.admonition {
    padding: 0.75em;    
    margin-bottom: 1.5em;
    background: #e7f2fa;
}
.admonition-title { 
    color: #fff;
    font-weight: bold;
    display: block; 
    background: #6ab0de;
    margin: -0.75em;
    padding: 0.5em 0.75em;
    margin-bottom: 0.75em;
}
.admonition-title:before {
    margin-right: 0.25em;
    font-family: "FontAwesome";
    display: inline-block;
    font-style: normal;
    font-weight: normal; 
    text-decoration: inherit;
    content: "\f040";
}
.warning {
    background: #ffedcc !important;
}
.warning .admonition-title {
    background: #f0b37e !important;
}
.warning .admonition-title:before {
    content: "\f071" !important;
}
.admonition p:last-child, .admonition ul:last-child .admonition ol:last-child {
    margin-bottom: 0;
}

/* ------------------ end of admonition -------------------- */

.smaller {
  font-size: 0.7em;
}
 
section > .alert {
  padding-left:14px !important;
  padding-right:14px !important;
}



.MathJax_CHTML {
    padding-left: 0.25em;
    padding-right: 0.25em;
}

.blog-meta a {
    color: #77ccff;
}

.social-share {
  font-size: 1em;
}

p {
  margin-bottom: 1em;
}

.article-list-item-title:after {  
  font-size: 0.85em;
  color: #ccc;
  position: relative;
  top: -0.5em;
}

#article-list-1:after {
  content: "1";
}

#article-list-2:after {
  content: "2";
}
#article-list-3:after {
  content: "3";
}
#article-list-4:after {
  content: "4";
}
#article-list-5:after {
  content: "5";
}
#article-list-6:after {
  content: "6";
}
#article-list-7:after {
  content: "7";
}
#article-list-8:after {
  content: "8";
}
#article-list-9:after {
  content: "9";
}


.next-in-series-link:after {  
  content: "\2192";
} 

.next-link:after {
  content: "j";
}

.previous-in-series-link:after {
  content:  "\2190";
} 

.previous-link:after {
  content: "k";
}

.article-summary a {
  color:#0c5460;
}


/* --------------- clipboard -------------------*/
.clipboard-btn { 
    padding: 0.875em;
    position: absolute;
    right: 0;
    top: 0;
    color: #ccc;
} 
.clipboard-btn:hover {
  cursor: pointer;
  color: #000;
}
.highlight {
position: relative;
    overflow: hidden;
}
pre {
  margin-bottom: 0;
}
/* ------------------ end clipboard --------------------------*/



/* ---------------- gitalk ----------------*/
.gt-container .gt-header-controls-tip, .gt-container .gt-svg
{
  vertical-align: baseline;
}

.markdown-body blockquote {
    padding: 0.5em 0.75em;
}
.gt-container .gt-comment-content  {
  padding: 0 !important;
}
 
/* ---------------- end gitalk -------------- */


#app,
.textarea {
    line-height: 1.75em;
    color: #000;
    font-size: 16px;
}

.h3 {
    font-size: 20px;
    font-weight: 500;
}

.h4 {
    font-size: 18px;
    font-weight: 500;
}
.text-right {
    text-align: right;
}
.text-center {
    text-align: center;
}
.bold {
    font-weight: 777;
}
.center {
    text-align: center;
}

.p, p, .ul, ul, .ol, ol, .video, video {
    margin-bottom: 1em;
}

.article-content video {
    margin:0 auto 1em auto;
    display: block;
    text-align:center;
}

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

.inline {
    display: inline;
}

.flex-rows {
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
}

.flex-center {
    align-items: flex-center;
}

.flex,
.flex-cols {
    display: -webkit-flex;
    display: flex;
    flex-direction: row !important;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -webkit-align-items: flex-start;
    -ms-flex-align: flex-start;
    align-items: flex-start;
}
.flex-space-between {
    justify-content: space-between;
}

.flex-align-baseline {
	    align-items: baseline;
}

.flex-wrap {
    flex-wrap: wrap;
    flex-direction: row;
    -webkit-align-content: flex-start;
    align-content: flex-start;
}

.flex .flex-grow {
    width: 0;
    flex-grow: 1;
}

.flex-grow {
    flex-grow: 1;
}


.my-list {
    background-color: #FFFFFF;
    position: relative;
    display: flex;
    flex-direction: column;
}

.my-list:after {
    position: absolute;
    z-index: 10;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    content: '';
    -webkit-transform: scaleY(.5);
    transform: scaleY(.5);
    background-color: #c8c7cc;
}

.my-list::before,
.my-list-cell:before {
    position: absolute;
    z-index: 10;
    right: 0;
    top: 0;
    left: 0;
    height: 1px;
    content: '';
    -webkit-transform: scaleY(.5);
    transform: scaleY(.5);
    background-color: #c8c7cc;
}

.my-list-cell:first-child:before {
    height: 0;
}

.my-list-cell {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;

}

.nav-right-arrow {
    position: relative;
    flex-grow: 1;
}
.nav-right-arrow:after, .nav-right {
    position: absolute;
    width:16px;
    font-size:16px;
    font-family: 'iconfont';
    vertical-align: center;
    top: 50%;
    bottom: 50%;
    height: 16px;
    margin-top:-8px;
    margin-bottom:-8px;
    line-height: 1;
    right: 0;
    color: #ccc;
}
.nav-right-arrow:after {
    content: '\e7eb';
}

.bb-1, .bt-1, .bt-2, .bb-2 {
    position: relative;
}
.bb-1:after, .bb-2:after {
    position: absolute;
    z-index: 10;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    content: '';
    -webkit-transform: scaleY(.5);
    transform: scaleY(.5);
    background-color: #c8c7cc;
}
.bb-2:after {
    height: 2px;
    background-color: #888;
}
.bt-1:before {
    position: absolute;
    z-index: 10;
    right: 0;
    top: 0;
    left: 0;
    height: 1px;
    content: '';
    -webkit-transform: scaleY(.5);
    transform: scaleY(.5);
    background-color: #c8c7cc;
}

.br-1 {
    border-right: 1px solid #c8c7cc;
 }
 .bl-1 {
     border-left: 1px solid #c8c7cc;
  }

.w144 {
    width: 144px;
}
.w128 {
    width: 128px;
}
.w300 {
    width: 300px;
}
.w160 {
    width: 160px;
}
.w32 {
    width: 32px;
}
.w16 {
    width: 16px;
}
.w64 {
    width: 64px;
}
.w96 {
    width: 96px;
}
.w52 {
    width: 52px;
}

.w80 {
    width: 80px;
}
.w88 {
    width: 88px;
}

.w196 {
    width: 196px;
}
.w160 {
    width: 160px;
}
.w15 {
    width: 15px;
}
.w25 {
    width: 25px;
}
.w10 {
    width: 10px;
}

.pl-2em {
    padding-left: 32px;
}
.ml-1em {
    margin-left: 16px;
}
.ml-2em {
    margin-left: 32px;
}
.ml-4em {
    margin-left: 64px;
}
.pl-3 {
    padding-left: 12px;
}

.pr-3 {
    padding-right: 12px;
}

.p-2 {
    padding: 8px;
}

.pt-2 {
    padding-top: 8px;
}

.pb-2 {
    padding-bottom: 8px;
}
.pl-2 {
    padding-left: 8px;
}

.pr-2 {
    padding-right: 8px;
}
.pt-3 {
    padding-top: 12px;
}

.pb-3 {
    padding-bottom: 12px;
}
.p-3 {
    padding: 12px;
}

.p-1 {
    padding: 4px;
}

.pt-1 {
    padding-top: 4px;
}

.pb-1 {
    padding-bottom: 4px;
}

.pr-1 {
    padding-right: 4px;
}

.pl-1 {
    padding-left: 4px;
}

.p-3 {
    padding: 12px;
}

.plr-3 {
    padding-left: 12px;
    padding-right: 12px;
}

.mt-3 {
    margin-top: 12px;
}

.mb-3 {
    margin-bottom: 12px;
}

.mt-5 {
    margin-top: 48px;
}

.mb-5 {
    margin-bottom: 48px;
}

.m-3 {
    margin: 12px;
}

.mtb-3 {
    margin-top: 12px;
    margin-bottom: 12px;
}

.mt-2 {
    margin-top: 8px;
}

.mb-2 {
    margin-bottom: 8px;
}

.m-2 {
    margin: 8px;
}

.mtb-2 {
    margin-top: 8px;
    margin-bottom: 8px;
}

.mt-1 {
    margin-top: 4px;
}

.mb-1 {
    margin-bottom: 4px;
}

.m-1 {
    margin: 4px;
}

.mtb-1 {
    margin-top: 4px;
    margin-bottom: 4px;
}

.red{
	color:red;
}
.green {
	color: green;
}
.black {
	color: black;
}
.ccc {
    color: #ccc;
}
.c777 {
    color: #777;
}
.aaa {
    color: #aaa;
}
.c888 {
    color:#888;
}
.location {
    color: #888;
}
.date {
    color: #333;
}
.field {
    color: #888;
}
.eee {
    color: #eee;
}

.bg-white {
    background-color: #fff;
}
.bg-eee{
    background-color: #eee;
}
.bg-ccc {
    background-color: #ccc;
}
.bg-primary {
	background-color: #007aff;
    color: white;
}

.b {
    font-weight: 555;
}

.big {
    font-size: 1.2em;
}

.bigger {
    font-size: 1.5em;
}

.small {
    font-size: 0.8em;
}

.smaller {
    font-size: 0.6em;
}


.contact-block-input {
    margin-bottom: 0px;
}

.contact-block-input:focus {
    outline: none;
    border-bottom: 1px solid red;
}

.contact-icon {
    padding-right: 8px;
    display: block;
    color: #ccc;
    font-size: 16px;
    width: 16px;
}

.contact-block .contact-content {
    width: 210px;
    padding-right: 8px;
    display: block;
    flex-grow: 1;
}

.contact-block .contact-key {
    color: #ccc;
}

.contact-more-edit {
    line-height: 1.8em;
}
.contact-icon-edit {
    padding-top: 8px;
    padding-left: 8px;
    padding-right: 8px;
    padding-bottom: 8px;
    color: #c8c7cc;
    width: 16px;
    line-height:1.8em;
}
.contact-icon-edit .iconfont {
    line-height:1em;
}

.uni-grid-item__box-item {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.icon-top-right {
    top: 0;
    right: 0;
    position: absolute;
    line-height: 1;
    padding: 12px;
    z-index: 11;
    color: red;
}

.s-32 {
    width: 32px;
    height: 16px;
}

.s-64 {
    width: 64px;
    height: 32px;
}

.relative {
    position: relative;
}


/* habit */
.habit-block {
    margin: 8px 8px 4px 4px;
    width: 25px;
    height: 25px;
    text-align: center;
    vertical-align: middle;
    display: table;
    line-height: 1em;
}

.is_today {
    color: #000;
}

.habit-icon {
    font-size: 25px !important;
    line-height: 25px !important;
}

.habit-header {
    padding-top: 8px;
    padding-bottom: 8px;
}

.habit-title {
    width: 90px;
}

/* customize */
.uni-input-placeholder {
    color: #c8c7cc;
}

.grey {
    color: #c8c7cc;
}

input {
    font-size: 16px;
}

.image-block {
    padding-right:4px;
    padding-bottom:2px;
    position: relative;
}


.ul, .ol {
    padding-left:2em;
    /* list-style: circle; */
}

.li {
    position:relative;
    padding-bottom: 10px;
}
.ul > .li:before {
    font-family: "iconfont" !important;
    font-style: normal;
    content:"\e635";
    position:absolute;
    left: -1.5em;
}


.color-title {
	color: #007aff;
}

view, uni-view {
    font-size: 16px;
}

uni-input {
    line-height: 1.8em;
    height: 1.8em;
}

.selected {
    color: red;
}

.absolute {
    position: absolute;
}
.relative {
    position: relative;
}

.a {
    color: blue;
    cursor: pointer;
}
.a:hover {
}

a {
    text-decoration: none;
}

.lead .badge {
    color: blue;
}
