
/************************************************************************************
biger than 1000
*************************************************************************************/
@media screen and (min-width: 1000px) {
    .pop-books .pop-book:nth-of-type(6n+1) {
        clear: left;
        margin-left: 2px;
    }
}
/************************************************************************************
smaller than 1000
*************************************************************************************/
@media screen and (max-width: 1000px) {
    .pop-books .pop-book:nth-of-type(5n+1) {
        clear: left;
        margin-left: 0;
    }

    .mt {
        margin-top: 2%;
    }

    .mb {
        margin-bottom: 2%;
    }

    .header-wrap {
        width: 96%;
        padding: 0 2%;
    }

    .searchform .s {
        width: 190px;
    }

        .searchform .s:focus {
            width: 220px;
        }

    .logo-area span {
    }

    .menu-wrap {
        width: 96%;
        padding: 0 2%;
    }

        .menu-wrap ul {
            padding: 0;
        }

    .topbar-baby {
        width: 96%;
        padding: 0 2%;
        height: auto;
    }

    .main-wrap {
        width: 96%;
        padding: 0 2%;
    }

    .lbw-left-part {
        width: 62.4%;
        overflow: hidden;
    }

    .lbw-right-part {
        width: 33.6%;
        overflow: hidden;
    }

    #right_compate_box {
        width: 100%;
        overflow: hidden;
    }

    .sidebar-title {
        width: 100%;
    }

    .hot-news dl {
        margin-top: 5%;
    }

    .hot-news .hot-news-top .post-img {
        display: none;
    }

    .hot-news .hot-news-top p {
        width: 90%;
        padding: 2% 5%;
    }

    .hot-news ul {
        padding-top: 2%;
    }

    .tags-box {
        width: 100%;
    }

        .tags-box ol {
            padding-top: 2%;
        }

    .special-title {
        display: none;
    }

    .lbw-special {
        display: none;
    }

    .mq-mt {
        margin-top: 2%;
    }

    .top-posts {
        width: 100%;
    }

    .sidebar-baby {
        width: 100%;
    }

    .lbw-focus {
        height: auto;
        width: 100%;
    }

    .chanl-focus {
        height: auto;
    }

        .chanl-focus img {
            width: 100%;
            float: left;
        }

        .chanl-focus dt {
            width: 100%;
            height: auto;
        }

            .chanl-focus dt span {
                width: 90%;
                padding: 0 5% 2%;
            }

        .chanl-focus dd {
            width: 100%;
            height: auto;
        }

            .chanl-focus dd a {
                width: 90%;
                padding: 2% 5%;
                height: auto;
            }

    .archive-title {
        width: 100%;
    }

    .post-content p img {
        width: 90%;
    }

    .lbw-pagenavi {
        width: 62.4%;
    }

    .copyright {
        width: 96%;
        padding: 2% 2%;
    }

    .lbw-links {
        width: 100%;
        padding: 0 0 2%;
    }

    .post-title {
        width: 100%;
    }

    .post-scroll {
        width: 100%;
    }

    .lbw-comment {
        width: 100%;
    }

    .m1 {
        width: 100%;
        height: auto;
        text-align: center;
    }

    .m2 {
        display: none;
    }
}
/************************************************************************************
smaller than 850
*************************************************************************************/
@media screen and (max-width: 850px) {
    .searchform .s {
        width: 125px;
    }

        .searchform .s:focus {
            width: 155px;
        }

    .menu-wrap ul li {
        padding-right: 30px;
    }

    .pop-book {
        float: left;
        font-size: 14px;
        line-height: 1.1;
        margin: 0 0 1.5em 6.3%;
        text-align: center;
        width: 14.8%;
        height:196px;
    }

    .pop-books .pop-book:nth-of-type(5n+1) {
        clear: left;
        margin-left: 0;
    }
}
/************************************************************************************
smaller than 760
*************************************************************************************/
@media screen and (max-width: 760px) {
    /* pagewrap*/
    .header-wrap {
        width: 96%;
        padding: 0 2%;
        background: #fdfdfd;
        border-top: 3px solid #d00;
        border-bottom: 1px solid #ccc;
    }

    .search-area {
        display: none;
    }

    .hot-news dl {
        display: none;
    }

    .hot-news ul li {
        width: 50%;
        float: left;
    }

    .sidebar-title {
        width: 100%;
    }

    .top-posts {
        width: 100%;
    }

    .tags-box {
        width: 100%;
    }

    .lbw-left-part {
        width: 100%;
    }

    .lbw-right-part {
        width: 100%;
    }

    #right_compate_box {
        width: 100%;
        position: relative !important;
    }

    .hot-news .hot-news-top p {
        width: 96%;
        padding: 1.5% 2%;
    }

    .chanl-focus img {
        width: 100%;
        float: left;
    }

    .chanl-focus dt {
        width: 100%;
        height: auto;
        display: none;
    }

        .chanl-focus dt span {
            width: 90%;
            padding: 0 5% 2%;
        }

    .chanl-focus dd {
        width: 100%;
        height: auto;
    }

        .chanl-focus dd a {
            width: 90%;
            padding: 2% 5%;
            height: auto;
        }

    .post-content p img {
        width: 80%;
    }

    .lbw-pagenavi {
        width: 100%;
    }

    .sidr-class-passport-entry {
        display: none;
        float: left;
        height: 40px;
        line-height: 32px;
        margin-left: 12px;
        margin-top: -10px;
    }

        .sidr-class-passport-entry span {
            float: left;
            margin: 0 5px;
            _margin: 0 2px;
        }

            .sidr-class-passport-entry span a, sidr-class-passport-entry span {
                color: #777;
                font-size: 14px;
            }

                .sidr-class-passport-entry span a:hover {
                    color: #555;
                }

    #simple-menu {
        display: block;
        float: right;
        margin-top: 20px;
        cursor: pointer;
    }

    .sidr {
        display: none;
        position: absolute;
        position: fixed;
        top: 0;
        height: 100%;
        z-index: 999999;
        width: 260px;
        overflow-x: none;
        overflow-y: auto;
        font-size: 16px;
        background: #fdfdfd;
        color: #333;
        -webkit-box-shadow: inset 0 0 5px 5px #eee;
        -moz-box-shadow: inset 0 0 5px 5px #eee;
        box-shadow: inset 0 0 5px 5px #eee
    }

        .sidr .sidr-inner {
            padding: 0 0 15px
        }

            .sidr .sidr-inner > p {
                margin-left: 15px;
                margin-right: 15px
            }

        .sidr.right {
            left: auto;
            right: -260px
        }

        .sidr.left {
            left: -260px;
            right: auto
        }

        .sidr h1, .sidr h2, .sidr h3, .sidr h4, .sidr h5, .sidr h6 {
            font-size: 14px;
            font-weight: normal;
            padding: 0 15px;
            margin: 0 0 5px;
            color: #333;
            line-height: 24px;
            -webkit-box-shadow: 0 5px 5px 3px rgba(0,0,0,0.2);
            -moz-box-shadow: 0 5px 5px 3px rgba(0,0,0,0.2);
            box-shadow: 0 5px 5px 3px rgba(0,0,0,0.2)
        }

        .sidr p {
            font-size: 13px;
            margin: 0 0 12px
        }

            .sidr p a {
                color: rgba(51,51,51,0.9)
            }

        .sidr > p {
            margin-left: 15px;
            margin-right: 15px
        }

        .sidr ul {
            display: block;
            margin: 0 0 15px;
            padding: 0;
            border-top: 1px solid #e5e5e5;
            border-bottom: 1px solid #fff
        }

            .sidr ul li {
                display: block;
                margin: 0;
                line-height: 48px;
                border-top: 1px solid #fff;
                border-bottom: 1px solid #e5e5e5
            }

                .sidr ul li:hover, .sidr ul li.active, .sidr ul li.sidr-class-active {
                    border-top: 1px solid #fff;
                    line-height: 48px
                }

                    .sidr ul li:hover > a, .sidr ul li:hover > span, .sidr ul li.active > a, .sidr ul li.active > span, .sidr ul li.sidr-class-active > a, .sidr ul li.sidr-class-active > span {
                        -webkit-box-shadow: inset 0 0 15px 3px #f5f5f5;
                        -moz-box-shadow: inset 0 0 15px 3px #f5f5f5;
                        box-shadow: inset 0 0 15px 3px #f5f5f5;
                    }

                .sidr ul li a, .sidr ul li span {
                    padding: 0 15px;
                    display: block;
                    text-decoration: none;
                    color: #333;
                }

                .sidr ul li ul {
                    border-bottom: none;
                    margin: 0
                }

                    .sidr ul li ul li {
                        line-height: 40px;
                        font-size: 14px
                    }

                        .sidr ul li ul li:last-child {
                            border-bottom: none
                        }

                        .sidr ul li ul li:hover, .sidr ul li ul li.active, .sidr ul li ul li.sidr-class-active {
                            border-top: 1px solid #fff;
                            line-height: 40px
                        }

                            .sidr ul li ul li:hover > a, .sidr ul li ul li:hover > span, .sidr ul li ul li.active > a, .sidr ul li ul li.active > span, .sidr ul li ul li.sidr-class-active > a, .sidr ul li ul li.sidr-class-active > span {
                                -webkit-box-shadow: inset 0 0 15px 3px #f5f5f5;
                                -moz-box-shadow: inset 0 0 15px 3px #f5f5f5;
                                box-shadow: inset 0 0 15px 3px #f5f5f5
                            }

                        .sidr ul li ul li a, .sidr ul li ul li span {
                            color: #333;
                            padding-left: 30px
                        }

        .sidr form {
            margin: 0 15px
        }

        .sidr label {
            font-size: 14px
        }

        .sidr input[type="text"], .sidr input[type="password"], .sidr input[type="date"], .sidr input[type="datetime"], .sidr input[type="email"], .sidr input[type="number"], .sidr input[type="search"], .sidr input[type="tel"], .sidr input[type="time"], .sidr input[type="url"], .sidr textarea, .sidr select {
            width: 100%;
            font-size: 14px;
            padding: 5px;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
            margin: 0 0 16px;
            /*-webkit-border-radius:2px;
	-moz-border-radius:2px;
	-ms-border-radius:2px;
	-o-border-radius:2px;
	border-radius:2px;
	border:none;
	background:rgba(0,0,0,0.1);
	color:rgba(51,51,51,0.6);*/
            display: block;
            clear: both
        }

        .sidr input[type=checkbox] {
            width: auto;
            display: inline;
            clear: none
        }

        .sidr input[type=button], .sidr input[type=submit] {
            color: #f8f8f8;
            background: #333
        }

            .sidr input[type=button]:hover, .sidr input[type=submit]:hover {
                background: rgba(51,51,51,0.9)
            }

    #searchform {
        display: none;
    }

    #sidr-id-searchform {
        clear: both;
        margin-top: 18px;
    }

    .sidr-inner #sidr-id-s {
        float: left;
        background: #fff;
        border: 1px solid #d6d0cd;
        border-top-left-radius: 2px;
        border-bottom-left-radius: 2px;
        border-right: none;
        color: #825d5b;
        font: italic 14px/24px "serif";
        transition: all 0.7s ease 0s;
        width: 160px;
        height: 36px;
        padding: 5px 7px;
    }

    #sidr-id-searchform #sidr-id-s:focus {
        font-style: normal;
        background: #fff;
        width: 178px;
    }

    .sidr-inner {
        clear: both;
    }

    #sidr-id-searchform .sidr-class-submit {
        float: left;
        background: url("../images/search.png") no-repeat;
        width: 37px;
        height: 36px;
        border-top-right-radius: 2px;
        border-bottom-right-radius: 2px;
        border: 1px solid #d6d0cd;
        border-left: none;
        cursor: pointer;
    }

    .sidebar-baby {
        padding: 2% 0;
    }

    .to-info a {
        float: left;
        width: 44%;
        margin: 2px 1% 0 1%;
        height: 22px;
        line-height: 22px;
        text-align: center;
        border: 1px solid #dddad8; /*#ff6766*/
        border-radius: 5px;
        color: #985d3e;
        font-size: 14px;
    }
}
/************************************************************************************
smaller than 650
*************************************************************************************/
@media screen and (max-width: 650px) {
    .header-wrap {
        height: 74px;
    }

    .logo-area {
        width: auto;
    }

        .logo-area h1 {
            margin-top: 20px;
        }

        .logo-area span {
            margin-top: 22px;
        }

    #simple-menu {
        width: 12%;
        margin-top: 12px;
    }

    .post-content p img {
        width: 90%;
    }

    #code {
        display: none;
    }

    #gotop {
        background-position: -197px -160px;
        bottom: 60px;
        _margin-bottom: 60px;
        cursor: pointer;
    }

    .lbw-focus {
        margin-top: 2%;
    }

    .slideBox .hd {
        position: absolute;
        height: 30px;
        line-height: 30px;
        bottom: 0px;
        right: 6px;
        z-index: 1;
        display: block;
    }

        .slideBox .hd li {
            display: inline-block;
            width: 12px;
            height: 12px;
            -webkit-border-radius: 6px;
            -moz-border-radius: 6px;
            border-radius: 6px;
            background: #fff;
            text-indent: -9999px;
            overflow: hidden;
            margin: 0 4px;
            cursor: pointer;
        }

    .pop-book, .pop-book2 {
        float: left;
        font-size: 14px;
        line-height: 1.1;
        margin: 0 0 3% 8.1445%;
        text-align: center;
        width: 18.8044%;
    }

        .pop-book h2 {
            font-size: 90%;
        }

        .pop-book span {
            font-size: 90%;
        }

    .pop-books .pop-book:nth-of-type(5n+1), .pop-books2 .pop-book2:nth-of-type(5n+1) {
        clear: none;
        margin-left: 8.1445%;
    }

    .pop-books .pop-book:nth-of-type(4n+1), .pop-books2 .pop-book2:nth-of-type(4n+1) {
        clear: left;
        margin-left: 0;
    }

    .to-info a {
        float: left;
        width: 44%;
        margin: 2px 1% 0 1%;
        height: 22px;
        line-height: 22px;
        text-align: center;
        border: 1px solid #dddad8; /*#ff6766*/
        border-radius: 5px;
        color: #985d3e;
        font-size: 12px;
    }
}
/************************************************************************************
smaller than 480
*************************************************************************************/
@media screen and (max-width: 480px) {
    /* disable webkit text size adjust (for iPhone)*/
    html {
        -webkit-text-size-adjust: none;
    }

    .logo-area span {
        display: none;
    }

    .mt-10 {
        margin-top: -1%;
    }

    #searchform {
    }

        #searchform #s {
            float: left;
            width: 50px;
        }

            #searchform #s:focus {
                width: 70px;
            }

    #hgroup {
        height: 60px
    }
    /* main nav*/
    #main-nav a {
        font-size: 90%;
        /* padding: 10px 8px;*/
    }

    #hgroup {
        width: 95%;
    }

        #hgroup h1 {
            width: 60%;
            margin-top: 12px;
        }

    .breadcrumb span {
        font-size: 1em;
        line-height: 1.8em;
    }

        .breadcrumb span a {
            font-size: 1em;
            line-height: 1.8em;
            padding: 0 0.2em;
        }

        .breadcrumb span:first-child {
            display: none;
        }

    .inner-baby {
        float: none;
        width: 100%;
        margin: 25px 0 0 0;
        text-align: center;
        display: none;
    }

    .adslot_1 {
        display: none !important;
    }

    #gotop {
        right: 20px;
        bottom: 25px;
        background-position: -197px -160px;
        cursor: pointer;
    }

    .pop-book, .pop-book2 {
        float: left;
        font-size: 14px;
        line-height: 1.1;
        margin: 0 0 3% 10.7261%;
        text-align: center;
        width: 25.9525%;
    }

        .pop-book h2, .pop-book2 h2 {
            font-size: 86%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .pop-book span {
            font-size: 86%;
        }

        .pop-book span {
            display: block;
            /*height: 2.4em;*/
            overflow: hidden;
        }

    .pop-books .pop-book:nth-of-type(5n+1), .pop-books2 .pop-book2:nth-of-type(5n+1) {
        clear: none;
        margin-left: 10.7261%;
    }

    .pop-books .pop-book:nth-of-type(4n+1), .pop-books2 .pop-book2:nth-of-type(4n+1) {
        clear: none;
        margin-left: 10.7261%;
    }

    .pop-books .pop-book:nth-of-type(3n+1), .pop-books2 .pop-book2:nth-of-type(3n+1) {
        margin-left: 0;
    }

    .pop-books {
        height: auto;
        overflow: visible;
    }

    .to-info a {
        float: left;
        width: 44%;
        margin: 2px 1% 0 1%;
        height: 22px;
        line-height: 22px;
        text-align: center;
        border: 1px solid #dddad8; /*#ff6766*/
        border-radius: 5px;
        color: #985d3e;
        font-size: 12px;
    }
}
