/* Services (inner pages) */

.t165__uptitle {
    box-sizing: border-box;
    background-color: #D4EBD4;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    line-height: 1;
    color: #0d0d0d;
    font-weight: 600;
    letter-spacing: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: max-content;
}

.t165__text {
    text-align: justify;
}

.t165__btn-wrapper {
    padding-top: 0;
}

.t165__btn-wrapper .t-btn {
    color: #0d0d0d !important;
    font-size: 14px;
    font-weight: 600;
    border-radius: 30px;
    background-color: #f0f1f5;
    padding: 8px 16px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}

.service__text-wrapper .t165__btn-container {
    display: none;
}

@media (min-width: 640px) {
    .service__text-wrapper .t165__btn-container {
        display: block;
        width: auto;
        order: -1;
    }
}

.service__text-wrapper .t165__btn-container table {
    border-spacing: 0;
}

.service__text-wrapper {
    display: flex;
    gap: 15px;
}

/* Text */

.justify-text {
    text-align: justify;
}

/* Form on page */

div[data-record-type="698"] {
    margin-bottom: 40px;
}

@media (min-width: 960px) {
    div[data-record-type="698"] {
        margin-bottom: -25px;
    }
}

:is(div[data-record-type="698"], div[data-record-type="121"]) .t-cover {
    background-image: none !important;
    background-color: transparent !important;
}

:is(div[data-record-type="698"], div[data-record-type="121"]) .t-cover__filter {
    opacity: 1 !important;
    background-color: transparent !important;
}

:is(div[data-record-type="698"], div[data-record-type="121"]) .t-cover__wrapper {
    height: auto !important;
    background-color: #e0f4ff;
    border-radius: 30px;
    padding: 0;
}

:is(div[data-record-type="698"], div[data-record-type="121"]) .t698 .t698__mainwrapper {
    padding: 40px;
}

:is(div[data-record-type="698"], div[data-record-type="121"]) .uc-custom-form__text-wrapper {
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    column-gap: 178px;
}

:is(div[data-record-type="698"], div[data-record-type="121"]) .t698__descr {
    text-align: left;
}

:is(div[data-record-type="698"], div[data-record-type="121"]) .t698__title {
    box-sizing: border-box;
    background-color: #D4EBD4;
    display: inline-flex;
    padding: 8px 16px;
    border-radius: 30px;
}

:is(div[data-record-type="698"], div[data-record-type="121"]) .t-submit {
    transition: 0.3s ease all;
}

:is(div[data-record-type="698"], div[data-record-type="121"]) .t698 .t698__form-bottom-text {
    font-size: 14px;
    color: #414141;
    line-height: 19px;
}

:is(div[data-record-type="698"], div[data-record-type="121"]) .t-input-group_ta textarea.t-input {
    resize: none;
}

:is(div[data-record-type="698"], div[data-record-type="121"]) .t-form__submit {
    display: flex;
}

:is(div[data-record-type="698"], div[data-record-type="121"]) .t-form__submit::after {
    content: "";
    display: inline-flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    transition: 0.3s ease all;
    background-color: #002269;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg width='37' height='37' viewBox='0 0 37 37' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_36_1721)'%3E%3Cpath d='M23.7471 23.747V13.0225M23.7471 13.0225H13.0226M23.7471 13.0225L13.0226 23.747' stroke='white' stroke-width='1.625' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_36_1721'%3E%3Crect width='26' height='26' fill='white' transform='translate(0 18.3848) rotate(-45)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
}

:is(div[data-record-type="698"], div[data-record-type="121"]) .t-form__submit:hover::after {
    background-color: #0d1b37;
    transform: rotate(45deg);
}

:is(div[data-record-type="698"], div[data-record-type="121"]) .t698__form-bottom-text {
    margin-top: 20px;
    margin-bottom: 0;
}

@media (min-width: 1024px) {
    :is(div[data-record-type="698"], div[data-record-type="121"]) .t-form__inputsbox {
        display: grid;
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: 15px;
        max-width: none;
        margin: 0;
    }
      
    :is(div[data-record-type="698"], div[data-record-type="121"]) .t-input-error {
        margin-top: 0;
    }
  
    :is(div[data-record-type="698"], div[data-record-type="121"]) .t698 .t-input-group {
        margin-bottom: 0;
    }
  
    :is(div[data-record-type="698"], div[data-record-type="121"]) .t-input-group[data-field-name="COMMENTS"] {
        grid-column: 1 / 4;
        grid-row: 1 / 4;
        height: 100%;
    }
  
    :is(div[data-record-type="698"], div[data-record-type="121"]) .t-input-group[data-field-name="COMMENTS"] .t-input-block,
    :is(div[data-record-type="698"], div[data-record-type="121"]) .t-input-group[data-field-name="COMMENTS"] .t-input-block textarea {
        height: 100% !important;
    }
  
    :is(div[data-record-type="698"], div[data-record-type="121"]) .t-input-group[data-field-name="PHONE"] {
        grid-column: 4 / 6;
    }
  
    :is(div[data-record-type="698"], div[data-record-type="121"]) .t-input-group[data-field-name="NAME"] {
        grid-column: 6 / 8;
    }

    :is(div[data-record-type="698"], div[data-record-type="121"]) .t-form__submit {
        grid-column: 4 / -1;
        grid-row: 2;
        margin: 0;
    }
    
    :is(div[data-record-type="698"], div[data-record-type="121"]) .t698__form-bottom-text {
        grid-row: 3;
        grid-column: 4 / -1;
        margin-top: 5px;
    }
    
    :is(div[data-record-type="698"], div[data-record-type="121"]) .t-form__errorbox-middle {
        grid-column: 1 / -1;
    }
}