/*
 * Solo - A small and beautiful blogging system written in Java.
 * Copyright (c) 2010-present, b3log.org
 *
 * Solo is licensed under Mulan PSL v2.
 * You can use this software according to the terms and conditions of the Mulan PSL v2.
 * You may obtain a copy of Mulan PSL v2 at:
 *         http://license.coscl.org.cn/MulanPSL2
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PSL v2 for more details.
 */
/*
 * skin andrea style
 *
 * @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
 * @version 2.4.0.1, Feb 9, 2020
*/
@import "../../../less/_toc";
@import "vditor/src/assets/less/index";

.left {
  float: left;
}

.right {
  float: right;
}

.clear:before,
.clear:after {
  display: table;
  content: "";
}

.clear:after {
  clear: both;
}

.none {
  display: none;
}

.marginLeft12 {
  margin-left: 12px;
}

.marginTop12 {
  margin-top: 12px;
}

.margin12 {
  margin: 12px;
}

.margin5 {
  margin: 5px;
}

body, dd, div, dl, h1, h2, h3, h4, h5, h6, html, img, li, ol, p, ul {
  padding: 0;
  margin: 0;
}

body {
  background-image: url("../images/bg-grey.jpg");
  background-color: #000000;
  color: #363636;
  font-family: '\5fae\8f6f\96c5\9ed1, Arial,Verdana,sans-serif';
  font-size: 12px;
  margin: 0;
  padding: 0;
}

a, a:link, a:visited {
  color: #BE0700;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
  color: rgba(190, 7, 0, 0.75);
}

img {
  max-width: 100%;
  vertical-align: middle;
  border: 0;
  height: auto;
  -ms-interpolation-mode: bicubic;
  overflow: hidden;
  font-size: 12px;
}

/* common */
.error-msg {
  color: #BE0700;
}

.brush-icon, .article .month, .article .day, .pagination a, #greyBG,
#brownBG, #blueBG, #goTop, .side-tool ul ul li a, .comment-form button {
  background-image: url('../images/icon.png');
}

/* frame */
.wrapper {
  width: 910px;
  margin: 0 auto;
  position: relative;
}

.main {
  float: left;
  width: 627px;
}

.side-navi {
  float: left;
  width: 282px;
}

/* header */
.header {
  background: url('../images/bgs.png') no-repeat;
  width: 910px;
  height: 185px;
  float: left;
}

.header .left {
  width: 566px;
}

.header h1 {
  margin: 18px 0 0 37px;
}

.header .left a {
  color: #FFFFFF;
  font-family: '\5fae\8f6f\96c5\9ed1', Arial, Verdana, sans-serif;
  font-size: 46px;
  text-decoration: none;
}

.sub-title {
  color: #333;
  font-size: 22px;
  margin-left: 40px;
  margin-top: 0;
  display: block;
}

.header > .left > div {
  float: right;
  color: #C0BEBD;
}

.header .right {
  width: 343px;
}

.header .right ul {
  list-style-type: none
}

.header .right li {
  float: left;
  margin: 18px 30px 0 0;
  width: 84px;
}

.header .right li a {
  color: #FFFFFF;
  font-family: 'sans-serif';
  font-size: 26px;
  text-decoration: none;
  font-weight: bold;
}

.header .right li a:hover {
  color: #DDDDDD;
  font-family: 'sans-serif';
}

/* main */
.main-content {
  padding: 0 45px;
  background-color: #d9d7d4;
}

.main-content > h2 {
  color: #BE0700;
  font-size: 20px;
  line-height: 145%;
  margin-bottom: 18px;
  font-family: '\5fae\8f6f\96c5\9ed1';
}

.main-footer {
  background: url('../images/bgs.png') 0 -185px;
  height: 14px;
  width: 627px;
}

.brush {
  left: -52px;
  position: absolute;
  top: 283px;
  width: 100px;
}

#brush {
  background: url("../images/paint.png") no-repeat fixed 98px -150px transparent;
  position: relative;
  top: -27px;
  width: 82px;
}

.brush-icon {
  background-position: 0 -312px;
  height: 240px;
  position: relative;
  width: 92px;
  z-index: 1;
}

.brush-icon:hover {
  background-position: 0 -69px;
}

/* common articles */
.article a.underline:hover {
  text-decoration: underline;
  color: #BE0700;
}

