:root {
    --bg-view-grid: #2f3231;
    --bg-view-2-grid: linear-gradient(45deg, #2f3231 10%, #695b38);
    --bg-view-3-grid: linear-gradient(45deg, #2f3231 10%, #16a086);
    --bg-view-4-grid: linear-gradient(45deg, #2f3231 10%, #91c090);
    --color-fw-mttr-mtbf-1: white;
    --bg-select-costum: #3c3c3c;
    --color-select-costum: white;
    --color-ft-sts: white;
    --bg-card-calendar: #3f3f3f;
    --border-card-calendar: #878787;
    --color-title-calendar: white;
    --color-tgl-calendar: white;
    --bg-header-calendar: #2f3231;
    --color-header-calendar: #b9b9b9;
    --bg-grid-cal-header: #2f3231;
    --color-bgc: white;
    --brd-gv11-1: #878787;
    --bg-gv11-1: #2f3231;
    --color-jdl-gv11: white;
    --color-item-gv11-1: white;
    --bg-thead: #2f3231;
    --colo-table: white;
    --bg-tbody-table: #3f3f3f;
    --bg-progress: #555555;
    --color-scroll-chart: #636363;
    --colo-stroke-gantt: white;
    --brd-dropdown: #8e8e8e;
    --bg-dropdown: #2f3231;
    --color-dropdown: white;
    --color-form-input-costum: #c7c7c7;
    --color-costum-form: #2f3231;
    --bg-hover-form-costum: #ffffff;
}

[data-theme="dark"] {
    --bg-view-grid: #2f3231;
    --bg-view-2-grid: linear-gradient(45deg, #2f3231 10%, #695b38);
    --bg-view-3-grid: linear-gradient(45deg, #2f3231 10%, #16a086);
    --bg-view-4-grid: linear-gradient(45deg, #2f3231 10%, #91c090);
    --color-fw-mttr-mtbf-1: white;
    --bg-select-costum: #3c3c3c;
    --color-select-costum: white;
    --color-ft-sts: white;
    --bg-card-calendar: #3f3f3f;
    --border-card-calendar: #878787;
    --color-title-calendar: white;
    --color-tgl-calendar: white;
    --bg-header-calendar: #2f3231;
    --color-header-calendar: #b9b9b9;
    --bg-grid-cal-header: #2f3231;
    --color-bgc: white;
    --brd-gv11-1: #878787;
    --bg-gv11-1: #2f3231;
    --color-jdl-gv11: white;
    --color-item-gv11-1: white;
    --bg-thead: #2f3231;
    --colo-table: white;
    --bg-tbody-table: #3f3f3f;
    --bg-progress: #555555;
    --color-scroll-chart: #636363;
    --colo-stroke-gantt: black;
    --brd-dropdown: #8e8e8e;
    --bg-dropdown: #2f3231;
    --color-dropdown: white;
    --color-form-input-costum: #c7c7c7;
    --color-costum-form: #2f3231;
    --bg-hover-form-costum: #ffffff;
}

.section {
    width: 100%;
    padding: 0.5rem;
    display: grid;
    grid-template-areas:
        "view-1 view-2 view-5 view-6"
        "view-1 view-3 view-5 view-6"
        "view-1 view-4 view-5 view-6"
        "view-7 view-7 view-8 view-9"
        "view-10 view-10 view-11 view-12";
    grid-template-columns: 20% 15% 36% 27.5%;
    grid-template-rows: 7rem 7rem 7rem 15.4rem 15.4rem;
    grid-gap: 0.5rem;
}

:-webkit-full-screen .section {
    grid-template-rows: 8rem 8rem 8rem 16.8rem 16.8rem;
}

@media screen and (height: 1080px) {
    .section {
        grid-template-rows: 8rem 8rem 8rem 18.5rem 18.5rem;
    }
}

@media screen and (max-width: 1440px) {
    .section {
        grid-template-columns: 19.5% 15% 36% 27.5%;
        grid-template-rows: 5rem 5rem 5rem 14rem 14rem;
    }
}

@media screen and (max-width: 1440px) and (height: 900px) {
    .section {
        grid-template-columns: 19.5% 15% 36% 27.5%;
        grid-template-rows: 6rem 6rem 6rem 15.9rem 15.9rem;
    }
}

.view-1 {
    grid-area: view-1;
    background: var(--bg-view-grid);
    border-radius: 0.3rem;
    padding: 0.5rem;
}

.view-2 {
    grid-area: view-2;
    background: var(--bg-view-2-grid);
    border-radius: 0.3rem;
    padding: 0.5rem;
}

.view-3 {
    grid-area: view-3;
    background: var(--bg-view-3-grid);
    border-radius: 0.3rem;
    padding: 0.5rem;
}

.view-4 {
    grid-area: view-4;
    background: var(--bg-view-4-grid);
    border-radius: 0.3rem;
    padding: 0.5rem;
}

.view-5 {
    grid-area: view-5;
    background: transparent;
    border-radius: 0.3rem;
    padding: 0rem;
}

.view-6 {
    grid-area: view-6;
    background: var(--bg-view-grid);
    border-radius: 0.3rem;
    padding: 0.5rem;
}

.view-7 {
    grid-area: view-7;
    background: var(--bg-view-grid);
    border-radius: 0.3rem;
    padding: 0.5rem;
}

.view-8 {
    grid-area: view-8;
    background: var(--bg-view-grid);
    border-radius: 0.3rem;
    padding: 0.5rem;
}

.view-9 {
    grid-area: view-9;
    background: var(--bg-view-grid);
    border-radius: 0.3rem;
    padding: 0.5rem;
}

.view-10 {
    grid-area: view-10;
    background: var(--bg-view-grid);
    border-radius: 0.3rem;
    padding: 0.5rem;
}

.view-11 {
    grid-area: view-11;
    background: var(--bg-view-grid);
    border-radius: 0.3rem;
    padding: 0.5rem;
}

.view-12 {
    grid-area: view-12;
    background: var(--bg-view-grid);
    border-radius: 0.3rem;
    padding: 0.5rem;
    position: relative;
}

.absolute-select {
    position: absolute;
    right: 0.5rem;
    z-index: 100;
}

.view-13 {
    grid-area: view-13;
    background: var(--bg-view-grid);
    border-radius: 0.3rem;
    padding: 0.5rem;
}

.body-carosel {
    padding: 0rem 1.5rem;
}

@media screen and (max-width: 1440px) {
    .body-carosel {
        padding: 0rem 0.5rem;
    }
}

.fw-judul {
    color: var(--color-fw-mttr-mtbf-1);
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0px;
}

.fw-judul-2 {
    color: var(--color-fw-mttr-mtbf-1);
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0px;
}

.fw-judul-3 {
    color: var(--color-fw-mttr-mtbf-1);
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 0px;
}

.fw-mttr-mtbf-1 {
    color: var(--color-fw-mttr-mtbf-1);
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0px;
}

.fw-mttr-mtbf-2 {
    color: var(--color-fw-mttr-mtbf-1);
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 0px;
    line-height: 3.5rem;
}

:-webkit-full-screen .fw-mttr-mtbf-2 {
    font-size: 4.7rem;
    line-height: 4.7rem;
}

@media screen and (height: 1080px) {
    .fw-mttr-mtbf-2 {
        font-size: 4.7rem;
        line-height: 4.7rem;
    }
}

@media screen and (max-width: 1440px) {
    .fw-mttr-mtbf-2 {
        font-size: 2rem;
        line-height: 2rem;
    }
}

@media screen and (max-width: 1440px) and (height: 900px) {
    .fw-mttr-mtbf-2 {
        font-size: 2.9rem;
        line-height: 2.9rem;
    }
}

.fw-mttr-mtbf-3 {
    color: var(--color-fw-mttr-mtbf-1);
    font-size: 0.7rem;
    font-weight: normal;
    margin-bottom: 0px;
    line-height: 0.7rem;
}

.fw-mttr-mtbf-4 {
    font-size: 0.7rem;
    font-weight: normal;
    margin-bottom: 0px;
    line-height: 0.7rem;
}

@media screen and (max-width: 1440px) {
    .fw-mttr-mtbf-4 {
        font-size: 0.5rem;
        line-height: 0.5rem;
    }
}

.fc-g {
    color: #28be14 !important;
}

.fc-r {
    color: #ff0000 !important;
}

.pt-rel {
    position: relative;
}

.bt-0 {
    position: absolute;
    bottom: 0.1rem;
}

.select-costum {
    font-size: 0.7rem !important;
    padding: 0.1rem !important;
    height: 1.3rem !important;
    background: var(--bg-select-costum) !important;
    color: var(--color-select-costum) !important;
    padding-left: 0.5rem !important;
    border: var(--bg-select-costum);
    width: 5rem;
}

.select-costum:hover,
.select-costum:focus {
    box-shadow: none !important;
    border: var(--bg-select-costum) !important;
}

.highcharts-figure {
    height: auto;
    margin: 0px !important;
}

#Time_Chart {
    width: 100%;
    height: 18rem;
}

:-webkit-full-screen #Time_Chart {
    width: 100%;
    height: 20rem;
}

@media screen and (height: 1080px) {
    #Time_Chart {
        width: 100%;
        height: 20rem;
    }
}

@media screen and (max-width: 1440px) {
    #Time_Chart {
        width: 100%;
        height: 12rem;
    }
}

@media screen and (max-width: 1440px) and (height: 900px) {
    #Time_Chart {
        width: 100%;
        height: 15rem;
    }
}

#counterpart,
#top_water_comsumption {
    width: 100%;
    height: 13rem;
}

