/* Адаптация под планшеты */

@media only screen and (min-width:1024px) {
    .styleimg {
        background-color: #f3f7fa;
        border-radius: 4px;
            padding: 20px;
    }
}

@media only screen and (max-width:1023px) {


    .mysocial li {
    float: left;
    width: calc(12.5% - 10px);
    margin: 5px;
    padding: 0px;
}

    .swchItemDots {display: none;}

    .pnext .pgSwch,
.pprev .pgSwch,
.pgSwchA,
.pgSwch,
.swchItem,
.swchItemA {
    width: calc(100% / 10 - 10px);
        float: left;
}

        .styleimg {
border-top: none;
    border-bottom: none;
    padding: 0px;
    }

    #goods_cont .list-item,
    .archiveEntries div[id*="entryID"],
    #allEntries div[id*="entryID"] {
        width: calc(50% - 10px);
    }

    .language a {
        background-color: #f5fbff;
        padding-left: 10px;
        margin-right: 10px;
    }

    .miniversion {
        display: block;
        max-width: calc(70% - 10px);
        line-height: 0px;
    }

    .miniversion .selectric .label {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }

    .fullversion {
        display: none;
    }

    .allcolstat {
        font-size: 0px;
        width: 30%;
    }

    .allcolstat .acsblock {
        font-size: 12px;
        padding: 0px 5px;
        width: calc(100% - 10px);
        text-align: center;
        margin: 0px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #gotop {
        display: none;
    }

    .fotoer_content {
        width: calc(100% - 40px);
        padding: 40px 20px 20px 20px;
    }

    .footer_bottom {
        padding: 20px;
        line-height: 24px;
    }

    .footer_bottom .foobot_b {
        margin: 0px auto;
        text-align: center;
    }

    .footer_soderj section.prod_uslug_b {
        order: 4;
        margin-top: 40px;
    }

    .footer_soderj section.prod_uslug_b,
    .footer_soderj section.flast {
        width: calc(66% - 10px);
        max-width: 100%;
    }

    .footer_soderj section.flast ul.number br {
        display: none;
    }

    .footer_soderj section.flast ul.oplata li {
        width: calc(16.666% - 10px);
        opacity: 1;
    }

    .footer_soderj section.glavnoe_b,
    .footer_soderj section.clientam_b {
        width: calc(34% - 10px);
        max-width: 100%;
    }

    .footer_soderj section.prod_uslug_b ul {
        display: table;
        margin: -5px;
        width: calc(100% + 10px);
    }

    .footer_soderj section.prod_uslug_b ul li {
        width: calc(50% - 10px);
        margin: 5px;
        float: left;
    }

    .footer_soderj section.glavnoe_b {
        order: 3;
        margin-top: -20px;
    }

    .disp_flex {
        display: flex;
        flex-flow: wrap;
    }

    .minilogo {
        display: table;
    }

    .tm_menu ul li {
        width: calc((100% - 0px) / 6 - 1px);
        border-top: 1px solid #f3f7fa;
        line-height: 60px;
    }

    .tm_menu ul li.lilogo {
        display: none;
    }

    .tm_menu {
        width: calc(100% - 0px);
    }

    .tm_phone,
    .tm_dop_menu {
        width: calc(100% / 6);
    }

    #fullmenu.openmenu {
        width: calc(100% - 40px);
        padding: 0px 20px;
    }

    .fullmenu {
        margin-top: 20px;
        height: calc(100% - 40px);
    }

    .headmenu {
        margin-top: 20px;
    }

    ul.ul_fullmenu {
        margin-left: 70px;
        width: calc(100% - 70px);
    }

    ul.ul_fullmenu li {
        width: calc(100% / 6 - 8.333px);
        margin-right: 10px;
    }

    ul.ul_fullmenu li a {
        font-size: 14px;
    }

    .absol_right {
        display: none;
    }

    .cbmat_right {
        display: block;
        width: 100%;
        position: relative;
        float: none;
        top: 0px;
        margin-top: 10px;
        order: 2;
    }

    .cbmat_r_2 {
        display: none;
    }

    .shop_content .cbmat_r_2 {
        margin-top: 0px;
        display: block;
    }

    .shop_content .cbmat_r_min_content {
        height: 100% !important;
        max-height: 100% !important;
    }

    .bmat_left {
        width: calc(100% - 0px);
        float: none;
    }

    .bottom-info-wrapper {
        left: 10px !important;
        width: calc(100% - 90px);
    }

    #goods_cont .list-item:hover,
    .archiveEntries div[id*="entryID"]:hover,
    #allEntries div[id*="entryID"]:hover {
        box-shadow: none;
    }

    #gotop:hover {
        bottom: 10px !important;
        background-color: #e30013;
    }

    .c-hamburger--htx:hover {
        background-color: #e30013;
    }

    .history_link {
        display: block;
    }

    .hleft {
        display: none;
    }

    .page_style p,
    .page_style h1,
    .h1 {
        width: 100%;
    }

    .page_style h1,
    .h1 {
        font-size: 24px;
        line-height: 32px;
    }

    .home_ul ul li {
        width: calc(25% - 5px);
    }

    .page_style:before,
    .page_style:after {
        display: none;
        background-image: none !important;
    }

    .page_style {
        background-image: none !important;
    }

    .plb_button.disp_none {
        display: block;
        margin-top: 10px;
    }


    .hcenter {
        width: calc(100% - 90px);
        margin: 0px;
        margin-left: 10px;
    }

    #header {
        width: calc(100% - 20px);
        background-color: #d9eeff;
        margin-left: 0px;
        padding: 10px;
        margin-bottom: 10px;
    }

    #bmenu {
        left: 10px;
    }

    #bmenu.openburger {
        top: 20px;
        left: 20px;
    }

    .bmat_l_info .bmat_li_b a {
        transition: all 0.0s;
    }

    .body .cbmat_right {
            order: 1;
    margin-top: 0px;
    margin-bottom: 10px;
    }

    .body .bmat_left {
    order: 2;
}

    .body .bmat_left #allEntries {
        margin-top: -10px;
    }

    /* Меню */

        .fullmenu {
    margin-top: 80px;
    height: calc(100% - 80px);
}

    #fullmenu.openmenu {
    width: calc(100% - 40px);
    padding: 20px;
            height: calc(100% - 40px);
}

ul.ul_fullmenu {
    width: calc(100% - 0px);
    margin-top: 0px;
    margin-left: 0px;
    display: block;
    height: calc(100% - 0px);
}

ul.ul_fullmenu li {
    float: none;
    width: calc(100%);
    margin-right: 0px;
    margin-bottom: 10px;
    height: calc(16.666% - 8.333px);
    position: relative;
    background-color: #27313a;
    overflow: hidden;
}

ul.ul_fullmenu li a {
    font-size: 16px;
    width: 100%;
    height: 100%;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

        ul.ul_fullmenu li:last-child {
    float: none;
    margin-right: 0px;
    margin-bottom: 0px;
}

        @media only screen and (max-height:499px) {
ul.ul_fullmenu li {
    float: left;
    width: calc(50% - 5px);
    height: calc(33.333% - 6.666px);
    margin-right: 10px;
}

    ul.ul_fullmenu li:nth-child(2n) {
        margin-right: 0px;
    }
}


}
