/* reset */
html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: #222222;
    overflow-x: hidden;
}

@media (max-width: 1220px) {
    body {
        overflow-x: hidden;
    }
}

.admin-mode .header {
    position: static;
}

.form-control, output {
    font-size: 16px !important;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.header__search-button {
    border-radius: 0;
}

.page-section h1,
.page-section h2,
.page-section h3,
.page-section h4,
.page-section h5,
.page-section p {
    margin: 0;
}

header ul,
header li {
    padding: 0;
    margin: 0;
    list-style: none;
}

input {
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    font-family: inherit;
}

a:hover {
    color: black;
}

a:focus {
    color: black;
}

.form .form-header {
    border-top-color: #f2c220 !important;
    padding-bottom: 30px;
}


/* new head for form in service*/

.form-header {
    border-top-color: #fff !important;
    background: #fff !important;
    padding: 15px 0px;
    min-height: 80px;
    display: flex;
}

.form-header .text {
    padding-top: 10px;
    padding-left: unset !important;
    margin: 0 auto;
}

.form-header .title {
    color: #000;
}

.new-button_serv .btn-lg.btn.btn-default {
    padding: 14px 132px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    height: 55px;
}

/*.form-group i{*/
/*    display: none;*/
/*}*/

/*end*/

/* new head for form in TO*/

.form-header.new {
    border-top-color: #fff !important;
    background: #fff !important;
    padding: 40px 60px;
    min-height: 80px;
    border-bottom: 1px solid #eee;
    display: flex;
}

.form-header.new.order_form, .form-header.new.vacancy-form {
    padding: 15px 0 15px 0;
}

.jqmClose.top-close.fa.fa-close.callback-form {
    top: 45px;
}

.form-header .text {
    padding-left: unset !important;
    margin: 0 auto;
}

.form-header.new .text .title {
    color: #000;
}

.new-button .btn-lg.btn.btn-default {
    padding: 14px 132px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
}

/*end*/

.form .form-header i {
    color: #f2c220 !important;
}

.form .form-header .text {
    font-size: 13px;
}

.img {
    display: block;
    width: 100%;
    object-fit: contain;
}

a {
    text-decoration: none;
    color: inherit;
}

/* end */
#bx-panel, #bx-panel div {
    margin-top: 20px !important;
}

/* icons */
.i-arrow {
    display: block;
    width: 24px;
    background-image: url("data:image/svg+xml,%3Csvg width='15' height='15' viewBox='0 0 15 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M4.25031 4.6875L7.62531 8.0625L11.0003 4.6875L12.1253 5.8125L7.62531 10.3125L3.12531 5.8125L4.25031 4.6875Z' fill='%23222222'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;
    transform-origin: center center;
    transition: 0.2s ease-in-out;
}

.i-search {
    display: block;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22.8748 22.6249L17.8281 17.5691L22.8748 22.6249ZM20.6248 10.8124C20.6248 13.3485 19.6173 15.7808 17.824 17.5741C16.0307 19.3674 13.5984 20.3749 11.0623 20.3749C8.52618 20.3749 6.09393 19.3674 4.30061 17.5741C2.50729 15.7808 1.49982 13.3485 1.49982 10.8124C1.49982 8.27625 2.50729 5.84399 4.30061 4.05067C6.09393 2.25735 8.52618 1.24988 11.0623 1.24988C13.5984 1.24988 16.0307 2.25735 17.824 4.05067C19.6173 5.84399 20.6248 8.27625 20.6248 10.8124V10.8124Z' stroke='black' stroke-width='2.25' stroke-linecap='round'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
}

.i-cross {
    display: block;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.36 15.78L7.99997 9.40997L1.63997 15.78L0.219971 14.36L6.58997 7.99997L0.219971 1.63997L1.63997 0.219971L7.99997 6.58997L14.36 0.229971L15.77 1.63997L9.40997 7.99997L15.77 14.36L14.36 15.78Z' fill='black'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;
}

/* end */

.page-wrapper {
    width: 100%;
    max-width: 1260px;
    box-sizing: border-box;
    margin: 0 auto;
}

.services__items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.services__item-img {
    /*border-radius: 100%;*/
    overflow: hidden;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;

    width: 100%;

    border-bottom: 1px solid rgba(34, 34, 34, 0.2);
    background: #fff;
}


#footer {
    border-top: 1px solid rgba(34, 34, 34, 0.2);
    background: #fff;
    box-shadow: none;
}

