* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html, button, input, select, textarea,
.pure-g [class *= "pure-u"] {
    font-family: "Microsoft YaHei", Georgia, Times, "Times New Roman", serif;
}

a {
    text-decoration: none;
    color: rgb(61, 146, 201);
}
a:hover,
a:focus {
    text-decoration: underline;
}

.float-left {
    float: left;
}

.clear {
    clear: both;
}

.white {
    color: #ffffff;
}

.bg-transparent {
    background-color: transparent;
}

.bg-transparent a {
    color: #ffffff;
}

.none{
    display: none;
}


.pure-img-responsive {
    max-width: 100%;
    height: auto;
}

#layout {
    padding: 0;
}

.sidebar {
    background-color: #336699;
    color: #fff;
}

.toc-bg {
    background-color: #336699;
}

.header {
    text-align: center;
    top: auto;
    margin: 3em auto;
}

.brand-title,
.brand-tagline {
    margin: 0;
}
.brand-title {
    text-transform: uppercase;
}
.brand-tagline {
    font-weight: 300;
    color: rgb(176, 202, 219);
}

.nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav-item {
    display: inline-block;
    *display: inline;
    zoom: 1;
}
.nav-item a {
    background: transparent;
    border: 2px solid rgb(176, 202, 219);
    color: #fff;
    margin-top: 1em;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 85%;
}
.nav-item a:hover,
.nav-item a:focus {
    border: 2px solid rgb(61, 146, 201);
    text-decoration: none;
}

.catalog {
    padding: 10px;
}

.content-subhead {
    margin-left: 0.6em;
    text-transform: uppercase;
    color: #aaa;
    border-bottom: 1px solid #eee;
    padding: 0.4em 0;
    font-size: 80%;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.post {
    padding-bottom: 2em;
}

.post-title {
    font-size: 2em;
    color: #222;
    margin-bottom: 0.2em;
    word-break: break-all;
}

.post-title a {
    color: #000000;
    background: none;
}

.post-readmore {
    margin-left: 5px;
}

.post-header {
    padding-left: 1.2em;
    padding-right: 1.2em;
}

.post-avatar {
    border-radius: 50px;
    float: right;
    margin-left: 1em;
}
.post-description {
    font-family: "Microsoft YaHei", Georgia, "Cambria", serif;
    color: #444;
    line-height: 1.8em;
    padding-left: 1.2em;
    padding-right: 1.2em;
    padding-top: 1.2em;
}

.post-article {
    font-family: "Microsoft YaHei", Georgia, "Cambria", serif;
    color: #444;
    line-height: 1.8em;
}

.font-normal {
    font-size: 16px;
}


#doc-content {
    margin-top: 1em;
}

.bdsharebuttonbox {
    margin-left: 1.2em;
}

.post-meta {
    color: #999;
    font-size: 90%;
    margin: 0;
}

.post-update {
    margin: 0 0.1em;
    padding: 0.3em 0.3em;
    color: #fff;
    background: #009688;
    font-size: 80%;
}

.post-category {
    margin: 0 0.1em;
    padding: 0.3em 1em;
    color: #fff;
    background: #999;
    font-size: 80%;
}
    .post-category-1 {
        background: #5aba59;
    }
    .post-category-2 {
        background: #4d85d1;
    }
    .post-category-3 {
        background: #8156a7;
    }
    .post-category-4 {
        background: #df2d4f;
    }
    .post-category-5 {
        background: #FF6666;
    }
    .post-category-6 {
        background: #CCCC33;
    }
    .post-category-7 {
        background: #CC6633;
    }
    .post-category-8 {
        background: #99CCCC;
    }
    .post-category-9 {
        background: #9999CC;
    }
    .post-category-10 {
        background: #666699;
    }

.footer {
    padding: 1em 0;
}
.footer a, .footer span {
    color: #555555;
    font-size: 80%;
}
.footer .pure-menu a:hover,
.footer .pure-menu a:focus {
    background: none;
}

