/*
*Theme Name:tmt_moon
*Description: 月球人主题，一个简单的单栏Zblog博客主题
*Author: 佐语
*Website: https://www.plan.zuoyv.com/
*Mail: bob.cy@qq.com
*Version: 1.0
*/
@charset "utf-8";
@import url(fonts/iconfont.css);

* {
    margin: 0;
    padding: 0
}

html {
    height: 100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
    display: block;
}

div,
html,
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
select,
p,
blockquote,
th,
td,
hr,
button,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
main {
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #e0f4f1;
    color: #333;
    font: 16px/1.75em Arial, "Microsoft Yahei", "Lucida Grande";
    overflow-x: hidden;
    width: 100%;
}

table {
    background-color: transparent;
    border-spacing: 0;
    border-collapse: collapse;
    font-size: 16px;
    width: 100%;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    box-sizing: border-box;
}

table th {
    background-color: #f8f8f8;
    text-align: center;
    box-sizing: border-box;
}

table td,
table th {
    padding: 10px;
    border: 1px solid #ddd;
    box-sizing: border-box;
}

button,
select,
input,
textarea {
    background: none;
    border: none;
    border-radius: 0;
    -webkit-border-radius: 0;
    color: #333;
    outline: none;
    -webkit-appearance: none;
}

input:focus {
    outline: none;
}

textarea {
    resize: none;
}

img {
    border: 0;
    display: block
}

ul,
li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #333;
}

a:hover {
    color: #000;
    text-decoration: none;
}

.clear {
    clear: both;
    width: 100%;
    overflow: hidden;
}

.inner {
    width: 70%;
    margin: 0 auto;
}
.fl{ float: left;} .fr{ float: right;} 

mark {
    display: none;
}

/*页眉*/
header {
    position: relative;
    flex: 0 0 auto;
}

.wrapper {
    flex: 1 0 auto;
}

footer {
    flex: 0 0 auto;
}


