/* core app */

:root {
    --app-v: 300325;
    --main-body-bg-dark-mode: #18191a;
    --main-black: #191c1f;
    --main-white: #eff3f7;
    --main-blue: #005aff;
    --main-blue-hover: #0082ff;
    --main-link: #787d82;
    --main-link-hover: #a0a5aa;
    --main-link-underline: rgba(165, 170, 175, .5);
    --main-selection: rgba(150, 200, 250, .6);
    --main-tap: rgba(100, 150, 200, .3);
    
    --scale-factor: 1;
    --padding-calc-param: .06;
    
    --success-request-form-height: 260px;
    --form-success: #35d073;
    --form-error: #783cf5;
}

@media (max-width: 959px) {
    :root {
        --padding-calc-param: .1;
        --success-request-form-height: 250px;
    }
}

@media (max-width: 639px) {
    :root {
        --success-request-form-height: 210px;
    }
}

@media (max-width: 479px) {
    :root {
        --padding-calc-param: .15;
    }
}

.t360__bar {
    background-color: var(--page-loader, var(--main-blue)) !important;
    height: calc(var(--scale-factor) * 2.5px) !important;
}

#allrecords {
    text-size-adjust: none;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    text-rendering: optimizeLegibility;
    -webkit-tap-highlight-color: var(--page-tap, var(--main-tap));
}

::selection {
    background-color: var(--page-selection, var(--main-selection));
    text-shadow: none;
}

::-moz-selection {
    background-color: var(--page-selection, var(--main-selection));
    text-shadow: none;
}

::-webkit-scrollbar-thumb {
    background-color: #0f1215;
    border-radius: 10px;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    background-color: var(--main-link-hover);
}

:focus {
    outline-color: transparent;
    outline-style: none;
    outline-width: 0;
}

html, body, #allrecords {
    scrollbar-color: #0f1215 var(--main-link-hover);
    scrollbar-width: thin;
}

@media (prefers-color-scheme: dark) {
    ::-webkit-scrollbar-thumb {
        background-color: var(--main-link);
    }
    
    ::-webkit-scrollbar {
        background-color: #272829;
    }
    
    html, body, .t396__artboard {
        scrollbar-color: var(--main-link) #272829;
    }
}

img, svg, video, button, [class*="btn"], nav, .page-nav, .footer-nav, .menu-short, label, output, .t-popup, #portfolioCounter, .role span {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

button {
    -webkit-appearance: none;
    appearance: none;
}

.t-rec {
    word-break: normal;
}

.uc-system-zero, .uc-code {
    display: none;
}

.v-mid {
    vertical-align: middle;
}

nav ol, section ol, nav ul, section ul {
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
}

.black-text {
    color: var(--page-black, var(--main-black));
}

.white-text {
    color: var(--page-white, var(--main-white));
}

.blue-text {
    color: var(--main-blue);
}

[data-font-icon] {
    visibility: hidden;
}

.f-l {
    font-weight: 300;
}

.f-r {
    font-weight: 400;
}

.f-m {
    font-weight: 500;
}

.f-sb {
    font-weight: 600;
}

.f-b {
    font-weight: 700;
}

.link-not-available {
    cursor: pointer;
}

.request-form-waiting {
    opacity: 0 !important;
    pointer-events: none;
}

@media (prefers-color-scheme: dark) {
    :root {
        --main-tap: rgba(50, 100, 150, .2);
    }
}

@media (max-width: 1024px) {
    .t360__progress {
        display: none;
    }
}

/* forms */

.t-btn_sending {
    pointer-events: none;
}

.t-body_popupshowed {
    padding-right: var(--scrollbar-width, 0);
}

.t-body_popupshowed .sh-menu {
    right: var(--scrollbar-width, 0);
}

.t-input {
    text-overflow: ellipsis;
    font-weight: 700;
}

.t-input_bbonly {
    border-bottom: 3px solid var(--page-link-hover, var(--main-link-hover));
}

.t-input:focus {
    outline: none !important;
}

.t-input::placeholder {
    color: var(--main-link-underline);
    opacity: 1 !important;
}

.t-input:-ms-input-placeholder {
    color: var(--main-link-underline);
    opacity: 1 !important;
}

.t-input-block, .uc-request-popup .services-preset {
    -webkit-tap-highlight-color: transparent;
}