:-webkit-full-screen #top_water_comsumption {
    height: 14.7rem;
}

@media screen and (height: 1080px) {
    #counterpart,
    #top_water_comsumption {
        height: 14.7rem;
    }
}

#Breakdown_Duration,
#Breakdown_Frequency {
    width: 100%;
    height: 12rem;
}

:-webkit-full-screen #Breakdown_Duration {
    height: 15rem;
}

@media screen and (height: 1080px) {
    #Breakdown_Duration {
        height: 15rem;
    }
}

:-webkit-full-screen #Breakdown_Frequency {
    height: 15rem;
}

@media screen and (height: 1080px) {
    #Breakdown_Frequency {
        height: 15rem;
    }
}

#top_n,
#water_consumption {
    width: 100%;
    height: 13rem;
}

:-webkit-full-screen #top_n,
:-webkit-full-screen #water_consumption {
    height: 15rem;
}

@media screen and (height: 1080px) {
    #top_n,
    #water_consumption {
        height: 15rem;
    }
}

@media screen and (max-width: 1440px) {
    #water_consumption,
    #top_n,
    #counterpart {
        height: 12rem;
    }

    #Breakdown_Duration,
    #Breakdown_Frequency {
        height: 11rem;
    }
}

@media screen and (max-width: 1440px) and (height: 900px) {
    #water_consumption,
    #top_n,
    #counterpart {
        height: 13rem;
    }

    #Breakdown_Duration,
    #Breakdown_Frequency {
        height: 12rem;
    }
}

.carousel-indicators [data-bs-target] {
    border-radius: 50% !important;
    width: 0.5rem !important;
    height: 0.5rem !important;
}

.hc_full {
    height: 13.5rem;
}

:-webkit-full-screen .hc_full {
    height: 15rem;
}

@media screen and (height: 1080px) {
    .hc_full {
        height: 15rem;
    }
}

#line_chart_mttr,
#line_chart_mtbf {
    width: 100%;
    height: 12.5rem;
}

.carousel-indicators {
    margin-bottom: 0rem !important;
    bottom: 0.5rem;
}

.header-carasol {
    position: absolute;
    bottom: 13rem;
    right: 0.5rem;
    display: none;
}

.header-carasol.breakdown-1 {
    bottom: 11.6rem;
    right: -14.5rem;
}

.header-carasol.breakdown-2 {
    bottom: 11.6rem;
    right: -15.5rem;
}

