@media screen and (max-width: 1216px) {
    #content .center {
        padding: 0 10px;
    }
    .banners-and-dayproduct {
        float: none;
    }
    .banners-and-dayproduct .dayproduct {
        float: none;
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }
    .banners-and-dayproduct .banners {
        margin: 0;
    }
    .banners-and-dayproduct .dayproduct .brd .pad {
        width: auto;
        padding: 20px;
    }
    .banners-and-dayproduct .dayproduct .hint {
        right: 20px;
    }
    .banners-and-dayproduct .dayproduct .product-list {
        float: none;
    }
    .banners-and-dayproduct .dayproduct .product-list .item {
        float: none;
        width: 100%;
    }
    .banners-and-dayproduct .dayproduct .product-list .item .item-right {
        text-align: center;
    }
    .banners-and-dayproduct .dayproduct .product-list .item .item-title {
        height: auto !important;
        padding-bottom: 10px;
    }
    .banners-and-dayproduct .dayproduct .product-list .item .ware-price {
        text-align: center;
    }
    .banners-and-dayproduct .dayproduct .product-list .item .order-button {
        float: none;
        margin: 0 auto;
    }
    .banners-and-dayproduct .dayproduct .product-list .item .img-wrap {
        height: 150px;
    }
    .sorting-box {
        padding-right: 30px;
    }
    .gallery-box .slick-prev, .gallery-box .slick-next {
        display: none !important;
    }
}

@media screen and (max-width: 1190px) {
    .main-info .product-images-wrap {
        width: 700px;
    }
    .main-info .main-photo {
        width: 530px;
    }

    .basket-table-wrap {
        display: block;
    }
    .basket-table-wrap .cart-content {
        display: block;
        width: 100%;
    }
    .basket-table-wrap .cart-total {
        display: block;
        padding: 0;
        width: auto;
        margin-top: 30px;
    }

    .catalog-wrapper.plist .product-list {
        display: table-cell;
    }
    /* formfilter */
    .catalog-wrapper {
        display: block;
    }
    .catalog-wrapper.formfilter .filters-box {
        display: block;
        width: 100%;
        max-width: 100%;
    }
    .catalog-wrapper.formfilter .filters-box-full {
        padding: 0;
    }
}

@media screen and (max-width: 1090px) {
    .main-info {
        display: block;
    }
    .main-info .product-images-wrap {
        display: block;
        width: 100%;
    }
    .main-info .product-images {

    }
    .main-info .main-photo {
        width: auto;
    }
    .main-info .right {
        margin-top: 50px;
        display: block;
        width: 100%;
        padding: 0;
    }
}


