.form-block, .form-block {
    border: 0.1rem dashed #F2F2FA;
    border-radius: 0.5rem;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.form-block__name, .form-block__name {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.form-block__desc, .form-block__desc {
    font-size: 1.4rem;
    line-height: normal;
    margin-bottom: 1rem;
}
.form__buklet-warn, .form__buklet-warn {
    background: #fff;
    border: 0.2rem solid #cb9a36;
    border-radius: 0.5rem;
    color: #5d5f60;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
}
.form__buklet-url, .form__buklet-url {
    background: #68c736;
    border-radius: 0.5rem;
    color: #fff;
    font-size: 1.4rem;
    padding: 0.5rem 1rem;
}
.form__buklet-url a, .form__buklet-url a {
    text-decoration: underline;
    color: #ffffff;
}
.form__buklet-url a:hover, .form__buklet-url a:hover {
    text-decoration: none;
}
.form__title, .form__title {
    margin: 0 0 1.5rem 0;
    font-size: 1.8rem;
}
.form__group, .form__group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.form__single, .form__single {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    margin-bottom: 1rem;
    position: relative;
}
.form__single--error, .form__single--error {
    padding-bottom: 1rem;
}
.form__fields, .form__fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: end;
    position: relative;
}
@media screen and (max-width: 767.9px) {
    .form__fields, .form__fields {
        grid-template-columns: 100%;
    }
}
.form__fields--2, .form__fields--2 {
    grid-template-columns: repeat(2, 1fr);
}
@media screen and (max-width: 767.9px) {
    .form__fields--2, .form__fields--2 {
        grid-template-columns: 100%;
    }
}
.form__fields--3, .form__fields--3 {
    grid-template-columns: repeat(3, 1fr);
}
@media screen and (max-width: 767.9px) {
    .form__fields--3, .form__fields--3 {
        grid-template-columns: 100%;
    }
}
.form__field, .form__field {
    border-radius: 0.5rem;
    border: 0.1rem solid #D9DFEC;
    padding: 1rem;
    font-size: 1.6rem;
    transition: border-color ease-in-out 0.3s;
}
.form__field:focus, .form__field:focus {
    border-color: #004A99;
}
.form__field--error, .form__field--error {
    border-color: #C04B1E;
}
.form__field--disabled, .form__field--disabled {
    pointer-events: none;
    opacity: 0.5;
}

.form__textarea {
    border-radius: 0.5rem;
    border: 0.1rem solid #D9DFEC;
    padding: 1rem;
    font-size: 1.6rem;
    transition: border-color ease-in-out 0.3s;
    max-width: 86.8rem;
    max-height: 15rem;
}
.form__textarea:focus {
    border-color: #004A99;
}
.form__textarea--error {
    border-color: #C04B1E;
}
.form__textarea--disabled {
    pointer-events: none;
    opacity: 0.5;
}
.form__submit.btn {
    border-radius: 0.5rem;
    border: 0.1rem solid #004A99;
    background-color: #004A99;
    color: #ffffff;
    padding: 1rem;
    font-size: 1.6rem;
    cursor: pointer;
    height: max-content;
}
.form__submited {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border-radius: 0.3rem;
    background-color: #68C736;
    color: #ffffff;
    padding: 1rem;
    height: max-content;
}
.form__submited span {
    font-size: 1.6rem;
}
.form__disabled-time {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    width: 100%;
    color: #C04B1E;
    padding: 0.4rem 1rem;
    text-align: center;
    background: #fff;
    border: 0.1rem solid #F2F2FA;
    border-radius: 0.5rem;
    min-height: 4rem;
}
.form__sending {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.3rem;
    background-color: #004A99;
    color: #ffffff;
    padding: 1rem;
    min-height: 4rem;
}
.form__spinner {
    position: relative;
    display: inline-block;
    width: 6.2rem;
    height: 1rem;
}
.form__spinner div, .form__spinner div {
    position: absolute;
    top: 0;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #fff;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.form__spinner div:nth-child(1), .form__spinner div:nth-child(1) {
    left: 0;
    animation: sending1 0.6s infinite;
}
.form__spinner div:nth-child(2), .form__spinner div:nth-child(2) {
    left: 0;
    animation: sending2 0.6s infinite;
}
.form__spinner div:nth-child(3), .form__spinner div:nth-child(3) {
    left: 2.4rem;
    animation: sending2 0.6s infinite;
}
.form__spinner div:nth-child(4), .form__spinner div:nth-child(4) {
    left: 4.8rem;
    animation: sending3 0.6s infinite;
}
.form__message-error, .form__message-error {
    font-size: 1.2rem;
    color: #C04B1E;
    margin-top: -1.8rem;
}
.form__conf, .form__conf {
    font-size: 1.1rem;
    margin-bottom: 0;
    line-height: normal;
}
.form__conf a, .form__conf a {
    color: #004A99;
    position: relative;
    text-decoration: underline;
}
.form__conf a:hover, .form__conf a:hover {
    text-decoration: none;
}
.form__detail-special-quipment, .form__detail-special-quipment {
    padding: 2rem;
    border: 0.1rem dashed #D9DFEC;
    background-color: #F2F6FF;
    margin-bottom: 2rem;
}

.form__single--error .form__message-error {
    position: absolute;
    bottom: -1.7rem;
    margin-top: 0;
}

.form__conf a:hover::after {
    content: "";
    background-color: #2B2D2F;
}

@keyframes sending1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes sending3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes sending2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(2.4rem, 0);
    }
}

.form-catalog{
    margin: 1.5rem 0 2rem 0;
}
.form-catalog__list{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.form-catalog__item{
    width: 100%;
    max-width: 13rem;
    cursor: pointer;
    padding: 1rem;
    border: .2rem solid #EAEAEA;
    border-radius: .5rem;
    transition: border-color .3s;
}
.form-catalog__item:hover .form-catalog__name{
}
.form-catalog__item.active{
    border-color: #004A99;
}
.form-catalog__title{
    margin-bottom: 1.5rem;
}
.form-catalog__name{
    text-align: center;
    transition: color .3s;
}
.form-catalog__item.active .form-catalog__name{
    color: #004A99;
    font-weight: 700;
}
.form-catalog__picture{
    width: 100%;
    height: 9rem;
    max-width: 11rem;
    object-fit: cover;
    border-radius: .5rem;
}

.lizing-form-main-page .container{
    padding: 0;
}

.lizing-form-main-page__name{
    margin-bottom: 1rem;
    font-size: 4rem;
}
.lizing-form-main-page__name span{
    color: #004A99;
}
.lizing-form-main-page__text{
    color: #898989;
    font-size: 1.8rem;
    margin-bottom: 4rem;
}
@media screen and (max-width: 1440px) {
    .lizing-form-main-page__name{
        font-size: 3rem;
    }
    .lizing-form-main-page__text{
        margin-bottom: 0;
    }
    .form__textarea{
        max-height: 8rem;
    }
}
@media screen and (max-width: 990.9px) {
    .lizing-form-main-page__name{
        font-size: 2.2rem;
    }
    .lizing-form-main-page__text{
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }
}
@media screen and (max-width: 460px) {
    .form-catalog__list{
        gap: .5rem;
    }
    .form-catalog__item{
        max-width: 9rem;
    }
    .form-catalog__picture{
        height: 5rem;
    }
}
