@media (max-width: 1023px) {
    .advantages-add .adv-form {
        width: 340px;
    }

    .advantages-add .adv-form__inner {
        margin: 0 20px 50px 0;
    }

    .advantages-add .adv-info__item {
        width: calc(33.33% - 20px);
    }

    .prices__name {
        flex: 0 0 60%;
    }

    .prices__price {
        flex: 0 0 16%;
    }

    .prices__button {
        flex: 0 0 24%;
    }

    .services {
        position: relative;
        margin-right: -20px !important;
    }

    .services .item {
        width: calc(50% - 20px) !important;
        margin-right: 20px !important;
        margin-bottom: 40px !important;
        margin-top: 0 !important;
    }

    .services .image a img {
        width: 100%;
    }

    .consult form {
        -webkit-background-size: cover;
        background-size: cover;
        padding-left: 15px;
        padding-right: 15px;
    }

    .consult .consult__inner {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
    }

    .consult .consult__content {
        width: 100%;
    }

    .consult .consult__form {
        width: 100%;
    }

    .prices .prices__info {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
        -ms-align-items: flex-start;
        align-items: flex-start;
    }

    .prices .prices__info > * {
        margin-bottom: 10px;
    }

    .prices .prices__info > *:last-child {
        margin-bottom: 0;
    }

    .locations {
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 16px;
    }

    h1 {
        line-height: normal !important;
        font-size: 30px !important;
    }

    h2 {
        font-size: 26px;
        line-height: normal;
    }

    .wrap {
        padding: 0 20px;
    }

    .header .header-inner {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .header .header-inner > div:nth-child(n + 2) {
        border-left: 0 !important;
        padding-left: 0 !important;
        margin-left: 0 !important;
    }

    .header .header-inner .logo {
        display: none;
    }

    .slider-main .slide-inner {
        height: auto;
        padding: 25px 0;
        background-position: left center;
    }

    .slider-main .info {
        width: auto;
    }

    .slider-main .info .title {
        font-size: 30px;
    }

    .advantages .items {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .advantages .item {
        width: 100%;
        padding: 10px !important;
        background: none !important;
    }

    .advantages .image {
        width: 65px;
    }

    .advantages-add .adv-form {
        width: 100%;
        margin-right: 0 !important;
        float: none;
        padding: 10px;
    }

    .advantages-add .adv-form .adv-form__inner {
        width: 100%;
    }

    .advantages-add .adv-info .images {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        display: none;
    }

    .advantages-add .adv-info .images .image {
        width: 100%;
        margin: 0 0 10px !important;
        height: auto;
    }

    .advantages-add .adv-info .images img {
        position: relative;
        width: 100%;
        height: auto;
        display: block;
        left: 0;
        right: 0;
        -webkit-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        transform: translate(0, 0);
    }

    .emergency {
        height: auto;
        padding: 15px 0;
    }

    .emergency h3 {
        font-size: 24px;
    }

    .emergency a {
        font-size: 24px;
    }

    .contacts-bot .icon {
        display: none;
    }

    .footer {
        padding-top: 0;
    }

    .footer .footer-top {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .footer .block {
        width: 100%;
        margin-bottom: 10px;
    }

    .footer .footer-bot {
        padding: 0 0 15px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .footer .footer-bot .copyright {
        margin-bottom: 10px;
    }

    .services .item {
        padding: 10px;
        border: 1px solid #2b9cbe;
        width: 100%;
        margin: 0 0 20px !important;
    }

    .services .item .image {
        margin-bottom: 20px;
    }

    .head-title-block {
        background-size: cover;
        background-position: left center;
        height: auto;
        padding: 15px 0;
    }

    .head-title-block h1 {
        font-size: 24px;
    }

    .content {
        padding: 20px 0;
    }

    .content table td {
        font-size: 14px;
        padding: 5px;
    }

    .gallery {
        padding: 20px 0;
    }

    .gallery .gallery-items {
        margin: 0 -10px;
    }

    .gallery .gallery-item {
        padding: 10px;
        width: 50%;
    }

    .reviews-item {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .reviews-item .text {
        padding: 10px;
    }

    #jivo_close_button {
        margin-top: -34px !important;
        margin-left: -8px !important;
    }

    .error-404 {
        padding: 40px 0;
    }

    .error-404 h1 {
        font-size: 80px;
        line-height: 80px;
    }

    .error-404 h2 {
        font-size: 40px;
        line-height: 53px;
        color: #FFFFFF;
        font-weight: 700;
        margin-top: 4px;
        margin-bottom: 0;
    }

    .error-404 p {
        font-size: 25px;
        line-height: 1.4;
        margin: 0;
        font-weight: 300;
        color: #FFFFFF;
    }

    .error-404 p a {
        text-decoration: none;
        color: #fff;
        font-size: 18px !important;
        text-transform: uppercase;
        font-weight: bold;
    }

    #uSocial .uscl-bar.uscl-absolute .uscl-list,
    .uSocial-Share .uscl-bar.uscl-absolute .uscl-list {
        position: relative !important;
        display: block !important;
        bottom: 0 !important;
        width: 100% !important;
        -webkit-box-sizing: border-box !important;
        box-sizing: border-box !important;
        right: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .project-filter ul li {
        font-size: 12px;
        padding-bottom: 0;
        line-height: 20px;
    }

    .reviews-main {
        /*        display: none;*/
    }

    .reviews-main .wrap {
        padding: 0;
    }

    .footer .block:last-child {
        display: none;
    }

    .advantages-add .advantages-add-inner {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
        overflow: hidden;
    }

    .advantages-add .adv-info__item {
        width: calc(50% - 20px);
    }

    .main-services2 .item {
        width: calc(50% - 20px);
    }

    .main-services2 .item a .image {
        height: 120px;
    }

    .main-services .services {
        margin-right: 0 !important;
    }

    .main-services .services .item {
        width: 100% !important;
        margin-right: 0 !important;
    }

    .content ul li {
        font-size: 15px;
    }

    .accordion .accordion__title {
        font-size: 15px;
        padding: 15px 50px 15px 10px;
    }

    .consult form {
        height: auto;
        padding: 70px 10px 70px;
    }

    .consult .consult__form__inner {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
        height: auto !important;
    }

    .consult .consult__form__inner input {
        width: 100%;
        margin-bottom: 5px;
        height: 46px !important;
    }

    .consult .consult__form__inner input + input {
        margin-left: 0;
        margin-bottom: 0;
    }

    .prices .prices__item {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 14px;
        -ms-align-items: center;
        align-items: center;
    }

    .prices__name {
        flex: 0 0 100%;
    }

    .prices__price {
        flex-grow: 1;
        margin-bottom: 10px;
    }

    .prices__button.button {
        margin-left: auto;
        flex-grow: 1;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        justify-content: flex-end;
    }

    .prices__button.button a {
        width: auto;
        line-height: 30px;
        font-size: 12px;
        margin-left: auto;
    }

    .locations {
        margin-bottom: 40px;
    }

    .locations .tabs__content {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
        margin-right: 0;
    }

    .locations .tabs__content ul {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .locations .tabs__content ul:last-child {
        margin-bottom: 0;
    }

    .locations .tabs__content ul li {
        font-size: 14px;
    }

    .services .title a {
        font-size: 20px;
        line-height: normal;
    }

    .faq h3,
    .prices h3,
    .locations h3,
    .content2 h3,
    .content2 h3.h1,
    .reviews-main h4 {
        font-size: 26px;
        line-height: normal;
    }
}
