
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Ubuntu',sans-serif;
}
:root{
    --blue: #287bff;
    --blue2: #1E90FF;
    --white: #fff;
    --grey:#f5f5f5;
    --black1: #222;
    --black2:#999;
    --lebarnav:200px;
    --tinggitop:40px;
    --lebnavact:60px;
    --wbutton :#5cdb95;
}
/*@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";*/
/*body {
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
}
*/
.boxLogin{
    position:absolute;
    color:#fff;
    background:rgba(0,0,0,0.13);
    padding:30px;
    width:300px;
    height:350px;
    top:calc(50vh - 175px);
    left:calc(50vw - 150px);
    overflow:hidden;
    border-radius: 40px;
    box-shadow: 0 7px 25px rgba(0,0,0,0.08);
}
.boxLogin h3{
    text-align:center;
    margin-top: 0;
}
.boxLogin input{
    display:block;
    width:-webkit-fill-available;
    margin:20px 0;
    padding:15px 20px;
    background:rgba(0,0,0,0.2);
    color:#fff;
    border:0;
    border-radius: 20px;
}
.boxLogin label{
    position: relative;
    border:0;
    color:#fff;
    width:-webkit-fill-available;
    margin:20px 0;
}
.boxLogin input:focus,
.boxLogin input:active,
.boxLogin button:focus,
.boxLogin button:active{
    outline:none;
}
.boxLogin button{
    background:#742ECC;
    border:0;
    color:#fff;
    padding:10px;
    font-size:20px;
    width:-webkit-fill-available;
    display:block;
    cursor:pointer;
    border-radius: 20px;
    margin-bottom: 20px;
}
.boxLogin button:active{
    background:#27ae60;
}
.sembunyi {
    display: none;
} 

/* -------------
    topbar
--------------*/

.topbar{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: var(--tinggitop);
    background: var(--black1);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    z-index: 1;
}
.toggle
{
    position: relative;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5em;
    cursor: pointer;
}
.user
{
    cursor: pointer;
}
.menulogout
{
    position: absolute;
    top: 10px;
    right:5px;
    z-index: 1; 
    padding: 10px;
    background-color: var(--blue2);
    transition: 0.5s;
    border-radius: 10px;
    display: none;
}
.menulogout.active
{
    display: block;
}
.menulogout ul
{
    list-style: none;
}
.menulogout ul li
{
    padding: 10px 30px;
    border-bottom: 1px solid var(--black2);
    color: white;
    background-color: var(--blue2);
    cursor: pointer;
    font-size: 14px;
    transition: 0.5s;
    border-radius: 5px;
}
.menulogout ul li:hover a,
.menulogout ul li:hover 
{
    color: var(--blue2) ;
    background-color: white;
}
.menulogout ul li a
{
    text-decoration: none;
    color: var(--white);
    transition: 0.5s;
}

/* -------------
    SIDE BAR
--------------*/
.sidebar{
    position: fixed;
    top:var(--tinggitop);
    left: 0;
    height: 100%;
    width: var(--lebarnav);
    background: var(--blue);
    border-left: 10px solid var(--blue);
    transition: 0.5s;
    /*overflow: hidden;*/
    overflow-x: auto;
}
.sidebar.active
{
    width: var(--lebnavact);
}

.sidebar ul
{
    /*position: absolute;*/
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
}

.sidebar ul li
{
    position: relative;
    width: 100%;
    list-style: none;
    border-top-left-radius: 25px; /*30px*/
    border-bottom-left-radius: 25px; /*30px*/
}
.sidebar ul li:nth-child(1)
{
    margin-top: 10px; /*25px*/
}

.sidebar ul li a
{
    position: relative;
    width: 100%;
    display:flex;
    text-decoration:none;
    color: var(--white);
}

