@font-face {
    font-family: "Font Kanit";
    src: url(font/Kanit/Kanit-Regular.ttf);
}

@font-face {
    font-family: "Font Kanit Bold";
    src: url(font/Kanit/Kanit-Bold.ttf);
}

:root {
    --bg-body: #1D2120;
    --color-footer:white;
    --var-bg-form-date-range:#3C3C3C;
    --color-bg-date-range:white;
    --bg-card-calendar: #2F3231;
}
    
[data-theme="dark"] {
    --bg-body: #F4F4F2;
    --color-footer:#322E34;
    --var-bg-form-date-range:#3C3C3C;
    --color-bg-date-range:white;
    --bg-card-calendar: #2F3231;
}

body{
    overflow-y: hidden;
    overflow-x: hidden;
	background:  var(--bg-body);
    font-family: 'Font Kanit' !important;
}

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

.content {
    width: 100%;
    padding: 0px;
    min-height: 100vh;
    transition: all 0.3s;
}

a{
    text-decoration: none !important;
}

.btn:focus,
.btn:active {
    outline: none !important;
    box-shadow: none;
 }

.footer{
    position: absolute;
    right: 1.5rem;
    bottom: 0.5rem;
    margin-bottom: 0rem;
    color: var(--color-footer);
    font-size: 0.8rem;
}

.icon-footer{
    fill: var(--color-footer);
}

section{
    width: 100%;
    padding: 0.5rem;
    min-height: 94vh;
}

.status{
    width: 100%;
    padding: 0.1rem 0.2rem;
    text-align: center;
    font-style: italic;
    border-radius: 0.2rem;
}

/* status color */
.alarm{
    background: #ED1C24;
    color: #FFFFFF;
    -webkit-animation: alarm 0.6s infinite alternate;
	animation: alarm 0.6s infinite alternate;
}

.running{
    background: #4CAF50 !important;
    color: #FFFFFF !important;
}

.idle{
    background: #FFFF01 !important;
    color: #000000 !important;
}

.default{
    background: #FFD7B1;
    color: #000000;
}

.box-alarm{
    width: 1rem;
    height: 1rem;
    background: #ED1C24;
    margin-right: 0.3rem;
}

.box-running{
    width: 1rem;
    height: 1rem;
    background: #4CAF50;
    margin-right: 0.3rem;
}

.box-idle{
    width: 1rem;
    height: 1rem;
    background: #FFFF01;
    margin-right: 0.3rem;
}

.box-disconnect{
    width: 1rem;
    height: 1rem;
    background: #C0C0C0;
    margin-right: 0.3rem;
}

.st-circle{
    border-radius: 50%;
}


/* Animasi Blink */
@-webkit-keyframes alarm {
	0% { 
        background-color: #ED1C24; 
        border: 1px solid #ED1C24;
    }
	100% { 
        background-color: #ED1C2448;
        border: 1px solid #ED1C2448;
    }
}
@keyframes alarm {
	0% { 
        background-color: #ED1C24; 
        border: 1px solid #ED1C24;
    }
	100% { 
        background-color: #ED1C2448;
        border: 1px solid #ED1C2448;
    }
}

.jdl{
    color: #FFFFFF;
    font-family: "Font Kanit";
}

.card-judul{
    color: #C7C7C7;
    font-family: "Font Kanit Bold";
    font-size: 1.1rem;
    margin: 0rem;
}

@media screen and (height: 720px){
    .card-judul{
        font-size: 0.8rem;
    }
}

.btn-target-chart{
    width: auto;
    background: transparent;
    padding: 0.1rem 0.8rem;
    border-radius: 0.2rem;
    border: 1px solid #8E8E8E;
    color: #8E8E8E;
}

.btn-target-chart i{
    margin-right: 0.5rem;
}

.btn-target-chart:hover{
    background: #8E8E8E !important;
    color: #2F3231 !important;
}

.font-st{
    color: #FFFFFF;
    font-size: 0.8rem;
    margin-right: 1rem;
}

.icon-warning{
    content: url('icon/icon-warning.svg');
    width: 1rem;
    height: 1rem;
    margin-right: 0.3rem;
}

.icon-failur{
    content: url('icon/icon-failur.svg');
    width: 1rem;
    height: 1rem;
    margin-right: 0.3rem;
}

/* color status gantt */
.axis path,
.axis line {
    fill: none;
    stroke:white;
    shape-rendering: crispEdges;
}

.tick text{
    fill: white;
}

.tick .domain{
    stroke: white;
}

.running-gc {
    fill: #4CAF50;
 }
 
 .idle-gc    {
    fill: #FFFF01;
 }
 
 .alarm-gc   {
    fill: #ED1C24;
 }
 
 .disconnect-gc {
    fill: #C0C0C0;
 }

 .blink {
    animation: blinker 1s cubic-bezier(.5, 0, 1, 1) infinite alternate;  
}

@keyframes blinker{  
    from { opacity: 1; }
    to { opacity: 0; }
}

.setting-chart,
.change-chart{
    padding: 0.1rem 0.3rem;
    border-radius: 5px;
    border: 1px solid #4A4A4A;
    color: #C7C7C7;
    margin-right: 0.4rem;
    background: transparent;
}

@media screen and (height: 720px){
    .setting-chart,
    .change-chart{
        padding: 0rem 0.3rem;
        font-size: 0.6rem;
        line-height: 1.1rem;
    }
}

.setting-chart:hover,
.change-chart:hover{
    background: #C7C7C7;
    color: #2F3231;
}

.text-foot{
    color: #FFFFFF;
    font-size: 0.7rem;
}

.carousel-control-next-icon, 
.carousel-control-prev-icon{
    display: none;
}