@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: #0C94BF;
}

.layout-navbar-fixed .sidebar-light-primary .brand-link {
    background-color: #0C94BF;
}
[class*="sidebar-light"] .brand-link {
    color: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid #0C94BF;
}

.sidebar-light-primary .nav-sidebar > .nav-item > .nav-link.active,
.sidebar-light-primary .nav-sidebar > .nav-item > .nav-link:focus{
    color: #0C94BF;
    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: #0C94BF;
}

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

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

.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;
}

.navbar-clinic {
    background-color:#5CB8D5;
}

.navbar-clinic .navbar-nav .nav-link {
    color: #ffffff;
}

.navbar-clinic .navbar-nav .show > .nav-link, 
.navbar-clinic .navbar-nav .active > .nav-link, 
.navbar-clinic .navbar-nav .nav-link.show, 
.navbar-clinic .navbar-nav .nav-link.active {
    color: #ebf1f7;
}

.navbar-clinic .navbar-nav .nav-link:hover ,
.navbar-clinic .navbar-nav .nav-link:focus {
    color: #ebf1f7;
}

.elevation-clinic {
    box-shadow: 0 1px 3px rgba(12, 148, 191, 0.4), 0 1px 2px rgba(12, 148, 191, 0.7);
}

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

.btn-action-sidebar i {
    font-size: 12px !important;
}

.col-0,
.col-lg-0 ,
.col-md-0 ,
.col-sm-0 ,
.col-sx-0{
    flex: 0 0 0%;
    max-width: 0%;
}

.animated-element {
    transition: flex 0.5s, padding 0.5s, max-width 0.5s, width 0.5s, opacity 0.5s, transform 0.5s, background-color 0.5s, display 0.5s;
}

.badge-pink {
    color: #ffffff;
    background-color: #ff66cc;
}

.badge-blue {
    color: #ffffff;
    background-color: #0066ff;
}

.text-pink {
    color: #d10cae;
}

.text-blue {
    color: #3582f7;
}

.table-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.form-group.has-error .select2-container--bootstrap4 .select2-selection{
    border-color : red !important
}

.marked-done {
    background-color:#9ee0f5;
}

.custom-select.form-control-border, .form-control.form-control-border {
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: inherit;
}


@media (min-width: 992px) {
    .modal-md2 {
        max-width: 650px;
    }

    .modal-lg2 {
        max-width: 900px;
    }
}

.table-clickable tr {
    cursor: pointer;
}

.clickable {
    cursor: pointer;
}

.card-title-sm {
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0;
}

.btn-tool-sm {
    padding: .25rem .5rem;
    font-size: 0.8rem;
}

.no-border-top{
    border-top:none !important;
}
