@media(max-width:767px) {

html {
    font-size: 16px;
}

#sidebar {
    float: left;
    margin:0;
    width: 100%;
}

#sidebar section {
    width: 100%;
}

.pc-only {
    display: none;
}

.mobile-only {
    display: block;
}

.container {
    margin:0 .5rem;
}

#mobile-nav {
    padding-top: 1rem;
    top:-200%;
    display: block;
    width: 100%;
    color: #fff;
    position: absolute;
    background: rgba(0, 41, 60, 0.93);
    z-index: 9999;
    will-change: top;
    transition: all 1s cubic-bezier(0, 1, 0, 1);
    -moz-transition: all 1s cubic-bezier(0, 1, 0, 1); /* Firefox 4 */
    -webkit-transition: all 1s cubic-bezier(0, 1, 0, 1); /* Safari 和 Chrome */
    -o-transition: all 1s cubic-bezier(0, 1, 0, 1); /* Opera */
}

#mobile-nav ul,li {
    display: list-item;
}
#mobile-nav li {
    line-height: 1.5rem;
    text-align: center;
    display: inline-block;
}

#mobile-nav a {
    color: #fff;
    display: block;
    border: 1px #fff solid;
    margin: .5rem;
    padding: .5rem;
    border-radius: 4px;
    float: left;
}
ul.menu {
    margin:1rem auto;
}

#mobile-nav  #search-bar {
    width: 100%;
    margin: auto;
}


.article-box {
    margin-left: 0;
}

#post-id-index{
    box-shadow: none;
}


input[type="text"] {
    padding: .3rem .5rem;
    border: 1px solid #E9E9E9;
    width: 95%;
    display: block;
    margin: auto;
    border-radius: 8px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.post-title h1 {
    line-height: 2.2rem;
    word-break: break-all;
}

.close-btn {
    display: block;
    float: right;
    margin: 1rem;
}

.page-head {
    padding:0;
}

.list-post-box .thumbnail-box,.comment-input-right-r,.comment-btn{
    margin:0;
}

.list-post-box .thumbnail {
    max-width: 100%;
}
.list-post-box .thumbnail-box {
    width: 100%;
    margin-bottom: 1rem;
}

.thumbnail-box{
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.2);
}
.mobile-site-title {
    line-height: 3rem;
    text-align: center;
    float: left;
    width: 70%;
    font-weight: bold;
}

.article-box article {
    width: 100%;
    margin:0 0 1rem;
}

.content-child,.list-post {
border: none;
margin: 0 0 10px 0;
}

h1, h2, h3, h4, h5, h6 {
line-height: 1.5rem;
}
.comment {
border-top: 1px solid #EEE;
    padding: .5rem 0;
}
.comment-right {
    margin-left: 3rem;
}
.same-cat-post {
    margin-bottom: 0;
}
.comment-input-right,.comment-text-input,.comment-text-input label {
    width:auto;
}

.archive-title {
padding: 1rem 0;
}
.down-btn {
width: 100%;
}
button.submit {
    padding: 10px 20px;
    font-size: 14px;
}
.down-btn-bottom-ad {
text-align: center;
width: 100%;
}
.down-btn-top-ad {
text-align: center;
width: 100%;
}
#DLBox,#DLBox-child {
    width: 100%;
    border: none;
    border-radius:0;
    padding: 0;
    left: 0;
}

#unDLBoxBtn {
margin: 10px;
}

.post-content p {
    text-indent: 0;
}

.list-post-box {
    border-left: none;
    border-right: none;
}

.error-page {
    margin: 100px 8px;
}
.same-cat-post ul {
     padding-left: 0; 
     margin: 4px 0; 
}
.post-content h2 {
    margin-left:0;
}


.post-content img {
    max-width: 100%;
}

ul.image-box li img {
    max-height: 500px;
}

div.post-meta ul li {
    list-style-type: none;
    float: left;
    width: 100%;
}

}

@media(min-width:768px) and (max-width: 1100px) {
    .article-box article{
        width: 30%;
    }
    .container{
        margin: 0 1rem;
    }
    .top-menu-left, .top-menu-right{
            width: auto;
    }
}