@media screen and (max-width: 1024px){
        .footerbg > div {
            width:48%;
        }
        .footerbg > .contactBlock, .footerbg > .footerMenu.Second {
            width:100%;
        }
    }

@media (max-width: 767px) {

    .footerbg > div {
            width:100%;
            text-align: center;
        }
        .footerbg {
            margin-top: -30px;
        }

    .wrap {
        width: auto;
        padding: 0 10px;
        min-width: 1px;
    }

    .page-inner {
        padding-bottom: 20px;
    }

    .panel-header {
        display: block;
    }
    
    #page #content .left,
    #menutop {
        display: none !important;
    }

    #header {
        background: #fff;
        padding: 100px 0 30px;
    }

    .header-inner {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
        -ms-align-items: center;
        align-items: center;
        justify-content: center;
        height: auto;
    }

    #header .logo {
        margin-bottom: 15px;
        margin-right: 0;
    }

    #header .header-right {
        width: 100%;
    }

    #header .blocks {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
        -ms-align-items: center;
        align-items: center;
    }

    #header .block:nth-child(1) {
        width: 100%;
        margin-right: 0;
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
        -ms-align-items: center;
        align-items: center;
    }

    #header .phones {
        display: none;
    }

    #header .others {
        margin-left: 0;
    }

    #header .slogan {
        background: #fa9d0c;
        padding: 10px;
        height: auto;
        line-height: normal;
        margin-bottom: 15px;
    }

    #header .social {
        flex-direction: row;
        padding-top: 20px;
    }

    #header .social a + a {
        margin: 0 !important;
        margin-left: 10px !important;
    }

    h1,
    .jshop h1,
    .about h3,
    .advantages h3,
    .services h3,
    .contact h3,
    .reviews h3,
    .news h3 {
        font-size: 26px;
    }

    .middle h3 {
        font-size: 26px;
    }

    .jshop .jshop_categ,
    .categories_products .jshop_menu_level_0 > a,
    .jshop .block_product,
    .jshop .block_item,
    .jshop_related {
        width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }

    #page #content {
        padding-bottom: 20px;
    }

    .cols-full {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
    }

    .cols-full > div {
        width: 100%;
    }

    .col-left {
        margin-bottom: 20px;
        padding-right: 0;
    }

    .jshop div.jshop_register {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
    }

    #comments-form textarea {
        width: 100% !important;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .jshop div.jshop_register > div {
        width: 100%;
    }

    #system-message-container > div {
        width: 100%;
    }

    #comments-form p,
    #comments-form #comments-form-buttons,
    #comments-form #comments-form-error,
    #comments-form #comments-form-captcha-holder {
        margin-left: 0 !important;
    }

    #comjshop .jshop_list_category,
    #comjshop .jshop.list_category {
        margin: 0;
    }

    .jshop.cart,
    .jshop.cart tbody {
        font-size: 14px;
    }

    .jshop.cart tr td div {
        padding: 3px;
        flex-grow: 1;
    }

    #checkout {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
        -ms-align-items: center;
        align-items: center;
    }

    #checkout > div {
        margin-bottom: 10px;
    }

    .jshop .jshop_categ,
    .categories_products .jshop_menu_level_0 > a {
        margin: 0 0 30px;
        width: 100%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .advantages .advantages-list,
    .services .list_contents,
    .reviews .jcomments-latest,
    .news .nspArtPage {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
        -ms-align-items: center;
        align-items: center;
    }

    .advantages .advantage,
    .services .view,
    .reviews ul.jcomments-latest li,
    .news .nspArt {
        width: 100%;
        margin-bottom: 30px;
    }

    .news .nspText {
        height: auto;
    }

    .contact {
        height: auto;
        padding: 30px 0;
        -webkit-background-size: cover;
        background-size: cover;
    }

    .arcticmodal-container_i2 {
        padding: 10px;
    }

    .category-desc .list_contents .view {
        width: 100%;
    }

}
