body,
body :is(p, div) {
    font-family: "Dosis", sans-serif !important;
}

.sidebar-dark-primary,
.dark-bg {
    background-color: #00253d !important;
}

.orange-bg,
.swal-button--confirm {
    background-color: #f5821f !important;
}

.card-header .nav-link.active {
    background-color: #00253d !important;
    border: none;
    outline: none;
}

.card-header .nav-link:hover {
    color: #00253d !important;
}

.card-header .nav-link.active:hover {
    color: #fff !important;
}

.orange {
    color: #f5821f !important;
}

.dark-text {
    color: #00253d;
}

.btn-default,
.btn-primary,
.dt-buttons > .dt-button {
    background-color: #f5821f !important;
    color: #fff !important;
    border: none !important;
    outline: none;
    text-transform: capitalize !important;
}

td a {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

.card-header h3 {
    text-transform: uppercase;
}

.nav-treeview li {
    padding-left: 15px;
}

/*scroll bars*/
/* width */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    /* display: none; */
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 0px rgba(155, 155, 155, 0.4);
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: rgba(155, 155, 155, 0.4);
    border-radius: 10px;
}

@keyframes flicker {
    0% {
        outline: solid 3px rgb(37, 18, 18);
    }

    10% {
        outline: solid 1px rgb(37, 18, 18);
    }

    22% {
        outline: solid 0.6px rgb(37, 18, 18);
    }

    37% {
        outline: solid 1px rgb(37, 18, 18);
    }

    55% {
        outline: solid 0.6px rgb(37, 18, 18);
    }

    70% {
        outline: solid 0.8px rgb(37, 18, 18);
    }

    82% {
        outline: solid 1px rgb(37, 18, 18);
    }

    100% {
        outline: solid 2px rgb(37, 18, 18);
    }
}

@keyframes shake {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(-0.1deg);
    }

    22% {
        transform: rotate(0.25deg);
    }

    37% {
        transform: rotate(-0.125deg);
    }

    55% {
        transform: rotate(o.25deg);
    }

    70% {
        transform: rotate(-0.25deg);
    }

    82% {
        transform: rotate(0.25deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

#gantt_chart {
    width: 100%;
    height: 600px;
}

.gantt_add,
.gantt_grid_head_add {
    display: none;
}

.gantt_task_content a {
    color: #fff;
}

.gantt_line_wrapper > div,
.daterangepicker,
.pvtFilterBox {
    box-shadow: 10px 10px 5px lightblue;
}

.gantt_task_content {
    box-shadow: 10px 10px 5px lightblue;
    border: unset !important;
    outline: unset !important;
}

/* completed milestone  */
.completed_milestone {
    background-color: #23964d !important;
}

/* delayed milestone  */
.passed {
    background-color: #e70303 !important;
}

.within {
    background-color: #434c4f !important;
}

/* td a, */
.gantt_tree_content a {
    color: #02aceb !important;
}

/* Red backgrounds  */
.delayed,
.high {
    background: #ff0000 !important;
    box-shadow: 10px 10px 5px lightblue;
    border: unset;
    outline: unset;
}

.delayed,
.passed {
    animation: flicker 2s ease-in-out infinite;
}

/*
.medium {
  background: #FFBF00 !important;
  border: unset;
  outline: unset;
  box-shadow: 10px 10px 5px lightblue;
} */

.low,
.medium,
.high {
    background: #09c !important;
    border: unset;
    outline: unset;
    box-shadow: 10px 10px 5px lightblue;
}

.completed {
    background: #23964d !important;
    border: unset;
    outline: unset;
    box-shadow: 10px 10px 5px lightblue;
}

.completed_milestone .gantt_task_progress,
.within .gantt_task_progress,
.medium .gantt_task_progress,
.high .gantt_task_progress,
.low .gantt_task_progress,
.completed .gantt_task_progress {
    background: #23964d !important;
}

.delayed .gantt_task_progress,
.passed .gantt_task_progress {
    background: #670c0c !important;
}

.gantt_task_content * {
    font-size: 110% !important;
}

.gantt_tree_content a,
.gantt_grid_head_cell {
    font-size: 110% !important;
}

.gantt_scale_cell {
    font-size: 110% !important;
}

.action-buttons {
    background-color: red;
    position: absolute;
    right: 0;
    top: 0;
}

/* Custom CSS for hover dropdown */
.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    display: block;
}

.dropdown-menu {
    margin-top: 0px !important;
}

.custom_table table tr:nth-child(1) {
    background: #00253d;
    color: #ffffff;
}

.custom_table table tr:nth-child(1) td b {
    text-transform: capitalize !important;
    font-weight: 400;
}

.custom_table table td {
    min-width: 150px !important;
    border: solid 0.25px rgba(155, 155, 155, 0.5);
}

.custom_table table tr:nth-child(even) {
    background: rgba(249, 249, 249, 1);
}
input#sub_menu {
    display: none;
}

@media screen and (max-width: 542px) {
    /* Make the <h4> fill its own line */
    .card-header.dark-bg > h4,
    .card-header.dark-text.text-uppercase > h4 {
        display: block;
        margin-bottom: 10px;
        width: 100% !important;
    }

    .card-header.dark-bg > a,
    .card-header.dark-text.text-uppercase > a {
        margin-bottom: 5px !important;
    }
}

.no_buttons ._tabs-container > div :is(h3, div:first-child) {
    display: none !important;
    background: red;
    padding: 300px;
}

.no_buttons :is(.pvtRendererArea) {
    border: none !important;
}

.hide_totals table.pvtTable > tbody tr:last-child {
    display: none !important;
}

.hide_totals table.pvtTable > tbody > tr > *:last-child,
.hide_totals table.pvtTable > thead > tr:first-child > *:last-child {
    display: none !important;
}

.hide_first_row table.pvtTable > tbody > tr:first-child {
    display: none !important;
}

.expanded_cells table tr :is(td, th) {
    min-width: 130px !important;
}

.stripped table.pvtTable > tbody > tr:nth-child(even) :is(td,th) {
    background-color: #f7f7f7!important;
}
