@media screen and (max-width: 1190px){
    .container{
        width: 880px;
    }
    /*
    * STORY HOT.
    */
    .block-story-hot{
        position: relative;
        padding-left: 0px;
    }
    .story-col-item:nth-child(n),
    .story-full-item:nth-child(n){
        position: relative;
        width: calc((100% - 50px) / 6);
        margin-right: 10px;
        overflow: hidden;
    }
    .story-col-item:nth-child(7),
    .story-col-item:nth-child(13),
    .story-full-item:nth-child(8n+8){
        float: left;
        margin-right: 10px;
    }
    .story-col-item:nth-child(6n+6),
    .story-full-item:nth-child(6n+6){
        float: right;
        margin-right: 0px;
    }
    .story-col-item:nth-child(n+7),
    .story-full-item:nth-child(n+7){
        margin-top: 10px;
    }
    .story-col-item:nth-child(n) .story-col-item-thumb,
    .story-full-item:nth-child(n) .story-col-item-thumb{
        height: 190px;
    }
    .story-col-item:nth-child(n+13),
    .story-full-item:nth-child(n+13){
        display: none;
    }
    /*
    * STORY NEW.
    */
    .story-new-item:nth-child(n){
        position: relative;
        width: 100%;
        margin-right: 0px;
    }
    .story-new-item:nth-child(n+2){
        margin-top: 12px;
    }
    .story-new-item:before{
        position: absolute;
        content: '';
        width: 1px;
        top: 10px;
        right: 110px;
        height: calc(100% - 20px);
        background-color: #e8e8e8;
    }
    .story-new-item-thumb{
        width: 50px;
        height: 74px;
    }
    .story-new-item-info{
        box-sizing: border-box;
        padding-right: 120px;
        width: calc(100% - (50px + 12px));
    }
    .story-new-item-time{
        margin-bottom: 5px;
    }
    .story-new-item-title{
        font-size: 14px;
    }
    .story-new-item-cat{
        margin-top: 2px;
    }
    .story-new-item-chap{
        position: absolute;
        top: 0px;
        right: 0px;
        width: 100px;
        margin-top: 0px;
    }
    .archive .story-new-item-chap{
        padding-top: 8px;
    }
    .story-new-item-chap:before{
        display: none;
    }
    .story-new-item-chap li a{
        font-size: 14px;
    }
    .story-new-item-chap li a:before{
        top: -1px;
    }
    /**/
    .story-list-item-title{
        position: relative;
        padding-right: 45px;
        width: calc(100% - (120px + 130px));
    }
    .story-list-item-cat{
        display: none;
    }
    /*
    * SINGLE CHAP.
    */
    .single-chap-comment,
    .single-chap-btn{
        width: 100%;
        box-sizing: border-box;
    }
    .single-chap-note{
        display: none;
        width: 100%;
    }
    .single-chap-content{
        width: 100%;
        text-align: left;
    }
    /*
    * ARCHIVE STORY.
    */
    .primary-story-item{
        width: calc((100% - 30px) / 4);
    }
    .primary-story-item:nth-child(6n+6){
        float: left;
        margin-right: 10px;
    }
    .primary-story-item:nth-child(4n+4){
        float: right;
        margin-right: 0px;
    }
    .primary-story-item:nth-child(n+5){
        margin-top: 10px;
    }
    .primary-story-item-thumb{
        height: 187px;
    }
}
@media screen and (max-width: 900px){
    .container{
        width: 590px;
    }
    /*
    * HEADER.
    */
    .header-bottom .container{
        height: auto;
        line-height: 1.5;
        padding: 6px 0;
        font-size: 13px;
    }
    .search-form,
    .main-nav{
        display: none;
    }
    .show-nav-mobile{
        display: block;
    }
    .header-mobile .search-form,
    .header-mobile .main-nav{
        display: block;
    }
    .header-mobile{
        position: relative;
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        z-index: 10000;
        background-color: #333;
        transition: unset !important;
    }
    .header-mobile *{
        transition: unset !important;
    }
    .logged-in .header-mobile{
        top: 32px;
        height: calc(100% - 32px);
    }
    .header-mobile.header-main{
        height: 100%;
    }
    .header-mobile .header-bottom{
        display: none;
    }
    .header-mobile .container{
        height: 100% !important;
    }
    .header-mobile .search-form{
        position: absolute;
        top: 60px;
        width: 100%;
        margin: 0px;
    }
    .header-mobile .header-left,
    .header-mobile .header-right{
        width: 100%;
    }
    .header-mobile .main-nav{
        margin-top: 70px;
        width: 100%;
        /*height: calc(100% - 110px);*/
    }
    /*.header-mobile .main-nav-inner{
        height: 100%;
        overflow-y: auto;
    }*/
    .header-mobile .main-nav-inner>ul{
        padding: 0px;
        line-height: 1.5;
    }
    .header-mobile .main-nav-inner>ul>li{
        float: none;
    }
    .header-mobile .main-nav-inner>ul>li:nth-child(n+2){
        margin-top: 15px;
        margin-left: 0px;
    }
    .header-mobile .main-nav-inner>ul>li a{
        padding-left: 0px;
        font-size: 15px;
        color: #fff !important;
    }
    .header-mobile .main-nav-inner>ul>li>a{
        color: var(--th-color-orange) !important;
    }
    .header-mobile .main-nav-inner>ul>li>a>i{
        display: none;
    }
    .header-mobile .main-nav-inner>ul>li:hover>a,
    .header-mobile .main-nav-inner>ul>li>a:hover{
        color: #fff !important;
        background-color: transparent;
    }
    .main-nav-inner>ul>li.menu-item-has-children>a:after{
        display: none;
    }
    .header-mobile .main-nav-inner>ul>li ul{
        position: relative;
        top: 0px;
        width: 100%;
        opacity: 1;
        visibility: visible;
        background-color: transparent;
        box-shadow: none;
        width: 100%;
        margin-top: 0px;
        padding-bottom: 0px;
        overflow: hidden;
        transition: unset !important;
        margin-top: 8px;
        padding-top: 0px;
    }
    .header-mobile .main-nav-inner>ul>li ul:before{
        display: none;
    }
    .header-mobile .main-nav-inner>ul>li ul li{
        border: none;
        float: left;
        width: calc((100% - 20px) / 5);
        margin-right: 5px;
    }
    .header-mobile .main-nav-inner>ul>li ul li:nth-child(5n+5){
        float: right;
        margin-right: 0px;
    }
    .header-mobile .main-nav-inner>ul>li ul li:nth-child(n+6){
        margin-top: 10px;
    }
    .header-mobile .main-nav-inner>ul>li ul li a{
        padding: 3px 5px;
        line-height: 1;
        font-size: 13px;
        color: #c6c6c6;
    }
    /*
    * STORY HOT.
    */
    .story-col-item:nth-child(n),
    .story-full-item:nth-child(n){
        position: relative;
        width: calc((100% - 30px) / 4);
    }
    .story-col-item:nth-child(6n+6),
    .story-full-item:nth-child(6n+6){
        float: left;
        margin-right: 10px;
    }
    .story-col-item:nth-child(4n+4),
    .story-full-item:nth-child(4n+4){
        float: right;
        margin-right: 0px;
    }
    .story-col-item:nth-child(n+5),
    .story-full-item:nth-child(n+5){
        margin-top: 10px;
    }
    .story-col-item:nth-child(n) .story-col-item-thumb,
    .story-full-item:nth-child(n) .story-col-item-thumb{
        height: 190px;
    }
    .story-col-item:nth-child(n+13),
    .story-full-item:nth-child(n+13){
        display: none;
    }
    /*
    * STORY NEW.
    */
    .primary,
    .sidebar{
        width: 100%;
    }
    .sidebar{
        margin-top: 20px;
    }
    .sd-tax-item:nth-child(n){
        width: calc((100% - 15px) / 4);
        margin-right: 5px;
        margin-top: 0px;
    }
    .sd-tax-item:nth-child(2n+2){
        float: left;
        margin-left: 0px;
        margin-right: 5px;
    }
    .sd-tax-item:nth-child(4n+4){
        float: right;
        margin-right: 0px;
    }
    .sd-tax-item:nth-child(n+5){
        margin-top: 5px;
    }
    /*
    * FOOTER.
    */
    .footer-left{
        width: 100%;
    }
    .footer-right{
        margin-top: 20px;
        padding-top: 20px;
        text-align: left;
        width: 100%;
        border-top: 1px solid #e8e8e8;
    }
    /*
    * ARCHIVE STORY.
    */
    .primary-story-item-thumb{
        height: 198px;
    }
    /*
    * SINGLE STORY.
    */
    .sg-story-top .container{
        padding: 20px 0;
        padding-top: 12px;
    }
    .sg-story-title{
        margin-left: 0px;
    }
    .sg-story-thumb{
        margin-top: 0px;
    }
    .sg-story-btn{
        margin-top: 10px;
    }
}
@media screen and (max-width: 610px){
    .container{
        width: 440px;
    }
    /*
    * STORY HOT.
    */
    .story-col-item:nth-child(n),
    .story-full-item:nth-child(n),
    .primary-story-item:nth-child(n){
        position: relative;
        width: calc((100% - 20px) / 3);
    }
    .story-col-item:nth-child(4n+4),
    .story-full-item:nth-child(4n+4),
    .primary-story-item:nth-child(4n+4){
        float: left;
        margin-right: 10px;
    }
    .story-col-item:nth-child(3n+3),
    .story-full-item:nth-child(3n+3),
    .primary-story-item:nth-child(3n+3){
        float: right;
        margin-right: 0px;
    }
    .story-col-item:nth-child(n+4),
    .story-full-item:nth-child(n+4),
    .primary-story-item:nth-child(4n+4){
        margin-top: 10px;
    }
    .story-col-item:nth-child(n) .story-col-item-thumb,
    .story-full-item:nth-child(n) .story-col-item-thumb,
    .primary-story-item-thumb{
        height: 198px;
    }
    .story-col-item:nth-child(n+13),
    .story-full-item:nth-child(n+13){
        display: none;
    }
    /*
    * STORY NEW.
    */
    .sd-tax-item:nth-child(n){
        width: calc((100% - 10px) / 3);
        margin-right: 5px;
    }
    .sd-tax-item:nth-child(4n+4){
        float: left;
        margin-right: 5px;
    }
    .sd-tax-item:nth-child(3n+3){
        float: right;
        margin-right: 0px;
    }
    .sd-tax-item:nth-child(n+4){
        margin-top: 5px;
    }
    /**/
    .story-list-item-title{
        position: relative;
        padding-right: 45px;
        width: calc(100% - (130px));
    }
    .story-list-item-time{
        display: none;
    }
    .story-list-item-chap{
        text-align: right;
    }
    /*
    * SINGLE CHAP.
    */
    .sg-story-chap ul{
        width: 100%;
        margin-right: 0px;
    }
    .sg-story-chap ul:nth-child(3){
        margin-top: 5px;
    }
    .single-chap-content{
        margin-top: 30px;
        margin-bottom: 30px;
        padding: 0 2%;
        box-sizing: border-box;
        font-size: 21px;
        line-height: 1.8;
    }
    .single-chap-content p{
        margin: 30px 0;
    }
    /**/
    .single-chap-prev,
    .single-chap-next{
        width: 95px;
        text-transform: capitalize;
    }
    .single-chap-prev span,
    .single-chap-next span{
        display: none;
    }
    /**/
    .sg-story-meta-cat a{
        margin-bottom: 3px;
    }
    .sg-story-btn-item{
        width: 100%;
        height: 34px;
        border-radius: 34px;
        text-align: center;
        box-sizing: border-box;
        margin-top: 5px;
    }
}
@media screen and (max-width: 460px){
    .container{
        width: 96%;
    }
    /*
    * HEADER.
    */
    .header-mobile .main-nav-inner>ul>li ul li{
        width: calc((100% - 15px) / 3);
    }
    .header-mobile .main-nav-inner>ul>li ul li:nth-child(5n+5){
        float: left;
        margin-right: 5px;
    }
    .header-mobile .main-nav-inner>ul>li ul li:nth-child(3n+3){
        float: right;
        margin-right: 0px;
    }
    .header-mobile .main-nav-inner>ul>li ul li:nth-child(n+4){
        margin-top: 10px;
    }
    .story-col-item:nth-child(n) .story-col-item-thumb,
    .story-full-item:nth-child(n) .story-col-item-thumb,
    .primary-story-item-thumb{
        height: 178px;
    }
    /**/
    .sg-story-info-left{
        width: 120px;
    }
    .sg-story-info-right{
        width: calc(100% - 135px);
    }
    .sg-story-tab-nav li{
        font-size: 13px;
        padding: 0 12px;
    }
}