.article .date {
  width: 40px;
  float: left;
}

.article .month {
  color: #FFFFFF;
  height: 20px;
  text-align: center;
  width: 36px;
}

.article .day {
  border: 1px solid #C4BFBA;
  border-top: 0px;
  background-position: 0px -20px;
  font-size: 15px;
  height: 23px;
  padding-top: 4px;
  text-align: center;
  width: 34px;
}

.article h2 {
  margin-bottom: 3px;
  width: 495px;
  *line-height: 28px;
}

.article h2 > a {
  color: #363636;
  font-size: 24px;
  line-height: 24px;
  text-decoration: none;
}

.article h2 > a:hover {
  color: #BE0700;
  text-decoration: underline;
}

.article h2 sup {
  color: #BE0700;
  font-size: 10px;
  vertical-align: top;
  a {
    text-decoration: none;
    cursor: text;
    vertical-align: top;
    &:hover {
      color:  #BE0700;
    }
    &:visited {
      color: #d9d7d4;
    }
  }
}

.article-abstract {
  border-bottom: 2px dashed #F1EEE9;
  margin-bottom: 20px;
  padding: 15px 0 15px 0;
  overflow: hidden;
  line-height: 145%;
}

.article-abstract p:first-child:first-letter, .article-abstract:first-letter {
  font-size: 38px;
  float: left;
  font-weight: bold;
  margin: 0 3px 3px 0;
  line-height: 38px;
}

.pagination {
  line-height: 21px;
}

.pagination a {
  background-position: 0px -47px;
  border: 1px solid #C5C3C2;
  color: #8C8C8C;
  padding: 1px 6px;
  text-decoration: none;
  margin: 2px;
  font-size: 10px;
}

.pagination a.selected {
  background: none #FFFFFF;
  border: 1px solid #C5C3C2;
  color: #3E3E3E;
  font-weight: bold;
  padding: 1px 7px 2px 6px;
}

.pagination a:hover {
  background: none #F3DEDD;
  color: #BE0700;
  border: 1px solid #BE0700;
}

/* side */
.side-navi {
  ul {
    list-style: none;
  }

  .user__site {
    text-decoration: none;
    display: inline-block;
    height: 20px;
    margin-right: 6px;

    svg {
      height: 20px;
      width: 20px;
      color: #EAE7E0;
      fill: currentColor;
    }
  }
}

.side-navi .item {
  border-radius: 0 5px 5px 0;
  background: url("../images/bg-transparent.png") repeat scroll 0 0 transparent;
  border: 1px solid #999999;
  float: left;
  margin-top: 23px;
  padding: 25px 15px 15px;
  width: 250px;
  color: #EAE7E0;
}

.side-navi .item dd {
  margin-bottom: 25px;
}

.side-navi .item dd li {
  list-style-type: none;
  border-bottom: 1px solid #93908A;
  padding: 4px 0px 1px 6px;
  margin-left: 0px;
  overflow: hidden;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  color: #EAE7E0;
  position: relative;
  line-height: 21px;
}

.side-navi .item dd li:hover {
  background: url("../images/bg-transparent.png") repeat scroll 0 0 transparent;
  border-bottom: 1px solid #BAB8B5;
}

.side-navi .item dd li:hover a {
  color: #FFFFFF;
}

.side-navi .item dd li a {
  white-space: nowrap;
  color: #EAE7E0;
  text-decoration: none;
}

.side-navi .item .navi-tags img {
  cursor: pointer;
  height: 16px;
  left: 3px;
  position: absolute;
  top: 5px;
  width: 16px;
}

.side-navi .item dd .navi-tags a {
  padding-left: 18px;
}

.side-navi .item h4 {
  border-bottom: 1px solid #93908A;
  color: #EAE7E0;
  padding: 0 5px 8px;
  font-size: 16px;
}

/* footer */
.footer {
  background-image: url("../images/footer.png");
  color: #EAE7E0;
  height: 411px;
  padding: 21px 0 0 95px;
  width: 605px;
  margin-top: 40px;
  text-align: center;
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* side tool */
.side-tool {
  position: fixed;
  top: 30px;
  left: 0px;
}

.side-tool li {
  margin-left: 0px;
}

.side-tool ul {
  list-style-type: none;
}

.side-tool .page-icon {
  height: 14px;
  width: 14px;
}

#greyBG, #brownBG, #blueBG {
  background-position: -103px 0;
  display: block;
  height: 21px;
  margin: 3px 0;
  width: 21px;
  cursor: pointer;
}

