/* CSS Document */

/*
Add transition to containers so they can push in and out.
*/
#layout,
#menu,
.menu-link {
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.none {
    display: none;
}

.readall_box {
    position: relative;
    z-index: 9;
    padding: 0 0 25px;
    margin-top: -150px;
    text-align: center;
    z-index:1;
}

#read_more_mask {
    height: 150px;
    background: -webkit-gradient(linear,0 top,0 bottom,from(rgba(255,255,255,0)),to(#fff));
    background: -o-linear-gradient(bottom,rgba(255,255,255,.1),rgba(255,255,255,0)); }

.readall_box .btn_mod a {
    border: 1px solid #ca0c16;
    width: 12rem;
    height: 2.5rem;
    line-height: 2.5rem;
    display: inline-block;
    vertical-align: top;
    /*background-color: #FFFFF0;*/
}
.readall_box .btn_mod img {
    width: .9375rem;
    height: auto;
    margin: 1.0625rem 0 0 .3125rem;
    vertical-align: top;
}

.btn-gray-fred, .btn-gray-fred:focus, .btn-gray-fred:link, .btn-gray-fred:visited {
    font-size: 1rem;
    color: #ca0c16;
    background: #fff;
    border-radius: .25rem;
    border: 1px solid #de686d;
    line-height: 1.875rem;
}


body {
    -webkit-font-smoothing: antialiased;
    font-family: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
    /*background-color: #FFFFF0;*/
    /*background-color: #FAFAFA;*/
}



a {
    text-decoration: none;
    color: #000;
}
a:visited {
    color: #888;
}

ul, li {
    list-style-type: none;
}

/*下面是文章底部的点赞，踩等按钮*/
/*font-au参考 http://fontawesome.io/cheatsheet/*/

#footer_operation{
    box-sizing: border-box;
    min-width: 200px;
    max-width: 767px;
    margin: 0px auto auto auto;
    padding: 10px 20px;
}
#footer_operation .btn{
    width: 95px;
    height: 38px;
    line-height: 18px;
    margin: 0px 5px 0 5px;
    border: 1px solid rgba(236,97,73,.7);
    border-radius: 20px;
    font-size: 16px;
    color: #ea6f5a;
    background-color: transparent;
}

#footer_operation .btn-long{
    width: 105px;
    height: 38px;
    line-height: 18px;
    margin: 0px 5px 0 5px;
    border: 1px solid rgba(236,97,73,.7);
    border-radius: 20px;
    font-size: 14px;
    color: #ea6f5a;
    background-color: transparent;
}

#footer_operation .clicked{
    color: #fff;
    background-color: #ea6f5a;
}

.name-favorite-tip {
    color: gray;
    font-size: 8px;
}


#footer_operation .opration-btn{
    width: 350px;
    margin: 0 auto;
}


/*上面是文章底部的点赞，踩等按钮*/

/*下面是标签菜单样式*/
#tag-menu{
    box-sizing: border-box;
    min-width: 200px;
    max-width: 767px;
    margin: 60px auto auto auto;
    padding: 10px 20px;
}
#tag-menu .tag-btn{
    width: 90px;
    height: 32px;
    line-height: 16px;
    margin: 10px 5px 0 5px;
    border: 1px solid #444444;
    border-radius: 5px;
    font-size: 14px;
    color: #ea6f5a;
    background-color: transparent;
}

#tag-menu .tag-btn-long{
    width: 110px;
    height: 32px;
    line-height: 16px;
    margin: 10px 5px 0 5px;
    border: 1px solid #444444;
    border-radius: 5px;
    font-size: 14px;
    color: #ea6f5a;
    background-color: transparent;
}


#tag-menu .clicked{
    color: #fff;
    background-color: transparent;
}


#tag-menu .tag-btns-div{
    max-width: 767px;
    margin: 0 auto;
}

#tag-menu .selected{
    color: #fff;
    background-color: #ea6f5a;
    border-color: transparent;
}

/*上面是标签菜单样式*/