#footer *:not(.fa) {
    color: #222222 !important;
    font-family: inherit !important;
}

#footer .maxwidth-theme {
    max-width: 1230px;
}

#footer .title > a {
    font-weight: 700;
}

#filter {
    height: 100%;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 15;
    opacity: 0.5;
    display: none;
    background: rgba(0, 0, 0, 1);
}

#modalForm {
    display: none;
}

.callback_frame.jqmWindow.jqm-init {
    z-index: 20;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.resume_frame.jqmWindow.jqm-init {
    z-index: 20;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.header__inner {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1260px;
    box-sizing: border-box;
    margin: 0 auto;
}

.header__nav-link {
    display: flex;
    align-items: flex-end;
    font-weight: 600;
}

.header__phone {
    white-space: nowrap;
    align-items: center !important;
}

.header__dropdown-link {
    font-size: 16px;
    font-weight: 400;
    color: rgba(34, 34, 34, 0.8);
}

.header__nav-link .i-arrow {
    padding-left: 10px;
}

/*new*/
.header__search {
    display: flex;
    align-items: center;
    /*width: 100%;*/
    max-width: 238px;
    transition: 0.2s ease-in-out;
}

.header__search-field {
    width: calc(100% - 24px);
    box-sizing: border-box;
    padding: 0 10px;
    outline: none;
    transition: 0.2s ease-in-out;
}

.header__search-button {
    background-color: #fff;
    cursor: pointer;
    outline: none;
    font-size: 0;
    transition: 0.2s ease-in-out;
}

.services-page__intro {
    margin-bottom: 50px;
    font-size: 18px;
    line-height: 25px;
}

.page-wrapper--not-index {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.header__side-menu {
    display: flex;
    flex-direction: column;
    /*пока убираем*/
    display: none;
}

.header__side-menu-link {
    padding: 10px;
    border: 1px solid #4444;
    font-size: 16px;
    font-weight: 500;
}

.header__side-menu-link + .header__side-menu-link {
    margin-top: -1px;
}

.header__side-menu-link--active {
    /*background-color: #4444;*/
    font-weight: bold;
}

.page-header {
    width: 100%;
    margin-top: 0;
}

.btn-lg.jqmClose.btn.btn-default.bottom-close {
    width: 100%;
}

footer .info i {
    display: none;
}

footer .info .phone .info_ext,
.footer_block .info .compass {
    padding-left: 0;
}

.search-page .searchinput .btn-search {
    top: -1px;
    height: 30px;
    background-color: #f2c220;
}

.search-page .searchinput .btn-search:hover {
    background-color: #f2c220;
}

.search-page .searchinput input[type=text] {
    width: calc(100% - 27px);
    border-color: #000;
    background: #fff;
}

.search-page .searchinput .btn-search {
    display: flex;
    align-items: center;
    justify-content: center;
}

.breadcrumb li {
    display: inline-block;
}

.detail.services ~ .row .share {
    display: none !important;
}

.site-contacts {
    width: 100% !important;
    margin: 0 !important;
}

.site-contacts .success-messages__text,
.site-contacts .success-messages__text .text {
    padding: 0 !important;
}

.site-contacts .success-messages {
    margin: 24px 0 32px !important
}

.wrap_new {
    width: 100%;
}

.jqmClose.top-close {
    color: #333 !important;
}

.site-contacts__info .block-contacts {
    margin-top: 0;
}

.form-result-title {
    font-size: 24px;
    color: #000;
    font-weight: bold;
    line-height: 1.1;
    text-align: center;
}

/*new*/
.index-slogan__text {
    text-align: center;
}

@media screen and (min-width: 1220px) {
    /*new*/
    .header__menu .header__search {
        /*
                margin-left: auto; */
        display: none;
    }

    .wrap_new {
        margin: 0 -15px;
    }

    .site-contacts .page-title {
        padding: 0 15px;
    }

    html {
        overflow: hidden;
    }

    .header {
        width: calc(100% - 15px);
    }

    .header__search {
        background-color: #fff;
        margin-right: 15px;
    }

    .header__search-field,
    .header__search-hide {
        display: none;
        opacity: 0;
        pointer-events: none;
    }

    .header__search.active {
        background-color: rgba(68, 68, 68, 0.1);
        margin-right: 24px;
    }

    .header__search.active .header__search-field,
    .header__search.active .header__search-hide {
        opacity: 1;
        pointer-events: all;
    }

    .header__search.active .header__search-show {
        background-color: transparent;
        transform: scale(0.8)
    }

    .i-search {
        display: block;
        width: 24px;
        height: 24px;
        background-size: 18px;
    }

    .i-cross {
        height: 24px;
        width: 34px;
        background-size: 16px;
    }

    .i-arrow {
        height: 24px;
    }

    .header__search-button {
        margin-left: auto;
        /*background-color: #f2c220;
        border-radius: 3px;
        border: 2px solid #f2c220;
        transition: 0.2s ease-in-out;*/
    }

    .header__inner {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .header__button {
        display: none;
    }

    /*.header__search {*/
    /*    margin-left: auto;*/
    /*}*/
    .header__menu {
        width: calc(100% - 400px);
        box-sizing: border-box;
    }

    .header__dropdown {
        opacity: 0;
        pointer-events: none;
        transition: 0.2s ease-in-out;
    }

    .header__nav-item:hover > .header__dropdown {
        opacity: 1;
        pointer-events: all;
    }

    .header__nav-item:hover .i-arrow {
        transform: rotate(-180deg);
    }

    .header__dropdown-item {
        box-sizing: border-box;
        padding: 10px;
        border: 2px solid transparent;
        transition: 0.2s ease-in-out;
    }

    .header__dropdown-item:hover {
        border-color: #f2c220;
    }

    .header__nav-item {
        position: relative;
        padding: 10px;
    }

    .header__nav-item--show {
        padding-right: 0;
    }

    .header__dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        background: #FFFFFF;
        box-shadow: 0px 1px 4px rgba(34, 34, 34, 0.16);
    }

    .header__dropdown--sm {
        width: 180px;
    }

    .header__nav-item--show:nth-of-type(2) .header__dropdown--sm {
        width: 350px;
    }

    .header__dropdown--large {
        width: 350px;
    }

    .header__nav,
    .header__search,
    .header__phone {
        height: 24px;
    }

    .header__phone {
        display: flex;
        align-items: flex-end;
        margin: 0 0 0 auto;
        font-weight: 600;
    }

    /*new*/
    .header__menu,
    .header__nav {
        display: flex;
        justify-content: space-evenly;
    }

    .header__nav {
        align-items: center;
        justify-content: space-between;
        /*width: 100%;*/
        /*max-width: 488px;*/
    }

    /*.header__logo-wrapper {*/
    /*    display: block;*/
    /*    height: 53px;*/
    /*    width: 186px;*/
    /*    margin-right: 63px;*/
    /*}*/
    /*new*/
    .header__logo-wrapper {
        display: block;
        height: 52px;
        /*
                width: 100%; *//*
                margin-right: 63px; */
    }

    .header__nav-item,
    .header__phone {
        font-size: 18px;
    }

    .header__inner,
    .page-wrapper {
        padding-left: 30px;
        padding-right: 30px;
    }

    .page-wrapper {
        padding-top: 73px;
    }

    .header {
        height: 73px;
    }

    .page-section {
        margin-bottom: 100px;
    }

    .video-banner {
        /*margin-top: 24px;
        margin-bottom: 54px;
		убрать отступы*/
        margin-bottom: 30px;
        height: 350px;
        overflow: hidden;
    }

    .video-banner__video {
        width: 100%;
        -o-object-fit: cover;
        object-fit: cover;
        transform: translateY(-30%);
    }

    .index-slogan__text {
        font-weight: 600;
        /*font-size: 52px;
			font-size: 26px;
		*/
        font-size: 34px;
        font-size: 2.63vw;
        line-height: 58px;
    }

    .services__items {
        /*margin-bottom: -90px;*/
    }

    .services__item {
        display: flex;
        justify-content: space-between;
        width: calc(50% - 65px);
        margin: 0 0 20px;
    }

    .services__item-img {
        width: 90px;
        height: unset;
        margin: 10px 30px 0 0;
    }

    .services__item-info {
        width: calc(100% - 100px);
    }

    .services__item-name {
        font-weight: 600;
        font-size: 18px;
        line-height: 33px;
    }

    .services__item-descr {
        margin: 15px 0 0;
        font-size: 16px;
        line-height: 25px;
    }

    .index-about__text {
        font-size: 24px;
        line-height: 39px;
    }

    .body {
        position: relative;
        padding-bottom: 280px;
    }

    #footer {
        margin-top: 100px !important;
        flex-grow: 1;
        max-height: 200px;
    }

    #footer {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
    }

    .page-wrapper--not-index {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .header__side-menu {
        width: 200px;
        margin-right: 60px;
        display: flex;
        flex-direction: column;
        /*пока убираем*/
        display: none;
    }

    .header__side-menu + div {
        /* width: calc(100% - 260px); */
        /*width: 95%;*/
        /*new style for content*/
        width: 100%;
        /*end*/
    }

    .page-section:last-child {
        margin-bottom: 0;
    }

    .index-slogan {
        margin-bottom: 15px;
        margin-top: 10px;
        /*new*/
        width: 100%;
    }

    .page-wrapper:not(.page-wrapper--not-index) .services__item {
        margin-bottom: 20px;
    }

    .page-wrapper:not(.page-wrapper--not-index) .services__items {
        margin-bottom: -35px;
    }

    .page-wrapper:not(.page-wrapper--not-index) .services {
        margin-bottom: 30px;
    }

    .body.index {
        padding-bottom: 235px;
    }

    .services__item {
        box-sizing: border-box;
        padding: 20px;
        border: 1px solid transparent;
        transition: 0.2s ease-in-out;
    }

    .services__item:hover {
        border-color: #222222;
    }

    .img-fixed-w {
        width: 70px;
        height: auto;
        margin: 0 auto;
    }

    .header__dropdown-link {
        font-weight: 600;
    }

    .footer_block .row {
        width: 100%;
        display: flex;
        margin: 0;
        /*justify-content: space-between;
        margin: 0;*/
    }

    .footer_block .row > div {
        flex-grow: 1;
        width: unset;
        float: none;
        padding: 0;
        margin-right: 13%;
    }

    .footer_block .row > div:first-child {
        max-width: 120px;
    }

    .footer_block .row > div:nth-child(2) {
        max-width: 250px;
    }

    .footer_block .row > div:nth-child(3) {
        max-width: 215px;
    }

    .footer_block .row > div:last-child {
        width: unset;
        margin-left: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        margin-right: 0;
        min-width: 150px;
        max-width: 150px;
    }

    /*.footer_block .row > div:last-child .info {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }*/
    .footer_block .copy {
        white-space: nowrap;
        margin-top: auto;
        position: absolute;
        bottom: 40px;
        right: 0;
    }

    .footer_block .title > a {
        font-size: 18px;
        text-transform: none;
        font-weight: 600 !important;
        display: block;
        margin: 0 0 10px;
    }

    .footer_block .bottom-menu li > a {
        font-size: 16px;
        padding: 5px 0;
    }

    .footer_block .info .phone,
    .footer_block .info .compass,
    .footer_block .info .email {
        padding: 5px 0;
        font-size: 16px;

        margin-bottom: 0;
    }

    .footer_block .info .phone,
    .footer_block .info .compass {
        padding-top: 0;
    }

    /*.footer_block .info .title > a {
        padding-left: 0;
    }*/
    .footer_block .site-telephone {
        font-size: 18px;
        font-weight: 600 !important;
    }

    .footer_block {
        padding-bottom: 30px !important;
    }

    .footer_block * {
        color: #222;
    }

    #footer .maxwidth-theme.footer_block {
        max-width: 1260px !important;
        box-sizing: border-box !important;
        padding: 0 30px !important;
    }

    #footer .maxwidth-theme.footer_block > .col-md-12 {
        padding: 0 !important;
    }

    /*
        .page-wrapper--not-index {
            padding-top: 72px;
        }

        .contacts-row {
            display: flex;
            align-items: center;
        }

        .contacts-row .btn {
            position: static;
            margin: 0;
        }

        .contact-block-front {
            margin: 37px 0;
        }

        .contact-block-front h2:after {
            margin-top: -20px;
        }
    */
    .header__phone + .header__phone {
        margin-left: 20px;
    }

}

