
body {
    font-family: "Noto Sans KR", sans-serif !important;
    height: 100vh;
    width: 100vw;
    background-color: white !important;
}


.bodySize {
    display: flex !important;
    flex-direction: column !important;
    padding: 10px 20px !important;
    overflow: hidden !important;
    min-height: 900px;
}


.bodyFlex{
    flex: 1 !important;
    overflow: auto !important;
}

@media (max-width: 991.98px) {
    html,
    body {
        width: 100% !important;
        max-width: 100%;
        min-height: 100dvh;
        overflow-x: hidden;
    }

    body {
        height: auto !important;
    }

    .bodySize {
        min-height: 0;
        padding: 8px !important;
        overflow: auto !important;
    }

    .table-responsive,
    .dataTables_wrapper,
    .tab-content,
    .tab-pane {
        max-width: 100%;
        min-width: 0;
    }

    .table-responsive table {
        margin-bottom: 0;
    }

    .modal-dialog {
        max-width: calc(100vw - 16px) !important;
        margin: 8px auto !important;
    }

    .modal-content {
        max-height: calc(100dvh - 16px);
        overflow: auto;
    }

    .fc .fc-toolbar {
        flex-wrap: wrap;
        gap: 6px;
        align-items: center;
    }

    .fc .fc-toolbar-title {
        font-size: 1.05rem !important;
    }

    .fc .fc-button {
        padding: 5px 8px !important;
        font-size: 12px !important;
    }

    #main-board-data {
        height: auto !important;
        min-height: 0 !important;
        padding: 8px !important;
        overflow-x: hidden;
    }

    #main-board-data .row {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    #main-board-data [class*="col-"] {
        max-width: 100%;
        min-width: 0 !important;
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    #main-board-data .col-12-custom {
        width: 100% !important;
        height: auto !important;
        min-height: 280px;
        margin-bottom: 8px;
    }

    #main-board-data .calendar-parent,
    #main-board-data .my-group-parent {
        height: auto !important;
        flex-direction: column;
        gap: 8px;
    }

    #main-board-data .nav-parent {
        width: 100% !important;
        min-width: 0 !important;
        padding: 0 !important;
    }

    #main-board-data .nav-parent > div {
        min-width: 0 !important;
        height: auto !important;
        min-height: 300px;
    }

    #main-board-data .attendance-parent,
    #main-board-data .my-tasks-parent {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
        height: auto !important;
        min-height: 220px;
    }

    #main-board-data .main-board-alarm-box {
        min-height: 260px !important;
    }

    #main-board-data .schedule-el,
    #main-board-data .full-calendar-el {
        min-width: 0;
    }

    #main-board-data .main-board-schedule-card {
        width: 100% !important;
        height: auto !important;
        min-height: 520px !important;
        flex: 0 0 auto !important;
        padding: 8px !important;
    }

    #main-board-data .main-board-schedule-content {
        height: auto !important;
        min-height: 455px !important;
        overflow: visible !important;
    }

    #main-board-data .full-calendar-el {
        min-height: 430px;
        padding: 0 !important;
    }

    #main-board-data .full-calendar-el > .d-flex,
    #main-board-data #main-board-full-calendar-wrap,
    #main-board-data #main-board-full-calendar {
        height: 430px !important;
        min-height: 430px !important;
    }

    #main-board-data .details-schedule-el {
        min-height: 430px;
    }

    .calendar-page-layout {
        height: auto !important;
        min-height: calc(100dvh - 46px);
        flex-direction: column !important;
        padding: 8px !important;
        overflow-y: auto;
    }

    .calendar-filter-panel {
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        max-height: 38dvh;
        align-items: stretch !important;
        overflow: auto !important;
    }

    .calendar-main-panel {
        width: 100%;
        min-width: 0;
        min-height: 520px;
        padding: 8px !important;
    }

    .approval-page-body,
    .my-task-page-body,
    .erm-page-body {
        height: auto !important;
        min-height: calc(100dvh - 46px);
        padding: 8px !important;
        overflow-x: hidden;
    }

    .approval-page-body > .row,
    .approval-page-body > .d-flex,
    .my-task-page-body > .d-flex,
    .erm-page-body > .d-flex {
        min-width: 0;
        gap: 8px !important;
    }

    .approval-page-body .card-rounded > .d-flex,
    .approval-page-body #items,
    .my-task-page-body #items,
    .erm-page-body #items {
        width: 100%;
        min-width: 0;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 6px;
        scrollbar-width: thin;
    }

    .approval-page-body .group-tabs,
    .my-task-page-body .group-tabs,
    .erm-page-body .group-tabs {
        flex: 0 0 auto;
    }

    .approval-page-body .nav-link,
    .my-task-page-body .nav-link,
    .erm-page-body .nav-link {
        white-space: nowrap;
        min-height: 36px;
    }

    .approval-page-body .notice-board-filter + label {
        width: auto !important;
        min-width: 120px;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .approval-page-body .commonCountSpan,
    .approval-page-body #countValue,
    .approval-page-body #inProgressValue,
    .approval-page-body #rejectedCountValue {
        position: static !important;
        display: inline-flex !important;
        width: auto !important;
        min-width: 24px;
        height: 20px;
        line-height: 20px;
        margin-left: 4px;
        padding: 0 5px;
        align-items: center;
        justify-content: center;
        vertical-align: middle;
    }

    .my-task-page-body .col-12.d-flex > .d-flex,
    .erm-page-body .col-12.d-flex > .d-flex {
        min-width: 0;
        overflow-x: auto;
    }

    .my-task-page-body .tab-content,
    .erm-page-body .tab-content,
    .approval-page-body .tab-content {
        overflow: auto;
    }

    .notice-page-body {
        min-width: 0 !important;
        height: auto !important;
        min-height: calc(100dvh - 46px);
        padding: 8px !important;
        overflow-x: hidden;
    }

    .notice-page-layout {
        min-width: 0;
        flex-direction: column;
        gap: 8px !important;
    }

    .notice-filter-panel {
        width: 100% !important;
        height: auto !important;
        max-height: 32dvh;
        overflow: auto;
    }

    .notice-board-panel {
        width: 100% !important;
        min-width: 0;
        height: auto !important;
        min-height: 64dvh;
        padding: 8px !important;
    }

    .notice-table-page,
    .category-create-page,
    .category-edit-page {
        min-width: 0;
        overflow: auto;
    }

    .approval-comment-content {
        width: calc(100vw - 16px) !important;
        min-width: 0 !important;
    }
}
