/*用于文章页 markdown内容*/
#infinite_scroll,
#related_articles_list,
.markdown-body {
    box-sizing: border-box;
    min-width: 200px;
    max-width: 767px;
    margin: 0px auto auto auto;
    padding: 10px 20px;
}


#aticle_list{
    box-sizing: border-box;
    min-width: 200px;
    max-width: 767px;
    margin: 0px auto auto auto;
    padding: 10px 20px;
}

.red-point{
    position: relative;
}

.figure_loading {
    height: 80px;
    line-height: 80px;
    text-align: center;
    color: #c8c8c8;
}

.favorite_tip{
    height: 22px;
    line-height: 22px;
    /*font-size: 22px;*/
    font-size: 1.125rem;
    font-weight: 500;
}
.favorite_tip:before{
    content: "";
    display: inline-block;
    float: left;
    width: 4px;
    height: 22px;
    margin-right: 10px;
    background-color: #FB4747;
}

#menu .pure-menu li a:hover,
#menu .pure-menu li a:focus {
    background: #474750;
    border-top: solid;
    border-bottom: solid;
    border-color: #A8A8A8;
    border-width: 1px;
}

#menu .pure-menu li a.selected{
    background: #474750;
    border-top: solid;
    border-bottom: solid;
    border-color: #A8A8A8;
    border-width: 1px;
}


.pure-menu-list {
    padding-top:50px;
}
.pure-menu-list a{
    color:#FFFFFF;
    font-family: "PingFang SC" ;
    font-size: 18px;
}

.pure-menu-link{
    padding-top: 10px;
    padding-bottom: 10px;
}

.pure-menu-heading{
    width:150px;
    height:80px;
    background:url(/static/image/logo.png) no-repeat;
    margin-left: 1.5em;
}

.menu-link {
    position: fixed;
    display: block; /* show this only on small screens */
    top: 0;
    right: 0; /* "#menu width" */
    /*background: #FFFFF0;*/
    font-size: 10px; /* change this value to increase/decrease button size */
    z-index: 10;
    width: 2em;
    height: auto;
    padding: 2.5em 1.6em;
    border-left: solid 1px gray;
}

.menu-link span {
    position: relative;
    display: block;
    height: 0.2em;
}

.menu-link span,
.menu-link span:before,
.menu-link span:after {
    background-color: #444444;
    width: 100%;
    height: 0.2em;
}

.menu-link span:before,
.menu-link span:after {
    position: absolute;
    margin-top: -0.6em;
    content: " ";
}

.menu-link span:after {
    margin-top: 0.6em;
}

#menu-search-button {
    position: fixed;
    display: block; /* show this only on small screens */
    top: -10px;
    right: 5em; /* "#menu width" */
    background: transparent;
    font-size: 10px; /* change this value to increase/decrease button size */
    z-index: 10;
    width: 5em;
    height: 3em;
    padding: 2.5em 1.6em;
    border: none;
}

#menu-search-button:before {
    content: "\f002";
    font-family: FontAwesome;
    font-size: 25px;
    color: #ea6f5a;
}

.red-point::before{
    content: " ";
    border: 3px solid red;
    border-radius:3px;
    position: absolute;
    z-index: 1;
    right: 0%;
    margin-right: -8px;
    margin-top: -1px;
}

.circle {
    width: 50px;
    height: 50px;
    background: #fff;
    -moz-border-radius: 25px;
    -webkit-border-radius: 25px;
    border-radius: 25px;
    border:solid;
    border-width:1.3px;
    border-color: black;
}

#like{
    margin: auto;
}


/**下面是普通页脚样式*/
.common-footer {
    /*position: relative;*/
    /*bottom: 0;*/
    font-size: 87.5%;
    border-top: 1px solid #eee;
    margin-top: 3.4286em;
    padding: 1.1429em;
    background: #FFFFF0;
    color: #A8A8A8;
}
.common-footer a{
    color: #A8A8A8;
}

.legal {
    line-height: 1.6;
    text-align: center;
    margin: 0 auto;
}

.legal-license {
    margin-top: 0;
}
.legal-links {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}
.legal-copyright {
    margin-top: 0;
    margin-bottom: 0;
}
/**上面是普通页脚样式*/