@media screen and (height: 1080px) {
    .header-carasol {
        bottom: 15.2rem;
    }

    .carousel-indicators {
        margin-bottom: 0rem !important;
        bottom: -0.5rem;
    }

    .header-carasol.breakdown-1 {
        bottom: 15.5rem;
        right: -14.5rem;
    }

    .header-carasol.breakdown-2 {
        bottom: 15.5rem;
        right: -15.5rem;
    }
}

.carousel-indicators [data-bs-target].active .header-carasol {
    display: block;
}

:-webkit-full-screen #line_chart_mttr,
:-webkit-full-screen #line_chart_mtbf {
    width: 100%;
    height: 14.5rem;
}

@media screen and (max-width: 1440px) {
    .header-carasol {
        left: 28rem;
    }
}

@media screen and (height: 1080px) {
    #line_chart_mttr,
    #line_chart_mtbf {
        width: 100%;
        height: 14.5rem;
    }
}

.fw-judul.sett_chart::before {
    content: url("icon/gear.svg");
    margin-right: 0.5rem;
}

/* CSS bagian calendar */
.spn-cor {
    width: 0.7rem;
    height: 0.7rem;
    background: #bf570b;
    margin-right: 0.3rem;
    padding-right: 0.4rem;
    padding-left: 0.3rem;
    margin-top: 0.2rem !important;
    border-radius: 50%;
}

.spn-prev {
    width: 0.7rem;
    height: 0.7rem;
    background: #fcc64c;
    margin-right: 0.3rem;
    padding-right: 0.4rem;
    padding-left: 0.3rem;
    margin-top: 0.2rem !important;
    border-radius: 50%;
}

.spn-pred {
    width: 0.7rem;
    height: 0.7rem;
    background: #d2d29a;
    margin-right: 0.3rem;
    padding-right: 0.4rem;
    padding-left: 0.3rem;
    margin-top: 0.2rem !important;
    border-radius: 50%;
}
.grid-calendar {
    width: 100%;
    display: grid;
    grid-template-areas: "grid-calendar-1 grid-calendar-2";
    grid-template-columns: 17rem 12.3rem;
    grid-template-rows: 18rem;
    grid-gap: 0.5rem;
    margin-bottom: 0.5rem;
}

:-webkit-full-screen .grid-calendar {
    grid-template-rows: 20.6rem;
}

@media screen and (height: 1080px) {
    .grid-calendar {
        grid-template-rows: 20.6rem;
    }
}

@media screen and (max-width: 1440px) {
    .grid-calendar {
        grid-template-columns: 14rem 7.4rem;
        grid-template-rows: 12.1rem;
        margin-bottom: 0rem;
    }
}

@media screen and (max-width: 1440px) and (height: 900px) {
    .grid-calendar {
        grid-template-columns: 14rem 7.4rem;
        grid-template-rows: 15.5rem;
        margin-bottom: 0rem;
    }
}

.grid-calendar-1 {
    grid-area: grid-calendar-1;
    background: var(--bg-card-calendar);
    border: 1px solid var(--border-card-calendar);
    border-radius: 8px;
    padding: 0rem 0.5rem;
}

.grid-calendar-2 {
    grid-area: grid-calendar-2;
    background: var(--bg-card-calendar);
    border: 0.5px solid var(--border-card-calendar);
    border-radius: 8px;
    border-top: none !important;
}

.fc .fc-toolbar-title {
    font-size: 1rem !important;
    margin: 0;
    color: var(--color-title-calendar);
}

.fc .fc-button {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background: none !important;
    border: none !important;
    padding: 0.4em 0.65em;
    font-size: 0.7rem !important;
    line-height: 1.5;
    border-radius: 0.25em;
    background: none !important;
}

.fc .fc-button-primary {
    border: none !important;
}

.fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 0.2rem !important;
}

.fc table {
    border-collapse: none !important;
    border-spacing: none !important;
    font-size: 0.5rem !important;
    border: none !important;
}

tbody,
td,
tfoot,
th,
thead,
tr {
    border: none !important;
}

.fc-scrollgrid-sync-table {
    height: 200px !important;
}

:-webkit-full-screen .fc-scrollgrid-sync-table {
    height: 260px !important;
}

@media screen and (height: 1080px) {
    .fc-scrollgrid-sync-table {
        height: 260px !important;
    }
}

.fc-daygrid-day-number {
    color: var(--color-tgl-calendar) !important;
}

@media screen and (max-width: 1440px) {
    .fc-daygrid-day-number {
        font-size: 0.5rem !important;
    }
}

.fc .fc-daygrid-day-top {
    display: block !important;
    flex-direction: row-reverse;
    text-align: center !important;
}

.fc-col-header {
    background: var(--bg-header-calendar) !important;
    border-radius: 5px !important;
    margin: 0rem !important;
}

.fc-col-header-cell-cushion {
    color: var(--color-header-calendar) !important;
}

.fc .fc-daygrid-day-number {
    padding-bottom: 0rem !important;
}

@media screen and (max-width: 1440px) {
    .fc-col-header-cell-cushion {
        font-size: 0.6rem !important;
    }
}

.fc .fc-daygrid-day-frame {
    position: relative;
    min-height: 100%;
    padding-top: 0rem;
}

.fc-day-today {
    background: none !important;
}

.fc-day-today .fc-daygrid-day-top {
    background: white;
    width: 1.4rem;
    height: 1.3rem;
    border-radius: 50%;
    padding-right: 0rem;
    padding-top: 0px;
    margin-left: 0.7rem;
}

@media screen and (max-width: 1440px) {
    .fc-day-today .fc-daygrid-day-top {
        width: 0.6rem;
        height: 0.7rem;
        margin-left: 0rem;
    }
}

.fc-day-today .fc-daygrid-day-top .fc-daygrid-day-number {
    color: #3f3f3f !important;
}

.fc-direction-ltr .fc-daygrid-event.fc-event-end,
.fc-direction-rtl .fc-daygrid-event.fc-event-start {
    width: 100% !important;
    height: 100% !important;
    background: none !important;
    border: none !important;
}

.fc-scroller .fc-scroller-liquid-absolute::-webkit-scrollbar {
    display: none !important;
}

