html::-webkit-scrollbar {
    width:8px;
    height:8px
}
html::-webkit-scrollbar-thumb {
    height:40px;
    background-color:#eee;
    border-radius:16px
}
html::-webkit-scrollbar-thumb:hover {
    background-color:#ddd
}
a, input, textarea, button, select {
    outline: none;
}
::selection {
    background: #0095ff1a;
}
html {
    font-family: microsoft jhenghei, sans-serif;
}
body {
    font-size: 18px;
    font-weight: bold;
    line-height:2em;
    background-color:#fff;
    color: #17202a;
}
body:before {
    content:"";
    background-repeat:no-repeat;
    background-position:50%;
    opacity:.05;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:-1;
    -webkit-filter:grayscale(100%);
    -moz-filter:grayscale(100%);
    -ms-filter:grayscale(100%);
    -o-filter:grayscale(100%);
    filter:grayscale(100%);
    filter:gray
}
body.dark-theme {
    background-color:#292a2d;
    color:#a9a9b3
}
a {
    color: #566573;
    text-decoration:none;
    transition:color .2s ease, border-color .2s ease, background .2s ease, opacity .2s ease;
}
a:hover {
    color: #17202a;
}
.dark-theme a {
    color: #a9a9b3;
    text-decoration:none;
    transition:color .2s ease, border-color .2s ease, background .2s ease, opacity .2s ease;
}
.dark-theme a:hover {
    color:#fff;
    text-decoration:none;
    transition:color .2s ease, border-color .2s ease, background .2s ease, opacity .2s ease
}
blockquote {
    font-size:1rem;
    display:block;
    border-width:1px 0;
    border-style:solid;
    border-color:#dcdcdc;
    padding:1.5em 1.2em .5em;
    margin:0 0 2em;
    position:relative
}
blockquote:before {
    content:'\201C';
    position:absolute;
    top:0;
    left:50%;
    transform:translate(-50%, -50%);
    width:3rem;
    height: 2rem;
    font:6em/1.08em pt sans, sans-serif;
    color: #566573;
    text-align:center;
    margin: 10px auto;
}
.dark-theme blockquote:before {
    color:#eee
}
.dark-theme blockquote:after {
    color:#eee
}
.dark-theme blockquote {
    border-color:#4a4b50
}
.wrapper {
    display:flex;
    flex-direction:column;
    min-height:100vh;
    width:100%;
}
.navbar {
    height:4rem;
    line-height:4rem;
    width:100%
}
.navbar .container {
    width:auto;
    max-width:1200px;
    text-align:center;
    margin:0 auto;
    display:flex;
    justify-content:space-between;
    font-size: 1.2em;
}
.main {
    flex:1 0 auto
}
.container {
    padding-left:1em;
    padding-right:1em
}
.footer {
    height:4rem;
    width:100%;
    text-align:center;
    line-height: 1em;
    padding-top:2em;
}
.notfound {
    font-size:2em;
    transform:translateY(35vh);
    text-align:center
}
.intro {
    transform:translateY(25vh);
    text-align:center
}
.intro .avatar {
    padding:10px
}
.intro .avatar img {
    width:128px;
    height:auto;
    display:inline-block;
    -webkit-border-radius:100%;
    border-radius:100%;
    -webkit-box-shadow:0 0 0 .3618em rgba(0, 0, 0, .05);
    box-shadow:0 0 0 .3618em rgba(0, 0, 0, .05);
    margin:0 auto;
    -webkit-transition:all ease .4s;
    -moz-transition:all ease .4s;
    -o-transition:all ease .4s;
    transition:all ease .4s;
    cursor:pointer
}
.intro .avatar img:hover {
    position:relative;
    -webkit-transform:translateY(-0.75em);
    -moz-transform:translateY(-0.75em);
    -ms-transform:translateY(-0.75em);
    -o-transform:translateY(-0.75em);
    transform:translateY(-0.75em);
    cursor:pointer
}
h2.description {
    font-size:1em;
    padding:5px
}
.social-links a {
    padding:0 5px
}
.social-links a:hover {
    background-color:transparent
}
.social-links .iconfont {
    font-size:2em
}
.post-warp .archive-item {
    margin-left:2rem;
}
.post-warp .archive-item a {
    font-size: 20px;
}
.post-warp .categories-card {
    margin:0 auto;
    margin-top:3em;
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-direction:row;
    flex-wrap:wrap;
    padding:0 2.5em;
    line-height:1.6em
}
.post-warp .categories-card .card-item {
    font-size:14px;
    text-align:left;
    width:45%;
    display:flex;
    align-items:flex-start;
    margin-top:2em;
    min-height:16em;
    padding:0 2%;
    position:relative
}
.post-warp .categories-card .card-item .categories {
    overflow:hidden
}
.post-warp .archive-item-link {
    display:inline-block;
    text-decoration:none;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    max-width:95%;
}
.dark-theme .post-warp .archive-item-link {
    color:#a9a9b3;
    text-decoration:none;
    transition:color .2s ease, border-color .2s ease, background .2s ease, opacity .2s ease
}
.dark-theme .post-warp .archive-item-link:hover {
    color:#fff;
    text-decoration:none;
    transition:color .2s ease, border-color .2s ease, background .2s ease, opacity .2s ease
}
.post-warp .archive-item-date {
    float:right;
    text-align:right;
    color: #909497;
}
.dark-theme .post-warp .archive-item-date {
    color:#87878d
}
.post-warp .more-post {
    text-align:right
}
.categories h3 {
    display:inline-block
}
.categories span {
    float:right;
    padding-right:1em
}
.post-warp {
    position:relative;
    width:100%;
    max-width:780px;
    margin:0 auto;
    padding-top:2rem;
}
.post-warp small {
    display: inline-block;
    -webkit-transform: translateY(-12px);
    -ms-transform: translateY(-12px);
    transform: translateY(-12px);
    font-size: 0.5rem;
    letter-spacing: 0.05em;
    background: linear-gradient(to right, #6454ef 0%, #3021ec 100%);
    color: #ffffff;
    border-radius: 1rem;
    padding: .15rem .275rem;
    line-height: 1;
    font-weight: bold;
}
.post-warp .post-header h1 {
    margin:0!important
}
.post-warp .post-title {
    line-height:1.5em;
}
.post-warp .post-meta {
    color: #55555587;
}
.post-warp .post-meta a {
    color: #8a92a9;
    text-decoration:underline;
}
.dark-theme .post-warp .post-meta {
    color:#87878d!important
}
.dark-theme .post-warp .post-meta a {
    color: #a9a9b3;
}
.dark-theme .post-warp .post-meta a:hover {
    color:#fff
}
.post-warp .post-content {
    padding-top:0.5rem;
}
.post-warp .post-content h2, .post-warp .post-content h3, .post-warp .post-content h4, .post-warp .post-content h5, .post-warp .post-content h6 {
    padding-top:.8em;
    padding-bottom:.3em
}
.post-warp .post-content h2::before {
    content:"#";
    margin-right:5px;
    color:#2d96bd
}
.dark-theme .post-warp .post-content h2::before {
    color:#eee
}
.post-warp .post-content h3::before {
    content:"|";
    margin-right:5px;
    color:#2d96bd
}
.dark-theme .post-warp .post-content h3::before {
    color:#eee
}
.post-warp .post-content a {
}
.dark-theme .post-warp .post-content a {
    color:#eee
}
.post-warp .post-content a:hover {
}
.dark-theme .post-warp .post-content a:hover:hover {
    color:#fff;
    text-decoration:underline
}
.post-warp .post-content code, .post-warp .post-content pre {
    padding:7px;
    font-size:13px;
    font-family:Consolas, Monaco, Menlo, Consolas, monospace;
    word-break:break-all;
    word-wrap:break-word
}
.post-warp .post-content code:not([class]) {
    padding:5px;
    background:#fff;
    border:1px solid #ddd;
    box-shadow:1px 1px 0 #fff, 2px 2px 0 #ddd;
    margin-left:3px;
    margin-right:3px
}
.dark-theme .post-warp .post-content code:not([class]):not([class]) {
    background:transparent;
    box-shadow:1px 1px 0 #87878d, 2px 2px 0 #87878d
}
.post-warp .post-content ul {
    padding-left:2em
}
.post-warp .post-content table {
    max-width:100%;
    margin:10px 0;
    border-spacing:0;
    box-shadow:2px 2px 3px rgba(0, 0, 0, .125)
}
.post-warp .post-content table th, .post-warp .post-content table td {
    padding:5px 15px;
    border:1px double #ebe9f5
}
.post-warp .post-content figure {
    text-align:center
}
.post-warp .post-content figure img:hover {
    cursor:zoom-in
}
.post-warp .post-content .image-caption:not(:empty) {
    min-width:20%;
    max-width:80%;
    display:inline-block;
    padding:10px;
    margin:0 auto;
    border-bottom:1px solid #d9d9d9;
    font-size:14px;
    color:#969696;
    line-height:1.7
}
.post-warp .post-content img {
    display:block;
    max-width:100%;
    height:auto;
    margin:0 auto;
    overflow:hidden
}
.post-warp .post-content img[data-action=zoom] {
    cursor:zoom-in
}
.post-warp .post-content .featured_image {
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    margin:0!important
}
.post-warp p {
    font-size:1em;
    margin:.5em 0;
}
.post-warp .post-tags {
    padding:1rem 0;
    display:flex;
    justify-content:space-between
}
.post-warp .post-nav:before, .post-warp .post-nav:after {
    content:" ";
    display:table
}
.post-warp .post-nav a.prev, .post-warp .post-nav a.next {
    font-size:16px;
    transition-property:transform;
    transition-timing-function:ease-out;
    transition-duration:.3s
}
.post-warp .post-nav a.prev {
    float:left
}
.post-warp .post-nav a.prev:hover {
    transform:translateX(-4px)
}
.post-warp .post-nav a.next {
    float:right
}
.post-warp .post-nav a.next:hover {
    transform:translateX(4px)
}
.post-warp .tag:not(:last-child) a::after {
    content:" / "
}
.post-warp .post-comment {
    padding:3em 0
}
.tag-cloud-tags {
    margin:10px 0
}
.tag-cloud-tags a {
    display:inline-block;
    position:relative;
    margin:5px 10px;
    word-wrap:break-word;
    transition-duration:.3s;
    transition-property:transform;
    transition-timing-function:ease-out
}
.tag-cloud-tags a:active, .tag-cloud-tags a:focus, .tag-cloud-tags a:hover {
    color:#2d96bd;
    transform:scale(1.1)
}
.dark-theme .tag-cloud-tags a:active, .dark-theme .tag-cloud-tags a:focus, .dark-theme .tag-cloud-tags a:hover {
    color:#fff
}
.tag-cloud-tags a small {
    color:#a9a9b3
}
.dark-theme .tag-cloud-tags a small {
    color:#fff
}
.post-warp .intro {
    transform:translateY(0);
    margin:2em 0 5em
}
.post-warp .intro .avatar img {
    width:96px
}
.post-warp .post {
    margin-bottom:4em;
    border-bottom:1px dashed #ddd
}
.post-warp .post .post-content {
    padding-top:.5em
}
.post-warp .post .post-footer {
    display:flex;
    justify-content:space-between;
    align-items:center
}
.post-warp .post .post-footer .post-meta a {
    color:rgba(85, 85, 85, .52941)!important
}
.dark-theme .post-warp .post .post-footer .post-meta a {
    color:#87878d!important
}
.post-warp .post .post-footer .post-meta a:hover {
    color:#a9a9b3!important
}
.dark-theme .post-warp .post .post-footer .post-meta a:hover {
    color:#87878d!important
}
.post-warp .post .post-footer .post-tags span a {
    color:rgba(85, 85, 85, .52941)!important
}
.dark-theme .post-warp .post .post-footer .post-tags span a {
    color:#87878d!important
}
.post-warp .post .post-footer .post-tags span a:hover {
    color:#a9a9b3!important
}
.dark-theme .post-warp .post .post-footer .post-tags span a:hover {
    color:#87878d!important
}
.header-logo a {
    padding:0
}
.header-logo a i {
    line-height:2em
}
.navbar .menu a {
    padding:0 8px
}
.navbar .menu .active {
    color:#161209
}
.dark-theme .navbar .menu .active {
    color:#fff
}
.navbar-header a:hover, .navbar .menu a:hover {
    background-color:transparent
}
.copyright {
    font-size: 18px;
}
.copyright p {
    font-size: 16px;
}
#dynamic-to-top {
    display:none;
    overflow:hidden;
    width:auto;
    z-index:90;
    position:fixed;
    bottom:2em;
    right:2em;
    top:auto;
    left:auto;
    font-family:sans-serif;
    font-size:1em;
    color:#fff;
    text-decoration:none;
    text-shadow:0 1px 0 #333;
    padding:17px 16px;
    border:1px solid #dcdcdc;
    background:#222;
    outline:none
}
#dynamic-to-top:hover {
    background:#000;
    cursor:pointer
}
#dynamic-to-top:active {
    background:#000;
    outline:none
}
#dynamic-to-top:focus, #dynamic-to-top:hover {
    outline:none
}
#dynamic-to-top span {
    display:block;
    overflow:hidden;
    width:14px;
    height:12px;
    background:url(../image/ce580add98b0436280d2116e5ecef41a.jpg) no-repeat 50%
}
.dark-theme #dynamic-to-top {
    border:1px solid #4a4b50
}
.pagination {
    display:flex;
    flex-direction:row;
    justify-content:center;
    list-style:none;
    white-space:nowrap;
    padding-top:2em;
    padding-right: 40px;
}
.pagination a {
    -webkit-font-smoothing:antialiased;
    font-size: 18px;
    color: #a6acaf;
    letter-spacing:.1em;
    padding:5px;
    text-decoration:none;
    transition:.3s;
}
.pagination li {
    padding-bottom:3px;
    margin:0 20px;
    box-sizing:border-box;
    position:relative;
    display:inline
}
.pagination li.disabled {
    display:none
}
.pagination li:hover a {
    color:#000
}
.dark-theme .pagination li:hover a {
    color:#fff
}
.pagination li:before, .pagination li:after {
    position:absolute;
    content:"";
    width:0;
    height:3px;
    background:#000;
    transition:.3s;
    bottom:0
}
.dark-theme .pagination li:before, .dark-theme .pagination li:after {
    background:#fff
}
.pagination li:before .active, .pagination li:after .active {
    width:100%
}
.pagination li:before {
    left:50%
}
.pagination li:after {
    right:50%
}
.pagination li:hover:before, .pagination li:hover:after {
    width:50%
}
.pagination li.active a {
    color:#000
}
.dark-theme .pagination li.active a {
    color:#fff
}
.pagination li.active:before, .pagination li.active:after {
    width:60%
}
.str {
    color:#ec7600
}
.kwd {
    color:#93c763
}
.com {
    color:#66747b
}
.typ {
    color:#678cb1
}
.lit {
    color:#facd22
}
.pun {
    color:#f1f2f3
}
.pln {
    color:#f1f2f3
}
.tag {
    color:#8ac763
}
.atn {
    color:#e0e2e4
}
.atv {
    color:#ec7600
}
.dec {
    color:purple
}
pre.prettyprint {
    border:0 solid #888
}
ol.linenums {
    margin-top:0;
    margin-bottom:0
}
.prettyprint {
    background:#000
}
li.L0, li.L1, li.L2, li.L3, li.L4, li.L5, li.L6, li.L7, li.L8, li.L9 {
    color:#555;
    list-style-type:decimal
}
li.L1, li.L3, li.L5, li.L7, li.L9 {
    background:#111
}
@media print {
    .str {
        color:#060
    }
    .kwd {
        color:#006;
    }
    .com {
        color:#600;
        font-style:italic
    }
    .typ {
        color:#404;
    }
    .lit {
        color:#044
    }
    .pun {
        color:#440
    }
    .pln {
        color:#000
    }
    .tag {
        color:#006;
    }
    .atn {
        color:#404
    }
    .atv {
        color:#060
    }
}
@media only screen and (min-device-width:320px) and (max-device-width:480px) {
    .navbar {
        display:none
    }
    .navbar-mobile {
        display:block!important;
        position:fixed;
        width:100%;
        z-index:100;
        transition:all .6s ease 0s
    }
    .fa-adjust {
        margin-top:20px;
        font-size:36px
    }
    .navbar-mobile .container {
        padding:0;
        margin:0;
        height:5em;
        line-height: 4.5em;
        background:#fff;
    }
    .navbar-header .fa-moon-o {
        font-size:2em
    }
    .navbar-mobile .container .navbar-header {
        display:flex;
        justify-content:space-between;
        align-items:center;
        width:100%;
        padding-right:1em;
        padding-left:1em;
        box-sizing:border-box;
    }
    .navbar-mobile .container .navbar-header .menu-toggle {
        cursor:pointer;
        line-height:5.5em
    }
    .navbar-mobile .container .navbar-header .menu-toggle span {
        display:block;
        background:#000;
        width:36px;
        height:2px;
        -webkit-border-radius:3px;
        -moz-border-radius:3px;
        border-radius:3px;
        -webkit-transition:.25s margin .25s, .25s transform;
        -moz-transition:.25s margin .25s, .25s transform;
        transition:.25s margin .25s, .25s transform
    }
    .dark-theme .navbar-mobile .container .navbar-header .menu-toggle span {
        background:#a9a9b3
    }
    .navbar-mobile .container .navbar-header .menu-toggle span:nth-child(1) {
        margin-bottom:8px
    }
    .navbar-mobile .container .navbar-header .menu-toggle span:nth-child(3) {
        margin-top:8px
    }
    .navbar-mobile .container .navbar-header .menu-toggle.active span {
        -webkit-transition:.25s margin, .25s transform .25s;
        -moz-transition:.25s margin, .25s transform .25s;
        transition:.25s margin, .25s transform .25s
    }
    .navbar-mobile .container .navbar-header .menu-toggle.active span:nth-child(1) {
        -moz-transform:rotate(45deg) translate(4px, 6px);
        -ms-transform:rotate(45deg) translate(4px, 6px);
        -webkit-transform:rotate(45deg) translate(4px, 6px);
        transform:rotate(45deg) translate(4px, 6px)
    }
    .navbar-mobile .container .navbar-header .menu-toggle.active span:nth-child(2) {
        opacity:0
    }
    .navbar-mobile .container .navbar-header .menu-toggle.active span:nth-child(3) {
        -moz-transform:rotate(-45deg) translate(8px, -10px);
        -ms-transform:rotate(-45deg) translate(8px, -10px);
        -webkit-transform:rotate(-45deg) translate(8px, -10px);
        transform:rotate(-45deg) translate(8px, -10px)
    }
    .navbar-mobile .container .menu {
        text-align:center;
        background:#fff;
        border-top: 5px solid #969ba7;
        padding-top:1em;
        padding-bottom:1em;
        display:none;
        box-shadow:0 2px 4px rgba(0, 0, 0, .1), 0 4px 8px rgba(0, 0, 0, .1);
    }
    .navbar-mobile .container .menu a {
        display:block;
        line-height:2.5em
    }
    .navbar-mobile .container .menu.active {
        display:block;
    }
    .dark-theme .navbar-mobile .container .menu {
        background:#292a2d;
        border-top:2px solid #87878d
    }
    .dark-theme .navbar-mobile .container {
        background:#292a2d!important
    }
    #dynamic-to-top {
        display:none!important
    }
    .footer {
        height:3rem;
        width:100%;
        text-align:center;
        line-height:1.5rem;
        padding-top:2em;
    }
    .post-warp {
        padding-top:6em
    }
    .post-warp .archive-item-date {
        display:none
    }
    .post-warp .categories-card .card-item {
        width:95%
    }
}
@media only screen and (min-width:1224px) {
    .navbar-mobile {
        display:none
    }
}
/*
comments
*/
 #comments {
    padding-bottom:30px;
    line-height:1;
}
.comments-title {
    position:relative;
    padding-bottom:10px;
    font-size:18px;
    border-bottom:1px solid #f1f1f1;
}
h3.comments-title:after {
    position:absolute;
    content:'';
    top:29px;
    left:0;
    width:135px;
    height:1px;
    background: #283149;
}
.commentCount {
}
.commentlist {
    list-style: none;
    margin:10px 0 0;
    padding:0;
}
.commentlist ol {
    list-style: none;
}
.comment {
    padding:10px 0 5px;
}
.comment .media-left {
    display: table-cell;
    vertical-align: top;
    padding-right: 10px;
}
.comment .media-left img {
    border-radius:50%;
}
.comment .media-body {
    display: table-cell;
    vertical-align: top;
}
.comment .media-body .author_name {
    margin-bottom:5px;
    font-size:14px;
    color:#777;
}
.comment .media-body p {
    font-size:14px;
    line-height:1.5em;
    color:#777;
}
.comment .media-body p a {
}
.comment .comment-metadata {
    margin-left:58px;
    padding:5px 0;
}
.comment .comment-metadata span {
    margin-right:15px;
    font-size:13px;
}
.comment .comment-metadata span {
    font-size:12px;
    color:#999;
}
.comment .comment-metadata span.comment-btn-reply a:hover {
    color:#666;
}
.comment .comment-metadata span.comment-btn-reply i {
    color:#d1d1d1;
}
.comment .comment-metadata span.comment-btn-reply a {
    color:#999;
}
.commentlist > .comment {
    border-bottom:1px dotted #d9d9d9;
}
.commentlist .children {
    padding-left:58px;
}
.commentlist .children > .comment {
    border-top:1px dotted #d9d9d9;
}
.comments-title small {
    display: inline-block;
    -webkit-transform: translateY(-12px);
    -ms-transform: translateY(-12px);
    transform: translateY(-12px);
    font-size: 0.5rem;
    letter-spacing: 0.05em;
    background: none;
    color: #ffffff;
    border-radius: 1rem;
    padding: .15rem .275rem;
    line-height: 1;
    font-weight: bold;
}
#reply-title {
    font-size:14px;
    color:#666;
    border-bottom:0;
    color:#999;
}
#reply-title a:first-child, .warning-text a:first-child {
    display:inline-block;
    margin:0 2px;
    padding:2px 5px;
    background: #566573;
    color:#fff;
    font-size:14px;
}
#reply-title #cancel-comment-reply-link {
    background:#fff;
    color:#999;
}
#reply-title #cancel-comment-reply-link:hover {
    text-decoration:underline;
}
.warning-text {
    color:#999;
}
.link-logout {
    color:#999;
}
.comment-navigation {
    width:100%;
    margin:0 auto;
    padding:15px 0;
    text-align: center;
}
.comment-navigation .page-numbers {
    display:inline-block;
    padding:9px 16px;
    color:#999;
    background:#f1f1f1;
}
.comment-navigation .page-numbers:hover {
    background:#e8e8e8;
    color:#666;
}
.comment-navigation .current, .comment-navigation .current:hover {
    background:#fa2a2a;
    color:#fff;
}
.comment-form {
    width:100%
}
textarea#comment {
    display: block;
    width: 98.5%;
    margin-bottom:10px;
    background: #00000021;
    color: #404b69;
    border:0;
    box-shadow:none;
    height:90px;
    resize:none;
    border-radius:5px;
    transition:background .3s;
    padding: 10px 0px 0px 10px;
}
.commentform-info input {
    width: 100%;
    border:0;
    border-radius:0;
    box-shadow:none;
    background: #00000021;
    font-weight:normal;
    transition:background .5s;
    margin-bottom: 10px;
    height: 30px;
    border-radius: 5px;
}
.commentform-info input:focus:-moz-input-placeholder {
    color: #fff;
}
.commentform-info input:focus::-moz-input-placeholder {
    color: #fff;
}
.commentform-info input:focus::-webkit-input-placeholder {
    color: #fff;
}
.commentform-info input:focus:-ms-input-placeholder {
    color: #fff;
}
.commentBtn .btn {
    padding:8px 0;
    width: 100%;
    text-align: center;
    background: #566573;
    border:0;
    border-radius: 5px;
}
.commentBtn .btn:hover {
    opacity:0.8;
}
input#submit {
    color: #fff;
}