
.navbar-brand-box {
    padding: 0 1.5rem;
    text-align: start;
    width: 250px;
}
/* .logo .logo-sm {
    display: inline-block;
} */
body[data-sidebar=dark] .navbar-brand-box {
    background: #212634;
}

table.datatable td {
    white-space: normal !important;
    word-wrap: break-word;
}

.metismenu li.menu-title {
    color: #BDBDBD;
    margin-bottom: 5px;
    padding-top: 20px !important;
    padding-bottom: 0px !important;
    font-weight: 500;
}
#sidebar-menu ul li a {
    padding: 0.3rem 1.5rem;
}


i.mdi { line-height: 1; }
.h-100v { height: 100vh; }
sup { top: 0; }
.bg-gray { background-color: var(--bs-body-bg); }

.form-group { margin-bottom: 8px; }
.form-label { margin-bottom: 5px; }
.form-group.form-group-cols {
    display: flex;
    align-items: center;
    justify-content: start;
}
.form-group-cols .form-label { width: 40%; }
.form-group.d-flex label {
    margin: 0;
}
.input-group span.select2.select2-container {
    width: 80% !important;
}

input[switch=userban]:checked+label {
    background-color: #f46a6a;
}
input[switch=userban]+label {
    background-color: #34c38f;
}

input[switch=status]:checked+label {
    background-color: #34c38f;
}
input[switch=status]+label {
    background-color: #f46a6a;
}


/* Button Css */
.btn {
    line-height: 1;
}
.btn-soft-info {
    color: #50a5f1;
    background-color: rgb(80 165 241 / 30%);
}
.btn-soft-danger {
    color: #f46a6a;
    background-color: rgb(244 106 106 / 30%);
}
.btn-soft-success {
    color: #34c38f;
    background-color: rgb(52 195 143 / 30%);
}

.card {
    -webkit-box-shadow: 0 0 13px 0 rgb(82 63 105 / 5%);
    box-shadow: 0 0 13px 0 rgb(82 63 105 / 5%);
    background-color: #fff;
    margin-bottom: 20px;
    border: 1px solid #ebedf2;
}
.card-header, .card-footer {
    position: relative;
    padding: 12px 25px;
    border-bottom: 1px solid #ebedf2;
    background-color: transparent;
}
.card .card-body {
    padding: 20px 25px;
    border-radius: 4px;
    border-bottom: 1px solid #ebedf2;
}

.dropify-wrapper .dropify-message p {
    margin: 5px 0 0;
    font-size: 14px;
}

.document-box {
    position: relative;
    margin-bottom: 15px;;
}
.document-box .remove-doc i {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #fff;
    padding: 7px;
    border-radius: 50px;
    box-shadow: 0px 0px 3px 1px #ebebeb;
    width: 32px;
    height: 32px;
    font-size: 18px;
    z-index: 999;
    cursor: pointer;
}

.accordion-item {
    color: var(--bs-body-color);
}

.note-editor .note-toolbar .note-color-all .note-dropdown-menu, .note-popover .popover-content .note-color-all .note-dropdown-menu {
    min-width: 360px;
}
.note-editor.note-airframe .note-editing-area .note-editable, .note-editor.note-frame .note-editing-area .note-editable {
    padding: 10px;
    overflow: auto;
    word-wrap: break-word;
    max-height: 200px;
}

.order-traking-timeline .verti-timeline .event-list {
    position: relative;
    padding: 0 0 15px 20px;
}
input[readonly].form-control {
    background-color: var(--bs-gray-200);
    opacity: 1;
}