.spc-cor {
    width: 0.4rem;
    height: 0.4rem;
    background: #bf570b;
    border-radius: 50%;
    margin-top: 0.3rem;
    margin-left: 0.1rem;
    margin-right: 0.1rem;
}

.spc-prf {
    width: 0.4rem;
    height: 0.4rem;
    background: #fcc64c;
    border-radius: 50%;
    margin-top: 0.3rem;
    margin-left: 0.1rem;
    margin-right: 0.1rem;
}

.spc-prd {
    width: 0.4rem;
    height: 0.4rem;
    background: #d2d29a;
    border-radius: 50%;
    margin-top: 0.3rem;
    margin-left: 0.1rem;
    margin-right: 0.1rem;
}

.fc-day-other .fc-daygrid-day-frame.fc-scrollgrid-sync-inner {
    display: none !important;
}

.grid-cal-header {
    padding: 0.5rem;
    background: var(--bg-grid-cal-header);
    border-top: 0.5px solid var(--border-card-calendar);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom: 0.5px solid var(--border-card-calendar);
}

.grid-cal-body {
    width: 100%;
    height: 14.5rem;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0.5rem;
    padding-top: 0rem !important;
}

:-webkit-full-screen .grid-cal-body {
    height: 18rem;
}

@media screen and (height: 1080px) {
    .grid-cal-body {
        height: 18rem;
    }
}

.grid-cal-body::-webkit-scrollbar {
    width: 0.3rem;
}

/* Track */
.grid-cal-body::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

/* Handle */
.grid-cal-body::-webkit-scrollbar-thumb {
    background: white;
    border-radius: 10px;
}

/* Handle on hover */
.grid-cal-body::-webkit-scrollbar-thumb:hover {
    background: white;
}

.isi-body-grid-call {
    width: 100%;
    border-bottom: 0.5px solid var(--border-card-calendar);
    position: relative;
}

.ibgc-1 {
    margin: 0rem;
    font-size: 1.5rem;
    color: var(--color-bgc);
    margin-top: 0.5rem;
}

@media screen and (max-width: 1440px) {
    .ibgc-1 {
        font-size: 1rem;
    }
}

.spn-ibgc-1 {
    font-size: 0.5rem;
    color: var(--color-bgc);
    position: absolute;
    top: 0.5rem;
    left: 0.7rem;
}

.ibgc-2 {
    margin: 0rem;
    font-size: 0.6rem;
    color: var(--color-bgc);
}

@media screen and (max-width: 1440px) {
    .ibgc-2 {
        font-size: 0.4rem;
    }
}

.ibgc-2-p-t {
    padding-top: 0.5rem;
    padding-right: 0rem !important;
}

.ibgc-3 {
    margin: 0rem;
    font-size: 0.6rem;
    color: var(--color-bgc);
}

.ibgc-3-p-t {
    padding-top: 1rem;
    padding-left: 0rem !important;
}

@media screen and (max-width: 1440px) {
    .ibgc-3 {
        font-size: 0.7rem;
    }

    .ibgc-3-p-t {
        padding-top: 0.5rem;
        padding-left: 0.8rem !important;
    }
}

.ft-sts {
    margin-bottom: 0px;
    color: var(--color-ft-sts);
    font-size: 0.7rem;
    line-height: 0.7rem;
    margin-right: 1rem;
    margin-top: 0.2rem !important;
    white-space: nowrap;
}

@media screen and (max-width: 1440px) {
    .ft-sts {
        font-size: 0.5rem;
        line-height: 0.5rem;
        margin-right: 0.5rem;
    }
}

.ft-sts-2 {
    margin-bottom: 0px;
    color: var(--color-ft-sts);
    font-size: 0.7rem;
    line-height: 0.7rem;
    margin-right: 1rem;
    margin-top: 0.2rem !important;
}

/* End CSS Calendar */
.grid-view-11 {
    width: 100%;
    padding: 0rem;
    display: grid;
    grid-template-areas:
        "gv11-1"
        "gv11-2";
    grid-template-columns: 100%;
    grid-template-rows: 3.5rem auto;
    grid-gap: 0.7rem;
}

:-webkit-full-screen .grid-view-11 {
    grid-template-rows: 3.5rem auto;
}

@media screen and (height: 1080px) {
    .grid-view-11 {
        grid-template-rows: 3.5rem auto;
    }
}

.gv11-1 {
    grid-area: gv11-1;
    padding: 0.5rem 1rem;
    border: 1px solid var(--brd-gv11-1);
    background: var(--bg-gv11-1);
    border-radius: 0.4rem;
}

.gv11-2 {
    grid-area: gv11-2;
    padding: 0rem;
    border: 1px solid var(--brd-gv11-1);
    border-radius: 0.4rem;
    padding-top: 0.5rem;
}

.img-mch-1 {
    width: 2rem;
}

.jdl-gv11 {
    font-size: 1.2rem;
    color: var(--color-jdl-gv11);
    margin-bottom: 0rem;
    margin-top: 0.3rem;
}

.b-red-gv11-1 {
    background: #f54137;
    width: 0.7rem;
    height: 2.5rem;
    border-radius: 0.2rem;
}

.b-yel-gv11-1 {
    background: #eecc1a;
    width: 0.7rem;
    height: 2.5rem;
    border-radius: 0.2rem;
}

.item-gv11-1 {
    font-size: 1rem;
    margin-bottom: 0rem;
    margin-top: 0.4rem;
    color: var(--color-item-gv11-1);
}

.nilai-gv11-1 {
    font-size: 2.3rem;
    line-height: 2.3rem;
    margin-bottom: 0rem;
    color: var(--color-item-gv11-1);
}

.table-mc {
    table-layout: fixed !important;
    border-collapse: collapse !important;
    margin: 0rem !important;
}

.table-mc-thead {
    background-color: var(--bg-thead) !important;
    position: relative !important;
}

.table-mc-thead tr {
    display: block !important;
    position: relative !important;
}

.table-mc-thead tr th {
    color: var(--colo-table) !important;
    padding: 0.2rem !important;
    text-align: center !important;
    font-size: 0.9rem !important;
    font-weight: normal !important;
}

