@font-face {
    font-family: 'firamono';
    src: url('fonts/Fira_Mono/FiraMono-Regular.ttf');
}

@keyframes fireworks {
    0% { color: black; }
    20% { color: blue; }
    40% { color: red; }
    60% { color: orange; }
    80% { color: green; }
    100% { color: black; }
}

.fireworks {
    animation: fireworks 5s infinite;
}

@keyframes blink_red {
    0% { color: black; }
    50% { color: red; }
}

.blink_red {
    animation: blink_red 1s infinite;
}

@keyframes blink_green {
    0% { color: black; }
    50% { color: green; }
}

.blink_green {
    animation: blink_green 1s infinite;
}

/* rewrite font size from _reboot.scss */
body {
    font-size: 0.9rem;
    font-weight: 400;
}

.sidebar-collapse .small-logo{
    display:block;
}

.sidebar-collapse .big-logo{
    display:none;
}

.sidebar-open .small-logo{
    display:none;
}

.sidebar-open .big-logo{
    display:block;
}

.sidebar-light-primary{
    background-color: #007bff;
    background-color: #00a6ff; /*alternatif warna*/
}

.sidebar-light-primary .nav-sidebar > .nav-item > .nav-link.active,
.sidebar-light-primary .nav-sidebar > .nav-item > .nav-link:focus{
    color: #007bff;
    color: #00a6ff; /*alternatif warna*/
    background-color: #ffffff;
}
.sidebar-light-primary .nav-sidebar > .nav-item.menu-open > .nav-link, 
.sidebar-light-primary .nav-sidebar > .nav-item:hover > .nav-link{
    color: #007bff;
    color: #00a6ff; /*alternatif warna*/
}

.sidebar-light-primary .nav-treeview > .nav-item > .nav-link.active{
    background-color:#ffffff;
    box-shadow:0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    
}

.sidebar-light-primary .nav-treeview > .nav-item > .nav-link.active, 
.sidebar-light-primary .nav-treeview > .nav-item > .nav-link.active:hover{
    color: #007bff;
    color: #00a6ff; /*alternatif warna*/
}

.sidebar-open .nav-treeview {
    margin-left: 15px;
}

.nav-sidebar > .nav-item .nav-icon{
    width:2.4rem;
}
.nav-sidebar .nav-treeview > .nav-item > .nav-link > .nav-icon{
    width:2.4rem;
}

.sidebar-light-primary .sidebar a{
    color: #eaf0f5;
}

.sidebar-light-primary .nav-treeview > .nav-item > .nav-link{
    color: #eaf0f5;
}

.sidebar-light-primary .nav-treeview > .nav-item > .nav-link:hover{
    color: #007bff;
    color: #00a6ff; /*alternatif warna*/
}

.sidebar .nav-link p{
    font-size:0.9rem;
}

.nav-sidebar .nav-header{
    color: #eaf0f5;
    text-transform: uppercase;
    padding:1.7rem 1rem 0.4rem 0.5rem !important;
    font-size:0.95rem;
}

.nav-link {
    padding: 0.5rem 0.5rem;
}

.navbar-nav .nav-item .nav-item-title{
    color:#212529;
    font-size:1.1rem;
}

.navbar-nav .nav-item-backbutton{
    right: 0px; 
    position: absolute;
}

.separator-menu{
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    border: 0;
    border-top: 1px solid #eaf0f5;
    opacity:0.5;
    margin-left:5px;
    margin-right:5px;
}

#user_panel_sidebar{
    background:#f4f6f9 url('../images/megamendung2.png') no-repeat;
    padding-top:8px;
    
}

.pull-right {
    float: right;
}

#temporary-alert p, #temporary-alert ul, .flashnotif p, .flashnotif ul{
    margin:0px !important;
}

.breadcrumb-item+.breadcrumb-item::before{
    display: inline-block;
    padding-right: .5rem;
    color: #6c757d;
    content: ">>";
}

.text-right{
    text-align:right;
}

.required{
    color:#dc3545;
}

section.content{
    font-size:0.8rem;
}

/* button data tables */
#datagrid_wrapper .dt-buttons{
    float:left;
}

.content-header {
    padding: 12px 0.5rem 7px !important;
}

.content-header:empty {
    padding: 0px 0.5rem 7px !important;
}

