.zpm-mobile-only {
    display: none !important;
}

@media (max-width: 800px) {
    .zpm-mobile-only {
        display: block !important;
    }

    #zpm-content {
        padding-top: 4rem;
    }

    #zpm-frontend-brand.zpm-mobile-only {
        position: absolute;
        top: 1rem;
        left: 1rem;
        z-index: 999;
    }
}

.zephyr-frontend-manager-template h1,
.zephyr-frontend-manager-template h2,
.zephyr-frontend-manager-template h3,
.zephyr-frontend-manager-template h4,
.zephyr-frontend-manager-template h5,
.zephyr-frontend-manager-template h6 {
    font-size: 1.5rem;
    margin-top: 15px;
    padding: 10px 0 10px 0;
}

.zpm-project-sidebar-item__description {
    max-height: 80px;
}

.zpm_member_details .zpm-description-text {
    margin-top: 15px !important;
}

.zpm-team-member-list {
    font-size: 14px;
}

.zephyr-theme-default #zpm-member-details__scrollable {
    padding: 20px;
}

#zpm-member-details__display-info {
    padding: 40px 15px 15px 15px;
}

.zpm-material-card-colored {
    max-height: 300px;
}

.zephyr-theme-default .zpm_task_list_row:hover .zpm_task_details {
    padding: 10px;
}

.zephyr-theme-default .zpm_task_details {
    padding: 10px;
}

.zpm-fancy-divider {
    border-bottom: 1px solid #eee;
    box-sizing: border-box;
    width: 100%;
}

.zpm-table .zpm-table__th,
.zpm-table .zpm-table__cell {
    padding: 10px;
}

.zpm-grid-item .zpm-material-card {
    height: 100%;
}

.zpm-card-header {
    margin-top: 0 !important;
}

.zpm-member-details__subheader {
    font-size: 1rem !important;
}

@media (max-width: 800px) {
    .zephyr-theme-default #zpm-content.users #zpm-member-details {
        position: fixed;
        top: 0;
        bottom: 0;
        right: 0;
        width: 100vw;
        height: 100vh !important;
        max-height: unset;
        z-index: 9999999999 !important;
    }

    #zpm-members-table_length {
        text-align: left;
    }

    #zpm-members-table {
        width: 100%;
        overflow: auto;
    }

    #zpm-content {
        padding-top: 4rem !important;
    }

    .zpm-users__open-details-menu {
        display: none !important;
    }

    .zephyr-theme-default .zpm_task_list_row {
        height: auto !important;
        max-height: unset !important;
    }

    .zpm-task-list-content {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        overflow: auto !important;
        max-height: unset !important;
        gap: 0.5rem;
        margin-top: 0.25rem;
    }

    .zpm-task-page-filters {
        flex-direction: column;
        gap: 0.5rem;
    }

    .zpm-task-page-filters>*,
    .zpm-task-page-filters #zpm-task-filter-holder,
    .zpm-task-page-filters #zpm-task-project-filter-holder {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        padding-right: 0 !important;
    }

    #zpm_tasks_assignee_filter_chosen,
    #zpm_task_sorting_filter_chosen,
    #zpm_tasks_project_filter_chosen,
    #zpm_tasks_status_filter_chosen,
    #zpm_tasks_priority_filter_chosen {
        width: 100% !important;
    }

    #zpm-communications-section {
        flex-direction: column;
    }

    #zpm_activity_body {
        padding: 0 0 0 40px;
    }

    .zpm-layout-content__body,
    .zpm-layout-content__footer {
        margin-right: 0 !important;
    }

    .zpm_activity_entry {
        width: calc(110%);
    }

    .zpm-discussion-item {
        display: flex;
        flex-direction: column;
        align-items: left;
        gap: 0.85rem;
    }

    .zpm-discussion-item--actions {
        margin-right: auto;
        width: 100%;
        flex-direction: row reverse;
        flex-flow: reverse;
    }

    .zpm-discussion-item--message-count {
        order: 0;
        margin-right: 0.5rem;
        padding: 0;
        margin-left: 0;
    }

    .zpm-discussion-item--actions-delete,
    .zpm-discussion-item--actions-edit {
        order: 2;
    }

    .zpm_report_task_stats,
    .zpm-project-progress__task-table {
        overflow: auto;
        margin: 0;
    }

    .zpm-table__header,
    .zpm-table__row {
        overflow: auto;
    }

    #zpm-project-progress__task-table .zpm-table__header .zpm-table__th:first-of-type {
        min-width: unset !important;
        max-width: unset !important;
    }
}