html, #layout-wrapper, #app, body {
    height: 100%;
}

body {
    font-family: Inter, Helvetica, Arial, sans-serif;
    color: #333333;
    background-color: #f6f6f9 !important;
}

/*Shared styles (move to library?)*/
/* Fix columns blinking on bootstrap grid in Safari*/
.row:before, .row:after {
    display: none !important;
}

#app-selector {
    display: none !important;
}

/* Document file upload page */

.preview-file {
    position: relative;
}

.delete-preview-icon {
    position: absolute;
    top: 20px;
    right: 17px;
    padding: 4px;
    border-radius: 5px;
    margin: 0;
    border: 0;
    cursor: pointer;
}

.delete-failed-preview-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    color: red;
    background-color: #FFEBE1;
    cursor: pointer;
}

.input-item-container {
    height: 72px;
    margin: 5px
}

.min-width-120 {
    min-width: 120px !important;
}

.transparent-button {
    background-color: transparent;
    border: none;
    color: var(--il-black-500);
}

.failed-preview-file {
    position: relative;
    padding: 16px;
    padding-right: 50px;
    border-radius: 16px;
    border: 1px solid #BDBDCA;
    color: #727577;
    min-height: 30px;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
}

    .failed-preview-file .preview-filename {
        color: #171820;
        margin-bottom: 20px;
        font-family: Inter, sans-serif;
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 16px;
    }

/* Invite contractor modal */

.invite-contractor-wrapper .select-step-body {
    max-width: 530px;
    max-height: 500px;
    min-height: 500px;
    overflow-x: auto;
    overflow-y: auto;
}

    .invite-contractor-wrapper .select-step-body .form-check-label {
        padding-left: 10px;
        margin-top: 3px;
    }

    .invite-contractor-wrapper .select-step-body .no-records-move-down {
        padding-top: 150px;
    }


    .invite-contractor-wrapper .select-step-body .table thead tr th:first-child {
        padding-left: 35px;
    }

.invite-contractor-wrapper .assign-task-step-body {
    max-width: 530px;
    max-height: 500px;
    min-height: 500px;
    overflow-x: auto;
    overflow-y: auto;
}

    .invite-contractor-wrapper .assign-task-step-body .no-records-move-down {
        padding-top: 150px;
    }

    .invite-contractor-wrapper .assign-task-step-body .table thead tr th:first-child {
        padding-left: 35px;
    }

    .invite-contractor-wrapper .assign-task-step-body .form-check-label {
        padding-left: 10px;
        margin-top: 3px;
    }

.invite-contractor-wrapper .right-container {
    margin-bottom: 0;
    padding-bottom: 0;
}

.invite-contractor-wrapper #selection-count {
    padding-left: 8px;
}

/* Assign Task to contractor modal */
.assign-contractor-tasks-wrapper .select-step-body {
    max-width: 530px;
    max-height: 500px;
    min-height: 500px;
    overflow-x: auto;
    overflow-y: auto;
}

    .assign-contractor-tasks-wrapper .select-step-body .form-check-label {
        padding-left: 10px;
        margin-top: 3px;
    }

    .assign-contractor-tasks-wrapper .select-step-body .table thead tr th:first-child {
        padding-left: 35px;
    }

.assign-contractor-tasks-wrapper .assign-contractor-tasks-select-docs {
    max-width: 530px;
    max-height: 500px;
    min-height: 500px;
    overflow-x: auto;
    overflow-y: auto;
}

    .assign-contractor-tasks-wrapper .assign-contractor-tasks-select-docs .form-check-label {
        padding-left: 10px;
        margin-top: 3px;
    }

    .assign-contractor-tasks-wrapper .assign-contractor-tasks-select-docs .table thead tr th:first-child {
        padding-left: 35px;
    }

.assign-contractor-tasks-wrapper .right-container {
    margin-bottom: 0;
    padding-bottom: 0;
}

.assign-contractor-tasks-wrapper .stepper-footer {
    padding-left: 8px;
}

.dynamic-document-fields .form-check .form-check-input {
    margin-top: .5em;
}

.dynamic-document-fields .form-checkbox {
    align-items: flex-start;
}

    .dynamic-document-fields .form-checkbox .form-check-input {
        margin-top: .25em;
        min-width: 1.25rem;
    }

.il-modal-footer {
    padding: 18px 24px 18px 24px !important;
    border-top: 2px solid #e3e3ed;
    position: relative;
    bottom: 0;
    border-top-left-radius: unset !important;
    border-top-right-radius: unset !important;
}

.fs-32 {
    font-size: 32px;
    line-height: 40px;
}

.fs-18 {
    font-size: 18px;
    line-height: 24px;
}

.fs-14 {
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
}

.fs-12 {
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
}

.fs-10 {
    font-size: 10px;
    line-height: 12px;
}

.bc-neutral-300 {
    border-color: var(--il-neutral-300) !important;
}

.mw-576 {
    max-width: 576px;
}

.assign-contractor-tasks-wrapper .form-check-label {
    margin-top: 0.2rem;
    padding-left: 0.7rem;
}

.assign-contractor-tasks-wrapper .table thead tr th:first-child {
    padding-left: 2.5rem;
}

.ilauth-logo {
    margin-bottom: 1.5em;
}

/* Page loader to cover side panels */
.busypanel {
    z-index: 1070 !important;
}

.il-button.btn-primary:disabled, .il-button.btn-secondary:disabled, .il-button.btn-outline-primary:disabled {
    color: var(--il-neutral-dark);
    border-color: var(--il-neutral-medium);
}

/* Black title for steppers */
.modal-body .il-title-1 {
    color: var(--il-neutral-black) !important;
}

/* Move header to the right for column with checkbox content */
.select-step-body thead th:nth-child(2),
.assign-task-step-body th:nth-child(2),
.assign-contractor-tasks-wrapper th:nth-child(2) {
    padding-left: 35px;
}

/* Portal Invitation Modal */
.width-140-px {
    width:  140px;
}