.js-error-control-box .t-input::placeholder {
    color: var(--form-error);
    opacity: .4 !important;
}

.js-error-control-box .t-input:-ms-input-placeholder {
    color: var(--form-error);
    opacity: .4 !important;
}

.t-input:focus::placeholder {
    opacity: 0 !important;
}

.t-input:focus:-ms-input-placeholder {
    opacity: 0 !important;
}

.sub-holder {
    position: absolute;
    top: -8px;
    left: 0;
    color: var(--main-blue);
    font: 400 12px / 1 Gogh, Montserrat, Helvetica, Arial, sans-serif;
    opacity: 0;
    transition: opacity .2s;
    pointer-events: none;
}

.js-error-control-box .sub-holder {
    color: var(--form-error);
    top: 7px;
    left: auto;
    right: 7px;
}

.t-input-group_cb.js-error-control-box .t-checkbox__control {
    color: var(--form-error) !important;
    padding-left: 0 !important;
}

.t-input-group_cb.js-error-control-box .t-checkbox__indicator {
    border-color: var(--form-error);
}

.t-input:focus + .sub-holder {
    opacity: 1;
}

.t-input-error {
    display: none !important;
}

.t-input-title {
    font-weight: 500;
    color: var(--main-black) !important;
}

.t-input-title, .t-input-subtitle {
    padding-right: 0;
}

.t-input-group_cb:is(.t-form .js-error-control-box:has(.t-input-block+.t-input-error)) .t-checkbox__control {
    border: none !important;
    padding: 0;
}

.t-form .js-error-control-box .t-checkbox__control {
    border: none !important;
    padding: 0;
}

.js-error-control-box .t-input-title {
    color: var(--form-error) !important;
}

.js-error-control-box:not(.t-input-group_cb) .t-input-block {
    margin-top: .5em;
}

.t-checkbox__control.disabled {
    cursor: auto;
    opacity: .6;
}

.t-checkbox__control span {
    transition: color .1s, opacity .2s;
    margin-left: 10px;
}

.t-checkbox__control.disabled span {
    opacity: .5;
}

.t-checkbox__control {
    width: max-content !important;
    color: var(--main-black) !important;
    gap: 0 !important;
}

.t-checkbox__control:not(:last-child) {
    margin: 0 0 20px !important;
}

.t-checkbox__control:first-child {
    margin: 15px 0 20px !important;
}

.t-checkbox__control:last-child {
    margin: 0 0 15px !important;
}

.t-checkbox__control.unavailable-service {
    color: #f53c3c !important;
}

.t-checkbox__control.unavailable-service span {
    opacity: 1;
}

.js-error-control-box .t-checkbox__control {
    margin: 18px 0 !important;
    padding-left: 5px !important;
}

.t-checkbox__indicator {
    margin-right: 0;
    transform: translateY(-1px);
    border: 2px solid var(--main-link-hover);
    opacity: .3;
    border-radius: 5px;
}

.t-checkbox:checked + .t-checkbox__indicator {
    border-color: var(--main-blue);
}

.t-checkbox__indicator::after {
    border: solid var(--main-blue);
    border-width: 0 2px 2px 0;
}

.t-checkbox:checked ~ span {
    color: var(--main-blue);
}

.tn-atom .js-error-control-box .t-checkbox__control, .tn-atom .js-error-control-box .t-checkboxes__wrapper .t-checkbox__control, .tn-atom .js-error-control-box .t-radio__wrapper {
    padding-right: 0 !important;
}

.tn-atom .js-error-control-box .t-checkbox__control:before, .tn-atom .js-error-control-box .t-radio__wrapper:before {
    content: none !important;
}

.t-form__errorbox-item, .t-form__successbox {
    line-height: 1.4;
}

.t-form .js-error-control-box .t-input:not(.t-input-phonemask):not(.t-input-ownanswer):not(.t-input__own-answer), .t-form .js-error-control-box .t-checkboxes__wrapper {
    border-radius: .5em !important;
    padding: 0 .75em 0 .75em !important;
    border: 3px solid var(--form-error) !important;
}

:is(.t-form .js-error-control-box:has(.t-input-block+.t-input-error)) .t-input:not(.t-input-phonemask):not(.t-input-ownanswer):not(.t-input__own-answer) {
    border-radius: .5em !important;
    padding: 0 .75em 0 .75em !important;
    border: 3px solid var(--form-error) !important;
}

