@media (max-width: 1200px) {
    #nav .nav_theme_news,
    .unslider,
    #slider_news,
    #news .theme,
    #news_widget {
        display: none;
    }
    #nav {
        position: relative;
    }
    #nav .nav_theme {
        display: list-item;
        list-style-type: none;
        margin-right: 0;
    }
    #nav .nav_news {
        width: 132px;
        margin-right: 20px;
    }
    #nav #search-block {
        position: absolute;
        top: 0;
        right: 0;
        margin-right: 20px;
    }
    #news_widget {
        float: none;
        margin: 0 auto;
        text-align: center;
    }
    #news .section-header {
        display: block;
    }
    #news {
        margin-top: 0;
    }
    #news .row {
        border: none;
        text-align: center;
    }
    #news .row .article {
        text-align: left;
    }
    #info {
        text-align: center;
    }
    #info .info_item {
        text-align: left;
    }
    #info .info_item:nth-child(odd) {
        margin-right: 0;
    }
    #info .info_item:nth-child(4) {
        margin-right: 122px;
    }
    #themes {
        text-align: center;
    }
    #themes .theme_section {
        margin-left: 0;
        padding: 0;
        border: none;
        text-align: left;
        float: none;
    }
    #themes_list .theme {
        margin: 0 26px 26px 0 !important;
    }
    #themes_list .theme:nth-child(even) {
        margin-right: 0 !important;
    }
    #themes_list {
        text-align: center;
    }
    #themes_list .theme {
        text-align: left;
    }
    #theme aside {
        display: none;
    }
    #theme section {
        display: block;
        float: none;
        margin: 0 auto;
    }
    #news.search_result .article:nth-child(3n + 3) {
        margin-right: 0;
    }
    #news.search_result .article {
        margin-right: 0;
    }
    #news.search_result .article:nth-child(odd) {
        margin-right: 30px;
    }
    #read_others #news {
        text-align: center;
    }
    #read_others .article {
        text-align: left;
    }
}
@media (max-width: 992px) {
    footer,
    footer .container {
        height: auto;
        text-align: center;
    }
    footer .footer_logo,
    footer .footer_nav,
    footer input,
    footer button,
    footer .digital_perfection {
        float: none !important;
    }
    footer .footer_subscription,
    footer .digital_perfection {
        display: block;
    }
    footer .digital_perfection {
        line-height: normal;
        margin-top: 30px;
    }
    footer .footer_subscription {
        margin-top: 20px;
    }
    #themes_list .theme {
        width: 300px;
        height: 240px;
        font-size: 29px;
    }
    #article #text {
        width: auto;
    }
    #text.with_photo p,
    #text.with_photo .article_act,
    #text.with_photo .article_header,
    #text.with_photo .article_header_inner,
    #text #paragraphs {
        width: auto;
    }
    #text.with_photo .article_header_inner {
        padding-right: 20px;
    }
}
@media (max-width: 747px) {
    #info .info_item {
        margin-right: 30px;
    }
    #info .info_item:nth-child(odd) {
        margin-right: 0;
    }
    #info .info_item:nth-child(4) {
        margin-right: 30px;
    }
}
@media (max-width: 693px) {
    #read_others .article {
        margin-left: 10px !important;
        margin-right: 10px !important;
    }
}
@media (max-width: 672px) {
    #theme section {
        width: auto;
        text-align: center;
    }
    #theme section .article {
        text-align: left;
    }
}
@media (max-width: 659px) {
    #themes_list .theme {
        width: 230px;
        height: 190px;
        font-size: 26px;
    }
    #themes_list .theme_header {
        line-height: 35px;
    }
}
@media (max-width: 655px) {
    #info .info_item {
        margin-right: 10px !important;
        margin-left: 10px !important;
    }
}
@media (max-width: 560px) {
    #nav .nav_news {
        display: none;
    }
}
@media (max-width: 519px) {
    #themes_list .theme {
        margin-right: 0 !important;
        width: 360px;
        height: 300px;
        font-size: 35px;
    }
    #article #text .desc {
        margin-right: 0;
        width: 100px;
    }
}
@media (max-width: 470px) {
    #search_results button {
        margin-left: 10px;
        margin-top: 10px;
        display: block;
    }
    #article #text h1 {
        font-size: 50px;
        line-height: 55px;
    }
}
@media (max-width: 400px) {
    #themes .theme_section {
        width: 100%;
    }
    #themes .theme_main_article {
        font-size: 21px;
    }
    #themes_list .theme {
        margin-right: 0 !important;
        width: 300px;
        height: 240px;
        font-size: 29px;
    }
}
@media (max-width: 370px) {
    #nav .logo {
        width:80px !important;
        display: block;
        margin: 0 auto;
        float: left;
    }
    #nav #search-block {
        /*width: 200px;*/
        display: block;
        float: right;
        position: static;
        margin: 25px auto;
    }
    #news {
        margin-top: 65px;
    }
    #themes_list {
        margin-top: 120px;
    }
    #theme #news {
        margin-top: 90px;
    }
    #search_results input,
    #search_results button {
        display: none
    }
    #search_results {
        margin-top: 85px;
    }
    #news.search_result .article {
        margin-right: 0 !important;
    }
    #article {
        margin-top: 75px;
    }
    #article #text h1 {
        font-size: 37px;
        line-height: 43px;
    }
    #article #text h2 {
        font-size: 26px;
        line-height: 31px;
    }
}
@media (max-width: 351px) {
    footer .footer_nav {
        line-height: normal;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    #themes_list .theme {
        width: 230px;
        height: 190px;
        font-size: 26px;
    }
}
@media (max-width: 345px) {
    #info .info_item {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    #read_others .article {
        margin-left: 0 !important;
        margin-right: 0;
    }
}
@media (max-width: 334px) {
    #theme #news .article {
        margin-left: -10px;
    }
    #news.search_result .article {
        width: 300px;
    }
}
@media (max-width: 330px) {
    #article #text .desc {
        float: left;
    }
}
@media (max-width: 325px) {
    #info .info_item img {
        width: 18px;
    }
    h2.section-header {
        font-size: 18px;
    }
}
@media (max-width: 317px) {
    footer .footer_subscription button {
        float: none;
        display: block;
        margin: 10px auto 0 auto;
    }
}