/*页码样式*/
ul.pagination {
    display: inline-block;
    padding-left: 20px;
    margin: 0;
}

ul.pagination li {
    display: inline-block;
    border: 1px solid #ababab;
    border-radius: 3px;
}

ul.pagination li a {
    margin: 0px 3px;
    color: black;
    float: left;
    padding: 8px 5px;
    text-decoration: none;

    /*width: 25px;*/
    /*max-width: 25px;*/
}
ul.pagination li.active {
    border: 1.5px solid forestgreen;
    color: forestgreen;
}

ul.pagination li a:hover:not(.active) {background-color: #ababab;}

ul.pagination li:hover:not(.active) {background-color: #ababab;}


#pagination{
    /*margin:1.2em ;*/
    max-width: 767px;
    margin: 1.5em auto auto auto;
}

#aticle_list{
    min-height: 450px;

}

.tb{
    /*background-color: #FFFFF0;*/
}

.prePage,
.nextPage{
    font-size: 85%;
}
/*页码样式结束*/


/* -- Responsive Styles (Media Queries) ------------------------------------- */
@media (min-width: 767px){
    #main,
    #layout {
        position: relative;
        padding-left:0px;
    }

    .menu-link{
        display: none;
    }

    #menu {
        margin-left: 0; /* "#menu" width */
        width: 190px;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 10000; /* so the menu or its navicon stays above all content */
        background: #3C3C44;
        overflow-y: auto;/*超过最大长度时出现下拉框*/
    }

    .pure-menu-heading{
        width:150px;
        height:80px;
        background:url(/static/image/logo.png) no-repeat;
        margin-left: 10em;
    }


    /*文章列表样式*/
    #aticle_list {
        padding: 0px 20px 0px;
        overflow: hidden;
    }

    .cell {
        padding: 18px 0 18px;
        display: -webkit-box;
        -webkit-box-orient: horizontal;
        -webkit-box-pack: inherit;
        -webkit-box-align: center;
        display: -moz-box;
        -moz-box-orient: horizontal;
        -moz-box-pack: inherit;
        -moz-box-align: center;
        display: box;
        box-orient: horizontal;
        box-pack: inherit;
        box-align: center;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        border-bottom: 1px solid #f0f0f0;
        font-size: 0px;
    }

    .cell {
        width: auto;
    }

    .cell .cell_left {
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        -ms-flex: 1;
        flex: 1;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-align-self: center;
        -ms-flex-item-align: center;
        align-self: center
    }

    .cell .pic-cover {
        position: relative;
        width: 20%;
        height: auto;
        padding-top: 21.4%;
        max-height: 112px;
        margin-left: 21px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 10px;
    }

    .cell .pic-cover:after {
        position: absolute;
        content: "";
        left: 0;
        top: 0;
        width: 200%;
        height: 200%;
        border: solid 1px rgba(0,0,0,.1);
        -webkit-transform: scale(.5);
        -ms-transform: scale(.5);
        transform: scale(.5);
        -webkit-transform-origin: 0 0;
        -ms-transform-origin: 0 0;
        transform-origin: 0 0;
        border-radius: 20px;
        box-sizing: border-box;
    }

    .title {
        font-size: 22px;
        line-height: 1.47;
        color: #3b3b3b;
        -webkit-font-smoothing: antialiased;
        font-weight: 700;
        text-overflow: -o-ellipsis-lastline;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .typeTagSpan {
        font-size: 12px;
        line-height: 1.5;
        color: #ff4f01;
        -webkit-font-smoothing: antialiased;
        font-weight: 600;
        overflow: hidden;
        text-overflow: ellipsis;
        /*display: block;*/
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        vertical-align: middle;
        text-align: center;
        border: 1px solid red;
        margin-right: 2px;
    }

    .articleDescription{
        color: #777;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        height: 3rem;
        overflow: hidden;
        font-size: 10px;
        font-family: 'KaiTi'!important;
        font-weight: 700;
        font-size: .75rem;
        padding: .5rem .875rem 0;
        line-height: 1.4;
    }

    .category {
        line-height: 1.0em;
        font-size: 11px;
        color: #ababab;
        margin-top: 25px;
    }
    .category span{
        display: inline;
        vertical-align: middle;
        margin-right: 6px;
    }
    .category img{
        display: inline-block;
        vertical-align: middle;
    }

    .tb {
        background: #fff;
    }

    /*文章列表样式结束*/

    .logo-image{
        padding-left: 200px;
    }

    .recommend-collection{
        margin-left: 40px;
    }
}