.sidebar ul li a .icon
{
    position: relative;
    display: block;
    min-width: 45px; /*60px*/
    height: 45px; /*60px*/
    line-height: 55px; /*70px*/
    text-align: center;
}
#fdxSubmenu li a .icon
{
    position: relative;
    display: block;
    min-width: 25px; /*30px*/
    height: 25px; /*30px*/
    line-height: 30px; /*35px*/
    text-align: center;
    padding-left: 10px;
}
#fdxSubmenu li a .icon ion-icon
{
    font-size: 0.75em; /*1em*/
}
.sidebar ul li a .icon ion-icon
{
    font-size: 1.5em; /*1.75em*/
}
.sidebar ul li a .title
{
    position: relative;
    display: block;
    padding: 0 10px; /* 0 10px*/
    height: 45px; /*60px*/
    line-height: 45px; /*60px*/
    text-align: start;
    white-space: nowrap;
}
#fdxSubmenu li a .title
{
    position: relative;
    display: block;
    padding: 0 5px; /* 0 10px*/
    height: 25px; /*30px*/
    line-height: 25px; /*30px*/
    text-align: start;
    white-space: nowrap;
    padding-left: 25px; /*30px*/
}
.sidebar ul li:hover,
.sidebar ul li.hovered
{
    background: var(--white);
}
.sidebar ul li:hover a,
.sidebar ul li.hovered a
{
    color: var(--blue);
}
/*.sidebar ul li:hover a::before,
.sidebar ul li.hovered a::before
{
    content: '';
    position: absolute;
    right: 0;
    top: -50px;
    width: 50px;
    height: 50px;
    background: transparent;
    border-radius: 50%;
    box-shadow: 35px 35px 0 10px var(--white);
    pointer-events: none;
}*/
/*.sidebar ul li:hover a::after,
.sidebar ul li.hovered a::after
{
    content: '';
    position: absolute;
    right: 0;
    bottom: -50px;
    width: 50px;
    height: 50px;
    background: transparent;
    border-radius: 50%;
    box-shadow: 35px -35px 0 10px var(--white);
    pointer-events: none;
}*/
.bawah ion-icon
{
    display: block;
    padding: 0 10px;
    height: 50px; /*60px*/
    line-height: 50px; /*60px*/
    text-align: start;
    white-space: nowrap;
}
#fdxSubmenu
{

    display: none;
}
#fdxSubmenu.active
{
    display: block;
    background-color: var(--blue);
}

#fdxSubmenu li:nth-child(1)
{
    margin-top: 0;
}
#fdxSubmenu li a 
{
    position: relative;
    /*display: block;*/
    padding: 0 10px;
    /*padding-left: 70px;*/
    height: 25px; /*30px*/
    line-height: 25px; /*30px*/
    text-align: start;
    white-space: nowrap;
    color: var(--white);
}
#fdxSubmenu.active li a:hover
{
    color: var(--blue);
}
#menu-fdx a
{
    cursor: pointer;
}
/* -------------
    CONTENT
--------------*/
.content{
    position: fixed;
    left: var(--lebarnav);
    top: var(--tinggitop);
    width: calc(100vw - var(--lebarnav));
    height: calc(100vh - var(--tinggitop));
    transition: 0.5s;
    padding: 10px;
    padding-top: 0;
    overflow: auto;
}
.content.active
{
    width: calc(100% - var(--lebnavact));
    left: var(--lebnavact);
}

.cardBox
{
    position: relative;
    width: initial;
    padding: 0.35em;  
    font-size: 12px;
    background: var(--white);
    box-shadow: 0 7px 25px rgba(0,0,0,0.08);
    border-radius: 20px;
    margin-top: 10px;
}
.judulCard
{
    background-color: #45e19e;
    border-bottom: 1px solid rgba(0,0,0,0.4);
    color: #4a4a4a;
    display: flex;
    margin: -0.35em -0.35em 0 -0.35em;
    padding: 5px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    justify-content: center;
    box-shadow: 0 7px 25px rgba(0,0,0,0.08);
}
.grid11
{
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(11,1fr);
}
.grid10
{
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(10,1fr);
}
.grid9
{
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(9,1fr);
}
.grid8
{
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(8,1fr);
}
.grid7
{
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(7,1fr);
}
.grid6
{
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(6,1fr);
}
.grid4
{
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(4,1fr); 
}
.grid5
{
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(5,1fr); 
}
.grid2
{
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(2,1fr);
}
.disflex
{
    display: inline-flex;
    justify-content: center;
    width: -moz-available;
}


.cardBox button
{
    border:1px solid var(--white);
    font-size: 1.25em;
    /*font-weight: 500;*/
    padding: 5px;
    border-radius: 1.25em;
    background: var(--wbutton);
    color: var(--white);
    cursor: pointer;
    transition: 0.5s;
    min-width: 150px;
    height: 2em;
    align-self:  center;
    margin: 0 0.35em 0 0.35em;
}
.labelupload
{
    border:1px solid var(--wbutton);
    padding-left: 8px;
    border-radius: 10px;
    transition: 0.5s;
}