.t-form .js-error-control-box textarea.t-input:not(.t-input-phonemask):not(.t-input-ownanswer):not(.t-input__own-answer) {
    padding-top: 13px !important;
}

.t-form__errorbox-wrapper, .t-form__successbox {
    font-family: Gogh, Montserrat, Helvetica, Arial, sans-serif !important;
    border-radius: .75em !important;
    text-align: left;
    padding: 0;
}

.t-form__errorbox-text, .t-form__successbox {
    position: relative;
    padding: 1em 1.2em 1.1em;
}

.t-form__errorbox-text {
    display: flex;
    flex-direction: column;
    gap: .6em 0;
}

.t-form__errorbox-item {
    padding-left: 2em;
    padding-right: .8em;
}

.t-form__errorbox-item {
    padding-top: 0;
    margin: 0;
}

.t-form__inputsbox .t-text_md {
    font-size: unset;
    line-height: unset;
}

.t-form__errorbox-wrapper {
    background: var(--form-error) !important;
    box-shadow: none !important;
}

.icon-form-warning {
    position: absolute;
    width: 1.3em;
    height: 1.3em;
}

.icon-form-warning svg {
    overflow: visible;
}

.t-form__successbox {
    background: right 70% / 30% no-repeat var(--form-success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 55 60'%3E%3Cpath fill='%234bdc87' d='M47.623 24.5c.672.67.672 1.758 0 2.428L30.436 44.071a1.722 1.722 0 0 1-2.434 0l-6.875-6.857a1.713 1.713 0 0 1 0-2.428 1.724 1.724 0 0 1 2.434 0l5.658 5.647 15.97-15.932a1.724 1.724 0 0 1 2.434 0zM34.375 0C15.39 0 0 15.35 0 34.286 0 44.54 4.537 53.717 11.69 60h5.597c-8.343-5.527-13.85-14.976-13.85-25.714 0-17.042 13.852-30.857 30.938-30.857 7.935 0 15.149 3.005 20.625 7.903V6.903C49.25 2.588 42.125 0 34.375 0z'/%3E%3C/svg%3E");
}

.t-form__errorbox-text.t-text_xs {
    font-size: 18px;
}

#allrecords .t-form__errorbox-text .t-form__errorbox-link {
    pointer-events: none;
}

@media (max-width: 1199px) {
    .t-form__errorbox-text.t-text_xs {
        font-size: 16px;
    }
}

@media (max-width: 959px) {
    .t-input_bbonly, .t-form .js-error-control-box .t-input:not(.t-input-phonemask):not(.t-input-ownanswer):not(.t-input__own-answer), .t-form .js-error-control-box .t-checkboxes__wrapper {
        border-width: 2px !important;
    }
    
    :is(.t-form .js-error-control-box:has(.t-input-block+.t-input-error)) .t-input:not(.t-input-phonemask):not(.t-input-ownanswer):not(.t-input__own-answer) {
        border-width: 2px !important;
    }
    
    .js-error-control-box .sub-holder {
        font-size: 11px;
    }
}

@media (max-width: 639px) {
    .t-form__errorbox-text.t-text_xs {
        font-size: 14px;
    }
}

@media (max-width: 479px) {
    .sub-holder {
        font-size: 11px;
    }
    
    .js-error-control-box .sub-holder {
        font-size: 10px;
    }
    
    .t-form__errorbox-text.t-text_xs {
        font-size: 13px;
    }
    
    .t-form__successbox {
        background-size: 35% !important;
    }
}

/* promo popup */

#allrecords ul.t-form__errorbox-text {
    padding-left: 1.2em;
}

.t702 .t-width_8 {
    max-width: max(37vw, 560px);
}

.t702 .t-popup__block-close-button {
    margin-top: 6px;
}

.t702 .t-popup__container > .t-popup__close {
    right: -63px !important;
}

.t702 .t-popup__container .t-popup__block-close-button {
    width: 22px;
    height: 22px;
}

.t702 .t-popup__container .t-popup__close-wrapper svg {
    width: 18px;
    height: 18px;
}

.t702 .t-popup__close g {
    fill: white !important;
}

