/* 
* author：吃猫的鱼
* blog：https://www.fish9.cn/
* date：2023.8.6
*/

hr {
    margin: 3px;
    border-style: dotted;
    color: #8194db;
}



.widget_title div {
    color: rgb(0, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: var(--simple_write_theme_color);
}

.side_card {
    margin-bottom: 11px;
    padding: 12px;
}

/* 矢量图标开始 */
#search_icon {
    background-image: url("../svg/search.svg");
    background-size: cover;
    background-repeat: no-repeat;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

#comment_icon {
    background-image: url("../svg/comment.svg");
    background-size: cover;
    background-repeat: no-repeat;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

#classify_icon {
    background-image: url("../svg/classify.svg");
    background-size: cover;
    background-repeat: no-repeat;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

#new_article_icon {
    background-image: url("../svg/newArticle.svg");
    background-size: cover;
    background-repeat: no-repeat;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

#new_icon {
    background-image: url("../svg/new.svg");
    background-size: cover;
    background-repeat: no-repeat;
    display: inline-block;
    width: 35px;
    height: 20px;
}

#hot_title_icon {
    background-image: url("../svg/hotTitle.svg");
    background-size: cover;
    background-repeat: no-repeat;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

#hot_icon {
    background-image: url("../svg/hot.svg");
    background-size: cover;
    background-repeat: no-repeat;
    display: inline-block;
    width: 20px;
    height: 20px;
}

#tag_icon {
    background-image: url("../svg/tag.svg");
    background-size: cover;
    background-repeat: no-repeat;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 5px;
}


#friend_icon {
    background-image: url("../svg/friendLink.svg");
    background-size: cover;
    background-repeat: no-repeat;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

#self_info_icon {
    background-image: url("../svg/self-info.svg");
    background-size: cover;
    background-repeat: no-repeat;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

/* 开始评论框 */
.comment_card {
    display: flex;
    flex-direction: column;
    /* border: 1px solid; */
    padding: 5px;
}

.comment_head {
    display: flex;
}

.comment_card .comment_head .user_img img {
    border-radius: 50%;
    width: 36px;
    height: 36px;
    border: 1px solid #8194db;
    padding: 3px;
    margin: 5px 0px 0px 5px;
}

.comment_card .comment_head .user_comment_info {
    display: flex;
    flex-direction: column;
}

.comment_card .comment_head .user_comment_info .user_name {
    font-weight: bold;
    color: #a2a8bd;
    margin-left: 8px;
    font-size: 17px;
    padding-top: 6px;
}

.comment_card .comment_head .user_comment_info .comment_date {
    font-weight: normal;
    color: #a2a8bd;
    margin-left: 8px;
    font-size: 12px;
    line-height: 18px;
}

.comment_card .comment_body .comment_contain {
    position: relative;
    background-color: #f2f6fc;
    border-radius: 6px;
    padding: 5px 10px;
}

.comment_card .comment_body .comment_contain a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    font-size: 13px;
    font-weight: 500;
    color: black;
    line-height: 24px;
    transition: all 0.35s;
    max-height: 48px;
}

.comment_card .comment_body .comment_contain a:hover {
    color: var(--simple_write_theme_color);
}

/* 开始搜索框 */
.side_search .search_input {
    display: flex;
    flex-direction: row;
    margin-top: 12px;


}

.side_search .search_input .search_input_key {
    margin: 0 auto;
    width: 100%;
    font-size: 16px;
    height: 28px;
    padding: 0px;
    padding-left: 12px;
    padding-right: 8px;
    border-radius: 5px;
    border: 1px solid #8194db;
    margin-right: 7px;
}

.side_search .search_input .search_input_key:focus {

    outline: none;
    border: 1px solid var(--simple_write_theme_color);
    box-shadow: 0 0 5px var(--simple_write_theme_color);
    /* 可选，添加阴影效果 */
}

.search_input_sub {
    margin: 0 auto;
    width: 56px;
    height: 29px;
    border-radius: 5px;
    border: 1px solid var(--simple_write_theme_color);
    background-color: var(--simple_write_theme_color);
    color: #f2f6fc;
}

/* 侧边分类开始 */
.category_body {
    display: flex;
    flex-direction: column;
}

.category_body .category_box {
    /* display: block; */
    margin-top: 10px;
    border: 1px solid black;
    border-color: transparent transparent transparent var(--simple_write_theme_color);
    padding-left: 5px;
    border-width: 3px;
    font-size: 14px;
    font-weight: bolder;
    color: #7e808a;
}

