/* Large Devices, Wide Screens */
@media only screen and (max-width : 1400px) {
    .app_stage_block .help_text_block {
        left: 0;
        top: 100%;
        z-index: 10;
    }
    .app_stage_block .help_text {
        top: 8px;
        left: 0;
    }
    .app_stage_block .form_group_input, .app_stage_block .form__placeholder, .app_stage_subtitle {
        max-width: 900px;
    }
    .double_form_field {
        max-width: 914px;
    }
    .progress_items {
        max-width: 1100px;
    }
}
    
@media only screen and (max-width : 1199px) {
    .form_login {
        max-width: 580px;
    }
    .form_group_input, .form__footer {
        max-width: 432px;
    }
    .help_text {
        min-width: 230px;
    }
    .form_remind .form__footer {
        max-width: 510px;
    }
    .app_stage_block .help_text {
        min-width: 258px;
    }
    .app_stage_block .help_text_block {
        left: -213px;
    }
    .triple_field_group .form_help {
        top: 29px;
    }
    .progress_items {
        max-width: calc(100% - 45px);
    }
    /* .stage_name {
        width: 150px;
        left: -46px;
    } */
}

@media (min-width: 992px) and (max-width: 1199px) {
       
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
    .underline_btn:hover {
        border-bottom: 1px solid transparent;
        color: var(--lightblue);
    }
    .main_btn:hover {
        background: var(--darkblue);
        border-color: var(--darkblue);
    }
    .header-contact__section:hover span{
        border-bottom: 1px solid var(--white);
    }
    .header-contact__section:hover {
        color: var(--white);
    }
    .contour_btn:hover {
        background: var(--darkblue);
        color: var(--white);
    }
    .header_btn:hover {
        background: #FFFFFF29;
        color: var(--white);
    }
    .doc_download-links-wrapper:hover {
        box-shadow: 0px 3px 9px 0px #00236e1c;
    }
    .doc_download-links-wrapper:hover span{
        color: var(--button-color-hover);
    }
}