.t702 .t-popup__container {
    border-radius: 25px 25px 24px 24px;
    background: right bottom white url(https://cloud.shelokhnev.ru/design/sh.ru/assets/sh-modal-bg.svg) no-repeat;
    background-size: 45%;
    box-shadow: 0 15px 25px 0 rgba(0, 0, 0, .1);
}
    
.t702 .t-popup__container img {
    border-radius: 24px;
    transform: translateY(-1px);
}
    
.t702 .t702__wrapper {
    font-size: 1.5vw;
    padding: 1.6em 1.6em 1.8em;
}

.t-form-success-popup_new .t-form-success-popup__wrapper {
    border-radius: 25px;
    box-shadow: 0 15px 25px 0 rgba(0, 0, 0, .1);
    font-size: 1.5vw;
    min-width: max(460px, 26vw);
    padding: 1.6em;
}
    
.t702 .t702__text-wrapper {
    margin-bottom: 2em;
}

.t702 .t-input {
    color: var(--page-link, var(--main-black)) !important;
    caret-color: var(--page-link, var(--main-link)) !important;
}

.t702 .t702__title {
    font-size: 1.85em;
    line-height: 1.3;
    margin-bottom: 0;
    color: var(--main-black);
}

.t702 .t702__descr {
    font-size: 1em;
    margin-top: 1.5em;
    line-height: 1.5;
    color: var(--main-black);
}

.t702 label:not(.t-checkbox__control), .t702 input {
    font-size: 1em !important;
    line-height: 1.5 !important;
}

.t702 label {
    color: var(--main-black);
}

.t702 input {
    height: 2.75em !important;
}

.t702 .t-input-group {
    margin-bottom: 0;
}

.t702 .t-input-group_in {
    margin-bottom: 2.7em;
}

.t702 .t-input-group_in:first-of-type {
    margin-bottom: 2.3em;
}

.t-form__submit {
    width: fit-content;
    margin-top: 0;
}

.t702 .t-submit {
    font-size: 1em;
    height: 2.75em;
    border-radius: 2em;
    font-weight: 500;
    background-color: var(--page-link, var(--main-link));
    color: white;
    transition: background-color .2s;
}

.t-form-success-popup_new .t-form-success-popup__button {
    font-size: .8em;
    height: 2.75em;
    border-radius: 2em;
    font-weight: 500;
    background-color: var(--page-link, var(--form-success));
    color: white;
    transition: background-color .2s;
    padding: 0 3em;
}

.t702 .t-form__errorbox-wrapper {
    margin-bottom: 1.5em;
    font-size: 1em;
}

.t702 .t-form__successbox {
    margin-bottom: 0;
    font-size: 1em;
}

.t702 .t-popup__close-wrapper {
    background-color: var(--main-black);
    border-radius: 50%;
}

.t702 .t-input-group_cb {
    zoom: calc(var(--scale-factor) - .1);
}

.t702 .js-error-control-box .t-checkbox__control {
    margin: 0 0 1.3em 0 !important;
}

.t702 .t-checkbox__control:last-child {
    margin: 0 0 1.3em !important;
}

.t702 .t-checkbox__control {
    --main-blue: var(--page-link);
}

.t702 .t-checkbox__control a {
    --page-link: var(--main-link);
    --page-link-hover: var(--main-link-hover);
    --page-link-underline: var(--main-link-underline);
    --page-link-hover-underline: var(--main-link-hover-underline);
}

.t702 .t-checkbox__control a {
    position: relative;
}

.t-form-success-popup__close-icon {
    display: none;
}

.t-form-success-popup__content-icon-background {
    fill: var(--page-link, var(--form-success));
}

.t-form-success-popup_new .t-form-success-popup__title.t-form-success-popup_hidden+.t-form-success-popup__text, .t-form-success-popup_new .t-form-success-popup__text {
    font-size: .8em;
    line-height: 1.45;
}

.t-form-success-popup_new .t-form-success-popup__content-icon {
    min-height: 1.5em;
    margin-bottom: max(15px, .5em);
}

.t-form-success-popup_new .t-form-success-popup__text {
    margin-bottom: max(15px, 1em);
    color: var(--main-black);
}

.t-form-success-popup_new .t-form-success-popup__title {
    margin: .3em 0 .6em;
    font-size: 1.2em;
    line-height: 1;
    color: var(--main-black);
}

@media (min-width: 1921px) {
    .t702 .t-popup__container {
        border-radius: 40px 40px 39px 39px;
    }
    
    .t-form-success-popup_new .t-form-success-popup__wrapper {
        border-radius: 40px;
    }
    
    .t702 .t-popup__container img {
        border-radius: 39px;
    }
    
    .t702 .t-popup__container > .t-popup__close {
        transform: scale(calc(var(--scale-factor) - .6));
        transform-origin: 0 0;
    }
}

@media (min-width: 1200px) {
    .t702 .t-submit:hover {
        background-color: var(--page-link-hover, var(--main-link-hover));
    }
    
    .t-form-success-popup_new .t-form-success-popup__button:hover {
        background-color: var(--page-link-hover, var(--form-success));
    }
}

@media (max-width: 1440px) {
    .t-form-success-popup_new .t-form-success-popup__wrapper {
        padding: 1.6em 1.6em 1.8em;
    }
    
    .t-form-success-popup_new .t-form-success-popup__button, .t-form-success-popup_new .t-form-success-popup__title.t-form-success-popup_hidden+.t-form-success-popup__text, .t-form-success-popup_new .t-form-success-popup__text {
        font-size: 1em;
    }
    
    .t-form-success-popup_new .t-form-success-popup__title {
        font-size: 1.4em;
    }
}

@media (max-width: 1199px) {
    .t702 .t-popup__container {
        border-radius: 20px 20px 19px 19px;
    }
    
    .t-form-success-popup_new .t-form-success-popup__wrapper {
        border-radius: 20px;
    }
    
    .t-form-success-popup_new .t-form-success-popup__wrapper {
        padding: 35px 35px 37px;
    }
    
    .t702 .t-popup__container img {
        border-radius: 19px;
    }
    
    .t702 .t702__wrapper, .t-form-success-popup_new .t-form-success-popup__wrapper {
        font-size: 2.1vw;
    }
}

@media (max-width: 959px) {
    .t702 .t702__wrapper {
        padding: 35px 35px 45px;
        font-size: 2.7vw;
    }
    
    .t-form-success-popup_new .t-form-success-popup__wrapper {
        font-size: 2.7vw;
    }
    
    .t702 .t-popup__container > .t-popup__close {
        right: 10px !important;
    }
    
    .t702 .t-popup__close-wrapper {
        background-color: var(--page-link, var(--main-link));
    }
}

@media (max-width: 640px) {
    .t-form-success-popup_new .t-form-success-popup__wrapper {
        border-radius: 20px 20px 0 0;
        font-size: 3.7vw;
        padding: 30px 25px 35px;
        min-width: unset;
    }
}

@media (max-width: 639px) {
    .t702 .t702__wrapper {
        padding: 30px 25px 40px;
        font-size: 3.7vw;
    }
}

@media (min-width: 561px) {
    .t702 .t-popup > .t-popup__close {
        display: none;
    }
}

@media (max-width: 560px) {
    .t702 .t-popup__container > .t-popup__close {
        display: none;
    }
    
    .t702 .t-popup_show .t-popup__container {
        padding-top: 0;
    }
    
    .t702 .t-popup__block-close {
        background: none;
    }
    
    .t702 .t-popup__container {
        border-radius: 0;
        box-shadow: none;
    }
    
    .t702 .t-popup__container img {
        border-radius: 0 0 19px 19px;
    }
}

@media (max-width: 479px) {
    .t702 .t702__wrapper, .t-form-success-popup_new .t-form-success-popup__wrapper {
        font-size: 4.7vw;
    }
    
    .t702 .t-popup__container {
        background-size: 60%;
    }
}

/* design request */

.uc-request-popup {
    -webkit-tap-highlight-color: var(--main-tap);
}

.uc-request-popup ::selection {
    background-color: var(--main-selection);
}

.uc-request-popup ::-moz-selection {
    background-color: var(--main-selection);
}

.t1093 .t-popup__bg {
    display: block;
    width: calc(100vw - var(--scrollbar-width, 0px));
    transition-duration: .4s !important;
}

.t1093 .t-popup.success-request-popup-height + .t-popup__bg {
    width: 100%;
}

/*
.uc-request-popup .t1093 .t-popup.t-popup-transition, .uc-request-popup .t1093 .t-popup.t-popup-transition + .t-popup__bg {
    transition-delay: .2s;
}
*/

.uc-request-popup .t1093 .t-popup .t-popup__container {
    transition-delay: .1s;
}

.uc-request-form .t396__carrier, .uc-request-form .t396__filter {
    display: none;
}

.request-form-bg .tn-atom {
    box-shadow: 0 15px 25px rgba(0, 50, 150, .3);
    background-position: 10% 50% !important;
    background-color: white !important;
    background: center / cover no-repeat url(https://cloud.shelokhnev.ru/design/sh.ru/assets/sh-request-form-bg.jpg);
    /* animation: moveFormBg 100s linear infinite alternate paused;
}

.uc-request-popup .t-popup_show .request-form-bg .tn-atom {
    animation-play-state: running;
}

@keyframes moveFormBg {
    to {
        background-position-x: right;
    }
*/
}

.request-form-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font: 700 14px / 1 Gogh, Montserrat, Helvetica, Arial, sans-serif;
    color: var(--main-black);
    background-color: var(--main-link-underline);
    cursor: pointer;
    opacity: .5;
    transition: opacity .2s;
}

.request-form-close::after {
    content: '\2717\fe0e';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
}

.request-form-bg .tn-atom__scale-wrapper {
    transform-origin: 50% 0;
}

.uc-request-form form {
    position: relative;
}

.uc-request-form a.newtab {
    /*
    --main-link: #00a0ff;
    --page-link: var(--main-link);
    --main-link-hover: #64b4ff;
    --page-link-hover: var(--main-link-hover);
    --main-link-underline: rgba(0, 120, 255, .25);
    --page-link-underline: var(--main-link-underline);
    --page-link-hover-underline: rgba(100, 180, 255, .3);
    */
    --page-link: var(--main-link);
    --page-link-hover: var(--main-link-hover);
    --page-link-underline: var(--main-link-underline);
    --page-link-hover-underline: var(--main-link-hover-underline);
    position: relative;
}

@media (prefers-color-scheme: dark) {
    /*
    .uc-request-form a.newtab {
        --main-link-underline: rgba(0, 140, 255, .3);
        --page-link-hover-underline: rgba(60, 160, 255, .3);
    }
    */
}

.uc-request-form .t-input_bbonly {
    border-bottom-color: var(--main-link-hover);
    border-bottom-width: 2px;
}

.uc-request-form .t-input {
    color: var(--main-black) !important;
    caret-color: var(--main-blue) !important;
    transition: border-color .1s;
}

.js-error-control-box .t-input {
    color: var(--form-error) !important;
    caret-color: var(--form-error) !important;
}

.uc-request-form .t-input:focus {
    border-color: var(--main-blue);
}

.uc-request-form .tn-form__errorbox-close {
    width: 15px !important;
    height: 15px !important;
}

.uc-request-form button {
    background-color: var(--main-blue) !important;
    color: white;
    transition: background-color .2s, transform .2s;
}

.uc-request-form .t-input-group_in ~ .t-input-group_in {
    margin-bottom: 55px !important;
}

.uc-request-form .t-input-group.t-input-group_cb {
    margin-bottom: 30px !important;
}

.uc-request-form .t-descr {
    color: var(--main-black);
    font-size: 12px;
}

.uc-request-form .t-form__errorbox-wrapper {
    position: absolute !important;
    left: 0;
    bottom: 0 !important;
    padding: 0 !important;
    margin: 0;
    min-width: 250px !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden;
}

.uc-request-form .js-error-control-box .t-input-block {
    margin-top: 10px;
}

.uc-request-form .t-form__inputsbox > :first-child.js-error-control-box .t-input-block {
    margin-top: 0;
}

.uc-request-form .t-form .js-error-control-box .t-input:not(.t-input-phonemask):not(.t-input-ownanswer):not(.t-input__own-answer), #allrecords .tn-atom .t-form .js-error-control-box .t-checkboxes__wrapper.tilda-fck {
    border: 2px solid var(--form-error) !important;
}