.tt-notification span.tt-notification-dot {
    position: absolute;
    right: 14px;
    top: 24px;
    height: 8px;
    width: 8px;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-animation: pulse-red 2s ease-in-out infinite;
    animation: pulse-red 2s ease-in-out infinite;
}
@-webkit-keyframes pulse-red {
    0% {
        -webkit-transform: scale(0.95);
        transform: scale(0.95);
        -webkit-box-shadow: 0 0 0 0 rgba(224, 58, 29, 0.8);
        box-shadow: 0 0 0 0 rgba(224, 58, 29, 0.8);
    }
    70% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-box-shadow: 0 0 0 10px rgba(224, 58, 29, 0);
        box-shadow: 0 0 0 10px rgba(224, 58, 29, 0);
    }
    100% {
        -webkit-transform: scale(0.95);
        transform: scale(0.95);
        -webkit-box-shadow: 0 0 0 0 rgba(224, 58, 29, 0);
        box-shadow: 0 0 0 0 rgba(224, 58, 29, 0);
    }
}
@keyframes pulse-red {
    0% {
        -webkit-transform: scale(0.95);
        transform: scale(0.95);
        -webkit-box-shadow: 0 0 0 0 rgba(224, 58, 29, 0.8);
        box-shadow: 0 0 0 0 rgba(224, 58, 29, 0.8);
    }
    70% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-box-shadow: 0 0 0 10px rgba(224, 58, 29, 0);
        box-shadow: 0 0 0 10px rgba(224, 58, 29, 0);
    }
    100% {
        -webkit-transform: scale(0.95);
        transform: scale(0.95);
        -webkit-box-shadow: 0 0 0 0 rgba(224, 58, 29, 0);
        box-shadow: 0 0 0 0 rgba(224, 58, 29, 0);
    }
}


.select2-container {
    width: 100% !important;
}



/* ============ Left sidebar : minimize (collapsed) mode fixes ============ */

/* app.min.css hardcodes `body[data-sidebar=dark].vertical-collpsed{min-height:1760px}`
   which stretched the whole page as soon as the sidebar was minimized. */
body[data-sidebar=dark].vertical-collpsed {
    min-height: 100vh;
}

/* app.min.css switches .vertical-menu to `position:absolute` on minimize, which
   breaks the bounded height that simplebar needs in order to scroll. Pin it back
   to the viewport so the menu keeps its own scrollbar. */
.vertical-collpsed .vertical-menu {
    position: fixed;
    top: 70px;
    bottom: 0;
    height: auto;
    max-height: none;
    overflow: hidden;
}

.vertical-collpsed .vertical-menu .simplebar-mask {
    overflow: hidden !important;
}

.vertical-collpsed .vertical-menu .simplebar-content-wrapper {
    overflow: hidden auto !important;
}

.vertical-collpsed .vertical-menu .simplebar-scrollbar {
    display: block !important;
}

/* The hover fly-out is rendered outside the scroller (see assets/js/main.js),
   so the item itself must not stretch any more - it would add a horizontal
   scrollbar to the menu. */
.vertical-collpsed .vertical-menu #sidebar-menu>ul>li:hover>a {
    width: auto;
    background: #2e3548;
    color: #fff;
}

.vertical-collpsed .vertical-menu #sidebar-menu>ul>li:hover>a span {
    display: none;
}

.vertical-collpsed .vertical-menu #sidebar-menu>ul>li:hover>ul,
.vertical-collpsed .vertical-menu #sidebar-menu>ul ul {
    display: none !important;
}

.mini-menu-flyout {
    position: fixed;
    z-index: 1080;
    min-width: 190px;
    max-width: 280px;
    background: #2a3042;
    border-radius: 2px;
    overflow: hidden auto;
    box-shadow: 3px 5px 10px 0 rgba(54, 61, 71, .4);
}

.mini-menu-flyout ul {
    display: block !important;
    list-style: none;
    margin: 0;
    padding: 5px 0;
    background: #2a3042;
}

.mini-menu-flyout ul li {
    display: block;
    width: 100%;
}

.mini-menu-flyout a {
    display: block;
    padding: 8px 20px;
    font-size: 13px;
    color: #79829c;
    white-space: nowrap;
    text-decoration: none;
    transition: all .2s;
}

.mini-menu-flyout a:hover {
    color: #fff;
    background: #2e3548;
}

.mini-menu-flyout .mini-menu-label {
    display: block;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    background: #2e3548;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.mini-menu-flyout .mini-menu-label:only-child {
    border-bottom: 0;
}
