.clear {clear: both;}
.delivery-table {
    border-collapse: collapse;
    width: 100%;
}
.delivery-table th,
.delivery-table td {
    border: 3px solid #e0e0e0;
    text-align: center;
    padding: 7px 5px;
    font-weight: normal;
}
.delivery-table th {
    background-color: #e0e0e0;
    word-break: break-all;
}

@media screen and (min-width: 1140px) {
    .for-small {
        display: none;
    }
    .spoiler .spoiler__content {
        height: auto !important;
    }
}
@media screen and (min-width: 768px) and (max-width: 1139px) {
    li.product-small {
        width: 33%;
        margin: 0;
    }
    .large-block-grid-4 > li:nth-of-type(4n+1) {
        clear: none;
    }
}

@media screen and (max-width: 1139px) {
    .recommends .view-more {
        margin-top: 30px;
    }
    
    html, body,
    body.boxed #wrapper {
        max-width: 100%;
        width: 100%;
        min-width: 0;
    }
    #masthead .mobile-menu.show-for-small {
        display: inline-block !important;
    }
    .mobile-menu a span.icon-menu {
        margin: 0;
    }
    .search-head-pos {
        display: inline-block;
        vertical-align: middle;
        width: 100%;
    }
    .hide-for-small {
        display: none !important;
    }
    #masthead .header-container {display: block;}
    #logo {
        display: block;
        width: 320px;
        margin: 0 auto;
    }
    .slogan {font-size: 14px;}
    .left-links {
        display: block;
    }
    .columns.header-container {
        padding: 0 15px 20px;
    }
    .header-email-phone-wrap {
        margin: 0;
        padding: 0;
    }
    .header-email-phone span {
        width: auto;
        display: block;
    }
    .phone_link {
        background: none !important;
        padding-left: 0 !important;
    }
    #masthead .left-links {
        display: block;
        float: left;
        width: 40%;
    }
    #masthead .left-links.navigation {
        width: 100%;
    }
    #masthead .right-links {
        display: block;
        float: left;
        width: 60%;
    }
    .benefits {
        display: none;
    }
    .ux_banner .banner-bg {
        background-size: contain !important;
    }
    .ux_banner.light {
        max-height: 290px;
    }
    .iosSlider.default {
        height: auto !important;
    }
    .bannertop {
        display: block;
        background: none;
        margin: 0 !important;
        padding: 0;
        height: 50px !important;
    }
    .bannertop h1 {
        color: #f03432 !important;
        font-size: 22px !important;
    }
    .bannertop .inner {
        width: 100% !important;
        margin: 0 auto !important;
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0 !important;
    }
    .favorits {
        background-color: #f29699;
        padding: 12px 23px;
        width: 167px;
        /*margin: 0 auto 20px;*/
        display: inline-block;
        text-align: center;
        color: #fff;
        text-transform: uppercase;
        font-size: 12px;
        line-height: 12px;
    }
    .header-sity-time {
        display: none;
    }
    .page-wrapper {
        width: 100%;
    }
    .category-link-main .widget-title {
        display: none;
    }
    .category-link-main .linktocategory, .homerelink-item{
        margin: 7px auto;
        padding: 0 10px;
        width: 16.5%;
    }
    .category-link-main .linktocategory img {
        margin: 0 auto;
    }
    .advantage .columns > div > div {
        width: 100%;
    }
    .recommends {
        width: 100%;
    }
    h1,
    .aboutus .widget-title,
    .partners .widget-title,
    .recommends .widget-title {
        text-align: center;
        font-size: 20px;
        margin: 20px 0 10px;
        text-transform: uppercase;
    }
    .recommends .textwidget > div {
        width: 50%;
        float: left;
        clear: none;
        padding: 15px;
        text-align: center;
        height: 320px;
        margin-bottom: 10px;
    }
    .recommends .textwidget > div > div > p {
        display: none;
    }
    .recommends img {
        max-width: 100%;
        height: 250px;
        width: auto;
        margin: 0 0 15px;
        float: none;
    }
    .unfotter-right {
        width: 100%;
    }
    .partners {
        padding: 10px;
        background: none;
    }
    .partners .widget-title {
        width: 100%;
    }
    .partners .textwidget {
        height: auto !important;
        padding: 0 !important;
    }
    .partners .seogallery {
        margin: 1% !important;
        width: 47% !important;
        height: auto !important;
    }
    .callback-bottom {
        background: none;
        display: block;
        margin: 20px auto;
        border: 2px solid #dc4c41;
        text-align: center;
        padding: 15px 30px;
        width: 300px;
        text-decoration: none !important;
        text-transform: uppercase;
        color: #dc4c41;
    }
    .absolute-footer .left.phone-time_footer {
        margin: 0;
    }
    .callback.callme_viewform {
        margin-bottom: 3px;
        box-sizing: border-box;
        width: 167px;
    }
    #contactpage {
        text-align: center;
    }
    #contactpage [class^="contact-"] {
        margin: 0 auto;
    }
    #contactpage .contactsubmit {
        margin: -30px auto 0;
    }
    .container-calc .calc {
        width: 100%;
        padding: 15px 0;
    }
    .container-calc .calc .effectcaption,
    .container-calc .sizecaption {
        display: none;
        /*text-align: center;
        margin-top: 0;*/
    }
    .container-calc .calc {
        background-color: #e0e0e0;
        padding: 10px 5px;
    }
    .container-calc .calc select {
        background-color: #fff;
        border: none;
    }
    .container-calc .calc .wrapsizes .wrapcheck {
        display: inline-block;
        float: none;
    }
    .container-calc .calc .wrapsizes {
        text-align: center;
    }
    /*.container-calc .calc .effectcaption {
        text-align: center;
        margin: 15px 0;
    }*/
    .wrapsizes .wrapcheck label::before {
        background: #fff;
    }
    .container-calc .calc .sizesleftblock {
        width: 100%;
    }
    .container-calc .calc .sizesleftblock > div {
        width: 50%;
        display: block;
        float: left;
    }
    .container-calc .calc label {
        font-weight: bold;
    }
    .sizesleftblock label {
        width: 100%;
    }
    .container-calc .calc .sizesleftblock input {
        width: 100%;
        border: 2px solid #e0e0e0;
        box-shadow: none;
    }
    .container-calc .calc .oboicostcaption {
        font-weight: bold;
    }
    .container-calc .calc .primary {
        /*margin: 7px calc((100% - 50%) / 2);*/
    }
    .container-calc .sizesrightblock {
        width: 100%;
        padding: 0;
    }
    .container-calc .relief {
        margin-top: 20px;
        width: 100%;
    }
    .container-calc .relief .relief-caption {
        margin-top: 25px;
    }
    .calc-table table .hide-for-small {
        display: none !important;
    }
    .calc-table table,
    .calc-table table tbody {
        border: 0;
        margin-top: 20px;
        
        display: flex;
        align-items: stretch;
        justify-content: space-between;
        flex-wrap: wrap;

        display: -webkit-flex;
        -webkit-align-items: stretch; 
        -webkit-justify-content: center;
        -webkit-flex-wrap: wrap;
    }
    .calc-table tr {
        width: 50%;
        display: flex;
        flex-direction: column;
        -webkit-flex-direction: column;
        border: 2px solid #fff !important;
        background-color: #e0e0e0;
    }
    .calc-table tr td:first-child,
    .calc-table td {
        width: 100%;
        height: auto;
        text-align: center;
        border: 0;
        padding: 7px;
    }
    .post-1986 img {
        display: block;
        margin: 20px auto 7px;
        float: none;
    }
    .ya-money {
        overflow-y: scroll  ;
    }
    .post-5296 .entry-content p {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        justify-content: space-around;
    }
    .post-5296 .entry-content .seogallery {
        /*display: flex !important;*/
        height: auto !important;
    }
    .wraprow .wrapitem:first-child img,
    .wraprow .wrapitem img {
        margin: 0;
    }
    .wraprow .wrapitem:first-child .wraptextblock p {
        width: 100%;
    }
    .wraprow .wrapitem:first-child .wraptextblock,
    .wraprow .wrapitem .wraptextblock {
        padding: 0;
        text-align: justify;
        width: 100%
    }
    .wraprow .wrapitem {
        margin: 3%;
        width: 44%;
    }
    .wraprow .wraptextblock strong {
        margin-top: 0;
        text-align: center;
    }
    h3 {
        text-align: center;
        font-size: 17px;
        margin: 20px auto 10px;
        text-transform: uppercase;
        width: 70%;
    }
    .wrapreliefdata.product-relief {
        height: 87px;
    }
    .oplatandostavka {
        width: 100%;
        margin: 20px auto;
    }
    .product-info {
        margin-top: 15px;
    }
    #post-5487 img {
        width: 31% !important;
        margin: 1% !important;
    }
    .cme-form {
        width: 305px !important;
        margin-top: 30px;
        padding: 5px;
    }
    form.cme .cme-fields input {
        width: 100% !important;
    }
}