@media screen and (max-width: 1036px) {
    #header {
        height: 64px;
    }
    #header .top-block a.phone,
    #header .top-block a.about {
        display: none;
    }
    #header .top-block .wrapper form {
        width: 265px;
        margin: 0 auto;
    }
    #header .top-block .search-form-wrapper {
        display: none;
        position: absolute;
        bottom: -40px;
        left: 0;
        right: 0;
        background-color: #333;
        padding: 10px 0;
    }
    #header .icon-wrap.login {
        margin-left: 7px;
    }
    #header .icon-wrap.search {
        display: block;
    }
    #header .logo {
        width: 80px;
        float: none;
        margin: 0 0 0 25px;

        display: inline-block;
        vertical-align: top;
    }
    #header .logo a {
        left: 0;
        top: 13px;
        width: 80px;
        height: 40px;
        -webkit-background-size: contain;
        background-size: contain;
    }
    #header .top-block .icons-wrapper {
        position: absolute;
        top: 15px;
        right: 10px;
    }
    #header .right {
        margin-left: 0;
        padding-left: 0;
        width: 0;
        height: 0;
    }
    #header .top-block {
        padding: 0;
    }
    #header .menu-icon {
        display: block;
        cursor: pointer;
        position: absolute;
        top: 15px;
        left: 15px;
        z-index: 150;
    }
    #header .not-mobile-tab,
    #header .nmt
    {
        display: none;
    }

    #header .phone-and-mail-mobile-only {
        float: none;
        height: 100%;
        position: relative;
        margin: 0 0 0 35px;
        display: inline-block;
    }
    #header .phone-and-mail-mobile-only div {
        white-space: nowrap;
        position: absolute;
        top: 0;
        left: 0;
    }

    #header .phone-and-mail-mobile-only a {
        /*color: #fff;*/
    }

    #over {
        position: fixed;
        top: 0;
        bottom: 0;
        width: 100%;
        opacity: 0;
        -moz-opacity: 0;
        filter: alpha(opacity=0);
        z-index: -1;
        visibility: hidden;
    }
    .mobile-menu-open #over {
        opacity: 1;
        -moz-opacity: 1;
        filter: alpha(opacity=100);
        z-index: 100;
        visibility: visible;
    }

    #header .menu-block {
        height: calc(100% - 64px);
        height: -moz-calc(100% - 64px);
        height: -webkit-calc(100% - 64px);
        height: -o-calc(100% - 64px);
        overflow-y: auto;
        position: absolute;
        top: 64px;
        left: 0;
        background-color: #333;
        padding: 0;
        border-top: 1px solid #ddd;
    }
    #header .menu-block ul {
        display: block;
    }
    #header .menu-block ul li {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 5px 10px 5px;
    }
    #header .menu-block ul li a {
        color: #fff;
    }
    #header .menu-block ul li.only-mobile {
        display: block;
    }
    #header .menu-block ul li a {
        display: block;
        padding: 20px 20px 10px 20px;
    }
    #header .menu-block ul li a.level0,
    #header .menu-block ul li a.level1,
    #header .menu-block ul li a.level2
    {
        display: block;
        padding: 6px 20px;
        font-size: 18px;
        line-height: 100%;
        color: #eee;
        text-align: left;
    }
    #header .menu-block ul li a.level0 {
        padding-left: 35px;
    }
    #header .menu-block ul li a.level1 {
        padding-left: 50px;
        font-size: 16px;
    }


    .submenu {
        width: 0;
        height: 0;
    }
    .popup-auth {
        top: 35px;
    }
    #header .top-block .wrapper .popup-auth form {
        width: auto;
    }
    #content {
        padding-top: 80px;
    }
    #content .center {
        padding: 0 10px;
    }

    .model-title {
        display: block;
        padding-bottom: 20px;
    }
    .model-title .h1 {
        display: block;
        width: 100%;
    }
    .model-title h1 {
        margin: 0;
        padding: 20px 0 5px 0;
    }
    .model-title .model-rating {
        display: block;
        width: 100%;
        text-align: left;
    }

    /* --- filters --- */
    .mobile-filters {
        display: block;
    }
    .catalog-wrapper {
        display: block;
    }
    .filters-box {
        display: block;
        width: 100%;
        max-width: 100%;
    }
    .plist .modal-adaptive {
        position: fixed;
        top: -9999px;
        bottom: 9999px;
        left: -9999px;
        right: 9999px;
        opacity: 0;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: -webkit-box;
        display: flex;
        -webkit-align-items: center;
        -ms-flex-align: center;
        -webkit-box-align: center;
        align-items: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        -webkit-box-pack: center;
        justify-content: center;
        z-index: 100;
        background: rgba(0, 0, 0, 0.8);
        -webkit-transition: opacity .35s ease 0s;
        -o-transition: opacity .35s ease 0s;
        transition: opacity .35s ease 0s;
        padding: 10px 0;
        box-sizing: border-box;
    }
    .plist .modal-adaptive.open {
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        opacity: 1;
    }

    .plist .modal-adaptive.open .children-groups,
    .plist .modal-adaptive.open .choice {
        -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
        width: 280px;
        max-width: 100%;
        padding: 20px;
        -webkit-border-radius: 10px;
        border-radius: 10px;
        -webkit-flex: 0 0 320px;
        -ms-flex: 0 0 320px;
        -webkit-box-flex: 0;
        flex: 0 0 320px;
        background: #fff;
        position: relative;
        overflow-x: hidden;
        overflow-y: auto;
        max-height: 100%;
        box-sizing: border-box;
    }
    .plist .modal-adaptive.open .children-groups {
        margin: 0;
        border: 0;
    }
    .plist .modal-adaptive.open .children-groups :last-child {
        padding: 0;
    }
    .plist .modal-adaptive .children-groups .close,
    .plist .modal-adaptive .choice .close {
        display: block;
    }
    .plist .modal-adaptive .choice form.params {
        margin-top: 15px;
    }
    .filter-result {
        z-index: 101;
        margin-left: -85px;
    }

    #notFound {
        right: auto;
        left: 0;
        top: 60%;
    }
    #notFound div {
        width: 24px;
        height: 125px;
        background: url('../images/not_found_sm3.png') no-repeat;
    }
}