.content-header h1 {
    font-size: 1.5rem !important;
}

.form-group-sm{
    margin-bottom: 0.65rem !important;
}

.label-sm{
    font-weight:500 !important;
    margin-bottom: 0.2rem !important;
}

.DTFC_LeftBodyLiner .table-hover tbody tr:hover{
    background-color:#ececec !important;
}
.DTFC_RightBodyLiner .table-hover tbody tr:hover{
    background-color:#ececec !important;
}

.header-title-menu{
    font-size: 1.25rem !important;
    margin: 5px 0px 0px 0px !important;
}

.form-control-xs{
    height: calc(1.8125rem);
    padding: 0.13rem 0.2rem;
    font-size: 0.8rem;
    line-height: 1.5;
    border-radius: 0.17rem;
}

.btn-xs{
    padding: 0.13rem 0.3rem;
    font-size: 0.8rem;
    line-height: 1.5;
    border-radius: 0.17rem;
}

.toast-top-center {
    top: 12px;
    left:50%;
    margin:0 0 0 -150px;
}

.nav-tabs .nav-link.active {
    color: #495057 !important;
}

.select2-selection__rendered{
    padding-top:0.3rem;
}

.input-validation-error ~ .select2 .select2-selection {
    border: 1px solid red;
  }

.has-error .select2-selection {
    border-color: red !important;
}

.table.table-head-fixed thead tr:nth-child(1) th {
background-color: #ffffff;
border-bottom: 0;
box-shadow: inset 0 1px 0 #dee2e6, inset 0 -1px 0 #dee2e6;
position: -webkit-sticky;
position: sticky;
top: 0;
z-index: 10;
}

.table.table-head-fixed.table-dark thead tr:nth-child(1) th {
background-color: #212529;
box-shadow: inset 0 1px 0 #383f45, inset 0 -1px 0 #383f45;
}


.custom-control-label::before {
    left: -1.5rem !important;
}

.custom-control-label::after {
    left: -1.5rem !important;
}

.sticky-top-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1060;
    transition: .5s;
}


.btnorder_sidebar {
    min-width: 60px !important;
    height: 30px !important;
    padding: 7px !important;
    margin:0px 10px 0px 0px !important;
}

.btnorder_sidebar .fas,
.btnorder_sidebar .far,
.btnorder_sidebar .fa {
    font-size: 12px !important;
}

.cursor-pointer{
    cursor:pointer;
}

.modal-xl {
    max-width: 95%;
}

.card-purple:not(.card-outline) .card-header {
    background-color: #3C59BE;
    border-bottom: 0;
}

.btn-purple {
    color: #ffffff;
    background-color: #3C59BE;
    border-color: #3C59BE;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
}

.timeline>li>.timeline-item {
    border: none;
    box-shadow: none;
    background-color: #c6c6c600;
}

.timeline>li>.timeline-item>.timeline-header {
    border: none;
}

.soap-deleted ,
.soap-deleted a{
    text-decoration:line-through;
    text-decoration-color:red;
    opacity:0.75;
}

.adime-deleted , 
.adime-deleted a{
    text-decoration:line-through;
    text-decoration-color:red;
    opacity:0.75;
}

.custom-control-input-success:checked~
.custom-control-label::before {
    border-color: #28a745;
    background-color: #28a745;
}


.nav-tabs.flex-column .nav-link {
    border-bottom-left-radius: .25rem;
    border-top-right-radius: 0;
    margin-right: -1px;
}

.nav-tabs .nav-link {
    margin-bottom: -1px;
    border: 1px solid transparent;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}

.nav-tabs.flex-column {
    border-bottom: 0;
    border-right: 1px solid #dee2e6;
}

.nav-tabs.flex-column .nav-item.show .nav-link, 
.nav-tabs.flex-column .nav-link.active {
    border-color: #dee2e6 transparent #dee2e6 #dee2e6;
}
.nav-tabs.flex-column .nav-link {
    border-bottom-left-radius: .25rem;
    border-top-right-radius: 0;
    margin-right: -1px;
}

.progress-bar-animated {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-size: 1rem 1rem;
    animation: progress-bar-stripes 1s linear infinite;
}

@keyframes progress-bar-stripes {
    from { background-position: 0 0; }
    to { background-position: 1rem 0; }
}