.tree li,
.tree ul {
    position: relative;
    transition: .5s
}

.pull-right {
    float: right
}

.pull-left,
.tree li {
    float: left
}

.btn-block {
    width: 100%
}

.btn-div {
    margin-top: 11%
}

.modal-left-side,
.modal-right-side {
    min-height: 100%;
    margin: 0 !important;
    display: flex;
    width: 100%;
    position: absolute;
    top: 0
}

.modal-left-side {
    left: 0
}

.modal-left-side .modal-content {
    border-width: 0;
    border-radius: 0
}

.modal.fade .modal-left-side {
    transform: translate(-100px, 0)
}

.modal-right-side {
    right: 0
}

.modal-right-side .modal-content {
    border-width: 0;
    border-radius: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden
}

.modal-right-side .modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0
}

.modal-right-side form {
    height: auto;
    overflow: visible
}

@media all and (-ms-high-contrast:none),
(-ms-high-contrast:active) {

    .modal-left-side .modal-content,
    .modal-right-side .modal-content {
        min-height: 100vh
    }
}

.modal.fade .modal-right-side {
    transform: translate(0, 0)
}

@media (min-width:576px) {
    .modal-left-side:not(.modal-lg):not(.modal-xl) .modal-content {
        border-width: 0 1px 0 0
    }

    .modal-right-side:not(.modal-lg):not(.modal-xl) .modal-content {
        border-width: 0 0 0 1px
    }
}

@media (min-width:992px) {
    .modal-lg.modal-left-side .modal-content {
        border-width: 0 1px 0 0
    }

    .modal-lg.modal-right-side .modal-content {
        border-width: 0 0 0 1px
    }
}

@media (min-width:1200px) {
    .modal-xl.modal-left-side .modal-content {
        border-width: 0 1px 0 0
    }

    .modal-xl.modal-right-side .modal-content {
        border-width: 0 0 0 1px
    }
}

.tree li::after,
.tree ul ul::before {
    left: 50%;
    border-left: 2px solid #a2d5c6
}

.universal-loader-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, .8);
    z-index: 9999;
    pointer-events: none;
    transition: opacity .5s ease-out;
    opacity: 1
}

.universal-loader-wrap.fade-out {
    opacity: 0
}

.universal-loader {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 6px solid rgba(102, 144, 244, .2);
    border-top-color: #6690f4;
    animation: 1s linear infinite spin
}

@keyframes spin {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(360deg)
    }
}

.tab-p {
    padding: 10px 0 !important
}

.mm-inner-icon i {
    font-size: 14px !important
}

.clear-cache-div {
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center
}

.editable-input {
    width: 85%
}

.edit-pen {
    cursor: pointer
}

.select2-container,
.select2-container--default .select2-search--dropdown .select2-search__field {
    z-index: 99999
}

.ui-sortable-handle {
    width: 100% !important
}

.vertical-collpsed .logo span.logo-sm {
    margin-left: -20px !important
}

.select2-container--bootstrap-5 .select2-selection--single {
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    display: flex !important;
    align-items: center !important
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    line-height: inherit;
    padding-left: 0 !important
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: .75rem
}

.select2-container--bootstrap-5 .select2-selection--multiple {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: .2rem .4rem;
    min-height: calc(1.5em + .94rem + 2px)
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice {
    display: flex;
    align-items: center;
    background-color: #e9ecef;
    color: #495057;
    border: 1px solid #ced4da;
    border-radius: .47rem;
    padding: 2px 8px;
    margin: 2px;
    font-size: .875rem
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice__remove {
    order: 2;
    margin-left: 8px;
    color: #6c757d;
    font-size: 1.1em;
    font-weight: 700;
    transition: color .2s
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #dc3545
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-search__field {
    border: 0;
    outline: 0;
    margin: 2px;
    padding: 0;
    width: 100%;
    flex-grow: 1
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-search__field::placeholder {
    color: #6c757d
}

.modal {
    z-index: 100000
}

.swal2-container {
    z-index: 10000000000001 !important
}

#structure-chart-container .tree {
    width: 100%;
    overflow-x: auto;
    padding: 20px
}

.tree ul {
    padding-top: 20px;
    display: flex;
    justify-content: center
}

.tree li {
    text-align: center;
    list-style-type: none;
    padding: 20px 5px 0
}

.tree li::after,
.tree li::before {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    border-top: 2px solid #a2d5c6;
    width: 50%;
    height: 20px
}

.tree li::after {
    right: auto
}

.tree li:only-child::after,
.tree li:only-child::before {
    display: none
}

.tree li:only-child {
    padding-top: 0
}

.tree li:first-child::before,
.tree li:last-child::after {
    border: 0
}

.tree li:last-child::before {
    border-right: 2px solid #a2d5c6;
    border-radius: 0 5px 0 0
}

.tree li:first-child::after {
    border-radius: 5px 0 0
}

.tree ul ul::before {
    content: '';
    position: absolute;
    top: 0;
    width: 0;
    height: 20px
}

.tree li a.node {
    padding: 15px 25px;
    text-decoration: none;
    color: #333;
    background-color: #e0f2f1;
    border: 1px solid #a2d5c6;
    font-size: 14px;
    display: inline-block;
    border-radius: 8px;
    transition: .3s;
    min-width: 150px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1)
}

.tree li a.node:hover {
    background: #a2d5c6;
    color: #fff;
    transform: translateY(-2px)
}

.node-title {
    font-weight: 600
}

.node-type {
    font-size: 12px;
    color: #00796b;
    margin-top: 5px;
    text-transform: uppercase
}

.actions.text-center {
    display: flex
}

.actions.text-center a {
    margin: 0 3px
}

.select2-results__options {
    max-height: 250px;
    overflow-y: auto
}

ul.dropdown-menu.dropdown-menu-end.show {
    z-index: 100000
}

.nav.nav-tabs .nav-item {
    width: 25%;
    min-width: 25%;
    border-bottom: 1px solid #333
}

#cerate-modal .tab-pane {
    padding: 0 20px
}

@media(min-width:991px) {

    .navbar-brand-box,
    .vertical-menu {
        width: 280px;
        z-index: 20000;
    }

    .main-content {
        margin-left: 280px
    }
}

.flatpickr-wrapper {
    z-index: 100000;
}

.vertical-menu {
    z-index: 20000 !important;
}

.navbar-brand-box {
    z-index: 20001 !important;
}