/*
 * Globals
 */

.clear{  clear:both;  }
a{color:#292525;}

/* title */
.h1-center-title {text-align: center;    padding-bottom: 7px;  border-bottom: 1px solid #ebebeb;}

.aphorism_h1 {font-size: 20px !important;}

/*
 & for login
 */
.login-card {background: #fefefe;  border: 1px solid #d5dce5; height: 320px;padding: 1em 2em;}
.login-card-social {border: 1px solid #d5dce5; height: 130px;padding: 1em 2em; border-top: 0px;}
.form-item {margin-top: 15px; margin-bottom: 10px; display: flex;}
.form-item label {width: 50px;}
.login-card input[type=submit] {  width: 100%;  background-color: #ffbcff;  }
.third-party {margin-top: 20px;}
.third-party .qq, .third-party .weibo{
    display: inline-block;
    background-image: url(../img/login-third-party.png);
    background-repeat: no-repeat;
    margin-right: 5px;
    width: 32px;
    height: 32px;
}
.user-flex-info {display: flex; flex-direction: row;}
.user-flex-info .avatar {width:50px; height: 50px; border-radius: 50%;}
.user-flex-info .name {margin-left: 20px;    line-height: 80px;  font-size: 18px;}
.user-flex-info .follow-btn {
    margin-left: 20px;
    color: #ca0c16 !important;
    margin-top: 25px;
    border: 1px solid #ca0c16 !important;
    background-color: pink !important;
    /* margin-top: 0; */
    width: 70px;
    height: 30px;
    font-size: 12px;
    display: inline-block;
    border-radius: 5px;
    text-align: center;
    line-height: 30px;}
.user-info .avatar {width:50px; height: 50px; border-radius: 50%; float: left;}
.user-info .name {margin:0 0 0 60px; line-height: 30px; font-size:18px; font-weight: bold;}
.user-info .logout {
    margin: 0 0 0 60px;
    line-height: 20px;
    /*border: 1px solid #ca0c16;*/
    /*text-align: center;*/
    /*border-radius: 0.5em;*/
    /*width: 5em;*/
    /*background-color: pink;*/
}
.user-info .logout a { font-size: 13px;  color: #ca0c16;}

.follow-info .avatar {width:50px; height: 50px; border-radius: 50%; }
.follow-info .author-item {width: 60px;  padding: 5px; text-align: center; display: inline-grid;}

.third-party .qq {  background-position: 0 0;  }
.third-party .weibo {  background-position: -74px 0;  }

.poem-author {margin: 25px 3px;}
.poem-author .avatar {width:48px; height: 48px; border-radius: 50%; }
.poem-author .info {    display: inline-block;  margin-left: 10px; vertical-align: middle;}
.poem-author .info .name {font-size: 16px; vertical-align: middle;}
.poem-author .info .btn-follow {border-radius: 40px; font-size: 12px; padding: 2px 15px;  margin-left: 10px;}
.poem-author .meta {    margin-top: 5px;  font-size: 12px;  color: #969696;}
.poem-author .meta span {margin-right: 5px;}
.poem-all-content {margin-left: 0.3em;overflow: hidden;}
/* 隐藏部分内容 */
.hide-content-box {

}

.toggle-btn-box {
    margin-top: 10px;
    border-top: 1px solid red;
    text-align: center;
    padding-top: 10px;
}

.toggle-btn {
    color: #ca0c16;
    border: 1px solid #ca0c16;
    display: inline-block;
    padding: 2px 5px;
    border-radius: 5px;
}

/*
 * for bootstrap
 */

.navbar-inverse {  background-color: #2bb8aa;  border-color: #2bb8aa; background-image: linear-gradient(to right,#2bb8aa,#7EC0EE);}
.navbar-inverse .navbar-brand {color: white;}
.navbar-inverse .navbar-nav>li>a {  color: white;}
.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:focus, .navbar-inverse .navbar-nav>.active>a:hover {
    color: #fff;  background-color: inherit; }

.navbar-inverse .navbar-nav>.active>a:after {
    content: '';
    position: absolute;
    bottom: 0;
    bottom: 1px\9;
    left: 0;
    height: 4px;
    width: 100%;
    background-color: #fff;
}

/*
 * for weibo
 */
.follower_list li { margin-right: 5px;}
.follow_text {overflow: hidden;}
.weibo-item {border-bottom: 1px dashed #e0e0e0;padding: 5px;}
.weibo-item h3 {color:#fd4d17;}
.weibo-content {margin: 1em;color: #000000;}

body {
  color: #555;
  position: relative;
  height: auto;
  min-height: 100%;
  background: #ebebeb;
}

.poem-upload-module ul{list-style-type:none;margin:0px;padding: 0px;}
.poem-upload-module li{float:left; margin-right: 5px;}
.poem-upload-module .input-text {width: 300px; flex: 1;}

.search-item {padding-bottom: 10px; border-bottom: 1px solid #f0f2f7}
.search-item-content {line-height: 20px; max-height: 40px; overflow: hidden;}
.search-item-footer {font-size: 12px;  color: gray;  line-height: 1.55; margin-top: 8px;}

.blog-main h1 {
    text-align: center;
    font-size: 28px;
}

.container .navbar{
  position: fixed;
  padding-top: 0px;
}

.content{
    padding-top: 60px; padding-bottom: 70px;
}

.content h3 {
  font-size: 16px;
  font-weight: bold;
}

.toc ul {
  -webkit-padding-start: 25px;
}

/*
 * Footer
 */

.blog-footer {
  width: 100%;
  color: #999;
  text-align: center;
  background-color: #f9f9f9;
  border-top: 1px solid #e5e5e5;
  height:50px;
  position:fixed;
  bottom:0;
  z-index: 999;
}

.tag {
  padding: 10px;
  margin: 1px;
  background-color: #f2dede;
  border-color: #eed3d7;
  color: #b94a48;
}

/*
 footer
 */

.blog-footer p:last-child {
  margin-bottom: 0;
}

.blog-footer p {
  margin: 5px 0 5px 0;
}

/*
 doc
 */

.doc h2 {
  font-size: 18px;
  font-weight: bold;
  margin: 22px 0 10px 0;
  padding: 5px 0;
  border-bottom: 1px solid #eaeaea;
  /*border-left: 8px solid #cccccc;*/
}

/*.doc h3,h4,h5 {margin-left: 3px;}*/
/*.doc p,pre {margin-left: 6px;}*/

/*
 * Override Bootstrap's default container.
 */

@media (min-width: 1200px) {
  .container {
    width: 970px;
  }
}

/* Sidebar modules for boxing content */
.sidebar-module {  padding: 15px;}
.sidebar-module-inset {padding: 15px;  background: #fff; margin-bottom: 12px;}
.sidebar-module-inset p:last-child, .sidebar-module-inset ul:last-child, .sidebar-module-inset ol:last-child {  margin-bottom: 0;  }

.widget-title {
    margin-top: 0;
    padding-bottom: 7px;
    border-bottom: 1px solid #ebebeb;
    margin-bottom: 21px;
    position: relative;
}

.post-title {
    margin-top: 0;
    padding-bottom: 7px;
    border-bottom: 1px solid #ebebeb;
    position: relative;
}

.post-info {margin: 8px 0;}
.post-info-top {margin-bottom: 15px; color:#8590a6;}

.post-content h1 {text-align: left;}
.post-content img {max-width:100%;}

.poem-all-content img {display: none;}
/*.poem-content img {width: 80%; margin-left: 10%; margin-bottom: 10px;}*/

.tech-blog-content {overflow: hidden;}
.tech-blog-content h1,h2,h3,h4 {color: #1a1a1a; font-weight: 600;}
.tech-blog-content h1 {font-size: 26px;}
.tech-blog-content h2 {font-size: 22px;}
.tech-blog-content h3 {font-size: 18px;}
.tech-blog-content h4 {font-size: 16px;}
.tech-blog-content {padding:0 20px;}
.blog-meta {margin-top: 5px;
    font-size: 15px;
    color: #969696;
    padding-bottom: 7px;
    padding-left: 10px;
    border-bottom: 1px solid #ebebeb;}
.blog-meta span {margin-right: 5px;}

@media (max-width: 767px) {
    .tech-blog-content {padding:0 10px;}
}

.post-poems tr {
    border-bottom: 1px solid #C2D5E3;
    height: 30px;
}

.tag-list {}
.tag-list a {
    line-height: 26px;
    text-align: center;
    width: 20%;
    /*border: 1px solid #DAD9D1;*/
    display: inline-block;
    margin: 3px;
    /*border-radius: 3px;*/
    overflow: hidden;
    height: 26px;
    /*color: #19537D;*/
}

.tag-list-2 a {
    line-height: 26px;
    text-align: center;
    width: 48%;
    /* border: 1px solid #DAD9D1; */
    display: inline-block;
    /* margin: 3px; */
    /* border-radius: 3px; */
    overflow: hidden;
    height: 26px;
    color: #19537D;
}

.friend-link a {
    color: #333;
    text-decoration: none;
}

.widget-title:after {
    content: "";
    width: 90px;
    height: 1px;
    background: #f4645f;
    position: absolute;
    left: 0;
    bottom: -1px;
}


@media (min-width: 768px) {
  .right-offset{
    margin-left: 10px;
  }
}

.flask-pagedown-input {width: 50%; height: 800px; float: right;}
.flask-pagedown-preview {float: left;  width: 50%; height: 800px; overflow: scroll;}
.flask-pagedown-preview img {max-width:100%;}
.flask-pagedown-submit {margin-top: 20px;}
.flask-pagedown-upload input {width: 100%; margin-bottom: 10px;}


.poem-upload { margin-bottom: 12px; }
.poem-upload tr {margin-bottom: 8px; height: 40px;}
.poem-upload .input-text {width: 100%;}
.poem-upload li {width: 73px;}

a.rec {
    color: #00A000;
    background-color: bisque;
    display: inline-block;
    padding: 5px;
}