@media screen and (max-width: 850px) {
    /*--- filters ---*/
    .catalog-wrapper.formfilter .coll_s {
        width: 100% !important;
        float: none !important;
        clear: none !important;
    }
    .catalog-wrapper.formfilter ul li {
        width: 80%;
    }
}

@media screen and (max-width: 768px) {
    .user-form .lft { width: 100%; float: left; }
    .user-form .rgt { float: left; width: 100%; padding-top: 0; }
    .user-form .errors-text { padding: 20px 0 0 0; }

    .model-cart .item-textblock {
        overflow: hidden;
    }
    .model-cart .item-textblock ul {
        display: block !important;
    }
    .model-cart .item-textblock li {
        border-bottom: 0 !important;
        padding: 0 !important;
    }
    .model-cart .item-textblock li dl {
        width: 100% !important;
        border-bottom: 1px solid #eee !important;
        padding-top: 7px !important;
        padding-bottom: 7px !important;
    }


    .main-info .right {
        margin-top: 100px;
    }
    .main-info .product-images {
        display: block;
        width: 100%;
        position: relative;
    }
    .main-info .product-images .main-photo {
        display: block;
        width: 100%;
    }
    .main-info .product-images .main-photo img {
        width: 100%;
    }
    .main-info .product-images .left {
        display: block;
        width: 100%;
        position: absolute;
        bottom: -100px;
    }
    .main-info .product-images .left .ext-images {
        margin-top: 0;
        padding: 0 40px;
    }
    .ext-images .slick-prev, .ext-images .slick-next { width: 24px; height: 74px; top: 40%; }
    .ext-images .slick-prev {
        background: url('../images/left.png');
        left: -25px;
        z-index: 10;
    }
    .ext-images .slick-next {
        background: url('../images/right.png');
        right: -25px;
        z-index: 10;
        bottom: auto;
        left: auto;
    }
    .ext-images a img {
        width: auto;
        height: 80px;
    }

    .success-popup {
        margin: -135px 0 0 -210px;
        width: 420px;
    }
}

@media screen and (max-width: 630px) {
    .basketWares td.amount .change-amount { display: none; }
    .basketWares td.amount input { width: 30px; }
    .basketWares .photo {
        width: 100px;
    }
    .basketWares .img-wrap {
        width: 130px;
        height: 125px;
    }
    .basketWares td.price {
        font-size: 16px;
    }
    #order-form #back-to-cart { float: right; margin-bottom: 10px; }
    #make-order { clear: both; }
    #order-form .info_item .right { float: none; }
    #order-form .info_item > .left { width: auto; float: none; }
    #order-form .info_item > .right { width: 100%; text-align: left; }

}
@media screen and (max-width: 510px) {

    .success-popup {
        margin: -135px 0 0 -160px;
        width: 320px;
    }
    .success-popup .page-head, .success-popup h1 { font-size: 14px; }
    .success-popup .form-content { padding-left: 20px; }
    .success-popup .address-form .label { padding-right: 20px; }
    .success-popup .user-form .check .finput { margin-right: 20px; }
    .success-popup .address-form .button-block { padding-left: 20px; }
    .success-popup .user-form .check .fstatus { display: none; }

    .address-box {
        float: none;
    }
    .address-box .item {
        /*width: 280px;*/
        width: auto;
        float: none;
        margin-right: 0;
        padding-left: 20px;
        padding-right: 10px;
    }
    .address-box .item.full {
        /*width: 280px;*/
        width: auto;
        float: none;
        margin-right: 0;
        padding-left: 20px;
        padding-right: 10px;
    }
}
@media screen and (max-width: 430px) {
    .basketWares .photo {
        width: 70px;
    }
    .basketWares .img-wrap {
        width: 70px;
        height: 88px;
    }
}
@media screen and (max-width: 400px) {
    .product-list.catalog .item {
        width: 265px;
    }
    .product-list.catalog .item .img-wrap {
        width: 220px;
        height: 200px;
    }
}

@media screen and (max-width: 340px) {
    #header {
        position: absolute;
    }
}

@media screen and (max-width: 370px) {
    #header .phone-and-mail-mobile-only {
        margin: 0 0 0 30px;
    }

    #header .phone-and-mail-mobile-only a {
        font-size: 14px;
    }
}

@media screen and (max-width: 347px) {
    #header .phone-and-mail-mobile-only {
        margin: 0 0 0 28px;
    }

    #header .phone-and-mail-mobile-only a {
        font-size: 12px;
    }
}

@media screen and (max-width: 327px) {
    #header .phone-and-mail-mobile-only {
        display: none;
    }
}