@media (max-width: 767px) {
    /* Only apply this when the window is small. Otherwise, the following
    case results in extra padding on the right:
        * Make the window small.
        * Tap the menu to trigger the active state.
        * Make the window large again.
    */
    /**下面是客服标签*/
    #YSF-BTN-HOLDER{
        right: 5px !important;
        opacity: 0.7 !important;
    }
    /**上面是客服标签*/

    #layout {
        position: relative;
        padding-right: 0;
    }
    #layout.active #menu {
        right: 150px;
        width: 150px;
    }

    #layout.active .menu-link {
        right: 150px;
    }

    #menu {
        margin-right: -150px; /* "#menu" width */
        width: 150px;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 10000; /* so the menu or its navicon stays above all content */
        background: #3C3C44;
        overflow-y: auto;/*超过最大长度时出现下拉框*/
        -webkit-overflow-scrolling: touch;
    }

    #layout.active {
        position: relative;
        right: 150px;
    }
    #mask.active{
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: #000;
        opacity: .3;
        z-index: 10000;
    }

    .pure-menu-heading{
        width:150px;
        height:80px;
        background:url(/static/image/logo.png) no-repeat;
        margin-left: 0.5em;
    }

    /*文章列表样式*/
    #aticle_list {
        padding: 0px 20px 0px;
        overflow: hidden;
    }

    .cell {
        padding: 18px 0 18px;
        display: -webkit-box;
        -webkit-box-orient: horizontal;
        -webkit-box-pack: inherit;
        -webkit-box-align: center;
        display: -moz-box;
        -moz-box-orient: horizontal;
        -moz-box-pack: inherit;
        -moz-box-align: center;
        display: box;
        box-orient: horizontal;
        box-pack: inherit;
        box-align: center;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        border-bottom: 1px solid #f0f0f0;
        font-size: 0px;
    }

    .cell {
        width: auto;
    }

    .cell .cell_left {
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        -ms-flex: 1;
        flex: 1;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-align-self: center;
        -ms-flex-item-align: center;
        align-self: center
    }

    .cell .pic-cover {
        position: relative;
        width: 25.1%;
        height: auto;
        padding-top: 15.4%;
        max-height: 112px;
        margin-left: 20px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 10px;
    }

    .cell .pic-cover:after {
        position: absolute;
        content: "";
        left: 0;
        top: 0;
        width: 200%;
        height: 200%;
        border: solid 1px rgba(0,0,0,.1);
        -webkit-transform: scale(.5);
        -ms-transform: scale(.5);
        transform: scale(.5);
        -webkit-transform-origin: 0 0;
        -ms-transform-origin: 0 0;
        transform-origin: 0 0;
        border-radius: 10px;
        box-sizing: border-box;
    }

    .title {
        font-size: 17px;
        line-height: 1.47;
        color: #3b3b3b;
        -webkit-font-smoothing: antialiased;
        font-weight: 700;
        text-overflow: -o-ellipsis-lastline;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .typeTagSpan {
        font-size: 12px;
        line-height: 1.5;
        color: #ff4f01;
        -webkit-font-smoothing: antialiased;
        font-weight: 600;
        overflow: hidden;
        text-overflow: ellipsis;
        /*display: block;*/
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        vertical-align: middle;
        text-align: center;
        border: 1px solid red;
        margin-right: 2px;
    }

    .articleDescription{
        color: #777;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        height: 3.4rem;
        overflow: hidden;
        font-size: 10px;
        font-family: 'KaiTi'!important;
        font-weight: 700;
        font-size: .75rem;
        padding: .5rem .875rem 0;
        line-height: 1.4;
    }

    .category {
        line-height: 1.0em;
        font-size: 11px;
        color: #ababab;
        margin-top: 15px;
    }
    .category span{
        display: inline;
        vertical-align: middle;
        margin-right: 6px;
    }
    .category img{
        display: inline-block;
        vertical-align: middle;
    }

    .tb {
        background: #fff;
    }

    #footer_operation,
    #infinite_scroll{
        padding: 0px 20px 0px;
        overflow: hidden;
        margin-top: 1em;
    }

    /*文章列表样式结束*/

    /*下面是文章底部按钮样式*/

    #footer_operation .opration-btn{
        width: 280px;
        margin: 0 auto;
    }

    #footer_operation .btn{
        width: 75px;
        height: 38px;
        line-height: 20px;
        margin: 0px 5px 0 5px;
        border: 1px solid rgba(236,97,73,.7);
        border-radius: 20px;
        font-size: 14px;
        color: #ea6f5a;
        background-color: transparent;
    }

    #footer_operation .btn-long{
        width: 90px;
        height: 38px;
        line-height: 21px;
        margin: 0px 5px 0 5px;
        border: 1px solid rgba(236,97,73,.7);
        border-radius: 20px;
        font-size: 13px;
        color: #ea6f5a;
        background-color: transparent;
    }

    #footer_operation .clicked{
        color: #fff;
        background-color: #ea6f5a;
    }
    /*上面是文章底部按钮样式*/

}
/*侧边栏菜单icons样式*/
i.menuicon{
			position:absolute;
			right:15px;
			}

