/*modal*/
.modal .modal-dialog {
    position: relative;
    background: #F4F6FB;
    max-width: 800px;
}

.modal .modal-content {
    margin: 0 40px;
    max-width: none;
}

.modal .modal-header {
    margin: 15px 0;
}

.modal .modal-header span {
    color: #0063BD;
}

.modal .close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
}

.modal .modal-form__input-wrapper {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    width: 50%;
}

.modal .modal-form__input-wrapper label {
    padding-left: 10px;
    padding-bottom: 5px;
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 14px;
    line-height: 100%;
}

.modal .modal-form__input {
    border: none;
    outline: none;
    background: #F8F8F8;
    box-shadow: 0 1px 4px 0 rgba(12, 12, 13, 0.05);
    border-radius: 3px;

    padding: 12px 20px;
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 20px;
    line-height: 100%;
    color: #2E2E2E;
}

.modal-form__resume {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-form__resume span{
    font-weight: 300;
    font-size: 16px;
}

.modal .modal-form__file {
    position: relative;
    display: inline-block;
}

.modal .modal-form__file div {
    position: relative;
    display: none;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    outline: none;
    text-decoration: none;
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 14px;
    line-height: 100%;
    vertical-align: middle;
    text-align: center;
}

.modal .modal-form__file input {
    position: absolute;
    z-index: -1;
    opacity: 0;
    display: block;
    width: 0;
    height: 0;
}

.modal .modal-form__file-fill {
    padding: 15px 20px;
    background-color: #F8F8F8;
    box-shadow: 0 1px 4px 0 rgba(12, 12, 13, 0.05);
    border-radius: 3px;
}

.modal .modal-form__file-fill span {
    display: inline-block;
    max-width: 310px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modal .modal-form__file .active {
    display: flex;
}

.modal .modal-form__file-close {
    cursor: pointer;
    outline: none;
    border: none;
    background: none;
}

.modal-form__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    width: 100%;
    gap: 20px;
}

.modal-form__footer p {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 12px;
    line-height: 100%;
}

@media screen and (max-width: 576px) {
    .vacancies__modal .modal-dialog {
        max-width: calc(100% - 20px);
    }

    .modal .modal-content {
        margin: 0 10px;
    }

    .modal .modal-header h2 span{
        display: none;
    }

    .modal-header h2 {
        font-size: 24px;
    }

    .modal .modal-form__input-wrapper {
        margin-bottom: 10px;
    }

    .modal .modal-form__input-wrapper label {
        font-size: 14px;
    }

    .modal-form__resume {
        margin-bottom: 15px;
        flex-direction: column;
        gap: 20px;
    }

    .modal-form__resume .modal-form__input-wrapper {
        width: 100%;
        margin-bottom: 0;
    }

    .modal-form__footer {
        flex-direction: column-reverse;
        padding: 0 15px;
        align-items: stretch;
    }
}