.lrtb {
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
}

.show_md {
    display: none;
}

.flex_center {
    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;
}

.img_center {
    -o-object-position: center;
    object-position: center;
    -o-object-fit: cover;
    object-fit: cover;
}

@media (max-height: 650px) {
    .modal .modal_container .modal_content {
        padding: 32px;
    }
}

@media (max-width: 1200px) {
    .steps_section .row .steps_block .steps_list .step_item h6 {
        margin-bottom: 12px;
    }

    .main_section .image_content:after {
        top: -120px;
        left: 0;
        right: -40px;
        bottom: 0;
    }

    .portfolio_section .portfolio_row {
        width: -webkit-calc(100% - 50px);
        width: calc(100% - 50px);
        margin: 0 auto;
    }

    .main_section .image_content .slider_arrow {
        -webkit-transform: translate(0, -100%);
        -ms-transform: translate(0, -100%);
        transform: translate(0, -100%);
    }

    .portfolio_section .portfolio_row {
        padding: 36px;
    }

    .portfolio_section .portfolio_row .portfolio_desc p {
        font-size: 14px;
    }

    .portfolio_section .portfolio_row .portfolio_desc {
        padding-left: 30px;
    }

    .main_section .image_content {
        width: 45%;
    }

    header .menu_block .menu .menu_link {
        margin-right: 15px;
        font-size: 14px;
    }

    header .phone_block a {
        font-size: 16px;
    }

    header {
        height: 70px;
    }
    header .menu_block .menu .menu_link:after {
        bottom: -27px;
    }

    .portfolio_section .portfolio_row .images_row .flickity-prev-next-button.next {
        right: -20px;
    }

    .portfolio_section .portfolio_row .images_row .flickity-prev-next-button.previous {
        left: -20px;
    }

    .portfolio_section .portfolio_row .images_row {
        margin-top: 10px;
    }
}

