@media screen and (min-width: 1024px) {
    .header.sticky .hb-content {
        position: static !important;
    }

    .header .bx-nav-2-lvl-container {
        display: none !important;
    }
}

.pers_vars {
    display: flex;
}

.pers_vars button {
    width: 200px;
    height: 50px;
    background: gray;
    font-size: 18px;
    border-radius: 50px;
    color: white;
}

#fiz {
    margin-right: 10px;
}

.pers_vars button.active {
    background: white;
    border: 2px solid gray;
    color: black;
}

.hidee {
    display: none !important;
}

.error_box,
.error_box_urik {
    margin: 20px 0;
    color: red;
    font-size: 18px;
}

input.error,
select.error {
    background: #F0FFF0;
    border: 1px red solid;
    color: red !important;
    box-shadow: 0px 0px 10px 1px red;
}

#sel_vars {
    width: 100%;
    max-width: 500px;
    height: 38px;
}

.file_boxx {
    margin-top: 30px;
}

.hide {
    display: none !important;
}


/**********/

.form_page .file_item {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.form_page .icon_file {
    fill: gray;
    fill-rule: evenodd;
    stroke: gray;
    stroke-width: 0.1;
    width: 20px;
    height: 20px;
}

.form_page .file_name {
    margin: 0 10px;
    font-size: 14px;
}

.form_page .load_file {
    display: flex;
    align-items: center;
    margin-top: 10px;
    cursor: pointer;
}

.form_page .load_icon {
    width: 20px;
    height: 20px;
}

.form_page .choose {
    font-size: 14px;
    margin-left: 10px;
}

#fiz_form .clearfix {
    margin-top: 50px;
}

svg.delete_file {
    cursor: pointer;
    width: 10px;
    height: 10px;
}

.form_page .choose.error {
    color: red;
}

.fancybox-container #fansuccess {
    width: 330px;
    overflow: hidden;
    min-height: 200px;
    border-radius: 10px;
}

.fancybox-container .text_box {
    margin-top: 40px;
}

.fancybox-container .pop_title {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.clearfix.approve {
    margin-top: 30px;
}

@media screen and (max-width: 420px) {
    .pers_vars button {
        width: calc(100% - 5px);
        font-size: 14px;
    }

    .pers_vars {
        justify-content: space-between;
    }
}

.header .main_logo {
    display: block;
    width: 250px;
}

.header .logo_contacts {
    display: flex;
    align-items: center;
}

.header .phone_hourse {
    padding-left: 10px;
}

.header .phone_hourse * {
    font-size: 16px;
    line-height: 1.1;
    color: #5a382f;
    font-weight: 500;
}

@media screen and (max-width: 750px) {
    .header .main_logo {
        width: 90px;
    }

    .header .phone_hourse * {
        font-size: 9px;
    }

    /*.header .phone_hourse .header_hourse
    {
        margin-top: 10px;
    }*/

    .header .logo_contacts {
        transform: translateX(-50px);
    }

    #fansuccess {
        position: absolute;
        top: 10px;
        left: 10px;
        width: calc(100% - 20px) !important;
    }
}

.politeee {
    font-size: 12px;
    margin: 10px 0;
    font-weight: 500;
    line-height: 1.2;
}

.account-form .form__controls {
    margin-top: 10px !important;
}


.button_wr {
    display: flex;
    gap: 5%;

}

.button_wr a {
    width: 210px;
    height: 60px;
    display: flex !important;

}

.button_wr a:hover {
    color: white !important;

}

.button_dm {
    border-radius: 16px;
    background-color: #639681;
    justify-content: center;
    align-items: center;
    color: white;
}

.button_dm.auth {
    background-color: #186343;
}

.mobius {
    display: none;
}

@media (max-width: 1025px) {
    .button_wr {
        display: none;
    }

    .mobius {
        display: block;
    }

    .hb-content {
        position: absolute;
        top: 0;
        right: 0;
        width: 21% !important;
    }

    .hb-content:has(.icon-box_item.open-in) {

        width: 100% !important;
    }
}

.header.fixed {
    position: fixed;
    top: 0;
    z-index: 999;
}