@media screen and (min-width: 1274px) {
    .index-slogan__text {
        font-weight: 600;
        font-size: 34px;
        line-height: 58px;
        white-space: nowrap;
    }
}

@media screen and (min-width: 769px) {
    .col-md-4.col-sm-6.license {
        width: 50%;
    }
}

@media screen and (max-width: 1220px) {
    .header__side-menu {
        margin-bottom: 50px;
    }

    .header__nav-item,
    .header__dropdown-item {
        text-align: center;
    }

    .header__nav-link--show {
        margin-right: -24px;
    }

    .header__search-hide {
        display: none;
    }

    .i-search {
        display: block;
        width: 27px;
        height: 27px;
        background-size: 14px;
    }

    .header__nav-link {
        display: inline-flex;
    }

    .header__search {
        max-width: 290px;
        margin: 35px auto 0;
        transform: translateX(12px);
        background-color: rgba(68, 68, 68, 0.1);
    }

    /*new*/
    .header__search.test {
        display: none;
    }

    .header__dropdown-item + .header__dropdown-item {
        margin-top: 18px;
    }

    .header__dropdown {
        margin-top: 15px;
    }

    .header__nav-item + .header__nav-item {
        margin-top: 25px;
    }

    @-webkit-keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    .header__dropdown {
        display: none;
        opacity: 0;
        transition: opacity ease-in-out 0.2s;
    }

    .header__nav-item.active .header__dropdown {
        display: block;
        opacity: 1;
        -webkit-animation: fadeIn .2s;
        animation: fadeIn .2s;
    }

    .header__nav-item.active .i-arrow {
        transform: rotate(-180deg);
    }

    .header__phone {
        font-size: 16px;
        font-weight: 700;
        margin: 0 15px 0 auto;
    }

    @media screen and (max-width: 350px) {
        .header__phone {
            margin-right: 0;
            margin: 0 !important;
        }
    }
    .header__button {
        margin: 0 0 0 auto;
        transition: opacity 0.2s ease-in-out;
        background-color: #fff;
    }

    .header__buttons {
        position: relative;
        margin-left: 0;
    }

    .header__button--burger {
        position: relative;
        z-index: 2;
    }

    .header__button--cross {
        position: absolute;
        opacity: 0;
        top: 0;
        left: 0;
        z-index: 1;
        transition: opacity ease-in-out 0.2s;
    }

    .header.active .header__button--burger {
        opacity: 0;
        z-index: 1;
    }

    .header.active .header__button--cross {
        opacity: 1;
        z-index: 2;
    }

    .i-burger {
        display: block;
        width: 32px;
        height: 32px;

        background-image: url("data:image/svg+xml,%3Csvg width='20' height='16' viewBox='0 0 20 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.857162 14.8572H19.1429M0.857162 1.14294H19.1429H0.857162ZM0.857162 8.00009H19.1429H0.857162Z' stroke='black' stroke-width='1.71429' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
        background-repeat: no-repeat;
        background-position: 100% center;
        background-size: 22px 16px;
    }

    .i-cross {
        width: 32px;
        height: 32px;
        background-size: 18px;
    }

    .i-arrow {
        height: 20px;
    }

    .header__logo-wrapper {
        width: 114px;
        /*height: 32px;*/
        height: 30px;
    }

    .header__inner {
        position: relative;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .header__menu {
        position: absolute;
        top: 100%;
        left: 100%;
        width: 100%;
        height: calc(100vh - 65px);
        transition: 0.2s ease-in-out;
        box-sizing: border-box;
        padding: 20px 15px;
        overflow-y: auto;
        background: #fff;
        margin-top: 3px;
    }

    .header.active .header__menu {
        transform: translateX(-100%);
    }

    .page-wrapper,
    .header__inner {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-wrapper {
        padding-top: 65px;
    }

    .header {
        height: 65px;
    }

    .page-section {
        margin-bottom: 54px;
    }

    .video-banner {
        display: none;
    }

    .index-slogan {
        padding-top: 20px;
    }

    .index-slogan__text {
        font-size: 20px;
        line-height: 28px;
        font-weight: 600;
    }

    .services__items {
        margin-bottom: -20px;
    }

    .services__item {
        display: flex;
        flex-direction: column;
        align-items: center;

        width: calc(50% - 20px);

        margin: 20px 0 0;
    }

    .services__item-img {
        width: 70px;
        height: 70px;
    }

    .services__item-name {
        text-align: center;
    }

    .services__item-descr {
        display: none;
    }

    .index-about__text {
        font-size: 18px;
        line-height: 28px;
    }

    .contacts table {
        margin-left: 0 !important;
    }

    .telephone-link.new_phone {
        color: black;
    }

    #footer {
        margin-top: 70px !important;
    }

    .i-zamena {
        width: 50px;
        margin: 0 auto;
    }


    .footer_block .title > a {
        font-size: 16px;
        text-transform: none;
        display: block;
        margin: 0 0 10px;
        font-weight: 600 !important;
    }

    .footer_block .bottom-menu li > a {
        font-size: 16px;
        padding: 5px 0;
    }

    .footer_block .info .phone,
    .footer_block .info .compass,
    .footer_block .info .email {
        padding: 5px 0;
        font-size: 16px;
    }

    .footer_block .site-telephone {
        font-size: 16px;
        font-weight: 700 !important;
    }

    .footer_block {
        padding-bottom: 30px !important;
    }

    /*.page-wrapper--not-index {
        padding-top: 80px;
    }*/
    /* хб */
    .page-header__breadcrumbs {
        overflow: auto;
    }

    .breadcrumb {
        display: flex;
        align-items: flex-start;
    }

    .breadcrumb > li {
        white-space: nowrap;
    }

    .header__phone + .header__phone {
        margin: 0 15px 0;
    }

    /*контакты*/
    .site-contacts {
        display: flex;
        flex-direction: column;
    }

    .site-contacts .error-list {
        padding: 0 !important;
        margin-top: 8px;
    }

    .site-contacts .success-form {
        margin-top: 24px !important;
    }

    .site-contacts .success-form > div {
        margin: 0 !important;
    }

    .site-contacts__info {
        float: none;
        width: 100%;
        margin-bottom: 32px;
    }

    .site-contacts__info .block-contacts {
        margin-top: -24px;
        display: flex;
        flex-wrap: wrap;
    }

    .site-contacts__info .block-contacts > div {
        width: 50%;
        margin-top: 24px;
    }

    .site-contacts__info .block-contacts p {
        margin-bottom: 0;
    }

    .site-contacts__info > div {
        padding: 0;
        width: 100%;
    }

    .site-contacts__feedback {
        float: none;
        padding: 0;
        border: none;
        width: 100%;
    }

    .col-md-9.border-line.site-contacts__feedback {
        padding: 0 15px 0 15px;
    }

    .site-contacts .processing-block {
        margin-top: 8px !important;
    }

    .site-contacts .processing-block .form-group {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    .site-contacts .processing-block .form-group > div {
        float: none;
        width: 50%;
    }

    .site-contacts .processing-block .form-group > div:last-child {
        padding-left: 0;
    }

    .site-contacts .site-contacts__feedback .new_button > .btn {
        margin-top: 0 !important;
        max-width: unset;
    }

    .site-contacts .site-contacts__feedback .form-footer {
        padding: 0 !important;
    }

    .site-contacts__info .block-contacts > div {
        width: 50%;
        margin-top: 24px;
    }

    .site-contacts__feedback .inputs-div > div {
        padding: 0;
    }

    .site-contacts .new_title {
        padding: 0 !important;
    }

    .form.inline .form-footer {
        padding: 0 !important;
    }

    .form.inline .pull-right {
        margin: 0 !important;
    }

    .form.inline.success {
        margin: 24px 0 0 !important;
    }

    .form.inline.success div {
        padding: 0 !important;
        min-height: unset !important;
    }

    .detail.services hr {
        height: 0 !important;
        margin: 0 !important;
    }
}

@media screen and (min-width: 768px) {

    .detail.services .block.front div {
        width: unset;
    }

    .detail.services .block.front .row {
        width: 100%;
        margin: 0;
    }

    .detail.services .block.front .col-md-12 {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0;
    }

    .detail.services .block.front .btn-default {
        position: static;
        margin: 0 !important;
        right: 15px;
    }

    .form-footer.clearfix.callback_form, .form-footer.clearfix.vacancy-form, .form-footer.clearfix.order_form {
        display: flex;
        justify-content: center;
    }
}

@media screen and (min-width: 768px) and (max-width: 870px) {
    .detail.services .block.front .btn-default {
        margin: 0 !important;
    }
}

@media (max-width: 500px) {
    .header__phone {
        font-size: 16px;
        font-weight: 700;
    }

    .header__phone + .header__phone {
        margin: 0 0 0 10px;
    }


}

@media (max-width: 419px) {
    /*new*/
    .partners__list {
        justify-content: center;
    }

    .header__logo {
        margin-left: unset !important;
    }

    .page-wrapper {
        padding-top: 75px;
    }

    .header {
        /* height: 75px; */
    }

    .header__menu {
        top: 75px;
        margin-top: 0;
    }

    .header::after {
        /* content: '';
        position: absolute;
        top: 30px;
        display: block;
        width: 100%;
        height: 0.5px;
        background: rgba(34, 34, 34, 0.2); */
    }

    .header__inner {
        flex-wrap: nowrap;
        /* padding-top: 5px; */
    }

    .header__logo-wrapper {
        /*width: 50%;*/
        width: 88%;
        order: -2;
    }

    /*new*/
    .header__logo-wrapper img {
        /*width: 114px;*/
        width: 100%;
    }

    .header__buttons {
        order: -1;
        margin-left: auto;
    }

    .header__phone {
        /* width: 50%; */
        /* order: -3; */
        order: -2;
        /* margin: 0 0 10px; */
        font-weight: 700;
        font-size: 16px;
    }

    .header__phone + .header__phone {
        /* margin: 0 0 10px auto; */
        width: unset;
    }
}

.header__logo {
    width: auto;
    height: 100%;
}

/*new*/

.header__logo {
    /*width: 320px;*/
    height: 100%;
    margin-left: 15px;
    /*margin-top: 1px;*/
    width: 330px;
    margin-top: 1.25px;
}

/*то - услуги*/
.w-full {
    width: 100%;
}

.flex-container {
    max-width: 1260px;
    margin: 0 auto;
    overflow: hidden;
}

.flex-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -1%;
    margin-bottom: -60px;
}

.flex-item {
    width: 100%;
    margin-right: 1%;
    margin-bottom: 60px;
}

.flex-v-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.subtitle-custom {
    text-align: center;
    margin: 0 0 30px;
}

.img-h {
    width: 100%;
    max-width: 300px;
    height: 270px;
}

.img-h .img {
    object-fit: cover;
}

.name {
    font-size: 18px;
    margin: 10px 0 30px;
    text-align: center;
}

.price {
    font-weight: bold;
    font-size: 30px;
    margin-top: auto;
    margin-bottom: 30px;
}

.order-link {
    display: block;
    width: 100%;
    max-width: 256px;
    height: 48px;
    box-sizing: border-box;
    padding: 10px;
    margin-top: 15px;
    margin-left: auto;
    margin-right: auto;

    background-color: #f2c220;
    border: 1px solid #f2c220;
    color: #fff;

    font-size: 18px;
    font-weight: 600;

    text-transform: lowercase;
    text-decoration: none;
    text-align: center;
    border-radius: 3px;

    transition: 0.2s ease-in-out;
}

.btn.btn-default.btn-vacancy {
    background-color: #f2c220 !important;
    border: 1px solid #f2c220 !important;
    color: #fff;

    text-transform: uppercase !important;
    font-size: 18px;
    font-weight: 600 !important;
    margin-top: unset;

    padding: 10px;
    text-align: center;
    transition: All 0.4s ease;

}

.btn.btn-default.btn-vacancy:hover {
    background-color: white !important;
    color: #f2c220 !important;
}

.btn.btn-default:focus {
    outline: none !important;
}

/*new style for btn TO*/
.order-link.new-order_to {
    text-transform: uppercase;
    padding: 13px;
}

/*end*/
.form .form-footer .btn,
.order-block .btn,
.block.front .btn-default {
    background-color: #f2c220 !important;
    border: 1px solid #f2c220 !important;
    color: #fff;

    /*new style for btn Производство, Монтаж*/
    text-transform: uppercase !important;
    font-size: 18px !important;
    font-weight: 600 !important;

    margin-top: -14px !important;

    padding: 10px;
    text-align: center;
    /*end*/
}

@media screen and (min-width: 768px) and (max-width: 1220px) {
    .form.inline {
        width: 100%;
        max-width: 414px;
        margin: 0 auto !important;
    }
}

@media (max-width: 767px) {
    .form.popup .form-body,
    .form.popup .form-footer {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .form.popup.success {
        width: 100% !important;
    }

    .form.popup .btn {
        width: 100%;
        padding: 10px !important;
    }

    .site-contacts .processing-block .form-group > div,
    .site-contacts__feedback .inputs-div,
    .site-contacts__info .block-contacts > div {
        width: 100%;
    }

    .site-contacts .processing-block .form-group > div:last-child {
        margin-top: 16px;
    }

    .site-contacts .site-contacts__feedback .new_button {
        margin-bottom: -16px;
    }

    .form .form-footer .btn,
    .order-block .btn,
    .block.front .btn-default {
        display: block;
        max-width: 414px;
        margin-top: 16px !important;
        margin-left: auto;
        margin-right: auto;
    }

    .jqmWindow {
        height: 100%;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        transform: none !important;
    }

    .jqmWindow * {
        box-sizing: border-box;
    }

    .form.inline .pull-right {
        float: none !important;
    }

    .form.inline .pull-right .btn {
        width: 100%;
        max-width: 414px;
        margin: 0 auto !important;
    }

    .header__phone_email {
        display: none !important;
    }

    .header__inner {
        flex-wrap: nowrap;
    }

    .header__phone.header__phone_phone {
        margin: 0 15px 0 auto;
    }

    /*new*/
    .header__phone.header__phone_phone a {
        display: none;
    }

    .header__menu_phone, .header__menu_email {
        font-size: 18px;
        font-weight: 700;
        display: flex;
        margin: 30px auto 0;
        justify-content: center;
    }

}

/*new style for btn Монтаж + Производство*/
/*.form .form-footer .btn,*/
/*.order-block .btn,*/
/*.block.front .btn-default.new_btn{*/
/*    text-transform: uppercase!important;*/
/*    font-size: 18px!important;*/
/*    font-weight: 600!important;*/
/*}*/
/*end*/

.order-link:hover,
.form .form-footer .btn:hover,
.order-block .btn:hover,
.block.front .btn-default:hover {
    background-color: #fff !important;
    color: #f2c220 !important;
}

.page-header__breadcrumbs {
    padding-top: 15px;
}

.licences-container {
    width: 100%;
}

.licenses-block .item {
    position: relative;
    padding: 20px 30px 20px 30px;
    border: 1px solid #e9ecef;
    background: #fff;
    transition: 0.2s all ease-in-out;
}

.licenses-block .item:hover {
    transform: translateY(-4px);
    border: 1px solid #ced4da;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
}

.licenses-block .image,
.licenses-block .text {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
}

.licenses-block .image a {
    height: unset !important;
}

.licenses-block .zoom,
.fancybox-nav {
    visibility: hidden;
}

.img-inside.fancy_gallery .img-responsive {
    width: 100%;
    height: 500px;
}

.licenses-block .text,
.licenses-block .item .col-md-12 {
    padding: 0 !important;
}

@media (min-width: 640px) {
    .flex-item {
        width: 49%;
        /*margin-bottom: 60px;*/
    }
}

/*	.flex-row {*/
/*		margin-bottom: 60px;*/
/*	}*/
/*}*/
@media (min-width: 767px) {
    .header__menu_phone, .header__menu_email {
        display: none;
    }

    .flex-item {
        width: 32.333%;
        /*margin-bottom: 60px;*/
    }

    /*.flex-row {*/
    /*	margin-bottom: 60px;*/
    /*}*/

}

@media (min-width: 1220px) {
    .flex-item {
        width: 24%;
        /*margin-bottom: 60px;*/
    }

    /*.flex-row {*/
    /*	margin-bottom: 60px;*/
    /*}*/
}

#POPUP_MESSAGE {
    padding: 0;
    vertical-align: bottom;
    min-height: 75px;
    overflow: auto;
    display: flex;
    align-items: flex-end;
}


.page-section__title {
    margin: 0 0 32px;
    font-size: 32px;
    line-height: 40px;
    font-weight: 600;
}

@media (max-width: 1220px) {
    .page-section__title {
        margin: 0 0 20px;
        font-size: 20px;
        line-height: 28px;
    }
}

.page-section__title_position_center {
    text-align: center;
}


@media (min-width: 1220px) {
    .index-about {
        margin-bottom: 48px;
    }
}

@media (min-width: 1220px) {
    .index-slogan__text {
        text-align: justify;
        text-align-last: justify;
    }
   
}