.table-mc-tbody {
    display: block !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    width: 100% !important;
    height: 7.8rem !important;
    background: var(--bg-tbody-table) !important;
    border-bottom-left-radius: 0.4rem !important;
    border-bottom-right-radius: 0.4rem !important;
    color: var(--colo-table) !important;
}

:-webkit-full-screen .table-mc-tbody {
    height: 10.7rem !important;
}

@media screen and (height: 1080px) {
    .table-mc-tbody {
        height: 10.7rem !important;
    }
}

.table-mc-tbody::-webkit-scrollbar {
    display: none !important;
}

.table-mc-tbody tr td {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.th-1,
.td-1 {
    width: 8rem !important;
    text-align: center !important;
}

.th-2,
.td-2 {
    width: 10rem !important;
    text-align: center !important;
}

.th-3,
.td-3 {
    width: 10rem !important;
    text-align: center !important;
}

.th-4,
.td-4 {
    width: 12rem !important;
    text-align: center !important;
}

.td-no-data {
    width: 40rem;
    text-align: center;
}

.td-no-data p {
    margin-top: 2rem;
}

@media screen and (height: 1080px) {
    .td-no-data p {
        margin-top: 4rem;
    }
}

.img-mc-warning-1-table {
    width: 1.5rem;
}

.font-td-1 {
    font-weight: normal;
    font-size: 0.8rem;
    margin-bottom: 0rem;
    width: 100%;
}

.progress-coss {
    height: 0.7rem !important;
    border-radius: 1.5rem !important;
    margin-top: 0.3rem;
    background: var(--bg-progress) !important;
}

.progress-coss-isi {
    border-radius: 1.5rem !important;
}

.fwc_red {
    color: #d91515 !important;
}

.fwc_yel {
    color: #deb42b;
}

.bg-prog-red {
    background-color: #d91515 !important;
}

.bg-prog-yel {
    background-color: #deb42b !important;
}

.card-breakdown-list {
    border: 1px solid var(--brd-gv11-1);
    width: 100%;
    height: auto;
    border-radius: 0.4rem;
    padding-top: 0.5rem;
}

.table-bl {
    table-layout: fixed !important;
    border-collapse: collapse !important;
    margin: 0rem !important;
}

.thead-bl {
    background-color: var(--bg-thead) !important;
    position: relative !important;
}

.thead-bl tr {
    display: block !important;
    position: relative !important;
}

.thead-bl tr th {
    color: var(--colo-table) !important;
    padding-bottom: 0.5rem !important;
    text-align: center !important;
    font-size: 0.8rem !important;
    font-weight: normal !important;
}

@media screen and (max-width: 1440px) {
    .thead-bl tr th {
        font-size: 0.6rem !important;
    }
}

.tbody-bl {
    display: block !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    width: 99% !important;
    height: 10.3rem !important;
    background: var(--bg-tbody-table) !important;
    border-bottom-left-radius: 0.4rem !important;
    border-bottom-right-radius: 0.4rem !important;
    color: var(--colo-table) !important;
}

:-webkit-full-screen .tbody-bl {
    height: 13.4rem !important;
}

@media screen and (height: 1080px) {
    .tbody-bl {
        height: 13.4rem !important;
    }
}

@media screen and (max-width: 1440px) {
    .tbody-bl {
        height: 9rem !important;
    }
}

@media screen and (max-width: 1440px) and (height: 900px) {
    .tbody-bl {
        height: 11rem !important;
    }
}

.tbody-bl::-webkit-scrollbar {
    width: 0.3rem;
}

/* Track */
.tbody-bl::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

/* Handle */
.tbody-bl::-webkit-scrollbar-thumb {
    background: white;
    border-radius: 10px;
}

/* Handle on hover */
.tbody-bl::-webkit-scrollbar-thumb:hover {
    background: white;
}

.tbody-bl tr td {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    font-size: 0.7rem;
}

.th-bl-1,
.td-bl-1 {
    width: 8rem !important;
    text-align: center !important;
}

.th-bl-2,
.td-bl-2 {
    width: 10rem !important;
    text-align: center !important;
}

.th-bl-3,
.td-bl-3 {
    width: 10rem !important;
    text-align: center !important;
}

.th-bl-4,
.td-bl-4 {
    width: 12rem !important;
    text-align: center !important;
}

.td-bl-notdata {
    text-align: center !important;
    width: 30rem;
}

.font-td-bl-not-data {
    font-weight: normal;
    font-size: 1rem;
    margin-bottom: 0rem;
    width: 100%;
    margin-top: 5rem;
}

@media screen and (max-width: 1440px) {
    .font-td-bl-not-data {
        margin-top: 3rem;
    }
}

.font-td-bl {
    font-weight: normal;
    font-size: 0.7rem;
    margin-bottom: 0rem;
    width: 100%;
}

#ganttchart {
    width: 100%;
    height: auto;
}

/* Crad machini dibagian ini css nya */
.card-machine {
    width: 100%;
    height: 17.5rem;
    background: var(--bg-gv11-1);
    border-radius: 0.3rem;
    padding: 0.5rem 0.7rem;
}

:-webkit-full-screen .card-machine {
    height: 20.3rem;
}

@media screen and (height: 1080px) {
    .card-machine {
        height: 20.3rem;
    }
}

@media screen and (max-width: 1440px) {
    .card-machine {
        height: 13rem;
    }
}

@media screen and (max-width: 1440px) and (height: 900px) {
    .card-machine {
        height: 15rem;
    }
}

.spn-run {
    width: 0.7rem;
    height: 0.7rem;
    background: #497244;
    margin-right: 0.3rem;
    padding-right: 0.4rem;
    padding-left: 0.3rem;
    margin-top: 0.2rem !important;
}

.spn-idl {
    width: 0.7rem;
    height: 0.7rem;
    background: #eecc1a;
    margin-right: 0.3rem;
    padding-right: 0.4rem;
    padding-left: 0.3rem;
    margin-top: 0.2rem !important;
}

.spn-alr {
    width: 0.7rem;
    height: 0.7rem;
    background: #ef5b53;
    margin-right: 0.3rem;
    padding-right: 0.4rem;
    padding-left: 0.3rem;
    margin-top: 0.2rem !important;
}