@media screen and (max-width: 767px) {
    #post-5487 img {
        width: 48% !important;
        margin: 1% !important;
    }
    #top-ratd {
        display: none;
    }
    #jPanelMenu-menu {
        box-shadow: 0 0 10px #000;
    }
    .products-per-page {
        display: none;
    }
    .left-extra-menu .menu li {
        display: inline-block;
        width: 200px;
    }
    .left-extra-menu .menu li a:hover {
        font-weight: normal;
        text-decoration: underline;
    }
    .from-my-photo {
        margin: 10px auto !important;
        display: block;
        max-width: 300px;
    }
    .left-extra-menu {
        padding: 10px;
    }
    .left-extra-menu__header {
        background-color: #bebebe;
        padding: 10px;
        border: 0;
        width: 100%;
        position: relative;
    }
    .left-extra-menu__header:after {
        content: '\25bc';
        font-size: 20px;
        position: absolute;
        right: 7px;
        color: #bebebe;
        background-color: #fff;
        padding: 3px;
        margin: -5px -3px;
    }
    [spoiler-collapsed="0"] .left-extra-menu__header:after {
        content: '\25b2';
    }
    .breadcrumb-row.cat_brcr {
        margin-bottom: 5px;
    }
    .breadcrumb-row .left {
        text-align: left;
    }
    .spoiler__content {
        height: 0;
        overflow: hidden;
    }
    .wraprow .wrapitem {
        margin: 0;
        width: 100%;
    }
    #site-navigation {
        display: none;
    }
    .category-link-main .linktocategory, .homerelink-item{
        width: 33%;
    }
    .mobile-menu a span.icon-menu {
        background: url(../img/gamburger.png) no-repeat;
        width: 36px;
        height: 29px;
        display: inline-block;
    }
    .search-head-pos {
        width: calc(100% - 80px);
    }
    .post-5296 .entry-content .seogallery {
        width: 45% !important;
    }
}

@media screen and (max-width: 475px) {
    .blocker:before {
        height: 0px;
    }
    .modal {
        width: 285px;
    }
    #post-747 img {
        width: 100%;
        display: block;
        float: none;
        margin: 7px auto;
    }
    .news-list img {
        width: 30%;
        height: auto;
        /*display: block;
        float: none;*/
        /*margin: 20px 0 10px;*/
    }
    #post-5487 img {
        width: 100% !important;
        margin: 1% 0 !important;
    }
    .recommends .textwidget > div {
        width: 100%;
        float: none;
        height: auto;
    }
    .recommends img {
        width: 100%;
        height: auto;
    }
    .header-email-phone {
        padding-top: 17px;
    }
    .phone_link a {
        font-size: 12px;
    }
    .ux_banner.light {
        max-height: 200px;
    }
    .category-link-main .linktocategory, .homerelink-item{
        width: 50%;
        text-align: center;
    }
    .calc-table tr {
        width: 100%;
    }
    .post-5296 .entry-content .seogallery {
        width: 100% !important;
    }
}