.cardBox button:hover
/*.cardBox button:focus*/
{
    background: var(--white);
    color: var(--blue2);
    border:1px solid var(--blue2);
}
input[type="date"],
input#bulan,
.cardBox select
{
    width: 100%;
    border:1px solid var(--wbutton);
    font-size: 12px;
    padding: 5px ;
    padding-left: 8px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.5s;
    height: fit-content;
    align-self: center;
}
input[type="file"]
{
    display: none;
}
::-webkit-calendar-picker-indicator
{
    background-color: var(--wbutton);
    color: var(--white);
    cursor: pointer;
    height: 10px;
    width: 10px;
    /*border-radius: 3px;*/
}
.inputRadio
{
    display: none;
}
.labelRadio
{
    position: relative;
    color: var(--wbutton);
    font-size: 12px;
    border:1px solid var(--wbutton);
    border-radius: 20px;
    padding: 5px;
    display: flex;
    align-items: center;
    cursor: pointer;
    height: fit-content;
    align-self: center;
}
.labelRadio::before
{
    content: "";
    height: 13px;
    width: 13px;
    border:1px  solid var(--wbutton);
    border-radius: 50%;
    margin-right: 10px;
}
.inputRadio:checked + .labelRadio
{
    background-color: var(--wbutton);
    color: var(--white);
}
.inputRadio:checked + .labelRadio::before
{
    width: 4px;
    height: 4px;
    border:5px solid white;
    background-color: var(--wbutton);
}
.cardBox input[type="checkbox"]
{
    appearance : none;
    -webkit-appearance : none;
    height: 15px;
    width: 15px;
    background-color: #d5d5d5;
    border-radius: 50%;
    cursor: pointer;
    /*display: flex;*/
    align-items: center;
    justify-content: center;
    outline: none;
    margin-right: 5px;
}
.cardBox label
{
    color: var(--black2);
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}
.cardBox input[type="checkbox"]:checked
{
    background-color: var(--white);
    border:4px solid var(--wbutton);
}
.cardTabel
{
    overflow-y: auto;
}
.divsukses
{
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    position: relative;
    padding: 10px;
    margin-bottom: 5px;
    border: 1px solid transparent;
    border-radius: 5px;
    
}
/* ---------------------------------------------------
     GRAPHIC
----------------------------------------------------- */

.divGraphBox
{
    max-width: 100%;
    box-sizing: border-box;
    background: #fff;
    transition: 0.3s;
}
.divGraphBox.baris
{
    max-height: calc(100vh - 210px);
    display: grid;
    grid-template-rows: 4fr 1fr;
    grid-gap: 10px;
}
.divBaris1
{
    display: grid;
    grid-template-columns: 4fr 1fr;
    grid-gap: 10px;
}
.divBaris1.tanpa,
.divBaris1.baris
{
    display: flex;
    transition: 0.3s;
}
.divKolom1
{
    position: relative;
    max-height:-webkit-fill-available;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    background: var(--white);
    box-shadow: 0 7px 25px rgba(0,0,0,0.08);
    border-radius: 20px;
    margin-top: 10px;
    display: grid;
    transition: 0.08;   
}
.divKolom1.tanpa
{
    display: flex;
}
.divKolom2
{
    position: relative;
    max-width: 100%;
    width: 10px;
    height: 10px;
    padding: 20px;
    box-sizing: border-box;
    background: var(white);
    box-shadow: 0 7px 25px rgba(0,0,0,0.08);
    border-radius: 20px;
    margin-top: 10px;
    display: grid;  
}
.divKolom2.kolom
{
    height: auto;
    width: 100%;
    transition: 0.05s;
}
.divKolom2.tanpa,
.divBaris2.tanpa,
.divBaris2.kolom,
.divKolom2.baris
{
    display: none;
}
.tabelChart
{
    width: 100%;
    color: var(--black2);
    border-collapse: collapse;
    font-size: 12px;
    padding: 5px;
}
table
{
    width: 100%;
    color: var(--black1);
    border-collapse: collapse;
    padding: 5px;
}