.category_body .category_box:hover {
    color: var(--simple_write_theme_color);
}


.category_body .category_box span {
    background-color: var(--simple_write_theme_color);
    padding: 1px 5px;
    margin-left: 8px;
    color: #ffffff;
    font-size: 12px;
    border-radius: 4px;
    float: right;
}





.category_body .category_box_child {
    /* display: block; */
    margin-left: 18px;
    margin-top: 10px;
    border: 1px solid black;
    border-color: transparent transparent transparent var(--simple_write_theme_color);
    padding-left: 5px;
    border-width: 3px;
    font-size: 14px;
    font-weight: bolder;
    color: #7e808a;
}

.category_body .category_box_child:hover {
    color: var(--simple_write_theme_color);
}

.category_body .category_box_child span {
    background-color: var(--simple_write_theme_color);
    padding: 1px 5px;
    margin-left: 8px;
    color: #ffffff;
    font-size: 12px;
    border-radius: 4px;
    float: right;
}



/* 侧边最新文章开始 */
.new_article_card .new_article_list {
    display: flex;
    flex-direction: column;
    padding: 6px;
}

.new_article_card .new_article_list .new_article_box {
    background-color: #ffffff00;
    display: flex;
    flex-direction: row;
    margin-bottom: 5px;
    border-radius: 4px;
    padding: 5px 5px 5px 5px;
}

.new_article_card .new_article_list .new_article_box .new_article_left {
    display: flex;
    justify-content: center;


}

.new_article_card .new_article_list .new_article_box .new_article_right {

    height: 9px;
}

.new_article_card .new_article_list .new_article_box .new_article_right a {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: gray;
    margin-left: 4px;
    font-size: 16px;
    font-weight: bolder;
    font-family: 'JinBuTi', sans-serif;
    line-height: 18px;
    transition: all 0.35s;
}

.new_article_card .new_article_list .new_article_box .new_article_right a:hover {
    color: var(--simple_write_theme_color);
    margin-left: 4px;
    font-size: 15px;
    cursor: pointer;
}

/* 侧边热门文章开始 */
.hot_article_card .hot_article_list {
    display: flex;
    flex-direction: column;
    padding: 6px;
}

.hot_article_card .hot_article_list .hot_article_box {
    background-color: #ffffff00;
    display: flex;
    flex-direction: row;
    margin-bottom: 5px;
    border-radius: 4px;
    padding: 5px 5px 5px 5px;
}

.hot_article_card .hot_article_list .hot_article_box .hot_article_left {
    display: flex;
    justify-content: center;


}

.hot_article_card .hot_article_list .hot_article_box .hot_article_right {

    height: 9px;
}

.hot_article_card .hot_article_list .hot_article_box .hot_article_right a {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #e5a329;
    margin-left: 4px;
    font-size: 16px;
    font-weight: bolder;
    font-family: 'JinBuTi', sans-serif;
    line-height: 18px;
    transition: all 0.35s;
}

.hot_article_card .hot_article_list .hot_article_box .hot_article_right a:hover {
    color: #e8584e;
    margin-left: 4px;
    font-size: 15px;
    cursor: pointer
}


/* 友情链接开始 */

.link_body {

    display: block;
}

.link_body .each_link {
    display: inline-block;
    text-align: center;
    width: 48%;
    margin-top: 8px;
    padding: 5px 0;
    border: 1px solid var(--simple_write_theme_color);
    border-radius: 5px;
    transition: all 0.35s;
}

.link_body a {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--simple_write_theme_color);
    margin: 0 auto;
    transition: all 0.35s;
}

.link_body .each_link:hover {
    background-color: var(--simple_write_theme_color);
}

.link_body .each_link:hover a {
    color: #ffffff;
}

/* 博客主要信息展示 */

#blogger_list li {
    display: flex;
    justify-content: space-between;
    /* 左右对齐 */
    margin-bottom: 5px;
    height: 28px;
}

.self_bloger_left {
    order: 1;
    line-height: 18px;
    background-color: var(--under_logo_nav_color);
    color: var(--under_logo_nav_hover);
    padding: 4px;
    font-weight: 600;
    border-radius: 5px;
    margin-left: 5px;
    margin: 2px;
    font-size: 12px;
    cursor: pointer;
}

.self_bloger_right {
    order: 2;
    line-height: 18px;
    padding: 3px;
    margin: 3px;
    background-color: rgb(158, 158, 158);
    color: white;
    border-radius: 5px;
    margin-right: 5px;
    font-size: 12px;
    cursor: pointer;
}