.dropdown-menu {
    min-width: 98px !important;
}

.dropdown-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dropdown-menu ul a li {
    padding-left: 8px;
    font-size: 14px;
    color: black;
}

.content-wrapper {
    min-height: calc(100vh - 50px);
    padding-top: 50px;
}

/* scrollbar */
html {
    --scrollbarBG: #CFD8DC;
    --thumbBG: #90A4AE;
}

.modal-content::-webkit-scrollbar {
    width: 5px;
}

.modal-content::-webkit-scrollbar-thumb {
    border-radius: 10px;
    border: 3px solid #0061a6;
}

body::-webkit-scrollbar {
    width: 5px;
}

body::-webkit-scrollbar-thumb {
    border-radius: 10px;
    border: 3px solid #0061a6;
}

.wrapper-chart::-webkit-scrollbar {
    width: 7px;
    height: 10px;
}

.wrapper-chart::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px gray;
    box-shadow: inset 0 0 5px gray;
    border-radius: 10px
}

.wrapper-chart::-webkit-scrollbar-thumb {
    background: rgba(0, 25, 62, .3);
    border-radius: 10px
}

.wrapper-chart::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 25, 62, .5)
}

/* div::-webkit-scrollbar {
  width: 5px;
} */

.text-danger {
    color: red;
}

/* TABLE STYLE */
/* .table>thead>tr>th {
    background-color: #1061a6;
    color: white;
    vertical-align: middle;
} */

.table-responsive {
    border: unset !important;
}

/* DATATABLE STYLE*/
.dataTables_filter {
    margin-bottom: 5px;
}

/* INPUT */
/* .form-control {
    border-radius: 10px !important;
} */

.select2-container--default .select2-results__option--highlighted[aria-selected]{
    background-color : #094233 !important;
}

.select2-container--default .select2-search--dropdown input:focus{
    border-color: #094233 !important;
}

.select2-selection,
.select2-dropdown {
    /* border-radius: 10px !important; */
    border: 1px solid rgba(0, 0, 0, .1) !important;
    /* border: unset !important; */
}

.select2-container .select2-selection--single {
    padding-top: 5px;
    height: 38px !important;
}

.select2-search__field {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.select2-selection--multiple .select2-search__field{
    border: unset !important;
}


/* GANTT CHART */
.gantt-container>.popup-wrapper>.details-container {
    background: rgb(var(--color-primary) / var(--tw-bg-opacity));
    color: white;
    padding: 10px;
}

/* ORG CHART */
.chart-container {
    display: flex;
    justify-content: center;
}

.hierarchy {
    text-align: center;
}

.orgchart {
    background: unset !important;
    padding: 20px !important;
    width: calc(100vh-100px);
    overflow: scroll;
    margin: 20px;
}

.orgchart .node .title {
    background-color: rgb(var(--color-primary) / var(--tw-bg-opacity)) !important;
    font-size: 12px !important;
    border-radius: 5px !important;
    padding: 5px !important;
    height: 30px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

#new-nodelist {
    display: inline-block;
    list-style: none;
    margin-top: -0.5rem;
    padding: 0;
    vertical-align: text-top;
}

#new-nodelist>* {
    padding-bottom: 4px;
}

.orgchart .second-menu {
    transition: opacity .5s;
    opacity: 0;
    right: -5px;
    top: -5px;
    z-index: 2;
    position: absolute;
}

.orgchart .second-menu::before {
    background-color: rgba(68, 157, 68, 0.5);
}

.orgchart .second-menu:hover::before {
    background-color: #449d44;
}

.orgchart .node:hover .second-menu {
    opacity: 1;
}

.orgchart .node .second-menu {
    position: absolute;
    top: 0;
    right: -70px;
    border-radius: 5px;
    box-shadow: 0 0 10px 1px #999;
    background-color: #fff;
    z-index: 1;
    padding: 10px;
}

.orgchart .node .second-menu .avatar {
    width: auto;
    height: 60px;
    border-radius: 5px;
    float: left;
    margin: 5px;
    padding: 10px;
}

/* HANDLE PHONE WIDTH */
@media (max-width:600px) {
    .content-wrapper>.container-fluid {
        padding: unset !important;
    }

    .content-wrapper>.container-fluid>.content-header {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .content-wrapper>.container-fluid>.content {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .nav-tabs>li>a {
        max-width: 60px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.bar-group .bar {
    fill : #094233ab !important;
}

.bar-group .bar-progress {
    fill : #facc19 !important;
}

.bar-label {
    font-weight: 500 !important;
}

#menus.active,
#references.active {
    z-index: 999;
}

#menus {
    position: fixed;
    /* left: -18vw; */
    left: -300px;
    top: 5rem;
    z-index: 2;
    display: flex;
    transform: all .5s;
}

#menus h5 {
    font-size: 1rem;
    opacity: 0.6;
    letter-spacing: 5px;
}

#menus .flying-body ul {
    margin: 0;
    padding: 0;
    list-style: none;
    margin-bottom: 3rem;
}

#menus .flying-body ul a li {
    padding: 8px 0;
    margin-bottom: .5rem;
    color: black;
    transition: all .3s;
}

#menus .flying-body ul a li img {
    position: relative;
    top: -1px;
    width: 6px;
    opacity: 0;
    display: none;
    transition: all .3s;
    margin-right: .5rem;
}

#menus .flying-body ul a:hover li img,
#menus .flying-body ul a.active li img {
    opacity: 1;
    display: inline;
}

#menus .flying-body ul a.active li {
    border-radius: 6px;
    background: rgba(249, 166, 52, .15);
    padding-left: 20px;
}

#menus .flying-body ul a:hover li {
    border-radius: 6px;
    background: rgba(249, 166, 52, .15);
    padding-left: 20px;
}


#references {
    position: fixed;
    left: -90vw;
    top: 5rem;
    z-index: 1;
    display: flex;
    transform: all .5s;
}

#menus .flying-title {
    top: 5rem;
    background: #f9a634;
}

#menus .flying-body {
    /* width: 18vw; */
    width: 300px;
}

#references .flying-title {
    top: 16rem;
}

.flying-body {
    flex: 1;
    /* z-index: 9999; */
    height: 100vh;
    width: 90vw;
    overflow-x: auto;
    /* background: white; */
    padding: 40px 30px 100px 30px;
    border: 1px solid #ddd;
    border-left: none;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(5px);
}

.flying-body::-webkit-scrollbar {
    width: 5px;
}

.flying-body::-webkit-scrollbar-thumb {
    border-radius: 10px;
    border: 3px solid #0061a6;
}

.flying-title {
    background: #0061a6;
    color: white;
    padding: 30px 10px;
    border-bottom-right-radius: 8px;
    border-top-right-radius: 8px;
    cursor: pointer;
    box-shadow: 0px 0px 17px 2px rgba(0, 0, 0, .3);
    text-transform: uppercase;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    text-align: center;
    max-height: 140px;
    position: absolute;
    right: -40px;
}

.r-1{
    border-radius: 5px;
}
.r-2{
    border-radius: 10px;
}
.r-3{
    border-radius: 15px;
}

.box .overlay, .overlay-wrapper .overlay {
    z-index: 50;
    background: rgba(255,255,255,0.7);
    border-radius: 3px;
}

.box>.overlay, .overlay-wrapper>.overlay, .box>.loading-img, .overlay-wrapper>.loading-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