.uc-request-form .t-radio__control {
    cursor: auto;
    display: none;
}

.uc-request-form .t-radio__control {
    margin: 20px 0 10px !important;
}

.uc-request-form .t-radio__indicator {
    display: none;
}

.uc-request-form .t-radio__control span {
    padding: 10px 15px;
    border-radius: 20px;
    color: var(--main-black);
    background-color: rgba(90, 110, 130, .1);
}

.uc-request-form .t-radio__control:first-child span {
    color: var(--main-link-hover);
}

.uc-request-form textarea {
    margin: 15px 0 15px;
    padding: 0 10px 10px 0 !important;
}

.uc-request-form .t-input-group_ta.js-error-control-box .sub-holder {
    top: 22px;
}

.success-request-popup-height .blue-text {
    color: var(--form-success);
}

.uc-request-form .blue-text img {
    display: none;
    height: 1em;
    margin-left: .25em;
    transform: translateY(-.1em);
}

.success-request-popup-height #rec638436022 .t396__artboard {
    height: var(--success-request-popup-height) !important;
    min-height: calc(var(--success-request-form-height) * var(--scale-factor) + 90px) !important;
}

.success-request-popup-height .request-form-bg {
    height: var(--success-request-form-height) !important;
}

.success-request-popup-height .request-form-bg .tn-atom {
    background-image: none;
}