.spn-disc {
    width: 0.7rem;
    height: 0.7rem;
    background: #c0c0c0;
    margin-right: 0.3rem;
    padding-right: 0.4rem;
    padding-left: 0.3rem;
    margin-top: 0.2rem !important;
}

.spn-run.r50,
.spn-idl.r50,
.spn-alr.r50,
.spn-disc.r50 {
    border-radius: 50%;
}

@media screen and (max-width: 1440px) {
    .spn-run,
    .spn-idl,
    .spn-alr,
    .spn-disc {
        width: 0.4rem;
        height: 0.5rem;
    }
}

.ft-sts-2 {
    margin-bottom: 0px;
    color: var(--color-ft-sts);
    font-size: 0.7rem;
    line-height: 0.7rem;
    margin-right: 1rem;
    margin-top: 0.2rem !important;
}

.icon-foot-1 {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.3rem;
}

.icon-foot-2 {
    width: 1rem;
    height: 1rem;
    margin-right: 0.3rem;
}

.icon-foot-3 {
    width: 2rem;
    height: 1.2rem;
    margin-right: 0.3rem;
}

.grid-card-mc {
    width: auto;
    display: grid;
    grid-template-areas:
        "mc-1 mc-2 mc-3 mc-4 mc-5 mc-6 mc-7 mc-8 mc-9"
        "mc-10 mc-11 mc-12 mc-13 mc-14 mc-15 mc-16 mc-17 mc-18";
    grid-template-columns: 3.2rem 3.2rem 3.2rem 3.2rem 3.2rem 3.2rem 3.2rem 3.2rem 3.2rem;
    grid-template-rows: 5.5rem 5.5rem;
    grid-gap: 1.2rem;
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
    position: relative;
}

:-webkit-full-screen .grid-card-mc {
    grid-gap: 2.5rem 1.2rem;
    margin-bottom: 1.5rem;
}

@media screen and (height: 1080px) {
    .grid-card-mc {
        grid-gap: 2.5rem 1.2rem;
        margin-bottom: 1.5rem;
    }
}

@media screen and (max-width: 1440px) {
    .grid-card-mc {
        grid-template-columns: 2.7rem 2.7rem 2.7rem 2.7rem 2.7rem 2.7rem 2.7rem 2.7rem 2.7rem;
        grid-template-rows: 3.6rem 3.6rem;
        grid-gap: 0.5rem;
    }
}

@media screen and (max-width: 1440px) and (height: 900px) {
    .grid-card-mc {
        grid-template-columns: 2.9rem 2.9rem 2.9rem 2.9rem 2.9rem 2.9rem 2.9rem 2.9rem 2.9rem;
        grid-template-rows: 4.5rem 4.5rem;
        grid-gap: 0.3rem;
    }
}

.mc-1 {
    grid-area: mc-1;
    /* background: white; */
    padding: 2px 1px;
}

.mc-2 {
    grid-area: mc-2;
    /* background: white; */
    padding: 2px 1px;
}

.mc-3 {
    grid-area: mc-3;
    /* background: white; */
    padding: 2px 1px;
}

.mc-4 {
    grid-area: mc-4;
    /* background: white; */
    padding: 2px 1px;
}

.mc-5 {
    grid-area: mc-5;
    /* background: white; */
    padding: 2px 1px;
}

.mc-6 {
    grid-area: mc-6;
    /* background: white; */
    padding: 2px 1px;
}

.mc-7 {
    grid-area: mc-7;
    /* background: white; */
    padding: 2px 1px;
}

.mc-8 {
    grid-area: mc-8;
    /* background: white; */
    padding: 2px 1px;
}

.mc-9 {
    grid-area: mc-9;
    /* background: white; */
    padding: 2px 1px;
}

.mc-10 {
    grid-area: mc-10;
    /* background: white; */
    padding: 2px 1px;
}

.mc-11 {
    grid-area: mc-11;
    /* background: white; */
    padding: 2px 1px;
}

.mc-12 {
    grid-area: mc-12;
    /* background: white; */
    padding: 2px 1px;
}

.mc-13 {
    grid-area: mc-13;
    /* background: white; */
    padding: 2px 1px;
}

.mc-14 {
    grid-area: mc-14;
    /* background: white; */
    padding: 2px 1px;
}

.mc-15 {
    grid-area: mc-15;
    /* background: white; */
    padding: 2px 1px;
}

.mc-16 {
    grid-area: mc-16;
    /* background: white; */
    padding: 2px 1px;
}

.mc-17 {
    grid-area: mc-17;
    /* background: white; */
    padding: 2px 1px;
}

.mc-18 {
    grid-area: mc-18;
    /* background: white; */
    padding: 2px 1px;
}

.card-mc-running {
    width: 2.9rem;
    text-align: center;
    height: 2.8rem;
    border: 3px solid #4caf50;
    border-radius: 5px;
    background: #388e3c;
}

.card-mc-idle {
    width: 2.9rem;
    text-align: center;
    height: 2.8rem;
    border: 3px solid #fbc02d;
    border-radius: 5px;
    background: #f9a825;
}

.card-mc-alaram {
    width: 2.9rem;
    text-align: center;
    height: 2.8rem;
    border: 3px solid #ef5b53;
    border-radius: 5px;
    background: #c62f27;
}

.card-mc-disconnect {
    width: 2.9rem;
    text-align: center;
    height: 2.8rem;
    border: 3px solid #c0c0c0;
    border-radius: 5px;
    background: #a7a7a7;
}

.card-mc-running .img-mc,
.card-mc-idle .img-mc,
.card-mc-alaram .img-mc,
.card-mc-disconnect .img-mc {
    width: 80%;
    height: 1.9rem;
    margin-top: 0.3rem;
}

.card-mc-running .img-mc-not-1,
.card-mc-idle .img-mc-not-1,
.card-mc-alaram .img-mc-not-1,
.card-mc-disconnect .img-mc-not-1 {
    width: 90%;
    height: 1rem;
    margin-top: 0.1rem;
}

.card-mc-running,
.card-mc-idle,
.card-mc-alaram,
.card-mc-disconnect {
    cursor: pointer;
    position: relative;
}

