html,
body {
    height: 100%;
    background-color: #f0f0f0;
    padding-top: 35px;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.footer {
    background-color: #fff;
    border-top: 1px solid #ddd;
    padding-top: 50px;
    padding-bottom: 30px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* 自定义 */
.navbar, .nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
    background: #FFF;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.11);
}

.navbar a, .navbar-default .navbar-nav > li > a {
    color: #333;
}

.navbar .nav li.active a:focus, .navbar .nav li.active a:hover, .nav > li > a:hover, .nav > li > a:focus {
    background-color: #FFF;
    color: #000;
}

.navbar .nav li.active a {
    background-color: #FFF;
    border-bottom: 3px solid #5CB85C;
    color: #5CB85C;
}

.navbar-toggle .icon-bar {
    background-color: #5CB85C;
}

.list-group {
    margin-bottom: 0;
    background-color: #f5f5f5;
}

.site-index-topic .list-group-item:last-child {
    border-bottom: 0;
}

.topic .tab {
    background-color: #fff;
}

.topic .tab a {
    padding: 5px 8px 5px 8px;
    border-radius: 3px;
}

.topic .tab a:hover {
    background-color: #f5f5f5;
    color: #000;
    text-decoration: none;
}

.topic .tab a.active {
    background-color: #5CB85C;
    color: #fff;
}

.topic .children a.children-node {
    padding: 0 10px;
}

.topic .title {
    font-size: 16px;
}

.node-header .title {
    font-size: 24px;
    color: #333;
    margin-bottom: 8px;
}

.node-header .title .total {
    color: #999;
    font-size: 14px;
    margin-left: 10px;
}

.topic-view .info {
    color: #c0c0c0;
    font-size: 12px;
}

.topic-view .panel-heading {
    padding: 15px;
}

.topic-view .panel-heading h1 {
    font-size: 24px;
}

.list-group-item {
    border: none;
    margin-bottom: 0;
    border-bottom: 1px solid #ddd;
}

.pagination {
    margin-left: 15px;
}

.article a {
    color: #008E59;
}

.article img, .markdown-reply img, .text-center img, .img {
    max-width: 100%;
}

.tweet .active .fa, .topic-view .active .fa, .filter .active, .red {
    color: #EB5424;
}

#reply-notice {
    color: gray;
    padding-top: 16px;
    margin-bottom: 16px;
    border: 1px dashed;
}

.opts a:link, .opts a:visited {
    color: #666;
    text-decoration: none;
}

.opts a {
    margin-right: 5px;
}

#topic-view .info .opts a {
    margin-left: 5px;
    color: #999;
}

.empty {
    padding: 10px 15px;
}

#md-preview {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px dashed #ccc;
}

.article {
    margin-top: 0;
    margin-bottom: 0;
    margin-right: auto;
    line-height: 2;
    color: #424b50;
    word-wrap: break-word;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    counter-reset: entry825h2 entry825h3 entry825h4 entry825h5 entry825h6;
}

.article p {
    padding: 0;
    margin-top: 12px;
    margin-bottom: 12px;
}

/*代码高亮*/
.article pre, .user-default-index pre, .markdown pre, .markdown-reply pre, .tweet pre {
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
    padding: 0;
}

.article blockquote, .markdown-reply blockquote, #md-preview blockquote, blockquote {
    background-color: #f7f7f7;
    font-size: inherit;
}

.deleted {
    text-decoration: line-through;
    color: #e1e1e1;
}

#about-us h5 {
    font-size: 13px;
}

.notification-count .new {
    color: #F86334;
}

.notification-count span {
    margin-left: 3px;
    font-size: 12px;
}

.title-info {
    margin-top: 10px;
}

.fade-info, .title-info {
    color: #aaa;
    font-size: 12px;
}

.title-info .node {
    padding: 1px 5px;
    text-decoration: none;
    background-color: #efefef;
}

.title-info a {
    color: #666;
}

.notification-index .notification {
    position: relative;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #F0F4F6;
}

.badge-reply-count {
    margin-top: 15px;
    background-color: #98ACDF;
}

a:visited .badge-reply-count {
    background-color: #d7d7d7;
}

.excellent {
    color: #EB5424;
}

.node-box dt {
    color: #999;
    font-weight: 400;
}

.node-box dd, .node-box dt {
    padding: 15px 0 4px;
}

.ribbon-excellent {
    font-size: 13px;
    background: #FCF8F7;
    padding: 3px 15px;
    border-top: 1px solid #eae5e4;
    color: #aAa5a4;
    margin: 10px -15px -15px;
}

.side-bar .list {
    padding-left: 15px;
}

.tag-cloud a {
    padding: 10px;
}

.tag-cloud .cloud-1 {
    font-size: 120%;
}

.tag-cloud .cloud-2 {
    font-size: 140%;
}

.tag-cloud .cloud-3 {
    font-size: 160%;
}

.tag-cloud .cloud-4 {
    font-size: 180%;
}

.tag-cloud .cloud-5 {
    font-size: 200%;
}

.tag-cloud .cloud-6 {
    font-size: 220%;
}

/* add by ruzuojun */
#floatButton {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 9999999;
}

#floatButton .btn:focus {
    outline: 0
}

@media screen and (max-width: 767px) {
    #floatButton {
        display: none;
    }
}

#pageQrcode img.qrcode {
    position: absolute;
    right: 50px;
    bottom: -34px;
    padding: 10px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: none
}

#pageQrcode:hover img.qrcode {
    display: block
}

.index_count {
    float: left;
    font-size: 12px;
    margin-top: 3px;
}

#editor {
    border: 1px solid #ddd;
    padding: 6px 6px 0 6px;
}

.select2-container--krajee .select2-results > .select2-results__options {
    max-height: 500px;
}

img.emoji {
    width: 1.5em;
    height: 1.5em;
    margin: 0 .1em;
    vertical-align: -0.1em;
    display: inline-block;
}

.donate p {
    margin-top: 10px;
    font-size: 12px;
    color: #666;
}

.follow-info {
    border-top: 1px solid #f0f0f0;
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
}

.follow-info a {
    display: block;
    text-decoration: none;
}

.follow-info a.text {
    color: #999;
}

.follow-info a.counter {
    font-size: 32px;
    color: #5CB85C;
}

.tweet h1, .tweet h2, .tweet h3, .tweet h4 {
    font-size: 14px;
}

.user-card {
    margin-bottom: 15px;
}

.p-fixed {
    position: fixed;
    display: block;
    width: 292px;
    z-index: 99;
}

.hide {
    display: none;
}

.show {
    display: inline;
}

#donate-qr-code {
    display: none;
}

.numbers {
    float: left;
    width: 80px;
    height: 42px;
    top: 10px;
    left: 0;
    text-align: center;
}

.numbers .like-num, .numbers .read-num {
    float: left;
    width: 50%;
    display: block;
}

.numbers div.like-num p {
    color: #5CB85C;
}