.services-preset {
    display: inline-block;
    position: relative;
    margin-left: .6em;
    cursor: pointer;
}

.services-preset input {
    position: absolute;
    top: .6em;
    left: .6em;
    opacity: 0;
    width: 0;
    height: 0;
}

.services-preset .toggler {
    position: absolute;
    top: -.15em;
    left: 0;
    width: 2.4em;
    height: 1.6em;
    background-color: var(--main-link-underline);
    transition: transform .3s, background-color .3s, box-shadow .2s;
    border-radius: 2em;
    overflow: hidden;
}

.services-preset .toggler::before {
    content: "";
    position: absolute;
    bottom: .2em;
    left: .2em;
    width: 1.2em;
    height: 1.2em;
    background-color: white;
    border-radius: 50%;
    transition: inherit;
    box-shadow: 0 2px 3px var(--main-link-underline);
}

.services-preset input:checked + .toggler {
    background-color: var(--main-blue);
}

.services-preset input:checked + .toggler::before {
    transform: translateX(.8em);
    box-shadow: 0 2px 2px #004bd7;
}

.services-preset span {
    color: var(--main-black);
    transition: color .2s;
}

.services-preset span + span {
    margin-left: 3em;
}

.services-preset input:checked ~ span {
    color: var(--main-blue);
}