/* Style text tooltip */
.tooltipText {
    background-color: white;
    color: black;
    position: absolute;
    bottom: 2rem;
    left: -0.5rem;
    width: auto;
    padding: 5px 5px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    transition: all 0.5s;
    white-space: nowrap;
}

/* Hover text tooltip */
.card-mc-running:hover .tooltipText,
.card-mc-idle:hover .tooltipText,
.card-mc-alaram:hover .tooltipText,
.card-mc-disconnect:hover .tooltipText {
    opacity: 1;
    transform: translateY(-10px);
    z-index: 1;
}

/*  Membuat dan style tip*/
.tooltipText::after {
    content: "";
    border-top: solid 10px white;
    border-left: solid 10px transparent;
    border-right: solid 10px transparent;
    position: absolute;
    top: 1.7rem;
    left: 30%;
    margin-left: 5%;
}

.fw-mc-not {
    color: white;
    margin: 0px;
    font-size: 0.5rem;
}

.fw-mc-not-dis {
    color: #8b8b8b;
    margin: 0px;
    font-size: 0.5rem;
}

.mc-warning {
    position: relative;
    width: 100%;
    height: 100%;
}

.mc-warning .img-mc {
    opacity: 0.3;
}

.img-mc-warning-1 {
    position: absolute;
    z-index: 1;
    width: 1.5rem;
    top: 0.4rem;
    left: 0.6rem;
}

.blink {
    animation: blinker 1s cubic-bezier(0.5, 0, 1, 1) infinite alternate;
}

