﻿@media only screen and (min-width: 300px) {
    .xs-tar {
        text-align: right;
    }

    .xs-tac {
        text-align: center;
    }

    .xs-tal {
        text-align: left;
    }

    .xs-hide {
        display: none;
    }

    .xs-show {
        display: block;
    }
}

@media only screen and (max-width: 980px) {
    .md-mid {
        display: inline-block;
        vertical-align: top;
    }
}

@media only screen and (min-width: 640px) {
    .sm-tar {
        text-align: right;
    }

    .sm-tac {
        text-align: center;
    }

    .sm-tal {
        text-align: left;
    }

    .sm-hide {
        display: none;
    }

    .sm-show {
        display: block;
    }
}

@media only screen and (min-width: 1025px) {
    .md-tar {
        text-align: right;
    }

    .md-tac {
        text-align: center;
    }

    .md-tal {
        text-align: left;
    }

    .md-hide {
        display: none;
    }

    .md-show {
        display: block;
    }
}

@media only screen and (max-width: 1560px) {
    .slider_first {
        padding: 6px 66px 62px;
    }

    .next_arrow {
        position: absolute;
        top: 35%;
        right: 0%;
        width: 66px;
        height: 66px;
        margin-top: -33px;
        background: url(/Media/pic/our_arrows.png) no-repeat;
        background-position: -198px 0px;
        cursor: pointer;
        z-index: 12;
    }

    .prev_arrow {
        left: 0%;
    }
}

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

    .left_side_last {
        margin-right: 0;
    }

    .active_tab:before {
        display: none;
    }

    .order_list {
        text-align: center;
        margin-top: 0px;
    }

    .order_list li {
        float: none;
        display: inline-block;
        margin-top: 86px;
        margin-right: 44px !important;
        margin-left: 20px;
    }

    .order_list li:after, .order_list li:before {
        display: none;
    }

    .order_list li:nth-child(5), .order_list li:nth-child(6), .order_list li:nth-child(7) {
        padding: 0;
        margin-top: 86px;
    }
}

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

    .wrapper_leave_request {
        max-width: 312px;
        max-height: 430px;
        box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.3);
        position: fixed;
        top: 50%;
        right: 100px;
        margin-top: -215px;
        background: #fff;
        z-index: 40;
    }

    .close_request {
        margin-left: 38px;
        display: inline-block;
        width: 15px;
        height: 13px;
        cursor: pointer;
    }

    .wrapper_leave_request .your_request {
        font: 12px/18px Arial, Helvetica, sans-serif;
    }

    .wrapper_leave_request p {
        background: #8d1221;
        height: 48px;
        color: #fff;
        font: normal bold 17px/52px Arial, Helvetica, sans-serif;
        text-transform: uppercase;
        text-align: left;
        padding-left: 72px;
    }

    .wFormRow input, .wFormRow .text_message {
        width: 100%;
        height: 40px;
        border: 1px solid transparent;
        box-shadow: inset 0px 0px 8px rgba(0, 0, 0, 0.4);
        box-sizing: border-box;
        padding-left: 38px;
    }

    .wFormRow .text_message {
        height: 75px;
    }

    .enterReq_btn {
        margin-bottom: 20px;
        margin-top: 48px;
        width: 280px;
        height: 38px;
        text-transform: uppercase;
        border-radius: 4px;
        font: normal normal 20px/24px Arial, Helvetica, sans-serif;
        background: #eaeef1;
        background: -moz-linear-gradient(top, #eaeef1 0%, #c1c6ca 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #eaeef1), color-stop(100%, #c1c6ca));
        background: -webkit-linear-gradient(top, #eaeef1 0%, #c1c6ca 100%);
        background: -o-linear-gradient(top, #eaeef1 0%, #c1c6ca 100%);
        background: -ms-linear-gradient(top, #eaeef1 0%, #c1c6ca 100%);
        background: linear-gradient(to bottom, #eaeef1 0%, #c1c6ca 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eaeef1', endColorstr='#c1c6ca', GradientType=0);
        box-shadow: 0px 0px 8px rgba(156, 165, 171, 0.7);
    }

    .r_s_button {
        float: right;
        margin-top: 6px;
    }

    .text_message {
        padding-top: 10px;
        resize: none;
    }

    .wrapper_slider_last {
        height: auto;
    }

    .title_last_products_other {
        margin-top: 12px;
    }

    .indexPage .headerTop {
        margin-top: 54px;
    }

    .indexPage_2 .headerTop {
        margin-top: 54px;
    }

    .ad_side {
        position: fixed;
        top: 0px;
        left: 0px;
        z-index: 99;
        background: #fff;
        width: 100%;
    }

    .logo_line {
        margin-top: 54px;
        padding-top: 90px;
    }

    .logo_line_inset {
        margin-top: 54px;
        padding-bottom: 16px;
    }

    .social_network {
        display: none;
    }

    .tel_list {
        margin-top: 14px;
    }

    .ad_side {
        display: block;
    }

    .left_side_menu {
        height: 54px;
    }

    .right_side_info {
        line-height: 54px;
    }

    .adaptive_link .f_st {
        padding-top: 9px;
    }

    .menu_side {
        display: none;
    }

    .menu_side > .left_side_menu {
        display: none;
    }

    .menu_side > .right_side_info {
        display: none;
    }

    .adaptive_link {
        display: inline-block;
    }

    .tel_list li a {
        font-size: 18px;
    }

    .tel_list li a > span {
        font-size: 14px;
    }

    .right_consul {
        display: none;
    }

    .left_consul {
        margin-right: 0px;
        padding: 68px 0px 0px 8%;
    }

    .left_side_last {
        margin-right: 3%;
        margin-left: 8%;
    }

    .tab_block_last {
        float: left;
        padding-right: 0;
        text-align: left;
    }

    .name_tab {
        min-width: 0;
        padding-left: 26px;
        color: #8f8f8f;
        font: normal normal 14px/44px Arial, Helvetica, sans-serif;
        cursor: pointer;
    }

    .name_tab:hover {
        color: #000;
        font: normal normal 14px/44px Arial, Helvetica, sans-serif;
    }

    .button_last_products {
        display: none;
    }

    .wrapper_main_slide {
        margin: 0 auto;
    }

    .preview_slider {
        margin: 24px auto 0px;
    }

    .wrapper_slider_last {
        background: transparent;
        padding-top: 0;
    }

    .title_last_products_other {
        padding-bottom: 26px;
    }

    .last_products {
        background: #fff;
    }

    .title_tabs_up {
        padding-right: 0px;
        text-align: center;
        margin-bottom: 16px;
    }

    .wrapper_main_slide {
        max-width: 640px;
    }

    .wConteiner {
        padding-top: 0;
    }
}

@media only screen and (max-width: 1180px) {
    .left_side_better {
        display: none;
    }

    .right_side_better {
        padding: 48px 0px 64px 0px;
        float: none;
        max-width: 600px;
        margin: 40px auto 0;
        text-align: center;
    }
}

@media only screen and (max-width: 1080px) {
    .all_products {
        text-align: center;
    }

    .all_last_products {
        text-align: center;
    }

    .left_side_last {
        float: none;
        margin-right: 0;
        margin-left: 0;
        text-align: center;
    }

    .tab_block_last {
        margin-top: 20px;
        padding: 20px 0;
        float: none;
        text-align: center;
    }

    .tabs {
        text-align: center;
        display: inline-block;
        min-width: 300px;
        padding: 0px 10px;
        box-sizing: border-box;
    }

    .name_tab {
        min-width: 0;
        padding-left: 0px;
        color: #8f8f8f;
        font: normal normal 14px/44px Arial, Helvetica, sans-serif;
        cursor: pointer;
    }

    .name_tab:hover {
        color: #000;
        font: normal normal 14px/44px Arial, Helvetica, sans-serif;
    }
}

@media only screen and (max-width: 1076px) {
    .order_list li:nth-child(3) {
        margin-right: 44px;
    }
}

@media only screen and (max-width: 1024px) {
    .text-block {
        font-size: 14px;
    }

    .redBtn--big .redBtn__inner {
        min-width: 210px;
        padding: 0;
    }

    .borderedBlock {
        max-width: 320px;
    }

    .getPriceBtn {
        margin: 14px 0 20px;
    }

    .borderedBlock__title {
        margin-top: 14px;
        font-size: 14px;
    }

    .borderedBlock__desc {
        font-size: 13px;
    }

    .borderedBlock__form {
        margin-top: 0;
    }

    .redBtn--big {
        font-size: 15px;
    }

    .Alternative {
        font-size: 12px;
    }

    .borderedBlock__right {
        display: none;
    }

    .borderedBlock__left {
        float: none;
        width: auto;
    }

    .borderedBlock__left .borderedBlock__form--pr {
        padding-right: 0;
    }

    .borderedBlock__form__spacer__desc {
        font-size: 12px;
    }

    .fileInput label {
        font-size: 16px;
        width: 100%;
    }

    .border_second .btnWrapper {
        display: none;
    }
}

@media only screen and (max-width: 980px) {
    .order_list {
        padding-left: 0;
    }

    .leave_request {
        display: none;
    }
}

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

    .title_consul {
        font-size: 30px;
        max-width: 400px;
    }

    .left_side_contacts {
        position: relative;
        float: none;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .left_side_contacts:after {
        content: '';
        position: absolute;
        bottom: -20px;
        left: 50%;
        margin-left: -160px;
        width: 320px;
        height: 1px;
        background: #ddd;
    }

    .right_side_contacts {
        float: none;
        width: 100%;
        padding: 0;
        margin: 40px 0px 0px;
    }

    .text-block {
        font-size: 13px;
    }

    li .r_s_phone, .tel_list li .ico {
        margin-right: 6px;
    }
}

@media only screen and (max-width: 810px) {
    .order_list li {
        width: 306px;
        margin: 46px auto !important;
        width: 50%;
    }

    .wrapper_order {
        margin: 0 auto;
    }

}

@media only screen and (max-width: 790px) {
    .phone_style {
        color: #fff;
        font-size: 24px;
        font-family: 'caviar_dreams', Arial, Helvetica, sans-serif;
        font-weight: normal;
        font-style: normal;
        text-transform: uppercase;
        display: block;
    }

    .phone_style > span {
        color: #fff;
        font-size: 32px;
        font-family: 'caviar_dreams', Arial, Helvetica, sans-serif;
        font-weight: 700;
        font-style: normal;
        text-transform: uppercase;
    }

    .ellips {
        display: none;
    }
    .wFooter-left {
        float: none;
        max-width: 100%;
        text-align: center;
        margin-bottom: 5px;
    }
    .wFooter-center {
        display: none;
    }
    .wFooter-right {
        float: none;
        text-align: center;
    }
}

@media only screen and (max-width: 720px) {
    .text-block {
        font-size: 12px;
    }

    .preview_block {
        overflow: hidden;
    }

    .wrapper_main_slide {
        display: none;
    }

    .preview_slider {
        width: 100%;
        max-height: 436px;
        max-width: 100%;
        height: auto;
        margin: 0;
        padding: 0px 33px 0px 33px;
    }

    .item_preview {
        /*float: left;*/
        padding: 0px 8px;
        width: auto;
        height: auto;
        box-sizing: border-box;
        margin: 0;
        background: transparent;
        display: block;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .item_preview:hover {
        box-shadow: none;
    }

    .img_preview {
        text-align: center;
        margin-right: 0px;
        max-height: 100%;
        height: auto;
        background: transparent;
    }

    .img_preview img {
        max-height: 100%;
        height: auto;
    }

    .seoTxt .title_best_furniture {
        text-align: center;
        padding: 0px 6px;
        font-size: 32px;
    }

    .left_side_b_f p, .right_side_b_f p, .list_benefits li {
        font-size: 12px;
    }

    .item_advantages span:nth-child(2) {
        font-size: 13px;
    }

}

@media only screen and (max-width: 660px) {
    .tel_list {
        display: none;
    }

    .right_side_info .tel_list {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        margin: 0;
        background: rgba(0, 0, 0, 0.3);
        color: #fff;
        box-sizing: border-box;
        padding: 5px;
        line-height: 30px;
        text-align: center;
        transition: opacity .4s .4s ease;
    }

    .js-mobMenuOpened .right_side_info .tel_list {
        opacity: 0;
        transition: opacity .4s ease;
    }

    .right_side_info .tel_list li {
        display: inline-block;
        vertical-align: middle;
        padding-right: 8px;
        line-height: 21px;
    }

    .right_side_info .tel_list li:last-child {
        padding: 0 30px 0 8px;
    }

    .right_side_info .tel_list a {
        color: #fff;
        vertical-align: middle;
        text-decoration: none !important;
        position: relative;
        bottom: 5px;
    }

    .right_side_info .tel_list a > span {
        color: rgba(255, 255, 255, 0.6);
    }

    .tel_list_a {
        display: inline-block;
        margin-top: 12px;
        margin-left: 10px;
        float: left;
        margin-right: 46px;
    }
}

@media only screen and (max-width: 640px) {
    .new-block .image-block {
        width: 100%;
        max-width: none;
        max-height: none;
        float: none;
    }

    .new-block .image img {
        margin: 0 auto 2em;
    }

    .new-block .title {
        margin: 0 0 1em;
        text-align: center;
        height: auto;
    }

    .scrollerUp {
        width: 40px;
        height: 40px;
        bottom: 8px;
        left: auto;
        right: 8px;
        background-size: contain;
    }
}

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

    .title_products_block {
        margin-top: 12px;
        font: normal normal 22px/1.35em 'caviar_dreams', Arial, Helvetica, sans-serif;
    }

    .consultation {
        padding-bottom: 0px;
    }

    .left_consul {
        margin-right: 0px;
        padding: 14px 0px 0px 8%;
    }

    .adress_line p:nth-child(1) {
        padding-top: 20px;
        font-size: 32px;
    }

    .adress_line p:nth-child(2) {
        font-size: 14px;
    }

    .adress_line p:nth-child(3) {
        font-size: 16px;
    }

    .adress_line p:nth-child(4) {
        font-size: 14px;
    }

    .adress_line p:nth-child(4) span {
        font-size: 14px;
    }

    .button_advantages {
        margin-bottom: 34px;
    }
}

@media only screen and (max-width: 582px) {
    .logo_line {
        margin-top: 54px;
        padding-top: 40px;
    }

    .slogan {
        margin-top: 0;
    }

    .slogan_center > .slogan {
        font-size: 22px;
    }
}

@media only screen and (max-width: 554px) {
    .item_products_our {
        margin-right: 0px;
    }
}

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

    .btn_logocenter {
        margin-left: -150px;
    }

    .button_logo a {
        width: 300px;
    }

    .c_s {
        width: 320px !important;
    }

    .wrapper_leave_request {
        max-width: 344px;
        max-height: 508px;
        box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.3);
        position: fixed;
        top: 50%;
        right: 100px;
        margin-top: -142px;
        background: #fff;
        z-index: 40;
    }

    .wFormRow input, .wFormRow .text_message {
        width: 100%;
    }

    .enterReq_btn {
        width: 100%;
    }

    .button_confirm {
        width: 100%;
    }

    .close_request {
        margin-left: 20%;
    }

}

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

    .img_slider {
        margin-top: 8px;
    }

    .border_second {
        width: 238px;
        height: 344px;
    }

    .adress_line {
        background: none;
    }

    .map_line {
        position: relative;
        height: 300px;
        background: #eee;
        text-align: center;
    }

    .map_dynamic {
        position: relative;
        width: 100%;
        height: 300px;
        margin: 0 auto;
    }

    .marker_map_wrapp {
        background: #fff !important;
        left: 20% !important;
        top: 200px !important;
        margin-left: 0px;
        cursor: default;
        position: absolute;
        width: 196px !important;
        height: 33px !important;
        z-index: 139;
        text-align: left;
        box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);
    }

    .marker_map_wrapp:before {
        display: none;
    }

    .title_consul {
        font-size: 22px;
        max-width: 390px;
    }

    .phone_style > span {
        color: #fff;
        font-size: 28px;
        font-family: 'caviar_dreams', Arial, Helvetica, sans-serif;
        font-weight: 700;
        font-style: normal;
        text-transform: uppercase;
    }

    .phone_style {
        color: #fff;
        font-size: 22px;
        font-family: 'caviar_dreams', Arial, Helvetica, sans-serif;
        font-weight: normal;
        font-style: normal;
        text-transform: uppercase;
        display: block;
    }

    .title_last_products {
        font: normal normal 22px/32px 'caviar_dreams', Arial, Helvetica, sans-serif;
    }

    .title_how_to_order {
        font: normal normal 22px/32px 'caviar_dreams', Arial, Helvetica, sans-serif;
    }

    .enterReq_btn {
        height: 36px;
        margin-top: 20px;
    }

    .c_s {
        width: 100% !important;
    }

    .wrapper_leave_request .your_request {
        display: none;
    }

    .wrapper_request_call {
        max-width: 500px;
        max-height: 400px;
        width: 298px;
        height: auto;
        background: #fff;
        margin: 0 auto;
        text-align: center;
    }

    .request_call_form {
        padding: 0 20px;
    }

    .wrapper_request_call {
        position: relative;
    }

    .request_call {
        width: 298px;
    }

    .request_call + .mfp-close {
        color: #fff !important;
        top: 6px;
        right: 45px;
    }

    .wrapper_leave_request p {
        position: relative;
        background: #8d1221;
        height: 40px;
        color: #fff;
        font: normal bold 17px/44px Arial, Helvetica, sans-serif;
    }

    .wFormRow input, .wFormRow .text_message {
        height: 38px;
        padding-left: 36px;
    }

    .item_products {
        /*margin-right: 0;*/
    }

    .text_message {
        padding-top: 11px;
        resize: none;
    }

    .close_request {
        position: absolute;
        right: 20px;
        bottom: 14px;
    }

    .wrapper_leave_request {
        width: 296px;
        max-height: 508px;
        box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.3);
        position: fixed;
        top: 50%;
        right: 50%;
        margin-right: -150px;
        margin-top: -142px;
        background: #fff;
        z-index: 40;
    }

    .order_list {
        padding: 0;
    }

    .work_day span {
        display: block;
    }

    .work_time span {
        display: block;
    }

    .left_side_b_f, .right_side_b_f {
        float: none;
        width: 100%;
    }

    .slider_first {
        min-width: 250px;
        padding: 0 33px 68px;
        box-sizing: border-box;
    }

    .item_products {
        /*width:248px;
        padding:2px 2px;*/
    }

    .inset_wrapper {
        width: 242px;
        height: 350px;
    }

    .border_first {
        width: 244px;
    }

    .next_arrow {
        position: absolute;
        top: 35%;
        right: 2px;
        margin-top: -16px;
        width: 32px;
        height: 32px;
        background: url(/Media/pic/last_products.png) no-repeat;
        background-position: -96px 0px;
        cursor: pointer;
        -webkit-transition: transform 0.3s ease;
        -moz-transition: transform 0.3s ease;
        -ms-transition: transform 0.3s ease;
        -o-transition: transform 0.3s ease;
        transition: transform 0.3s ease;

    }

    .next_arrow:hover {
        /*        background:url(/Media/pic/last_products.png) no-repeat;
        background-position: -96px 0px;*/
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -ms-transform: scale(1.1);
        -o-transform: scale(1.1);
        transform: scale(1.1);

    }

    .prev_arrow {
        position: absolute;
        top: 35%;
        left: 1px;
        margin-top: -16px;
        width: 32px;
        height: 32px;
        background: url(/Media/pic/last_products.png) no-repeat;
        background-position: 0 0;
        cursor: pointer;
        -webkit-transition: transform 0.3s ease;
        -moz-transition: transform 0.3s ease;
        -ms-transition: transform 0.3s ease;
        -o-transition: transform 0.3s ease;
        transition: transform 0.3s ease;

    }

    .prev_arrow:hover {
        /*        background:url(/Media/pic/last_products.png) no-repeat;
        background-position: 0 0;*/
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -ms-transform: scale(1.1);
        -o-transform: scale(1.1);
        transform: scale(1.1);

    }

    .button_logo a {
        width: 300px;
        height: 50px;
        line-height: 50px;
    }

    .logo_line {
        margin-top: 54px;
        padding-top: 98px;
    }

    .slogan {
        font-size: 22px;
    }

    .customer {
        text-align: center;
        float: none;
        display: block;
    }

    .developers {
        text-align: center;
        display: block;
        float: none;
        max-width: 100%;
    }

    .developers span:first-child {
        float: none;
        display: inline-block;
        vertical-align: middle;
        margin-top: 8px;
    }

    .developers span:last-child {
        display: inline-block;
        float: none;
        max-width: 100%;
        margin-top: 12px;
    }

    .developers a {
        display: block;
    }

    .customer, .developers {
        line-height: 32px;
    }

    .right_side_better .f_line {
        color: #000;
        font: normal normal 22px/32px 'caviar_dreams', Arial, Helvetica, sans-serif;
        text-transform: uppercase;
    }

    .right_side_better .s_line {
        color: #c73446;
        font: normal normal 22px/32px 'caviar_dreams', Arial, Helvetica, sans-serif;
        text-transform: uppercase;
    }

    .right_side_better .third_line {
        margin-top: 24px;
        color: #575757;
        font: normal normal 16px/24px Arial, Helvetica, sans-serif;
        padding-bottom: 28px;
    }

    .right_side_better .fifth_line {
        margin-top: 12px;
        text-transform: uppercase;
        color: #000;
        font: normal normal 14px/22px Arial, Helvetica, sans-serif;
    }

    .title_our_products {
        padding: 68px 0px 48px;
        text-align: center;
        font: normal normal 22px/32px 'caviar_dreams', Arial, Helvetica, sans-serif;
        color: #000;
        text-transform: uppercase;
    }

    .right_side_info .tel_list li:last-child {
        padding: 0 0 0 8px;
    }

    .slider_first  .item_products {
        width:255px;
    }
}

@media only screen and (max-width: 380px) {
    .right_side_info .tel_list li:last-child {
        padding: 0;
    }

    .right_side_info .tel_list li {
        padding: 0;
    }

    li .r_s_phone, .tel_list li .ico {
        margin-right: 4px;
    }

    .tel_list li {
        border: none;
    }
}

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

    .order_list li {
    }
}