@media (prefers-color-scheme: dark) {
    .uc-request-form {
        --form-success: #00be50;
        /* --form-error: #dc2328; */
    }
    
    .request-form-bg .tn-atom {
        background-color: var(--main-black) !important;
        background-image: url(https://cloud.shelokhnev.ru/design/sh.ru/assets/sh-request-form-bg-dark.png);
        box-shadow: 0 15px 25px rgba(0, 30, 90, .4);
    }
    
    .request-form-close {
        opacity: .6;
        color: var(--main-white);
    }
    
    .uc-request-form .t-input_bbonly {
        border-bottom-color: var(--main-link);
    }
    
    .uc-request-form .t-input, .uc-request-form .t-input-group:not(.js-error-control-box) .t-input-title, .uc-request-form .t-descr, .uc-request-form .t-checkbox__control, .uc-request-form .t-radio__control:not(:first-child) span {
        color: var(--main-white) !important;
    }
    
    .uc-request-form .t-input::placeholder {
        color: var(--main-link-hover);
        opacity: .4 !important;
    }
    
    .uc-request-form .t-input:-ms-input-placeholder {
        color: var(--main-link-hover);
        opacity: .4 !important;
    }
    
    .uc-request-form .js-error-control-box .t-input::placeholder {
        color: var(--form-error);
        opacity: .7 !important;
    }
    
    .uc-request-form .js-error-control-box .t-input:-ms-input-placeholder {
        color: var(--form-error);
        opacity: .7 !important;
    }
    
    .uc-request-form .t-input:focus::placeholder {
        opacity: 0 !important;
    }
    
    .uc-request-form .t-input:focus:-ms-input-placeholder {
        opacity: 0 !important;
    }
    
    .uc-request-form .t-radio__control span {
        background-color: rgba(100, 107, 114, .2);
    }
    
    .services-preset span {
        color: var(--main-white);
    }
    
    .services-preset .toggler::before {
        background-color: var(--main-white);
    }
    
    .uc-request-form button {
        color: var(--main-white);
    }
    
    .uc-request-form .t-form__errorbox-text, #allrecords .uc-request-form .t-form__errorbox-text .t-form__errorbox-link {
        color: var(--main-white) !important;
    }
    
    .uc-request-form .tn-form__errorbox-close-line {
        background: var(--main-white) 0 0;
    }
}

