@media screen and (max-width: 1136px){
    .container{
        width: 1000px;
    }
    /* APP RELATED */
    .app-related-item-thumb{
        height: 132px;
    }
}
@media screen and (max-width: 1000px){
    .container{
        width: 740px;
    }
    /*
    * HEADER.
    */
    .logo{
        margin-top: 20px;
    }
    .header-top-left,
    .logo{
        width: 100%;
        box-sizing: border-box;
    }
    .logo a img{
        margin: 0 auto;
    }
    .close-nav,
    .icon-show-nav,
    .icon-search{
        display: block;
    }
    .icon-show-nav i{
        background-color: #f90;
        padding: 5px 10px;
    }
    .close-nav{
        position: absolute;
        top: 0px;
        left: 0px;
        height: 40px;
        line-height: 40px;
        color: #fff;
        width: 100%;
        box-sizing: border-box;
        padding: 0 10px;
        background-color: #444444;
        cursor: pointer;
    }
    .close-nav i{
        margin-right: 10px;
    }
    .main-nav{
        position: fixed;
        top: 0px;
        left: -250px;
        width: 250px;
        height: 100%;
        z-index: 10000;
        background-color: #fff;
        box-shadow: 3px 3px 0 rgba(0, 0, 0, .1);
        opacity: 0;
        visibility: hidden;
        transition: all ease-in-out .3s;
    }
    .main-nav-active{
        left: 0px;
        opacity: 1;
        visibility: visible;
    }
    .main-nav-inner{
        position: absolute;
        top: 40px;
        left: 0px;
        width: 100%;
        height: calc(100% - 40px);
        overflow-y: auto;
    }
    .main-nav-inner>ul>li{
        float: none;
        width: 100%;
        height: auto !important;
        margin-right: 0px !important;
        border-top: 1px solid #e8e8e8;
        border-bottom: 1px solid #e8e8e8;
    }
    .main-nav-inner>ul>li:nth-child(n+2){
        margin-left: 0px;
    }
    .main-nav-inner>ul>li:first-child{
        border-top: none;
    }
    .main-nav-inner>ul>li:last-child{
        border-bottom: none;
    }
    .main-nav-inner>ul>li.menu-item-has-children:after{
        display: none;
    }
    .main-nav-inner>ul>li.menu-item-has-children>a:before{
        position: absolute;
        font-family: 'Font Awesome 5 Pro';
        content: "\f107";
        right: 10px !important;
        color: #fff;
        font-size: 12px;
        z-index: 1000000;
    }
    .main-nav-inner>ul>li>a{
        line-height: 40px !important;
        margin: 0px !important;
        border-radius: 0px;
        color: #333;
        font-weight: 400;
        padding: 0 10px;
        font-size: 15px;
        position: relative;
    }
    .main-nav-inner>ul>li>a i{
        position: relative;
        top: 0px;
        left: 0px;
        width: 25px;
        color: #fff;
        font-size: 14px;
    }
    .main-nav-inner>ul>li:hover>a,
    .main-nav-inner>ul>li.current-menu-item>a{
        color: #333;
        background-color: transparent;
    }
    .main-nav-inner>ul>li ul{
        position: relative;
        top: 100%;
        opacity: 1;
        visibility: visible;
        width: 100%;
        box-shadow: none;
        line-height: 22px;
        background-color: #f9f9f9;
        border-bottom: 0px;
    }
    .main-nav-inner>ul>li ul li{
        border: none;
    }
    .main-nav-inner>ul>li ul li:nth-child(n+2){
        border-top: 1px solid #f1f1f1;
    }
    .main-nav-inner>ul>li ul li a{
        position: relative;
        line-height: 22px !important;
        padding: 10px 10px;
        padding-left: 33px;
        color: #333;
    }
    .main-nav-inner>ul>li ul li a:before{
        position: absolute;
        content: '';
        top: 18px;
        left: 20px;
        width: 3px;
        height: 3px;
        border-radius: 3px;
        background-color: #4D9BB4;
    }
    .main-nav-inner>ul>li ul li a:hover{
        background-color: transparent;
        color: #333;
    }
    /**/
    .search-form{
        position: absolute;
        margin-top: 0px;
        margin-left: 0px;
        top: 66px;
        left: 0px;
        width: 100%;
        z-index: 1000;
        display: block;
    }
    .search-form:before{
        display: block;
    }
    /*.search-form-active{
        display: block;
    }*/
    .search-input{
        font-size: 16px;
    }
    .search-submit{
        display: block;
    }

    /*
    * MAIN WRAP.
    */
    .sidebar{
        width: 100%;
        margin-top: 30px;
    }
    .primary{
        width: 100%;
    }
    .app-item{
        width: calc((100% - 25px) / 2);
    }
    .app-item:nth-child(3n+3){
        float: left;
        margin-right: 25px;
    }
    .app-item:nth-child(2n+2){
        float: right;
        margin-right: 0px;
    }
    .app-item:nth-child(n+3){
        margin-top: 30px;
    }

    .sidebar-item-content .app-item:nth-child(n){
        float: left;
        width: calc((100% - 20px) / 2);
        margin-right: 20px;
        margin-top: 0px;
    }
    .sidebar-item-content .app-item:nth-child(2n+2){
        float: right;
        margin-right: 0px;
    }
    .sidebar-item-content .app-item:nth-child(n+3){
        margin-top: 20px;
    }
    .block-item-allapp{
        width: 100%;
        float: none;
    }
    .block-item-app-list {
        margin-left: 0px;
    }
    .block-item-all-app-header{
        line-height: 90px;
    }
    .block-item-all-app-title:before {
        position: absolute;
        content: '';
        height: calc(100% - 60px);
        width: 100%;
        top: 29px;
        left: 0px;
        border-top: 0.5px solid #fff;
        border-bottom: 0.5px solid #fff;
        opacity: .5;
    }
    .block-item-app-list{
        margin-top: 10px;
    }
    .post-item{
        width: 100%;
        margin-right: 0px;
    }
    .post-item:nth-child(n+2){
        margin-top: 20px;
    }
    .block-content-row1 .post-item:nth-child(1) {
        width: 100%;
    }
    .block-content-row1 .post-item:nth-child(1) .post-item-thumb {
        height: auto;
    }

    .new-item:nth-child(n+1){
        width: calc((100% - 60px) / 4);
    }
    .new-item:nth-child(4n+4){
        float: right;
        margin-right: 0px;
    }
    .new-item:nth-child(5n+5){
        float: left;
        margin-right: 20px;
    }
    .new-item-thumb{
        height: 120px;
    }
    /*
    * SINGLE APP.
    */
    .sidebar-app-item:nth-child(n){
        float: left !important;
        width: calc((100% - 40px) / 3);
        margin-right: 20px;
        margin-top: 0px;
    }
    .sidebar-app-item:nth-child(3n+3){
        float: right !important;
        margin-right: 0px;
    }
    .sidebar-app-item:nth-child(n+4){
        margin-top: 20px;
    }
    /*
    * ARCHIVE POST.
    */
    .archive-post-item-thumb{
        display: block;
        width: 100px;
        height: 100px;
    }
    .archive-post-item-info{
        margin-left: 115px;
    }
    .archive-post-item-title{
        font-size: 20px;
        line-height: 30px;
    }
    .archive-post-item-time{
        margin-top: 3px;
    }
    .archive-post-item-des{
        margin-top: 5px;
    }
    /* APP RELATED */
    .app-related-item-thumb{
        height: 155px;
    }
}
@media screen and (max-width: 760px){
    .container{
        width: 540px;
    }
    /*
    * FOOTER.
    */
    .icon-back-top{
        right: 10px;
    }
    .icon-back-top-active{
        bottom: 10px;
    }
    /*
    * SINGLE APP.
    */
    .single-app-thumb{
        width: 100px;
    }
    .single-app-thumb img{
        width: 100%;
    }
    .single-app-title{
        font-size: 27px;
        line-height: 35px;
    }
    .single-app-gallery-item{
        height: 250px;
    }
    .single-app-gallery-item img{
        height: 100% !important;
        width: auto !important;
    }
    /**/
    .sidebar-app-item:nth-child(n){
        width: calc((100% - 20px) / 2);
    }
    .sidebar-app-item:nth-child(3n+3){
        float: left !important;
        margin-right: 20px;
    }
    .sidebar-app-item:nth-child(2n+2){
        float: right !important;
        margin-right: 0px;
    }
    .sidebar-app-item:nth-child(n+3){
        margin-top: 20px;
    }
    /*
    * SINGLE DOWNLOAD.
    */
    .single-download-link-item{
        width: calc((100% - 40px) / 3);
    }
    .new-home-item{
        width: 100%;
        margin:0;
    }
    .new-home-item:nth-child(n+2){
        margin-top: 20px;
    }
    .archice-app-item{
        width: calc(100% / 2);
        margin-right: 0px;
    }
    .archice-app-item:nth-child(2n+2){
        margin-right: 0px;
        float: right;
        border-right: none;
    }
    .archice-app-item:nth-child(n+3){
        border-top: 1px solid#eee;
    }
    .single-related-item{
        width: calc((100% - 20px) / 2);
        margin-right: 20px;
    }
    .single-related-item:nth-child(3n+3){
        float: left;
        margin-right: 20px;
    }
    .single-related-item:nth-child(2n+2){
        margin-right: 0px;
        float: right;
    }
    .single-related-item:nth-child(n+3){
        margin-top: 30px;
    }
    .main-wrap {
        padding: 10px 0px;
    }
    .new-item:nth-child(n+1) {
        width: calc((100% - 40px) / 3);
    }
    .new-item:nth-child(4n+4){
        float: left;
        margin-right: 20px;
    }
    .new-item:nth-child(3n+3){
        float: right;
        margin-right: 0px;
    }
    /* APP RELATED */
    .app-related-item{
        width: calc(100% / 3);
    }
    .app-related-item-thumb{
        height: 150px;
    }
}
@media screen and (max-width: 560px){
    .container{
        width: 96%;
    }
    /*
    * MAIN WRAP.
    */
    .logo{
        margin-top: 25px;
    }
    .logo a img {
        height: 80%;
    }
    .app-item:nth-child(n){
        width: 100% !important;
        margin-right: 0px !important;
    }
    .app-item:nth-child(n+2){
        margin-top: 20px !important;
    }
    /*
    * SINGLE APP.
    */
    /**/
    .sidebar-app-item:nth-child(n){
        width: 100%;
        margin-right: 0px;
    }
    .sidebar-app-item:nth-child(n+2){
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #e8e8e8;
    }
    .popup-single-download{
        box-sizing: border-box;
    }
    .popup-single-download-right{
        width: 100%;
    }
    .popup-single-download-right a{
        width: calc(100% - 40px);
        text-align: center;
    }
    .popup-download-item:nth-child(2) {
        margin-left: 10px;
    }
    .new-item:nth-child(n+1) {
        width: calc((100% - 20px) / 2);
    }
    .new-item:nth-child(3n+3){
        float: left;
        margin-right: 20px;
    }
    .new-item:nth-child(2n+2){
        float: right;
        margin-right: 0px;
    }
    /* APP RELATED */
    .app-related-item{
        width: calc(100% / 2);
    }
    .app-related-item-thumb{
        height: 180px;
    }
}
@media screen and (max-width: 380px){
    .container{
        width: 96%;
    }
    .new-home-item-thumb{
        height: 190px;
    }
    /* APP RELATED */
    .app-related-item-thumb{
        height: 150px;
    }
}