@keyframes blinker {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.rel-mc {
    position: relative;
}

.rel-atas {
    position: absolute;
    width: 34rem;
    height: 1rem;
    top: 3.1rem;
    left: 1.5rem;
    border: 0.1px solid #ff4040;
    border-right: none;
    border-bottom-left-radius: 0.5rem;
    border-top-left-radius: 0.5rem;
}

.rel-bawah {
    position: absolute;
    width: 34rem;
    height: 1rem;
    top: 11.5rem;
    left: 1.5rem;
    border: 0.1px solid #ff4040;
    border-right: none;
    border-bottom-left-radius: 0.5rem;
    border-top-left-radius: 0.5rem;
}

.rel-atas .kereta,
.rel-bawah .kereta {
    width: 0.7rem;
    height: 0.7rem;
    position: absolute;
    top: 0.1rem;
    left: 3.5rem;
}

.name-macine {
    width: 100%;
    margin-bottom: 0rem;
    color: white;
    font-size: 0.7rem;
    text-align: center;
}

.name-macine.ipc {
    display: none;
}

@media screen and (max-width: 1440px) {
    .name-macine {
        display: none;
    }

    .name-macine.ipc {
        display: block;
    }
}

.name-macine-2 {
    width: 100%;
    margin-bottom: 0rem;
    color: white;
    font-size: 0.7rem;
    text-align: center;
    white-space: nowrap;
}

.name-macine-3 {
    width: 100%;
    margin-bottom: 0rem;
    color: white;
    font-size: 0.6rem;
    text-align: center;
    white-space: nowrap;
    position: absolute;
    left: -0.5rem;
}

.gantt-chart {
    width: 100%;
    height: 5.2rem;
    background: transparent;
    padding: 0.5rem;
}

@media screen and (max-width: 1440px) {
    .gantt-chart {
        padding: 0.2rem;
        height: 4.5rem;
    }
}

@media screen and (max-width: 1440px) and (height: 900px) {
    .gantt-chart {
        padding: 0.2rem;
        height: 5.2rem;
    }
}

.axis path,
.axis line {
    fill: none;
    stroke: var(--colo-stroke-gantt);
    shape-rendering: crispEdges;
}

.tick text {
    fill: var(--colo-stroke-gantt);
    font-size: 0.8rem;
}

.tick .domain {
    stroke: var(--colo-stroke-gantt);
}

.running-gc {
    fill: #52834b;
}

.idle-gc {
    fill: #eecc1a;
}

.alarm-gc {
    fill: #ef5b53;
}

.disconnect-gc {
    fill: #c0c0c0;
}

.p-rela {
    width: 100%;
    position: relative;
}

/* width */
.highcharts-scrolling::-webkit-scrollbar {
    width: 20px;
    height: 5px;
    cursor: pointer;
}

/* Track */
.highcharts-scrolling::-webkit-scrollbar-track {
    background: white;
    border-radius: 10px;
    cursor: pointer;
}

/* Handle */
.highcharts-scrolling::-webkit-scrollbar-thumb {
    background: var(--color-scroll-chart);
    border-radius: 10px;
    cursor: pointer;
}

/* Handle on hover */
.highcharts-scrolling::-webkit-scrollbar-thumb:hover {
    background: var(--color-scroll-chart);
    cursor: pointer;
}

.carousel-control-next {
    right: -3.5rem;
}

.carousel-control-prev {
    left: -3.5rem;
}

@media screen and (max-width: 1440px) {
    .carousel-control-next,
    .carousel-control-prev {
        display: none;
    }
}

.btn-drpdown {
    border: 1px solid var(--brd-dropdown);
    color: var(--color-dropdown);
    font-size: 0.9rem;
    padding: 0.2rem 2rem;
    background: var(--bg-select-costum);
}

.btn-drpdown:hover {
    background: var(--bg-select-costum);
    color: var(--color-dropdown);
}

.dropdown-menu.show {
    border: 1px solid var(--brd-dropdown);
    background: var(--bg-dropdown);
    padding: 0.5rem 1rem;
}

.costum-form {
    background: var(--bg-view-grid);
    border: 1px solid var(--bg-view-grid);
    color: var(--color-form-input-costum);
    text-align: left;
    margin-bottom: 0.5rem;
}

.costum-form:focus,
.costum-form:hover {
    cursor: pointer;
    background: var(--bg-hover-form-costum);
    border: 1px solid var(--bg-hover-form-costum);
    color: var(--color-costum-form);
}

@media screen and (max-width: 1440px) {
    .fw-judul-2.bdf {
        font-size: 0.7rem;
    }
}

/* .modal-header,
.modal-body,
.modal-footer{
    background: var(--bg-view-grid);
} */

/* .modal-title, */
.btn-close {
    color: #ffffff;
}

.modal-gantt {
    max-width: 50%;
}

.show-gantt {
    display: block;
}

.btn-gantt {
    display: none;
}

@media screen and (max-width: 1440px) {
    .show-gantt {
        display: block;
    }

    .btn-gantt {
        width: 100%;
        background: transparent;
        border: 1px solid #ffffff;
        text-align: center;
        color: #ffffff;
        display: block;
        margin-top: 0.7rem;
        display: none;
    }

    .btn-gantt:hover,
    .btn-gantt:focus {
        background: #ffffff;
        color: var(--bg-view-grid);
    }
}

/* date-picker costum */
.datepicker-top-left::before,
.datepicker-top-left::after,
.datepicker-top-right::before,
.datepicker-top-right::after {
    display: none;
}

.datepicker-top-left,
.datepicker-top-right {
    border-top-color: transparent !important;
}

.datepicker-dropdown {
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    -webkit-box-shadow: 0 3px 6px transparent;
    box-shadow: 0 3px 6px transparent;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    position: absolute;
    z-index: 1;

    top: 20%;
    left: 43%;
}

.datepicker-panel > ul {
    width: 100%;
}

.datepicker-panel > ul > li[data-view="month prev"],
.datepicker-panel > ul > li[data-view="month next"],
.datepicker-panel > ul > li[data-view="year prev"],
.datepicker-panel > ul > li[data-view="year next"],
.datepicker-panel > ul > li[data-view="years prev"],
.datepicker-panel > ul > li[data-view="years next"] {
    width: 20%;
}

.datepicker-panel > ul > li[data-view="month current"],
.datepicker-panel > ul > li[data-view="year current"],
.datepicker-panel > ul > li[data-view="years current"] {
    width: 60%;
    padding: 1rem 0rem;
}

.datepicker-panel > ul > li[data-view="years prev"],
.datepicker-panel > ul > li[data-view="year prev"],
.datepicker-panel > ul > li[data-view="month prev"],
.datepicker-panel > ul > li[data-view="years next"],
.datepicker-panel > ul > li[data-view="year next"],
.datepicker-panel > ul > li[data-view="month next"],
.datepicker-panel > ul > li[data-view="next"] {
    font-size: 2.5rem;
}

.datepicker-panel > ul > li[data-view="years current"],
.datepicker-panel > ul > li[data-view="year current"],
.datepicker-panel > ul > li[data-view="month current"] {
    font-size: 1.5rem;
}

.datepicker-container {
    width: 25rem;
    padding: 1rem;
}

.datepicker-panel > ul {
    font-size: 1.5rem;
}

.datepicker-panel > ul > li {
    width: 3.5rem;
    height: 4rem;
}

.datepicker-panel > ul > li[data-view="day"],
.datepicker-panel > ul > li[data-view="day picked"],
.datepicker-panel > ul > li[data-view="day prev"],
.datepicker-panel > ul > li[data-view="day next"],
.datepicker-panel > ul > li[data-view="day"],
.datepicker-panel > ul > li[data-view="month picked"],
.datepicker-panel > ul > li[data-view="month prev"],
.datepicker-panel > ul > li[data-view="month next"],
.datepicker-panel > ul > li[data-view="month"],
.datepicker-panel > ul > li[data-view="year picked"],
.datepicker-panel > ul > li[data-view="year prev"],
.datepicker-panel > ul > li[data-view="year next"],
.datepicker-panel > ul > li[data-view="year"] {
    padding: 1rem 0rem;
}

.datepicker-panel > ul[data-view="years"] > li,
.datepicker-panel > ul[data-view="months"] > li {
    width: 6rem;
    height: 6.5rem;
    line-height: 4rem;
}

.HC-DT {
    width: 0.2rem;
    height: 0.2rem;
    background: #e53935;
}

.HC-DC {
    width: 0.2rem;
    height: 0.2rem;
    background: #e59e12;
}

.HC-MC {
    width: 0.2rem;
    height: 0.2rem;
    background: #9e9d24;
}

.HC-FG {
    width: 0.2rem;
    height: 0.2rem;
    background-color: #43b647;
}

.HC-T {
    width: 0.2rem;
    height: 0.2rem;
    background: #98a1d5;
    font-size: 0.2rem;
}

.form-color {
    width: 100%;
    height: 2rem;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background: none;
    border: 0;
    cursor: pointer;
}

.form-color::-webkit-color-swatch {
    border: 1 solid #ffffff;
}

.form-color::-moz-color-swatch {
    border-radius: 50%;
    border: 1 solid #ffffff;
}

.btn-set {
    color: #c7c7c7;
    font-size: 1.1rem;
    margin-right: 0.6rem;
    margin-top: 0.2rem;
    cursor: pointer;
}

.btn-set:hover {
    color: #ffffff;
}

.btn-save {
    background: #495058;
    border: 1px solid #495058;
    color: #ffffff;
}

.btn-save:hover {
    background: #ffffff;
    color: #495058;
}

.btn-cancel {
    background: #9c9c9c;
    border: 1px solid #9c9c9c;
    color: #ffffff;
}

.btn-cancel:hover {
    background: #ffffff;
    color: #9c9c9c;
}

.modal-header {
    text-align: center;
    background: #495058;
    color: #ffffff;
    justify-content: center;
}

.form-costum,
.form-costum:focus {
    border: 1px solid #495058;
    background: #ffffff;
    color: #495058;
}

.text-not-satrt {
    width: 100%;
    margin-left: 0.5rem;
    font-size: 0.8rem;
    color: #ffffff;
    /* font-weight: bold; */
    margin-bottom: 0rem;
    margin-top: 0rem;
}

.text-not-satrt[data-status="st1"] {
    color: #4caf50;
}

.text-not-satrt[data-status="st2"] {
    color: #ed1c24;
}

.text-note-sat {
    font-size: 1rem;
    color: #ffffff;
    margin-right: 0rem;
    margin-bottom: 0rem;
}
