
@media only screen and (max-width : 1279px) {

    .oz_wrapper_m{
        display: block;
    }

    #oz_main .oz_center_column{
        font-size: 13px;
        padding: 4px;
    }

    .oz_advertisment_index_m{
        margin: 0 0 40px 0;
        width: 100%;
        text-align: center;
        display: block !important;
    }

    .oz_advertisment_index_m img{
        margin: 0 3px;
        max-width: calc(50% - 7px) !important;
    }

    .oz_advertisment_index.oz_mobile{
        text-align: center;
    }

    .oz_advertisment_index.oz_mobile img{
        margin: 10px 0 0 0;
        max-width: 100% !important;
    }
}

@media only screen and (max-width : 500px) {

    .oz_full_site{
        display: none !important;
    }

    .oz_mobile{
        display: block !important;
    }

    #oz_main .oz_news_wrapper{
        display: block;
        margin-bottom: 30px;
    }

    #oz_main .oz_index_news_block{
        width: 100%;
        padding: 10px 10px 0 10px;
        box-sizing: border-box;
    }

    #oz_main .oz_index_top_advert{
        width: 100%;
    }

    .oz_index_top_advert img{
        max-width: 100%;
        width: unset !important;
        height: unset !important;
    }

    #oz_main .oz_news_block_index
    {
        width: 100%;
        padding: 0 10px 40px 10px;
    }

    #oz_main .oz_news_block_index .oz_news_image_thumbinail{
        height: 170px;
    }

    #oz_main table.oz_table tbody tr td,
    #oz_main table.oz_table thead tr th {
        font-size: 10px;
        padding: 4px;
    }

    table.forum-post-table img {
        max-width: 100% !important;
    }

    .news-detail{
        padding: 0;
    }

    .news-detail p{
        margin: 1em 0;
        text-align: left !important;
    }

    .news-detail img{
        max-width: 100% !important;
        width: unset !important;
        height: unset !important;
        float: left;
        margin: 0 0 10px 0;
    }

    table.forum-table .forum-column-topics,
    table.forum-post-table .forum-cell-user{
        display: none;
    }

    .forum-column-lastpost{
        display: none;
    }

    .forum-info-box.forum-statistics div{
        white-space: normal !important;
        float: none !important;
        text-align: left !important;
    }

    #oz_forum_wrapper{
        box-sizing: border-box;
        font-size:  12px;
    }

    #oz_forum_wrapper td{
        position: relative;
    }

    #oz_forum_wrapper div.forum-action-links{
        position: absolute;
        right: 0;
        bottom: 0;
        width: 130px;
        font-size: 12px;
    }

    #oz_forum_wrapper .forum-table.forum-subscribe-list th,
    #oz_forum_wrapper .forum-table.forum-subscribe-list td,
    #oz_forum_wrapper .forum-table.forum-users th,
    #oz_forum_wrapper .forum-table.forum-users td{
        font-size: 11px;
        padding: 2px;
    }

    #oz_forum_wrapper .forum-filter-field:after{
        content: "_";
        color: transparent;
        display: table;
        clear: both;
    }

    #oz_forum_wrapper .forum-cell-contact{
        height: 50px;
    }

    #oz_orders{
        display: flex;
        flex-flow: column-reverse;
    }

    #oz_orders .oz_product_cart_wrapper{
        width: 100%;
        float: none;
    }

    #oz_orders .oz_product_cart {
        height: auto !important;
        width: 100%;
        margin: 10px 0 0 0;
    }

    #oz_orders .oz_order_menu{
        float: none;
        margin: 20px 0;
    }

    #oz_p1_paper,
    #oz_phone,
    #oz_result,
    #oz_text {
        width: 100%;
        box-sizing: border-box;
    }

    #oz_orders .oz_do_order_buttons {
        text-align: center;
        display: flex;
        flex-direction: column;
    }

    #oz_orders .oz_do_order_buttons input{
        display: inline-block;
        margin: 5px 0 0 0;
    }

    #oz_orders label[for="oz_summa_total"]{
        padding-left: 0 !important;
        display: block;
        float: none;
        width: 100%;
    }

    #oz_orders .oz_30_add{
        padding: 10px 0 0 59px;
    }

    #oz_orders .oz_table {
        width: 100%;
        box-sizing: border-box;
    }

    #oz_orders .oz_pd{
        width: 100%;
    }

    #oz_main .oz_center_column img{
        max-width: 100%;
    }
}