@media only screen and (max-width : 991px) {
    .header_center_wrapper {
        flex-wrap: wrap;
        gap: 10px;
    }
    .header_right_info {
        display: none;
        width: 100%;
    }
    .header_center_right {
        justify-content: flex-end;
    }
    .help_text {
        min-width: 228px;
        font-size: 12px;
        padding: 12px;
        left: 0;
        top: 4px;
    }
    .help_text_block {
        top: 100%;
        left: -55px;
        z-index: 10;
    }
    .form_group_input, .form__footer,
    .app_stage_block .form_group_input:not(.form_date_wrapper .form_group_input):not(.double_form_field .form_group_input):not(.file_input_content .form_group_input),
     .app_stage_block .form__placeholder, .app_stage_subtitle{
        max-width: calc(100% - 66px);
    }
    .double_form_field {
        max-width: calc(100% - 56px);
    }
    .header_center_right {
        gap: 26px;
    }
    .header-contact__section {
        font-size: 14px;
    }
    .header-contact__section svg {
        width: 20px;
        height: 20px;
    }
    .header_btn {
        max-width: 340px;
        padding: 0 15px;
    }
    .user_container {
        margin-top: 40px;
    }
    .user_applications_wrapper {
        margin-top: 40px;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .user_application_item {
        padding: 12px;
    }
    .user_application_description {
        font-size: 15px;
    }
    .tabs__navigation--user {
        gap: 22px;
    }
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .input_file_top {
        gap: 30px;
    }
    .app_stage_block .double_form_field .form__placeholder,
    .app_stage_block .double_form_field .form_group_input {
        max-width: 100%;
    }
    .form_current_data .first_stage_input {
        max-width: 35px;
        padding: 7px;
    }
    .input_file_bottom {
        grid-template-columns: repeat(2, 1fr);
    }
    .first_stage_input {
        height: auto!important;
        line-height: 1.2;
        min-height: 35px;
    }
    .breadcrumbs__item {
        font-size: 14px;
    }
    .progress_item.active .stage_num {
        width: 66px;
        height: 66px;
        border: 6px solid #fff;
        background: #46A730;
        position: relative;
        align-items: center;
        justify-content: center;
        display: flex;
    }
    .progress_item.active .stage_num:after {
        content: '';
        position: absolute;
        width: calc(100% + 2px);
        height: calc(100% + 2px);
        border-radius: 50%;
        border: 3px solid #46A730;
        background: #fff;
        top: -1px;
        left: -1px;
        display: block;
    }
    .progress_item.active .stage_num_value {
        z-index: 10;
        position: relative;
        width: 47px;
        height: 47px;
    }
    .progress_items {
        max-width: calc(100% - 20px);
    }
    .stage_name {
        width: 106px;
        word-break: break-word;
        left: -24px;
    }
    .progress_item.active {
        top: -4px;
    }
    .progress_item.active .stage_name {
        top: 76px;
    }
    .stages_progress_wrapper .progress_items {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 40px;
        padding: 0 40px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .stages_progress_wrapper {
        margin-bottom: 20px;
    }
    .app_stages_values {
        max-width: 100%;
    }
    .double_form_field .form__placeholder {
        font-size: 11px;
    }
}

@media only screen and (max-width : 767px) {
    .form_login {
        max-width: 95%;
    }
    .form_center {
        padding: 40px 30px 30px;
    }
    .form_help {
        flex-shrink: 0;
        width: 100%;
    }
    .help_text_block {
        left: -179px;
    }
    .header_logo {
        height: 80px;
        width: 135px;
        left: 18px;
    }
    .header_logo:before {
        width: 105px;
        height: 105px;
        left: -18px;
    }
    .container_footer {
        padding-left: 35px;
        padding-right: 35px;
    }
    .header_center_right {
        flex-direction: column-reverse;
        gap: 18px;
        margin-top: 24px;
    }
    .user_application_item {
        width: 100%;
    }
    .immutable_data_placeholder {
        font-size: 14px;
        margin-bottom: 3px;
    }
    .form_current_data .first_stage_input {
        padding: 0;
        border: none;
        background: transparent;
        width: auto;
        height: auto;
    }
    .point_with_gap {
        margin-right: 3px;
    }
    .point_with_gap::after {
        content: '';
        position: relative;
        width: 2px;
        height: 2px;
        border-radius: 50%;
        background-color: var(--body-text);
        display: flex;
        top: -4px;
        left: calc(100% + 1px);
    }
    .form_current_data {
        width: 100%;
        height: 50px;
        border-radius: 3px;
        padding: 16px;
        transition: var(--transition);
        color: var(--black);
        position: relative;
        font-family: "e-Ukraine";
        font-weight: 300;
        font-size: 16px;
        overflow: visible;
        resize: none;
        text-transform: none;
        line-height: 1;
        border: 1px solid #A9B5DA;
        background: #F7F8FA;
        gap: 1px;
    }
    .drag_drop_ttl, .or_txt  {
        display: none;
    }
    .stage_name {
        display: none;
    }
    .progress_wrapper {
        margin: 40px 0 20px;
    }
    .progress_items {
        max-width: 100%;
    }
    .stage_value_dates {
        gap: 12px;
    }
}
@media (min-width : 577px) { 
    .form_help:hover {
        border-color: #DCE1ED;
    }
}
/* Extra Small Devices, Phones */
@media (max-width : 576px) {
    .form_center {
        padding: 30px 20px 16px;
    }
    .form_help {
        max-width: 24px;
        height: 45px;
    }
    .form_group_input, .form__footer {
        max-width: calc(100% - 30px);
    }
    .form_group {
        gap: 6px;
    }
    .form_group_content {
        margin-bottom: 24px;
    }
    .help_text_block {
        left: -205px;
    }
    .form_bottom {
        padding: 20px 20px 24px;
    }
    .password_remind {
        margin: 24px auto 0;
    }
    h1, .h1 {
        font-size: 22px;
        margin: 0 0 24px;
    }
    .fn_ajax_content {
        margin-top: 44px;
    }
    ol.breadcrumbs {
        margin: 44px 0 20px;
    }
    .container_footer {
        padding-left: 15px;
        padding-right: 15px;
    }
    .header_logo:before {
        width: 94px;
        height: 94px;
        left: -17px;
    }
    .header_logo {
        height: 70px;
        width: 120px;
        left: 17px;
    }
    .form_remind {
        max-width: 95%;
        padding: 30px;
    }
    .form__header {
        font-size: 14px;
        margin-bottom: 24px;
    }
    .last_step_remind .last_step_icon {
        margin: 0 auto 24px;
    }
    .last_step_icon svg {
        width: 100px;
        height: 100px;
    }
    .last_step_remind .form__header {
        font-size: 20px;
        margin-bottom: 20px;
    }
    .tabs__link {
        font-size: 12px;
        padding: 0 6px;
    }
    .tabs__navigation--user {
        gap: 0;
        justify-content: space-between;
    }
    .user_container {
        margin-top: 24px;
    }
    .user_subtitle {
        font-size: 16px;
        margin-bottom: 16px;
    }
    .user_mini_subtitle {
        font-size: 14px;
    }
    .user_applications_wrapper {
        margin-top: 24px;
        grid-template-columns: repeat(1, 1fr);
        gap: 24px;
    }
    .user_application_description {
        font-size: 14px;
    }
    .user_application_item {
        padding: 16px;
        gap: 12px;
    }
    .user_application_icon {
        width: 60px;
        height: 60px;
    }
    .current_info_dash {
        display: none;
    }
    .current_info_item {
        flex-direction: column;
        margin-bottom: 24px;
        gap: 8px;
    }
    .app_stage_block .form_group_input:not(.form_date_wrapper .form_group_input):not(.double_form_field .form_group_input):not(.file_input_content .form_group_input),
    .app_stage_block .form__placeholder, .app_stage_subtitle {
        max-width: calc(100% - 30px);
    }
    .app_stage_block .help_text_block {
        left: -235px;
    }
    .double_form_field {
        max-width: calc(100% - 20px);
    }
    .file_input_content .form__placeholder, .documents_block_description {
        font-size: 14px;
    }
    .select2-results__option {
        font-size: 14px;
        padding: 10px 0;
    }
    .label_desc, .notes_block div {
        font-size: 12px;
    }
    input, .first_stage_input, textarea, .select2-container .select2-selection--single {
        font-size: 14px;
    }
    .app_stage_block .form__placeholder {
        padding-left: 0px
    }
    .underline_btn {
        font-size: 14px;
    }
    .app_stage_minittl {
        font-size: 18px;
        margin-bottom: 24px;
        line-height: 1.2;
    }
    .input_file_box {
        padding: 20px 30px;
    }
    .file_input_content .form__placeholder,
    .file_input_content .form_group_input {
        max-width: 100%;
    }
    .input_file_bottom {
        grid-template-columns: repeat(1, 1fr);
    }
    input, .first_stage_input, textarea, .select2-container .select2-selection--single {
        height: 45px;
        padding: 12px 10px;
    }
    .breadcrumbs__item {
        font-size: 12px;
    }
    .remove_btn {
        top: 11px;
    }
    .progress_items {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 70px;
        padding: 0 40px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .progress_items::-webkit-scrollbar {
        display: none;
    }

    .progress_item {
        flex: 0 0 auto;
        scroll-snap-align: center;
        text-align: center;
    }
    .stage_num {
        width: 56px;
        height: 56px;
        border: 8px solid #fff;
    }
    .stage_num_value {
        font-size: 16px ;
    }
    .stage_value_dates {
        grid-template-columns: repeat(2, 1fr);
    }
    .stage_value_ttl {
        font-size: 16px;
    }
    .stage_value_item {
        margin-bottom: 30px;
    }
    .term_input {
        font-size: 14px;
    }
    .hint_block {
        font-size: 14px;
    }
    .doc_review_name {
        width: 250px;
    }
}

@media only screen and (max-width : 480px) {
    .form_bottom {
        flex-direction: column;
        gap: 12px;
    }
    .block_explanation__header {
        margin-right: 0;
    }
    .form__footer {
        max-width: 100%;
    }
    .user_edit_btns {
        flex-direction: column;
        gap: 16px;
    }
    .progress_items {
        gap: 40px;
    }
    .stage_value_dates {
        grid-template-columns: repeat(1, 1fr);
        max-width: 230px;
    }
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 360px) {
    .doc_review_name {
        width: 210px;
    }
}
