@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);
}

@font-face {
    font-family: "Font Kanit Italic";
    src: url(font/Kanit/Kanit-Italic.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-full{
    width: 1rem;
    height: 1rem;
    background: #D40202;
    margin-right: 0.3rem;
}

.box-normal{
    width: 1rem;
    height: 1rem;
    background: #01D555;
    margin-right: 0.3rem;
}

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

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

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


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

.jdl{
    color: #C7C7C7;
    font-family: "Font Kanit";
    margin: 0rem;
}

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

.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: #B7B7B7;
 }

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

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

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

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

.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 !important;
    color: #495058 !important;
    border: 1px solid #495058 !important;
}

.btn-cancel{
    background: #9C9C9C;
    border: 1px solid #9C9C9C;
    color: #FFFFFF;
}

.btn-cancel:hover{
    background: #FFFFFF !important;
    color: #9C9C9C !important;
    border: 1px solid #9C9C9C !important;
}

.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;
    box-shadow: none;
}

.form-control,
.form-control:focus{
    border: 1px solid #495058;
    background: #FFFFFF;
    color: #495058;
    box-shadow: none;
}

.input-group-text{
    background: #495058;
    color: #FFFFFF;
}

.dropdown-menu.show {
    border: 1px solid #8e8e8e;
    background: #2f3231;
    padding: 0.5rem 1rem;
}