#brownBG {
  background-position: -103px -26px;
}

#blueBG {
  background-position: -103px -52px;
}

#greyBG:hover, #greyBG.selected {
  background-position: -126px 0px;
}

#brownBG:hover, #brownBG.selected {
  background-position: -126px -26px;
}

#blueBG:hover, #blueBG.selected {
  background-position: -126px -52px;
}

#goTop {
  background-position: -105px -119px;
  cursor: pointer;
  height: 36px;
  margin-top: 9px;
  display: block;
  width: 22px;
}

#goTop:hover {
  background-position: -105px -74px;
}

.side-tool ul ul li a {
  background-position: right -159px;
  color: #EAE7E0;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: 86px;
  margin: 9px 0;
  overflow: hidden;
  padding: 1px 8px 1px 9px;
  text-align: center;
  text-decoration: none;
  width: 14px;
  word-wrap: break-word;
  text-transform: uppercase;
}

/* article */
.vditor-reset--article {
  padding-bottom: 20px;
  margin-top: 20px;

  &::-webkit-scrollbar {
    display: none;
  }
}

.article-relative {
  margin: 15px 0;
}

.article-relative h4 {
  font-family: '\5fae\8f6f\96c5\9ed1', Arial, Verdana;
  font-size: 16px;
}

.article-relative ul {
  list-style-type: none;
}

#randomArticles, .relevantArticles {
  width: 262px;
  overflow: hidden;
}

/* comments */
#comments {
  position: relative;
}

#comments, .comment-form {
  padding-bottom: 30px;
}

.comment-form {
  margin-right: 15px;
  color: #606060;
}

h2.comment-label {
  border-bottom: 2px solid #3F3D36;
  font-size: 24px;
  margin-bottom: 15px;
  margin-top: 30px;
  padding-bottom: 7px;
  color: #363636;
}

.comment-body {
  padding: 20px 0;
}

.comment-body:nth-child(2n) {
  background-color: #F1EEE9;
}

.comment-author {
  width: 100px;
}

.comment-info {
  margin-right: 12px;
  word-wrap: break-word;
  overflow: hidden;
  width: 423px;
}

.comment-info > a {
  font-size: 14px;
  font-weight: bold;
}

.comment-content {
  margin: 10px 0;
}

.comment-author img {
  width: 64px;
  height: 64px;
  border: 6px solid #F1EEE9;
  margin-left: 12px;
}

.comment-form img {
  cursor: pointer;
}

.comment-form input, .comment-form textarea {
  border-radius: 5px;
  background-color: #EBE9E5;
  border: 1px solid #BABAAE;
  font-family: \5fae\8f6f\96c5\9ed1;
  font-size: 12px;
  margin: 10px 0;
  padding: 10px;
  width: 400px;
  outline: none;
}

.comment-form input:focus, .comment-form textarea:focus {
  background-color: #E3EBCF;
  border-color: #73B722;
}

#commentValidate, #commentValidateReply {
  width: 80px;
}

.comment-form button {
  border-radius: 5px;
  border: 1px solid #80B53B;
  color: #355207;
  cursor: pointer;
  font-weight: bold;
  height: 34px;
  padding: 5px 10px;
  width: 140px;
}

.comment-body-ref {
  background: url("../images/bg-transparent.png") repeat scroll 0 0 transparent;
  padding: 12px 0;
  position: absolute;
  width: 537px;
  border: 1px solid #999999;
  border-radius: 5px;
  z-index: 10;
  left: 180px;
}

/* others */
#tagsPanel {
  min-height: 1px;
}

#tagsPanel a {
  display: block;
  float: left;
  border: 1px solid #d9d7d4;
}

#tagsPanel a:hover {
  border: 1px solid #BE0700;
}

#tags li {
  border-radius: 5px;
  background: url(../images/bg-transparent.png) repeat scroll 0 0 transparent;
  border: 1px solid #999999;
  float: left;
  list-style: none;
  line-height: 20px;
  padding: 3px 6px;
  margin: 0 12px 12px 0;

  a {
    text-decoration: none;
  }
}