/*标题栏样式
*/
#layout-header{
	top:0px;
	height:55px;
	/*background:#FFFFF0;*/
	padding:3px;
	margin: 0; 
  	border-bottom: 1px solid #B6C9D8;
	}
.logo-image{
    max-height: 45px;
}
.shadow {
    -moz-box-shadow: 1px 1px 1px #B6C9D8;
    -webkit-box-shadow: 1px 1px 1px #B6C9D8;
    box-shadow: 1px 1px 1px #B6C9D8;
    /* For IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')";
    /* For IE 5.5 - 7 */
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000');
}


 /*不带解释名字列表样式 start*/
 .listbox1_text ul {
     text-align: center;
     font-size: 0;
 }
.listbox1_text ul, .listbox1_text li {
    list-style-type: none !important;
    margin: 0 !important;
}
.article_content ol, .article_content ul {
    margin: 0 0 1.5rem;
    padding: 0;
}
.listbox1_text li {
    font-size: 1.125rem;
    width: 23%;
    height: 2.25rem;
    line-height: 2.25rem;
    display: inline-block;
    vertical-align: top;
    text-align: left;
}

.listbox2_text ul {
    text-align: center;
    font-size: 0;
}
.listbox2_text ul, .listbox2_text li {
    list-style-type: none !important;
    margin: 0 !important;
}

.listbox2_text li {
    font-size: 1rem;
    width: 49%;
    height: 2.25rem;
    line-height: 2.25rem;
    display: inline-block;
    vertical-align: top;
    text-align: left;
}

/*不带解释的英文名样式*/
.english_listbox_text ul {
    text-align: center;
    font-size: 0;
}
.english_listbox_text ul, .english_listbox_text li {
    list-style-type: none !important;
    margin: 0 !important;
}
.english_listbox_text ol, .english_listbox_text ul {
    margin: 0 0 1.5rem;
    padding: 0;
}
.english_listbox_text li {
    font-size: 1.125rem;
    width: 98%;
    height: 2.25rem;
    line-height: 2.25rem;
    display: inline-block;
    vertical-align: top;
    text-align: left;
}
/*不带解释名字列表样式 end*/


/* 灰色分隔栏 start*/
.hr {
    height: .8125rem;
    background: #f8f8f8;
}
.hr {
    height: .8125rem;
    background: #f8f8f8;
    border: solid #e5e5e5;
    border-width: 1px 0;
}
/* 灰色分隔栏 end*/