/* Исходные стили формы записи из /local/templates/ulfar/css/ulfar-main.min.css. */
.zb_fos {
    position: fixed;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
    z-index: 1040;
}

.zb_fos.show {
    visibility: visible;
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    z-index: 10000;
}

.zb_fos-content {
    position: relative;
    width: 96%;
    max-width: 834px;
    background: #fff;
    -webkit-box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    margin: auto;
    padding: 46px 144px;
}

.zb_fos__close {
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 30px;
    right: 30px;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L13 13' stroke='%235F2EEA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M1 13L13 1.00002' stroke='%235F2EEA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    cursor: pointer;
    -webkit-transition: .5s;
    -o-transition: .5s;
    transition: .5s;
}

.zb_fos__close:hover {
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L13 13' stroke='%232A00A2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M1 13L13 1.00002' stroke='%232A00A2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
}

.zb_fos-titl {
    font-weight: 600;
    font-size: 36px;
    line-height: 28px;
    letter-spacing: .75px;
    color: #000;
    margin-bottom: 25px;
}

.zb_fos-text {
    font-size: 18px;
    line-height: 28px;
    letter-spacing: .75px;
    color: #2d3436;
    margin-bottom: 25px;
}

.zb_fos-input {
    background: #eff0f7;
    border-radius: 16px;
    height: 64px;
    width: 100%;
    border: 1px solid transparent;
    padding: 18px 24px;
    margin-bottom: 25px;
}

.zb_fos-input::-webkit-input-placeholder {
    font-size: 16px;
    line-height: 28px;
    letter-spacing: .75px;
    color: #a0a3bd;
}

.zb_fos-input::-moz-placeholder {
    font-size: 16px;
    line-height: 28px;
    letter-spacing: .75px;
    color: #a0a3bd;
}

.zb_fos-input:-ms-input-placeholder {
    font-size: 16px;
    line-height: 28px;
    letter-spacing: .75px;
    color: #a0a3bd;
}

.zb_fos-input::-ms-input-placeholder {
    font-size: 16px;
    line-height: 28px;
    letter-spacing: .75px;
    color: #a0a3bd;
}

.zb_fos-input::placeholder {
    font-size: 16px;
    line-height: 28px;
    letter-spacing: .75px;
    color: #a0a3bd;
}

.zb_fos-textarea {
    background: #eff0f7;
    border-radius: 16px;
    height: 64px;
    width: 100%;
    border: 1px solid transparent;
    padding: 18px 24px;
    margin-bottom: 25px;
    resize: none;
}

.zb_fos-textarea::-webkit-input-placeholder {
    font-size: 16px;
    line-height: 28px;
    letter-spacing: .75px;
    color: #a0a3bd;
}

.zb_fos-textarea::-moz-placeholder {
    font-size: 16px;
    line-height: 28px;
    letter-spacing: .75px;
    color: #a0a3bd;
}

.zb_fos-textarea:-ms-input-placeholder {
    font-size: 16px;
    line-height: 28px;
    letter-spacing: .75px;
    color: #a0a3bd;
}

.zb_fos-textarea::-ms-input-placeholder {
    font-size: 16px;
    line-height: 28px;
    letter-spacing: .75px;
    color: #a0a3bd;
}

.zb_fos-textarea::placeholder {
    font-size: 16px;
    line-height: 28px;
    letter-spacing: .75px;
    color: #a0a3bd;
}

.zb_fos-text__smal {
    font-size: 14px;
    line-height: 22px;
    letter-spacing: .75px;
    color: #2d3436;
    margin-bottom: 25px;
    margin-top: 25px;
    cursor: pointer;
}

.zb_fos-text__btn {
    background: #5f2eea;
    border-radius: 20px;
    height: 64px;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    letter-spacing: .75px;
    color: #f7f7fc;
    cursor: pointer;
}

.zb_fos-text__btn:hover {
    background: #2a00a2;
}

.zb_fos-input__date {
    width: 167px;
    margin-right: 25px;
}

.zb_fos-input__time {
    width: 135px;
}

.zb_fos-input.mb0 {
    margin-bottom: 0;
}

.passport__date {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.passport__date-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.passport__date-block span {
    color: #2d3436;
}

.zb-fos__dop {
    display: none;
    margin-top: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

.zb-fos__dop.active {
    display: flex;
}

.zb-fos__dop-none {
    display: none;
}

.zb-fos__dop-number {
    background: #eff0f7;
    border-radius: 16px;
    height: 64px;
    width: 70%;
    border: 1px solid transparent;
    padding: 18px 24px;
    resize: none;
}

.zb-fos__dop-select {
    border-radius: 16px;
    height: 30px;
    background: #eff0f7;
    width: 25%;
    padding: 5px;
}

.zb-fos__dop-input {
    background: #eff0f7;
    border-radius: 16px;
    height: 64px;
    width: 48%;
    border: 1px solid transparent;
    padding: 18px 24px;
    resize: none;
}

.zb-fos__dop-inputSec {
    width: 100%;
}

.success_mess {
    text-align: center;
    padding-top: 50px;
    padding-bottom: 90px;
    font-weight: 600;
    font-size: 24px;
    line-height: 28px;
    letter-spacing: .75px;
    color: #5700d8;
}

.error_mess {
    font-weight: 600;
    font-size: 24px;
    line-height: 28px;
    letter-spacing: .75px;
    color: #ed2e7e;
}

.error_mess.mb30 {
    margin-bottom: 30px;
}

.noscroll {
    overflow: hidden !important;
    height: 100% !important;
}

@media (max-width: 1680px) {
    .zb_fos-content {
        overflow: auto;
        height: auto;
    }
}

@media (max-width: 1199px) {
    .zb_fos-content {
        padding: 30px 25px;
    }

    .zb_fos-titl {
        font-size: 24px;
        line-height: 28px;
    }

    .zb_fos-text {
        font-size: 14px;
        line-height: 28px;
    }

    .zb_fos-text__smal {
        font-size: 12px;
        line-height: 22px;
    }

    .zb_fos__close {
        top: 15px;
        right: 15px;
    }

    .error_mess,
    .success_mess {
        font-size: 16px;
        line-height: 20px;
    }
}

@media (max-width: 620px) {
    .zb_fos-content {
        height: 95%;
    }
}

@media screen and (max-width: 580px) {

    .zb-fos__dop-input,
    .zb-fos__dop-number {
        width: 100%;
    }
}

@media (max-width: 400px) {
    .passport__date {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 375px) {
    .zb_fos-wrap_time {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .zb_fos-input__date {
        margin-right: 0;
        margin-bottom: 25px;
    }
}