@media (min-width: 991px) {

    .user_links button:hover {
        transform: translate(0, -5px);
        background: #f5f5f5;
        cursor: pointer;
    }

    .user_links button.active {
        background: #00cd67;
        color: #fff;
    }

    .user_links button.active img {
        filter: invert(1) brightness(1000%);
    }

}
@media (max-width: 991px) {
    header .online-service-btn {
        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;
        font-weight: bold;
        font-size: 16px;
        -webkit-border-radius: 32px;
        border-radius: 32px;
        background: -webkit-gradient(linear, left top, left bottom, from(#f3cb69), to(#fcc338));
        background: -webkit-linear-gradient(top, #f3cb69, #fcc338);
        background: -o-linear-gradient(top, #f3cb69, #fcc338);
        background: linear-gradient(to bottom, #f3cb69, #fcc338);
        border-bottom: 3px solid #9b6f05;
        -webkit-transition: 0.3s;
        -o-transition: 0.3s;
        transition: 0.3s;
        color: #2c2c2c!important;
        cursor: pointer;
        width: 180px;
        height: 52px;
    }
    .reviews_section .reviews_row > .flickity-prev-next-button {
        width: 32px;
        height: 32px;
    }
    .reviews_section .reviews_row > .flickity-prev-next-button.previous {
        left: 15px;
    }
    .reviews_section .reviews_row > .flickity-prev-next-button.next {
        right: 15px;
    }
    .reviews_section .reviews_row .reviews_item {
        transform: scale(.9);
        width: calc(100% - 50px);
        margin: 0 25px;
        padding: 8px;
    }
    .show_md {
        display: flex !important;
    }

    header .menu_block {
        margin-left: 0;
    }

    .faq_block {
        width: 100%;
        padding-right: 0;
        margin-bottom: 30px;
    }

    .video_block {
        width: 100%;
        padding-left: 0;
    }

    .user_links button.active img {
        filter: invert(35%) sepia(42%) saturate(1533%) hue-rotate(188deg) brightness(108%) contrast(101%);
    }

    .main_column {
        margin-left: 0;
    }

    .cabinet_section .welcome_title {
        font-size: 28px;
    }

    .wave {
        height: 190px;
    }

    .wave img {
        margin-top: 180px;
    }

    .main_column {
        width: 100%;
    }

    .user_links {
        box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.05);
    }

    .user_links button .text {
        text-align: center;
        padding-left: 0;
        margin-top: 6px;
    }

    .user_links button h4 {
        font-size: 13px;

    }

    .user_links button p {
        display: none;
    }

    .user_links button.active h4 {
        color: #2e75e9;
    }

    .user_links button {
        box-shadow: unset;
        border-radius: 0;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        display: flex;
        margin: 0;
        padding-left: 0;
        padding: 0 5px;
    }

    .user_links {
        display: flex;
        align-items: stretch;
        flex-direction: row;
        position: fixed;
        width: 100%;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .register_advantages {
        width: 100%;
        order: 2;
        margin-bottom: 30px;
    }

    .finish_content h2 {
        order: 1;
    }

    .finish_content .form_block {
        order: 3;
        width: 100%;
        padding-right: 0;
        margin-bottom: 30px;
    }

    .calc .btns_row a {
        height: 48px;
    }

    .finish_content {
        padding: 20px;
    }

    .calc .step_content {
        padding: 20px;
    }

    .calc .finish_row {
        flex-wrap: wrap;
    }

    .calc .finish_row .finish_block {
        width: 100%;
    }

    .calc .finish_row .finish_block:first-child {
        padding-right: 0;
    }

    .order_info_modal.modal .modal_container .modal_content {
        padding: 30px;
    }

    .additional_links {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .additional_links a {
        margin: 15px 0;

    }

    .cabinet_block .input_block {
        width: 100%;
    }

    .form_section form {
        padding: 30px;
        width: 100%;
    }

    .cabinet_links {
        width: 33.3333%;
        margin-left: 0;
    }

    .carts {
        order: 2;
        width: auto;
    }

    .cabinet_links {
        display: none;
    }

    .cabinet_links .link {
        margin-right: 15px;
        margin-left: 0;
    }

    .portfolio_section .portfolio_row .portfolio_image video {
        height: auto;
    }

    .advantages_section {
        padding-bottom: 10px !important;
    }

    .review_section .section_title {
        margin-bottom: 40px;
    }

    .main_section {
        height: 650px;
    }

    .main_section .image_content:after {
        top: -40px;
    }

    .steps_section .steps_btn {
        margin-top: 40px;
    }

    .steps_section .step_img {
        width: 45%;
    }

    .partners_section,
    .review_section {
        padding: 70px 0;
    }

    .review_section .flickity-prev-next-button {
        height: 48px;
        width: 48px;
    }

    .review_section .flickity-prev-next-button.previous {
        left: -40px;
    }

    .review_section .flickity-prev-next-button.next {
        right: -40px;
    }

    .review_section .flickity-page-dots {
        bottom: -20px;
    }

    .review_section .review_row {
        width: -webkit-calc(100% - 60px);
        width: calc(100% - 60px);
    }

    .main_section .main_content a {
        height: 40px;
        font-size: 13px;
    }

    .phone_block {
        margin-left: auto;
    }

    header .menu_block .menu .menu_link:after {
        bottom: -5px;
    }

    header .cabinet_links {
        order: 2;
    }

    header .logo {
        order: 1;
        width: 33.33333333%;
    }

    header .phone_block {
        -webkit-box-ordinal-group: 2;
        -webkit-order: 1;
        -ms-flex-order: 1;
        order: 1;
    }

    header .menu_icon {
        margin-left: 16px;
        order: 4;
    }

    header .menu_icon .icon {
        width: 40px !important;
        cursor: pointer;
    }

    header .menu_block {
        display: none;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
        background: rgba(46, 117, 233, 0.8);
    }

    header .menu_block > img {
        top: 15px;
        right: 15px;
        height: 48px;
        width: 48px;
        position: absolute;
        display: block;
        -webkit-transition: 0.3s;
        -o-transition: 0.3s;
        transition: 0.3s;
        cursor: pointer;
        -webkit-filter: invert(1) brightness(1000%);
        filter: invert(1) brightness(1000%);
    }

    header .menu_block > img:hover {
        -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        transform: rotate(90deg);
    }

    header .menu_block .menu {
        height: 100%;
        width: 100%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        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;
    }

    header .menu_block .menu .menu_link {
        font-size: 18px;
        margin: 15px 0 !important;
        text-align: center;
    }

    header .menu_icon {
        display: flex;
        justify-content: flex-end;
    }

    .main_section .main_content p {
        margin-bottom: 15px;
    }

    .main_section .main_content h2 {
        font-size: 28px;
        margin: 15px 0;
    }

    .main_section .main_content p {
        font-size: 14px;
    }

    .section_title {
        font-size: 32px;
        line-height: 1.4;
    }

    .steps_section {
        padding: 70px 0;
    }

    .portfolio_section .portfolio_row .images_row .image_item .overlay img {
        height: 18px;
    }

    .portfolio_section .portfolio_row .portfolio_image .main_img {
        height: 220px;
    }

    .portfolio_section .portfolio_row .images_row .image_item {
        height: 40px;
        width: -webkit-calc(33.3333333% - 10px);
        width: calc(33.3333333% - 10px);
        margin: 0 5px;
    }

    .portfolio_section .portfolio_row .images_row .image_item:first-child {
        padding-left: 0;
    }

    .portfolio_section .portfolio_row .images_row .image_item:last-child {
        padding-right: 0;
    }

    .portfolio_section .portfolio_row .portfolio_desc h2 {
        font-size: 18px;
    }

    .portfolio_section .portfolio_row .portfolio_desc .list {
        margin: 10px 0;
    }

    .portfolio_section .portfolio_row .portfolio_desc p {
        font-size: 12px;
    }

    .portfolio_section .portfolio_row > .flickity-prev-next-button {
        width: 48px;
        height: 48px;
    }

    .portfolio_section .portfolio_row > .flickity-prev-next-button.previous {
        left: -25px;
    }

    .portfolio_section .portfolio_row > .flickity-prev-next-button.next {
        right: -25px;
    }

    .portfolio_section .portfolio_row {
        width: 100%;
    }

    .portfolio_section .portfolio_row .portfolio_desc a {
        margin-bottom: 0;
        margin-top: 20px;
        height: 48px;
        width: 240px;
    }

    .portfolio_section .portfolio_row .portfolio_desc {
        padding-left: 20px;
    }

    .portfolio_section .portfolio_row .portfolio_image {
        width: 45%;
    }

    .portfolio_section .portfolio_row .portfolio_desc {
        width: 55%;
    }

    .portfolio_section .portfolio_row .images_row {
        width: -webkit-calc(100% - 50px);
        width: calc(100% - 50px);
    }

    .portfolio_section .portfolio_row .images_row .flickity-prev-next-button {
        height: 24px;
        width: 24px;
    }

    .advantages_section {
        padding: 70px 0;
    }

    .portfolio_section {
        padding: 70px 0;
    }

    .advantages_section .item {
        width: -webkit-calc(33.33333% - 25px);
        width: calc(33.33333% - 25px);
    }

    .advantages_section .item h3 {
        font-size: 18px;
        margin-top: 15px;
    }

    .count_section {
        padding-top: 70px;
        padding-bottom: 50px;
    }

    .services_section .services_item .service_desc {
        padding-left: 30px;
    }

    .services_section {
        padding-bottom: 70px;
    }

    .services_section .services_item:nth-child(2) .service_desc {
        padding-right: 30px;
    }

    .services_section .services_item .service_desc a {
        margin-top: 30px;
    }

    .services_section .services_item .service_desc h2 {
        margin: 15px 0;
    }

    .services_section {
        padding-top: 60px;
    }

    .section_title {
        margin-bottom: 50px;
    }

    .count_section .count_item h2 {
        font-size: 36px;
    }

    .steps_section .row .steps_block .tabs_row a {
        font-size: 14px;
    }

    .count_section .count_item {
        padding: 24px;
    }

    .count_section .count_item .icon {
        width: 64px;
        height: 64px;
    }

    .count_section .count_item p {
        font-size: 14px;
    }

    .count_section .count_row {
        margin-top: 80px;
    }

    .count_section .count_item:nth-child(2) {
        margin-top: 30px;
    }
}
@media (min-width: 767px) {
    .calc .steps .step.step_first, .calc .steps .step.step_first .steps-progress__item {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .calc .steps .step.step_second, .calc .steps .step.step_second .steps-progress__item {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .cta-section__wrapper {
        width: 100%;
    }
}
@media (max-width: 767px) {
    .reviews_section {
        padding: 60px 0;
    }
    .reviews_section .flickity-page-dots {
        bottom: -25px;
    }
    .galleries__item {
        width: 100%;
        margin: 0;
        margin-bottom: 30px;
    }

    .galleries__item .galleries__item__preview > img, .galleries__item iframe {
        height: 250px!important;
    }

    .progress-block, .error-block {
        padding: 20px;
    }

    .calc textarea {
        height: 120px;
    }

    .calc .steps .step {
        height: 28px;
        line-height: 28px;
    }

    .contacts_section .contact_info, .contacts_section .maps {
        width: 100%;
    }

    .contacts_section .maps {
        order: 1;
        margin-bottom: 30px;
    }

    .contacts_section .contact_info {
        order: 2;
    }

    .calc .steps-progress {
        height: 72px;
        flex-wrap: wrap;
        margin-bottom: 15px;
    }

    .calc .info__row .info {
        width: 100% !important;
        padding-right: 0;
        margin-bottom: 30px !important;
    }

    .radiobtns .item {
        width: 100%;
    }

    .radiobtns .item:last-child {
        margin-bottom: 0;
    }

    .count_btn {
        order: 2;
        margin-left: auto;
    }

    .calc_title p {
        order: 3;
        margin-left: 0;
        margin-top: 10px;
    }

    .calc_title a {

        order: 1;
    }

    .card {
        width: 100%;
    }

    .offer_items {
        order: 1;
        width: 100%;
    }

    .offer_inputs {
        order: 2;
        width: 100%;
        padding-right: 0;
        padding-top: 20px;
        margin-top: 20px;
        border-top: 1px solid #ccc;

    }

    .calc .types .item {
        width: 100%;
        margin: 0;
        margin-bottom: 10px;
    }

    .calc .types .item:last-child {
        margin-bottom: 0 !important;
    }

    .calc .types {
        margin: 0;
        width: 100%;
    }

    .calc .steps {
        flex-wrap: wrap;
        margin-bottom: 15px;
    }

    .calc .steps .step {
        width: 100%;
        margin: 0;
        margin-bottom: 8px;
    }

    .book_steps .row .steps_block .steps_list .step_item {
        width: 100%;
        margin: 0;
        margin-bottom: 20px;

    }

    .services_section .services_item img {
        height: auto;
    }

    .portfolio_section .portfolio_row .portfolio_image video {
        height: auto;
    }

    .services_section .services_item .service_desc h6 {
        display: none;
    }

    .portfolio_section .portfolio_row .images_row .image_item {
        height: 60px;
    }

    .services_section .services_item .service_desc h2 {
        margin-top: 0;
    }

    .advantages_section,
    .services_section,
    .portfolio_section,
    .steps_section {
        padding: 50px 0;
    }

    .count_section .count_row {
        margin-top: 40px;
    }

    .count_section .count_item:nth-child(2) {
        margin-top: 60px;
    }

    .count_section .count_item .icon {
        top: -30px;
    }

    .portfolio_section {
        padding-bottom: 70px;
    }

    .review_section .section_title {
        margin-bottom: 20px;
    }

    .main_section .img_sliders img {
        top: 15%;
    }

    .main_section .image_content .slider_arrow.arrow_left {
        left: 0;
    }

    .services_section .services_item {
        margin-bottom: 30px;
    }

    .main_section .image_content .slider_arrow {
        width: 40px;
        height: 40px;
    }

    .section_title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    footer .footer_item {
        width: 50%;
    }

    footer .footer_menu {
        width: 100%;
        margin-bottom: 30px;
    }

    footer .footer_menu .menu_half:last-child {
        margin: 0 auto;
    }

    footer .footer_contacts {
        -webkit-box-ordinal-group: 4 !important;
        -webkit-order: 3 !important;
        -ms-flex-order: 3 !important;
        order: 3 !important;
    }

    footer .footer_item {
        padding-right: 20px;
        -webkit-box-ordinal-group: 5;
        -webkit-order: 4;
        -ms-flex-order: 4;
        order: 4;
    }

    footer .bottom_footer {
        height: 60px;
    }

    .count_section .count_item:nth-child(2) {
        margin-top: 50px;
    }

    .count_section .count_item {
        width: -webkit-calc(50% - 25px);
        width: calc(50% - 25px);
        margin: 0 12.5px;
        margin-top: 50px;
    }

    .count_section .count_row {
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .services_section .services_item {
        width: 100%;
    }

    .services_section .services_item img {
        width: 100%;
    }

    .services_section .services_item .service_desc {
        width: 100%;
        padding: 24px !important;
    }

    .advantages_section .item {
        margin: 0 12.5px 40px;
        width: -webkit-calc(50% - 25px);
        width: calc(50% - 25px);
    }

    .steps_section .step_img {
        display: none;
    }

    .steps_section .steps_btn {
        margin-top: 20px;
    }

    .partners_section,
    .review_section {
        padding: 50px 0;
    }

    .review_section .review_item {
        width: -webkit-calc(100% - 60px);
        width: calc(100% - 60px);
    }

    .partners_section .partners_row .partner_item {
        padding: 25px;
        width: -webkit-calc(33.33333% - 20px);
        width: calc(33.33333% - 20px);
    }

    .portfolio_section .portfolio_row .portfolio_item {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .portfolio_section .portfolio_row .portfolio_image {
        width: 100%;
    }

    .portfolio_section .portfolio_row .portfolio_desc {
        width: 100%;
        margin-top: 30px;
        padding-left: 0;
    }

    .steps_section .row .steps_block {
        width: 100%;
    }

    .portfolio_section .portfolio_row .portfolio_desc .list .item {
        width: 100%;
    }

    .portfolio_section .portfolio_row .portfolio_desc h6 {
        display: none;
    }

    .cabinet_links {
        display: none;
    }

    header .logo, header .menu_icon {
        width: auto !important;
    }

}
@media (max-width: 600px) {
    .main_section .image_content {
        width: 40%;
    }

    .main_section .img_sliders img {
        top: 20%;
    }
}
@media (min-width: 575px) {

    .show_xs {
        display: none !important;
    }
}
@media (max-width: 575px) {
    .show_xs {
        display: block!important;
    }
    .main_section .main_content__image {
        margin-left: 0;
        width: 100%;
        margin-top: 15px;
    }
    .cta-section .cta-section__wrapper {
        padding: 15px;
    }
    .hide_xs {
        display: none !important;
    }
    .reviews_section .reviews_row .reviews_item {
        height: 300px;
    }
    .calc .section_title {
        margin-top: 20px;
        margin-bottom: 15px;
        padding: 0 15px;
    }

    .btns_row {
        width: 100%;
    }

    .btn_block {
        padding: 15px 0;
        width: 100%;
    }

    .btn_block:first-child {
        border-right: unset;
        border-bottom: 1px solid #eee;
    }

    .rating {
        flex-direction: column;
        align-items: flex-start;
    }

    .star_row {
        margin-top: 8px;
    }

    .modal .modal_container .modal_content {
        padding: 24px;
    }

    .simple_calc > p {
        padding-bottom: 30px;
        margin-bottom: 0;
    }

    .calc_title {
        margin-top: 0;
        padding: 0;
    }

    .simple_calc .half_info {
        width: 100%;
        padding-left: 0 !important;
    }

    .user_links button h4 {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

    .main_column {
        padding: 25px;
    }

    .cabinet_block h3 {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .custom_calc .half_info {
        width: 100%;
        padding-left: 0 !important;
    }

    .order_item .note_content {
        margin: 0;
        margin-bottom: 15px;
    }

    .form_section form {
        padding: 25px;
    }

    footer .footer_menu .menu_half {
        margin-right: 30px;
    }

    .card {
        padding: 25px;
    }

    .card .checkbox_block {
        margin-top: 0;
    }

    .calc .types .item h4 {
        text-align: left;
        margin: 0;
        margin-left: 16px;
    }

    .calc .types .item img {
        margin: 0;
        width: 50px;
        height: 50px;
        object-position: center;
        object-fit: contain;
    }

    .calc .finish_block .info {
        margin-bottom: 0;

    }

    .calc .submit_btn {
        margin-bottom: 30px;
    }

    .cart {
        border-right: unset;
    }

    .carts {
        margin-right: 10px;
        order: 3;
        width: auto;
    }

    .note_content {
        margin-left: -15px;
        margin-right: -15px;
    }

    .cabinet_block input {
        height: 48px;
        padding-left: 16px;
    }

    .main_section .main_content h2 {
        min-height: 80px;
    }

    .finish_content {
        padding: 0px;
    }

    .calc .step_content {
        padding: 0px;
        padding-top: 30px;
    }

    .calc .steps {
        margin: 0 -10px;
        padding: 10px;
        width: calc(100% + 20px);
        background-color: #fff;
    }

    .calc_title p {
        font-size: 14px;
    }

    .simple_calc > p {
        font-size: 16px;
    }

    .simple_calc .subtitle {
        font-size: 20px;
    }

    .custom_calc .half_info {
        margin-bottom: 20px;
    }

    .calc h3 {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .calc .steps .step:last-child {
        margin-bottom: 0;
    }

    .calc {
        padding-top: 80px;
        padding-bottom: 0;
    }

    .calc_title a {
        font-size: 13px;
    }

    .count_btn {
        font-size: 13px;
        width: 150px;
    }

    .calc .container {
        width: 100%;
        padding: 10px;
    }

    .calc .btns_row {
        align-items: center;
        margin: 0 -10px;
        width: calc(100% + 20px);
    }

    .calc .btns_row button {
        width: calc(50% - 20px);
    }

    .cabinet_links {
        display: none;
    }

    .review_section .review_item > img {
        height: 200px;
    }

    .count_section .count_item p {
        font-size: 16px;
    }

    .modal .modal_container .modal_content input, .modal .modal_container .modal_content textarea {
        padding: 24px;
    }

    .modal .modal_container .modal_content .close {
        width: 48px;
        height: 48px;
        top: -24px;
    }

    footer .footer_menu {
        margin-bottom: 0;
    }

    .modal .message img {
        width: 250px;
    }

    .modal .modal_container .modal_content form p {
        margin: 10px 0;
    }

    .modal .modal_container .modal_content h4 {
        font-size: 20px;
    }

    .modal .modal_container .modal_content input,
    .modal .modal_container .modal_content textarea {
        margin-bottom: 10px;
    }

    .modal .modal_container .modal_content textarea {
        padding-top: 20px;
        padding-left: 20px;
    }

    .modal .modal_container .modal_content input {
        height: 40px;
        padding-left: 20px;
    }

    .modal .modal_container .modal_content {
        -webkit-border-radius: 0;
        border-radius: 0;
    }

    footer .footer_item {
        width: 100%;
        margin-top: 30px;
    }

    .services_section .blob_reverse {
        left: -150px;
    }

    .services_section .blob {
        right: -130px;
    }

    .count_section .blob_reverse {
        left: -100px;
    }

    .count_section .blob {
        right: -100px;
    }

    .section_title br {
        display: none;
    }

    .bottom_footer .row {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    footer .bottom_footer {
        height: auto;
        padding: 20px 0;
    }

    footer .bottom_footer a {
        margin-top: 20px;
        margin-left: 0;
    }

    .portfolio_section .portfolio_row {
        padding: 16px;
    }

    .portfolio_section .portfolio_row .portfolio_desc h2 {
        padding: 0 16px;
    }

    .partners_section .partners_row {
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    footer .footer_menu .menu_half:last-child {
        margin: 0;
    }

    .portfolio_section .portfolio_row > .flickity-prev-next-button {
        width: 36px;
        height: 36px;
    }

    .portfolio_section .portfolio_row > .flickity-prev-next-button.previous {
        left: -12px;
    }

    .portfolio_section .portfolio_row > .flickity-prev-next-button.next {
        right: -12px;
    }

    .partners_section .partners_row .partner_item {
        margin: 0 10px;
        width: -webkit-calc(50% - 20px);
        width: calc(50% - 20px);
        margin-bottom: 20px;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .partners_section .partners_row .partner_item {
        padding: 10px;
    }

    .row {
        margin: 0 !important;
    }

    header .phone_block a {
        display: none;
    }

    .container {
        width: 100%;
    }

    .main_section {
        padding: 120px 0;
        height: auto;
    }

    header .phone_block {
        display: none;
    }

    .review_section .review_row {
        margin: 0 auto !important;
    }

    .review_section .review_item {
        width: 100%;
    }

    header .logo,
    header .menu_icon {
        width: 50%;
        text-align: left;
    }

    .review_section .flickity-prev-next-button.next {
        right: -30px;
    }

    .review_section .flickity-prev-next-button.previous {
        left: -30px;
    }

    .review_section .flickity-page-dots li {
        margin: 0 10px;
    }

    .img_sliders {
        height: 320px;
    }

    .image_content {
        display: none;
        width: 320px !important;
    }

    .main_section .main_content {
        width: 100%;
    }

    .main_section .image_content {
        width: 100%;
    }

    .callback_btn img {
        height: 20px;
    }

    .callback_btn:after,
    .callback_btn:before {
        left: -10px;
        right: -10px;
        top: -10px;
        bottom: -10px;
    }

    .user_section {
        padding: 0px;
    }

    .admin_calc .container {
        width: 100%;
        margin: 0;
        padding: 15px !important;
    }

    .admin_calc .steps {
        padding: 15px !important;
    }
}
@media (max-width: 500px) {
    .steps_section .row .steps_block .steps_list .step_item {
        width: 100%;
        height: auto;
    }

    .section_title {
        font-size: 24px;
    }

    .portfolio_section .portfolio_row .portfolio_desc {
        text-align: center;
    }

    .portfolio_section .portfolio_row .portfolio_desc a {
        margin: 0 auto;
        margin-top: 20px;
    }

    .portfolio_section .portfolio_row .images_row .image_item:last-child,
    .portfolio_section .portfolio_row .images_row .image_item:first-child {
        padding: 0;
        width: -webkit-calc(33.333333% - 10px);
        width: calc(33.333333% - 10px);
    }

    .portfolio_section .portfolio_row .images_row .image_item {
        width: -webkit-calc(33.333333% - 10px);
        width: calc(33.333333% - 10px);
    }

    .portfolio_section .portfolio_row .images_row .flickity-prev-next-button.previous {
        left: 10px;
    }

    .portfolio_section .portfolio_row .images_row .flickity-prev-next-button.next {
        right: 10px;
    }

    .portfolio_section .portfolio_row .images_row {
        width: 100%;
    }

    .count_section .count_item {
        width: -webkit-calc(100% - 32px);
        width: calc(100% - 32px);
        margin-bottom: 20px;
    }

    .advantages_section .item {
        width: 100%;
        text-align: center;
        margin: 0;
        margin-bottom: 30px;
    }

    .advantages_section .item .icon {
        margin: 0 auto;
    }
}