@media (min-width: 1200px) {
    .request-form-close:hover {
        opacity: 1;
    }
    
    .uc-request-form button:hover {
        background-color: var(--main-blue-hover) !important;
    }
}

@media (min-width: 960px) {
    .request-form.not-zoom {
        top: calc(var(--scale-factor) * 190px) !important;
    }
}

@media (max-width: 959px) {
    .request-form.not-zoom {
        top: calc(var(--scale-factor) * 180px) !important;
    }
}

@media (max-width: 639px) {
    .request-form.not-zoom {
        top: calc(var(--scale-factor) * 105px) !important;
    }
}

@media (min-width: 640px) {
    .request-form-bg.not-zoom {
        top: calc(var(--scale-factor) * 30px) !important;
    }
}

@media (max-width: 639px) {
    .request-form-bg.not-zoom {
        top: calc(var(--scale-factor) * 20px) !important;
    }
}

@media (max-width: 479px) {
    .request-form-bg.not-zoom {
        top: calc(var(--scale-factor) * 10px) !important;
    }
    
    .request-form.not-zoom {
        top: calc(var(--scale-factor) * 125px) !important;
    }
    
    .request-form-bg .tn-atom {
        box-shadow: 0 10px 20px rgba(0, 50, 150, .3);
    }
    
    @media (prefers-color-scheme: dark) {
        .request-form-bg .tn-atom {
            box-shadow: 0 10px 20px rgba(0, 30, 90, .4);
        }
    }
    
    .uc-request-form .t-input-group_in ~ .t-input-group_in {
        margin-bottom: 50px !important;
    }
}

/* tippy tooltip */

[data-tippy-root], .tippy-content {
    width: 260px;
}

.tippy-content {
    box-sizing: border-box;
    font-size: 12px;
    padding: 9px 12px;
}

.tippy-content h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

.tippy-box {
    background-color: var(--main-blue);
    border-radius: 10px;
}

.tippy-tooltip-wrapper {
    position: absolute;
    top: 3px;
    right: -23px;
    width: 14px;
    height: 14px;
    cursor: help;
    --tippy-icon-accent: var(--main-blue);
    --tippy-icon-bg: #d7e6fa;
}

.tippy-tooltip-icon {
    width: 100%;
    height: 100%;
}

.tippy-tooltip-icon svg {
    overflow: visible;
}

.tippy-tooltip-icon path {
    transition: fill .2s, stroke .2s;
}

@media (prefers-color-scheme: dark) {
    .tippy-tooltip-wrapper {
        --tippy-icon-accent: var(--main-blue-hover);
        --tippy-icon-bg: #142d5f;
    }
    
    .tippy-content {
        color: var(--main-white);
    }
}

.tippy-tooltip-wrapper:hover, .tippy-tooltip-wrapper:focus {
    --tippy-icon-accent: white;
    --tippy-icon-bg: var(--main-blue);
}

.tippy-tooltip-wrapper:has([aria-expanded="true"]) {
    --tippy-icon-accent: white;
    --tippy-icon-bg: var(--main-blue);
}

.tippy-box[data-placement^="top"] > .tippy-svg-arrow {
    bottom: 0;
}

.tippy-box[data-placement^="top"] > .tippy-svg-arrow::after, .tippy-box[data-placement^="top"] > .tippy-svg-arrow > svg {
    top: 15px;
    transform: rotate(180deg);
}

.tippy-box[data-placement^="bottom"] > .tippy-svg-arrow {
    top: 0;
}

.tippy-box[data-placement^="bottom"] > .tippy-svg-arrow > svg {
    bottom: 15px;
}

.tippy-svg-arrow {
    width: 16px;
    height: 16px;
    fill: var(--main-blue);
}

.tippy-svg-arrow, .tippy-svg-arrow > svg {
    position: absolute;
}

@media (max-width: 479px) {
    .tippy-tooltip-wrapper {
        right: -21px;
    }
    
    .js-error-control-box .tippy-tooltip-wrapper {
        display: none;
    }
}