.logo {float: left;}
.logo a{ color: #333; max-height: 40px; line-height: 40px; display: block; font-size: 0; margin: 14px 0;transition: all 0.3s ease 0s;}
.logo a img{max-height: 40px;vertical-align: middle;}
/*logo结束*/
/*导航*/
.header{ width: 100%; z-index: 999;background: #fff;box-shadow: 0 0 10px rgba(0, 0, 0, 0); border-bottom: 1px solid #ebebeb;top: 0;}
.header .inner{ padding:0 12px;}
.navBar .nav { height: 68px; transition: all 0.3s ease 0s;}
.navBar .nav li{float: left;font-size: 14px; height:68px;line-height: 68px;position: relative;transition: all 0.3s ease 0s; position:relative;}
.navBar .nav li a{ display: block; padding: 0 25px; font-size: 14px;}
.navBar .nav li a:hover{color:#00a389;}
.navBar .nav li a.active{color: #00a389}
.navBar .nav li>ul{ display:none; position:absolute; top:88px; left:0;min-width:120%;transition: all 0.3s ease 0s;background: #00a389;
    border-radius: 10px}
.navBar .nav ul:after {
    content: "";
    width: 0;
    height: 0;
    margin: -20px 0 0 0;
    border: 10px solid transparent;
    border-bottom-color: #00a389;
    position: absolute;
    top: 0;
    left: 40px;
    z-index: 3;
}
.navBar .nav li>ul li{min-width:100%;height:42px; display:block; text-align:center;}
.navBar .nav li>ul li a{ color:#fff; min-width:100%; padding:0;height:42px;line-height:42px;}
.navBar .nav li>ul li a:hover{color:#e0f4f1;}
.navBar .nav li:hover>ul{ display:block; top:68px;}
.nav .active a{color: #00a389}
#mnav,.nav-btn{ display:none}


/*导航结束*/

/*搜索*/
.search {
    position: relative;
    overflow: hidden;
}

.search input.input_submit {
    border: 0;
    color: #fff;
    outline: none;
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    font-size: 15px;
    height: 36px;
    background: #424241;
    line-height: 36px;
    cursor: pointer;
}

.search input.input_text {
    border: 0;
    line-height: 36px;
    height: 36px;
    font-size: 14px;
    outline: none;
    text-indent: 1em;
}

.search-btn {
    float: right;
}

.search-btn i {
    display: block;
    font-size: 20px;
    padding: 20px;
}

.search-page {
    width: 300px;
    right: 160px;
    background: #fff;
    position: absolute;
    top: 69px;
    z-index: 8;
    display: none;
    padding: 10px 10px;
    background: #00a389;
    border-radius: 5px;
}

.search-page .search {
    clear: both;
    margin: auto;
    border-radius: 5px;
    background: #fff;
}

.search-page .search input.input_text {
    width: 80%;
    float: left;
    z-index: 9;
}

.search-page .search input.input_submit {
    width: 20%;
}
/*搜索结束*/

/*main*/
.main {
    width: 90%;
    margin: 10px auto
}

.blogs_list {
    overflow: hidden;
    position: relative;
    transition: all .8s;
    padding: 20px;
    background: #fff;
    margin-bottom: 20px;
    border-radius: 5px;
}

.blogs_list .post_listimg {
    display: block;
    width: 180px;
    height: 180px;
    background: #ccc;
    overflow: hidden;
    float: left;
    margin-right: 20px;
    border-radius: 10px;
}

.blogs_list .post_listimg img {
    width: 100%;
    min-height: 100%;
    transition: all .6s;
}

.blogs_list h2 {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 10px 0;
    line-height: 28px;
    font-size: 20px;
}

.blogs_list h2 span {
    font-size: 14px;
    color: #ffffff;
    margin-right: 5px;
    background: #00a389;
    padding: 0 5px;
    border-radius: 3px;
    display: inline-block;
}

.blogs_list p {
    color: #808595;
    font-size: 14px;
    line-height: 24px;
    word-break: break-all;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
}

.blogs_list:hover {
    box-shadow: 0px 12px 8px -12px #c0bebe;
}

.blogs_list h2:hover {
    color: #00a389;
}

.blogs_list img:hover {
    transform: scale(1.1);
}

.list_footer {
    color: #999;
    font-size: 14px;
    margin: 30px 0 0 0;
    line-height: 24px;
}

.list_footer a {
    color: #999;
}

.list_footer span {
    padding-left: 20px;
    line-height: 24px;
    display: block;
    float: left;
}

.list_footer span i {
    font-size: 16px;
    font-weight: bold;
}

.stick {
    position: absolute;
    top: 4px;
    right: -28px;
    width: 80px;
    margin-left: 10px;
    padding: 2px 6px;
    transform: rotate(45deg);
    text-align: center;
    color: #fff;
    border-radius: 3px;
    background-color: #00a389;
    font-size: 12px;
    line-height: 30px;
}
/*main结束*/

/*页脚*/
footer {
    padding: 30px 0;
    width: 100%;
    overflow: hidden;
    text-align: center;
    color: #fff;
    background: #333;
}

.copyright {
    font-size: 14px;
    overflow: hidden;
    line-height: 30px;
    color: #fff;
}

footer a {
    color: #fff;
}

footer a:hover {
    text-decoration: underline;
    color: #00a389
}

/*页脚结束*/

/*返回顶部*/
.gotop {
    position: fixed;
    bottom: 40px;
    right: 20px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: #00a389;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    z-index: 999;
}

/*面包屑*/
.breadcrumb {
    color: #333;
    margin: 10px 0 20px;
    font-size: 14px
}

.breadcrumb a {
    color: #333;
}

/*分页条*/
.pagination {
    font-size: 0;
    line-height: normal;
    text-align: center;
    clear: both;
    margin: 20px 0
}

.pagination ul li {
    display: inline;
}

.pagination ul li a {
    margin: 3px 5px 3px 0;
    padding: 7px 14px;
    background-color: #FFF;
    border: 1px solid #ddd;
    font-size: 12px;
    color: #666;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .03);
}

.pagination ul li:hover a {
    color: #ffffff;
    background-color: #00a389;
    border: 1px solid #00a389;
}

.pagination ul li.active a {
    color: #ffffff !important;
    background-color: #00a389;
    border: 1px solid #00a389;
}

.pagination ul li span {
    background-color: #ffffff;
    cursor: default;
    margin: 3px 5px 3px 0;
    float: left;
    padding: 7px 14px;
    border: 1px solid #ddd;
    font-size: 12px;
    color: #666;
    border-radius: 8px;
}
/*分页条*/

/*文章页面*/
article {
    background: #fff;
    padding: 20px;
    margin: 0px 0 20px 0px;
    border-radius: 5px;
}

article h1 {
    color: #001737;
    font-size: 24px;
    margin: 10px 0 20px 0;
    text-align: center;
}

.poatmeta {
    font-size: 12px;
    line-height: 28px;
    color: #808595;
    margin-bottom: 30px;
    border-bottom: #dbdbdb 1px dashed;
    text-align: center;
}

.poatmeta span {
    margin: 0 20px 0 0
}

.poatmeta a {
    color: #808595;
}

.content {
    font-size: 16px;
    line-height: 32px;
    word-break: break-all;
    position: relative;
    margin-top: -16px;
    padding-bottom: 16px;
}

.content p {
    margin: 10px 0;
    text-indent: 2em;
}

.content ul,
.content ol {
    margin: 20px 0 20px 35px;
}

.content ul li,
.content ol li {
    margin-top: 3px;
    line-height: 30px;
}

.content ul li {
    list-style-type: disc;
}

.content ol li {
    list-style-type: decimal;
}

.content h1 {
    font-size: 28px;
    text-align: left;
}

.content h2 {
    font-size: 24px
}

.content h2 {
    font-size: 20px
}

.content h3 {
    font-size: 18px
}

.content h4 {
    font-size: 16px
}

.content h5 {
    font-size: 14px
}

.content h6 {
    font-size: 14px
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
    position: relative;
    padding-left: 14px;
    margin: 20px 0;
    text-indent: 1em;
}

.content img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    margin: 10px auto;
}

/*文章页面*/

/*文章页标签tags*/
.tags {
    margin: 30px 0;
    font-size: 16px;
    background-size: 24px;
    color: #00a389;
    text-align: center;
}

.tags a {
    color: #00a389;
    border: 1px solid #00a389;
    display: inline-block;
    font-size: 14px;
    padding: 0px 15px;
    margin: 5px;
    border-radius: 5px;
    transition: all .2s;
}

.tags a:hover {
    background: #00a389;
    color: #fff;
    border: 1px solid #00a389;
}

/*文章页上下篇导航info-pre-next*/
.info-pre-next {
    line-height: 34px;
    margin-bottom: 20px;
    overflow: hidden;
}

.info-pre-next p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 45%;
    float: left;
}

.info-pre-next p:nth-child(2) {
    text-align: right;
    float: right;
}

.info-pre-next a {
    margin-left: 10px;
    font-weight: bold;
}

/*相关文章relatepost*/
.relatepost {
    background: rgba(255, 255, 255, .9);
    border-radius: 5px;
    overflow: hidden;
    padding: 15px;
    margin: 20px 0 20px 0px;
}

.relatepost .h_title {
    padding-bottom: 15px;
    padding-left: 25px;
    margin-top: 20px;
    position: relative;
    z-index: 9;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.relatepost .h_title h2 {
    font-size: 16px;
    color: #333;
    margin-right: 16px;
    display: inline-block;
    vertical-align: bottom;
}

.relatepost .h_title:before {
    content: '';
    position: absolute;
    width: 5px;
    height: 16px;
    left: 10px;
    top: 4px;
    z-index: -1;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, 0%);
    background-color: #00a389;
    border-radius: 16px;
}

.relatepost p {
    width: 88px;
    height: 25px;
    background: #012684;
    font-size: 16px;
    color: #fff;
    line-height: 25px;
    text-align: center;
    margin-top: 20px;
}

.relatepost ul {
    overflow: hidden;
    margin: 10px 0 10px;
    padding: 0 10px;
}

.relatepost ul li {
    position: relative;
    margin-bottom: 12px;
    list-style: none;
}

.relatepost ul li:before {
    position: absolute;
    content: '';
    width: 6px;
    height: 6px;
    left: 0;
    top: 6px;
    border-radius: 50%;
    background: #00a389;
}

.relatepost ul li a {
    display: block;
    margin: 0 30px;
}

.relatepost ul li a:hover {
    color: #00a389
}

/* 评论部分msg start */
ul.msg {
    width: 100%;
    margin: 10px 0 0px 0;
    padding: 5px 0px;
    table-layout: fixed;
    list-style-position: outside;
    text-align: left;
    word-wrap: break-word;
    border-radius: 5px;
}

.h_title,
.posttop {
    padding-left: 25px;
    margin-top: 20px;
    position: relative;
    z-index: 9;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.h_title h2,
.posttop h2 {
    font-size: 16px;
    color: #333;
    margin-right: 16px;
    display: inline-block;
    vertical-align: bottom;
}

.h_title:before,
.posttop:before {
    content: '';
    position: absolute;
    width: 5px;
    height: 16px;
    left: 10px;
    top: 4px;
    z-index: -1;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, 0%);
    background-color: #00a389;
    border-radius: 16px;
}

.tbname {
    padding-left: 20px;
    border-left: 5px solid #00a389;
    border-radius: 5px;
    background: #f6f7fa;
    font-size: 16px;
    /* line-height: 35px;*/
}

li.msgname {
    display: flex;
    align-items: center;
    color: #9ca0ad;
    font-size: 14px;
    margin-left: 10px;
}

li.msgname .msgNameRight {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

li.msgname a {
    color: #9ca0ad;
}

li.msgurl {
    margin: 0;
    padding: 2px 10px 2px 10px;
    text-align: right;
    font-size: 1em;
}

img.avatar {
    float: left;
    width: 40px;
    height: 40px;
    margin-right: 15px;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, .1);
}

.commentname {
    float: left;
}

.msginfo {
    margin-top: 10px;
    padding: 10px 20px 20px;
    background-color: #e0f4f1;
    line-height: 30px;
    border-radius: 5px;
}

.msgcon {
    margin: 20px 0 20px 0px;
    padding: 15px;
    border-radius: 5px;
    background: rgba(255, 255, 255, .9);
}

#txaArticle {
    width: 100%;
    margin-top: 10px;
    transition: all .35s ease 0s;
    border: 1px solid rgba(227, 229, 236, .4);
    border-radius: 5px;
    background: #e0f4f1;
    line-height: 30px;
}

#inpName,
#inpEmail,
#inpHomePage {
    width: 100%;
    height: 30px;
    transition: all .35s ease 0s;
    border: 1px solid rgba(227, 229, 236, .4);
    border-radius: 5px;
    background: #e0f4f1;
    line-height: 30px;
}

.verifyinput {
    float: left;
}

#inpVerify {
    width: 100%;
    height: 30px;
    transition: all .35s ease 0s;
    border: 1px solid rgba(227, 229, 236, .4);
    border-radius: 5px;
    background: #e0f4f1;
    line-height: 30px;
}

.verify img {
    float: left;
    margin-left: 5px
}

.msgcon .button {
    height: 35px;
    margin-top: 10px;
    padding: 0 20px;
    cursor: pointer;
    transition: 0.3s ease-out;
    text-align: center;
    white-space: nowrap;
    opacity: .9;
    color: #fff;
    border: 0;
    border-radius: 20px;
    background-color: #00a389;
    font-size: 14px;
    line-height: 35px;
}

.msgarticle {
    color: #666;
    padding-bottom: 3px;
    min-height: 30px;
    margin-left: 40px;
    margin-right: 10px;
    text-align: justify;
}

.msg {
    border: 1px solid #eee;
}

.msghead {
    border: none;
}

/* msg END */

/*移动端*/
@media only screen and (max-width: 1200px) {
    .inner {
        width: 1000px;
    }
}

@media screen and (min-width: 960px) and (max-width: 1024px) {
    .inner {
        width: 940px;
    }

    .nav li a {
        padding: 0 10px
    }

    .menu:after {
        right: 0
    }

    .main {
        width: 68%;
    }
}

@media only screen and (max-width: 959px) {
    .inner {
        width: 96%
    }


    .header{ position:inherit; height:46px; padding:0; }
    .header .inner{ padding:0;}
    .logo a{ height:35px; line-height:35px; margin:4px 0; padding-left:10px;}
    .logo a img{max-height: 35px;}
    #mnav{width:100%; background:rgba(255,255,255,0.95); position:absolute; top:46px; z-index:999;}
    #mnav li{ line-height:28px;}
    #mnav li>ul>li{text-indent: 15px;}
    #mnav li a{ padding:3px 10px; display:block; border-bottom:1px solid #ededed}
    #mnav li a:hover{ background:#00a389; color:#fff;}
    .navBar{display:none}
    .navBtn{width:20px;height:20px;position:absolute;right:15px;top:24px;margin-top:-10px;cursor:pointer;display:block;z-index:10;}
    .navBtn span{position:absolute;left:0;top:50%;margin-top:-0.5px;width:100%;height:1px;background-color:#000;}
    .navBtn span:before,.navBtn span:after{content:'';display:block;width:100%;height:1px;background-color:#000;position:absolute;left:0;}
    .navBtn span:before{top:-8px;}
    .navBtn span:after{bottom:-8px;}
    .search-btn {
        background: none;
        top: 10px;
    }

    .search-page {
        top: 60px;
        right: 0;
        width: 100%;
        border-radius: 0;
    }

    .search-btn i {
        position: absolute;
        border-radius: 4px;
        top: 12px;
        right: 0px;
        margin-right: 40px;
        line-height: 28px;
        font-size: 1.5em;
        font-weight: 100;
        cursor: pointer;
        color: #666;
        padding: 0px 15px;
    }

    .main {
        width: 100%;
        margin: 10px 0;
    }
    .list_footer{display: none;}

}

@media only screen and (max-width: 768px) {
    .breadcrumb {
        padding-left: 0;
        font-size: 14px;
        margin-top: 10px;
    }

    .relatepost {
        margin: 20px 0;
    }

    .blogs_list .post_listimg {
        width: 40%;
        height: 40%;
    }
}

@media only screen and (max-width: 640px) {
    h2.h_title {
        font-size: 18px;
    }

    .relatepost ul li {
        width: 100%
    }
}

@media only screen and (max-width: 480px) {
    .search-page .search {
        width: 100%;
    }

    .search-page {
        right: 0px;
        top: 47px;
        width: 96%;
    }

    .blogs_list {
        padding: 15px;
        margin: 0 0 10px 0;
    }

    .blogs_list i {
        width: 90px;
        height: 68px;
        margin: 0 10px 10px 0
    }

    .blogs_list h2 {
        font-size: 15px;
        white-space: inherit;
        line-height: inherit;
        text-overflow: ellipsis;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        margin: 10px 0;
    }

    .poatmeta span {
        margin: 0 5px 0 0
    }

    .info-pre-next p,
    .info-pre-next p:nth-child(2) {
        width: 100%;
        float: none;
        text-align: left
    }

    .relatepost ul li a {
        margin: 0 15px;
    }

    article {
        padding: 15px;
        margin: 0;
    }

    .relatepost ul li span {
        left: 148px;
    }

    footer {
        margin-top: 20px
    }
}