.tabelChart thead tr
{
    text-align: end;
    font-weight: 600;
}
table thead tr
{
    font-weight: 600;
    background-color: var(--black2);
    color: var(--white);
}
table thead th
{
    padding: 5px;
}
.tabelChart tr td
{
    padding: 10px;
}
table tr td
{
    padding: 5px;
}
table tr td img
{
    width: 20px;
    height: 20px;
    align-content: center;
}
.tabelChart tr td:nth-child(2),
.tabelChart tr td:nth-child(3),
.tabelChart tr td:nth-child(4)
{
    text-align: end;
}
.tabelChart tr
{
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: 0.5s;
}
table tr
{
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.tabelChart tr:last-child
{
    border-bottom: none;
}
.tabelChart tbody tr:hover
{
    background: var(--wbutton);
    color: var(--white);
}
table tbody tr:hover
{
    background: var(--wbutton);
    color: var(--white);
}

#judul-panel
{
    text-align: center;
    padding: 5px;
    color: var(--black2);
}
.divBaris2
{
    position: relative;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    background: var(--white);
    box-shadow: 0 7px 25px rgba(0,0,0,0.08);
    border-radius: 20px;
    margin-top: 10px;
    transition: 0.3s;
}
.divKolom1  canvas
{
    position: relative;
    max-width: 100%;
    max-height: calc(100vh - 210px);
    box-sizing: border-box;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
.divKolom1.baris canvas
{
    display: flex;

}
/* ---------------------------------------------------
    UMUM - LAIN LAIN
----------------------------------------------------- */

.fullscreenku {
    display: block;
    z-index: 9999;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    overflow: auto;
}
.kanan {
    position: absolute;
    padding-right: 60px;
    color: #999;
    right: 0;
 } 

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 1170px)
{
    .divBaris1
    {
        grid-template-columns: 1fr;
    }
    .navigation
    {
        width: var(--lebnavact);
    }
    .navigation.active
    {
        width: 0;
    }
    .mainx
    {
        width: calc(100% - var(--lebnavact));
        left: var(--lebnavact);
    }
    .mainx.active
    {
        width: 100%;
        left: 10px;
    }
    .card-group
    {
        grid-template-columns: repeat(3,1fr);   
    }
}
@media (max-width: 1080px)
{   
    .tabelChart tr td
    {
        font-size: 9px;
        padding-top: 10px;
        padding-left: auto;
    }

}
@media (max-width: 1033px)
{
    .fdxSubmenu ul
    {
        display: -webkit-inline-box;
    }
    .fdxSubmenu ul
    {
        display: grid;
        grid-template-columns: repeat(4,1fr);
    }
    /*.grid11
    {
        grid-template-columns: repeat(6,1fr);
    }
    .grid6
    {
        grid-template-columns: repeat(4,1fr);   
    }*/
}
@media (max-width: 960px)
{
    .grid11
    {
        grid-template-columns: repeat(6,1fr);
    }
    .grid6
    {
        grid-template-columns: repeat(4,1fr);   
    }
    .tabelChart tr td
    {
        font-size: 8px;
        padding-top: 10px;
        padding-left: auto;

    }
}

@media (max-width: 860px)
{
    .tabelChart tr td
    {
        padding-left: 0;
    }
}
@media (max-width: 757px)
{
    .fdxSubmenu ul
    {
        display: grid;
        grid-template-columns: repeat(3,1fr);
    }
    .grid11
    {
        grid-template-columns: repeat(4,1fr);
    }
    .grid6
    {
        grid-template-columns: repeat(3,1fr);   
    }
}
@media (max-width: 622px)
{
    .imgkf.kiri
    {
        position: relative;
        align-items: center;
    }
    .fdxSubmenu ul
    {
        display: grid;
        grid-template-columns: repeat(2,1fr);
    }
    .grid11
    {
        grid-template-columns: repeat(4,1fr);
    }
    .grid6
    {
        grid-template-columns: repeat(2,1fr);   
    }
}
@media (max-width: 540px)
{
    .grid4
    {
        grid-template-columns: repeat(2,1fr);   
    }
}
@media (max-width: 491px)
{
    .fdxSubmenu ul
    {
        display: grid;
        grid-template-columns: repeat(1,1fr);
    }


}
@media (max-width: 480px)
{
    .grid11
    {
        grid-template-columns: repeat(3,1fr);
    }

}

@media (max-width: 380px)
{
    .grid11
    {
        grid-template-columns: repeat(2,1fr);
    }
    .grid6
    {
        grid-template-columns: repeat(1,1fr);   
    }
    .grid4
    {
        grid-template-columns: repeat(1,1fr);   
    }
    .grid2
    {
        grid-template-columns: repeat(1,1fr);   
    }
    
}