/* Search Bar */
.search {
    margin-top: 3px;
}
.search form {
    height: 28px;
    position: relative;
}
.search input {
    width: 100px;
    border-radius: 42px;
    border: 2px solid #FFFFFF;
    background: #3399CC;
    transition: .3s linear;
    float: right;
    right: 0;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 15px;
    color: #FFFFFF;
}
.search input:focus {
    width: 200px;
    outline: none;
}
.search input::-webkit-input-placeholder { /* WebKit browsers*/
    color:#FFFFFF;
}
.search input:-moz-placeholder {  /* Mozilla Firefox 4 to 18*/
    color:#FFFFFF;
}
.search input::-moz-placeholder {  /* Mozilla Firefox 19+*/
    color:#FFFFFF;
}
.search input:-ms-input-placeholder { /* Internet Explorer 10+*/
    color:#FFFFFF;
}
.search button {
    background: none;
    top: 5px;
    right: 0;
    border: none;
    outline: none;
    cursor: pointer;
    position: absolute;
}
.search button:before{
    content: "\f002";
    font-family: FontAwesome;
    color: #FFFFFF;
}

/* Back To Top */
.cd-catalog {
    display: inline-block;
    height: 40px;
    width: 40px;
    position: fixed;
    bottom: 40px;
    right: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    background: rgba(51, 153, 204, 0.8) url(../image/catalog.png) no-repeat center 50%;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
.cd-top {
    display: inline-block;
    height: 40px;
    width: 40px;
    position: fixed;
    bottom: 90px;
    right: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    background: rgba(51, 153, 204, 0.8) url(../image/top.png) no-repeat center 50%;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
.cd-catalog.cd-is-visible {
    visibility: visible;
    opacity: 1;
}
.cd-catalog.cd-fade-out {
    opacity: .5;
}
.no-touch .cd-catalog:hover {
    background-color: #3399CC;
    opacity: 1;
}
.cd-top.cd-is-visible {
    visibility: visible;
    opacity: 1;
}
.cd-top.cd-fade-out {
    opacity: .5;
}
.no-touch .cd-top:hover {
    background-color: #3399CC;
    opacity: 1;
}
@media only screen and (min-width: 768px) {
    .cd-top {
        right: 20px;
        bottom: 20px;
    }

    .cd-catalog {
        right: 20px;
        bottom: 60px;
    }
}
@media only screen and (min-width: 1024px) {
    .cd-top {
        height: 60px;
        width: 60px;
        right: 30px;
        bottom: 30px;
    }

    .cd-catalog {
        height: 60px;
        width: 60px;
        right: 30px;
        bottom: 100px;
    }
}

/* Horizontal Menu */
.custom-wrapper {
    background-color: #3399CC;
    margin-bottom: 0em;
    -webkit-font-smoothing: antialiased;
    height: 2.1em;
    overflow: hidden;
    -webkit-transition: height 0.5s;
    -moz-transition: height 0.5s;
    -ms-transition: height 0.5s;
    transition: height 0.5s;
}

.custom-wrapper.open {
    height: 21em;
}

.custom-menu-3 {
    text-align: right;
}

.custom-toggle {
    width: 34px;
    height: 34px;
    position: absolute;
    top: 0;
    right: 0;
    display: none;
}

.pure-menu-item a:hover, a:focus {
    background-color: #336699;
}

.custom-toggle .bar {
    background-color: #ffffff;
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 100px;
    position: absolute;
    top: 18px;
    right: 7px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    transition: all 0.5s;
}

.custom-toggle .bar:first-child {
    -webkit-transform: translateY(-6px);
    -moz-transform: translateY(-6px);
    -ms-transform: translateY(-6px);
    transform: translateY(-6px);
}

.custom-toggle.x .bar {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.custom-toggle.x .bar:first-child {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

/*responsive css code*/
@media (min-width: 64em) {

    .content-subhead {
        margin-left: 0;
    }
    
    .sidebar {
        position: fixed;
        top: 2.1em;
        bottom: 0;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .custom-wrapper {
        position: fixed;
        top: 0;
        bottom: 0;
        width: 100%;
    }
    
    .header {
        margin: 80% 2em 0;
        text-align: right;
    }
    
    .content {
        padding: 2em 3em 0;
        margin-left: 25%;
    }
    
    .footer {
        text-align: center;
    }
    
    .markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 {
        position: static;
    }
}

@media (max-width: 63.999em) {
    .custom-menu-3 {
        text-align: left;
    }
    
    .custom-toggle {
        display: block;
    }
}

/* dialog css */
.dialog-face{
    position: fixed;
    background: #0099FF;
    height: 100%;
    width: 100%;
    z-index: 1000;
    top: 0;
    left: 0;

    -webkit-animation-duration: 500ms;
    -moz-animation-duration:500ms;
    -o-animation-duration:500ms;
    animation-duration: 500ms;
}

.dialog-face.slipBottom[opacity="0"]{
    display: none;
}

.dialog-face.slipUp{
    opacity: 0.7;
    -webkit-animation-name: dialogFaceSlipToUp;
    -moz-animation-name: dialogFaceSlipToUp;
    -o-animation-name: dialogFaceSlipToUp;
    animation-name: dialogFaceSlipToUp;
}

.dialog-face.slipBottom{
    opacity: 0;
    visibility: hidden;
    -webkit-animation-name: dialogFaceSlipToBottom;
    -moz-animation-name: dialogFaceSlipToBottom;
    -o-animation-name: dialogFaceSlipToBottom;
    animation-name: dialogFaceSlipToBottom;
}

.dialog-root{
    position: fixed;
    z-index: 2000;
    left: 50%;

    -webkit-animation-duration: 500ms;
    -moz-animation-duration: 500ms;
    -o-animation-duration: 500ms;
    animation-duration: 500ms;
    -webkit-perspective: 1300px;
    -moz-perspective: 1300px;
    perspective: 1300px;
}

.dialog-root.slipUp{
    top: 50%;
    opacity: 1;

    -webkit-animation-name: dialogSlipToUp;
    -moz-animation-name: dialogSlipToUp;
    -o-animation-name: dialogSlipToUp;
    animation-name: dialogSlipToUp;
    -webkit-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.dialog-root.slipBottom{
    top: 100%;
    opacity: 0.3;
    -webkit-animation-duration: 500ms;
    -moz-animation-duration: 500ms;
    -o-animation-duration: 500ms;
    animation-duration: 500ms;
    -webkit-animation-name: dialogSlipToBottom;
    -moz-animation-name: dialogSlipToBottom;
    -o-animation-name: dialogSlipToBottom;
    animation-name: dialogSlipToBottom;
    -webkit-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}

.dialog-wrapper{
    background: #336699;
    width: 300px;
    height: 165px;
    overflow: hidden;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;

    -webkit-animation-duration: 500ms;
    -moz-animation-duration: 500ms;
    -o-animation-duration: 500ms;
    animation-duration: 500ms;
    -webkit-transform-origin: 50% 100%;
    -moz-transform-origin: 50% 100%;
    -ms-transform-origin: 50% 100%;
    -o-transform-origin:50% 100%;
    transform-origin: 50% 100%;
}

.dialog-wrapper.slipUp{
    -webkit-transform: rotateX(0deg);
    -moz-transform: rotateX(0deg);
    -ms-transform: rotateX(0deg);
    -o-transform: rotateX(0deg);
    transform: rotateX(0deg);
    -webkit-animation-name: contentSlipToUp;
    -moz-animation-name: contentSlipToUp;
    -o-animation-name: contentSlipToUp;
    animation-name: contentSlipToUp;
}

.dialog-wrapper.slipBottom{
    -webkit-transform: rotateX(90deg);
    -moz-transform: rotateX(90deg);
    -ms-transform: rotateX(90deg);
    -o-transform: rotateX(90deg);
    transform: rotateX(90deg);
    -webkit-animation-name: contentSlipToBottom;
    -moz-animation-name: contentSlipToBottom;
    -o-animation-name: contentSlipToBottom;
    animation-name: contentSlipToBottom;
}

.dialog-header{
    height: 35px;
    background: #3399CC;
    text-align: center;
}

.dialog-header span{
    font-size: 20px;
    line-height: 35px;
    color:#ffffff;
}

.dialog-content{
    font-weight: 300;
    font-size: 1.15em;
    color: #fff;
    padding: 15px 40px 20px 40px;
    margin: 0;
}


.dialog-content p{
    margin: 0;
    padding: 10px 0;
    text-align: center;
}

.dialog-footer a{
    margin-left: 115px;
}

@keyframes dialogFaceSlipToUp  {
    0%{
       opacity: 0;
    }
    100%{
        opacity: 0.7;
    }
}

@keyframes dialogFaceSlipToBottom {
    0%{
        opacity: 0.7;
        visibility:visible;
    }
    100%{
        visibility: hidden;
        opacity: 0;
    }
}

@keyframes dialogSlipToUp  {
    0%{
        top: 100%;
        opacity: 0.3;
    }
    100%{
        top: 50%;
        opacity: 1;
    }
}

@keyframes dialogSlipToBottom  {
    0%{
        top: 50%;
        opacity: 1;
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }
    100%{
        top: 100%;
        opacity: 0.3;
        -webkit-transform: translate(-50%, 0);
        -moz-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        -o-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }
}

@keyframes contentSlipToUp  {
    0%{
        -webkit-transform: rotateX(90deg);
        -moz-transform: rotateX(90deg);
        -ms-transform: rotateX(90deg);
        -o-transform: rotateX(90deg);
        transform: rotateX(90deg);
    }
    100%{
        -webkit-transform: rotateX(0deg);
        -moz-transform: rotateX(0deg);
        -ms-transform: rotateX(0deg);
        -o-transform: rotateX(0deg);
        transform: rotateX(0deg);
    }
}

@keyframes contentSlipToBottom  {
    0%{
        -webkit-transform: rotateX(0deg);
        -moz-transform: rotateX(0deg);
        -ms-transform: rotateX(0deg);
        -o-transform: rotateX(0deg);
        transform: rotateX(0deg);
    }
    60%{
        -webkit-transform: rotateX(60deg);
        -moz-transform: rotateX(60deg);
        -ms-transform: rotateX(60deg);
        -o-transform: rotateX(60deg);
        transform: rotateX(60deg);
    }
    100%{
        -webkit-transform: rotateX(90deg);
        -moz-transform: rotateX(90deg);
        -ms-transform: rotateX(90deg);
        -o-transform: rotateX(90deg);
        transform: rotateX(90deg);
    }
}

.pagination {
    position: relative;
}
.pagination li{
    list-style: none;
    display: inline-block;
    margin: 5px;
}
.pagination li a{
    text-decoration: none;
    padding:.5rem 1rem;
    display:inline-block;
    border:1px solid #ddd;
    background:#fff;
    color:#0E90D2;
}
.pagination li a:hover{
    background:#eee;
}
.pagination li.active a{
    background:#0E90D2;
    color:#fff;
}

.error-content {
    margin-top: 100px;
    height: 300px;
}

.error-content h2 {
    text-align: center;
}

[v-cloak] {
    display: none;
}

.centerMe {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    height: 25px;
    width: 10px;
    border-radius: 10%;
    background: #2c3e50;
    border-top-color: #2980b9;
    -webkit-animation: fade2 1s infinite;
    animation: fade2 1s infinite;
    -webkit-transition: background .2s;
    transition: background .2s;
}
.loading:after, .loading:before {
    content: '';
    position: absolute;
    display: block;
    height: 20px;
    width: 10px;
    background: #2c3e50;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    left: -15px;
    border-radius: 10%;
    -webkit-animation: fade1 1s infinite;
    animation: fade1 1s infinite;
    -webkit-transition: background .2s;
    transition: background .2s;
}
.loading:before {
    left: 15px;
    -webkit-animation: fade3 1s infinite;
    animation: fade3 1s infinite;
}

@-webkit-keyframes fade1 {
    0% {
        background: #2980b9;
    }
}

@keyframes fade1 {
    0% {
        background: #2980b9;
    }
}
@-webkit-keyframes fade2 {
    33% {
        background: #2980b9;
    }
}
@keyframes fade2 {
    33% {
        background: #2980b9;
    }
}
@-webkit-keyframes fade3 {
    66% {
        background: #2980b9;
    }
}
@keyframes fade3 {
    66% {
        background: #2980b9;
    }
}
.comment-section {
    margin: 1.2em;
}
.comment-form textarea {
    height: 120px;
}
.comment-form label {
    color: #3C3636;
    font-size: 14px;
}
.comment-form input {
    font-size: 15px;
}
.comment-form img {
    max-height: 40px;
    max-width: 100px;
    padding-top: 5px;
    padding-left: 10px;
}
.comment-form p {
    color: red;
    font-size: 14px;
}
#comment-verification-code {
    float: left;
}
.comment-area hr {
    color: #DDDDDD;
    border-style: dashed;
    width: 100%;
}
.comment-hr {
    height: 1px;
    width: 100%;
    background: #dddddd;
    overflow: hidden;
}
.comment-header-area {
    float: left;
    width: 50px;
    margin: 10px 10px 0 0;
}
.comment-header-area img {
    width: 48px;
    height: 48px;
    border-radius: 50px;
}
.comment-content-area h4 {
    margin: 5px 0px;
}
.comment-content-area p {
    margin: 5px 0px;
    font-size: 15px;
}
.comment-content-area h5 {
    margin: 5px 0px 5px 0px;
    color: #6A6A6A;
}
 .comment-content-area a {
     margin-left: 5px;
     color: #0078e7;
 }
 #cancel-reply-area {
     font-size: 15px;
     margin-bottom: 5px;
 }
.cursor-pointer {
    cursor: pointer;
}