/* Login */
body.authentication-bg-pattern { background-image: url("../img/bg-material.png");  }
body.authentication-bg { background-color: #000000; }

/* General UI */
.navbar-custom .env-test{position: absolute; width:100%; height:100%; background-image: url('../img/test.png') !important; opacity: 0.1; z-index: -1;}
.left-side-menu .env-test{position: absolute; width:100%; height:100%; background-image: url('../img/test.png') !important; opacity: 0.05; z-index: -1;}
.authentication-bg .env-test{position: absolute; width:100%; height:100%; background-image: url('../img/test.png') !important; opacity: 0.05; z-index: -1; margin-top: -4.5rem!important;}
body[data-sidebar-color=dark] .logo-box{background-color: #6658dd !important;}
.cursor-pointer { cursor: pointer; }
.float-left { float:left; }
.float-right { float:right; }
.input-group-btn button { border: 1px solid #ced4da; box-shadow: 0 1px 4px 0 #ced4da; }
.input-group-btn button.btn:focus { box-shadow: 0 1px 4px 0 #ced4da; }
img.grayscale{
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
}
.opacity-100 {opacity: 1;}
.opacity-75 {opacity: .75;}
.opacity-50 {opacity: .5;}
.opacity-25 {opacity: .25;}
.opacity-0 {opacity: 0;}
body[data-sidebar-color="dark"] .input-group-btn button.date-picker-btn { border: 1px solid #424E58; box-shadow: none; }
input.form-control[disabled] { background-color: #ededed; }
option:disabled { color: #bbbbbb; }
.btn-custom-purple:hover {
    opacity: 0.8;
    color: #fff !important;
    transition: all .1s ease-in-out;
}

/* Custom megamodal */
.megamodal .modal-body { overflow-y: hidden !important; }
.megamodal .modal-body .col-menu { border-right: 1px solid rgba(152,166,173,.2); }
.megamodal .modal-body .form-content { padding-top: 20px; height: calc(100% - 73px) !important; overflow-x: hidden; }
.megamodal .modal-footer { border-top: 1px solid rgba(152,166,173,.2); justify-content: center; align-items: center }

.popup-edit .modal-body { width: 800px; }
@media screen and (max-width: 992px) {
    .popup-edit .modal-body { width: 100%; padding:0; }
    .popup-edit .modal-body h4 { padding-top:50px; }
    .megamodal .modal-dialog { width: 100% !important; }
}

/* Static page - long list */
#static-page {display: flex; flex-direction: column; height: calc(100vh - 70px);} /* 70px = navbar */
#static-page #page-list {overflow-x: scroll; flex-grow: 1;}
#static-page #page-list .row:first-child {--bs-gutter-x: 0;}
#static-page #page-list .col:first-child {max-width: inherit !important; width: auto !important;}
#static-page #page-list .dtsp-panesContainer {max-width: 1540px !important;}
.content-page { padding-bottom: 0 !important; }
body { padding-bottom: 0 !important; }
/* ---------------- */

/* SweetAlert2 */
.swal2-container { z-index: 9999999 !important; }
.swal2-actions button { font-size: 14px !important; }

/* Nestable */
.dd{ max-width: 100%; }
.dd-list .dd-item .dd-handle:hover { background-color: aliceblue; }

/* Gridstack */
.grid-stack-item-content { background-color: #FFFFFF; box-shadow: 0 1px 4px 0 rgb(0 0 0 / 10%); }

/* X-Editable */
.x-assignable { color: white !important; }

/* Datatable */
table.dataTable{ width:100% !important; }
.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_info { float: left; }
.dataTables_wrapper .dataTables_filter { float: right; }
table.dataTable tbody>tr.selected:hover{ background-color: #0e2f85; --bs-table-hover-bg: #0e2f85; }
.dataTables_processing{z-index: 1;}

/* Notifications pop-in */
#notifications-small-list .notify-details { white-space: normal !important; }
#notifications-small-list .notify-item { padding: 10px 10px !important; }
#notifications-small-list.noti-scroll{ max-height: 350px !important; }

/* MultiSelect */
.multi-select.w100 .ms-container { max-width: 100% !important; }
.multi-select.h400 .ms-container .ms-list{ height: 400px; }

/* Toast */
.toast-container { z-index: 1002 !important; margin-right: 15px; margin-top: 15px; }

/* Other */
table.table-fit { width: 100% !important; table-layout: auto !important; }
table.table-fit thead th, table.table-fit tfoot th { width: auto !important; }
table.table-fit tbody td, table.table-fit tfoot td { width: auto !important; }

/* Dark theme */
body[data-sidebar-color="dark"] div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane div.dataTables_wrapper { border: 2px solid #303841 !important; }
body[data-sidebar-color="dark"] div.dtsp-panesContainer div.dataTables_wrapper div.dataTables_scrollBody { background: #303841 !important; }
body[data-sidebar-color="dark"] div.dtsp-topRow.dtsp-bordered { border: 2px solid #303841; }
body[data-sidebar-color="dark"] .card { box-shadow: none; }
body[data-sidebar-color="dark"] .table-danger {  background: #3f282d; border-right: 1px solid #515b65; }
body[data-sidebar-color="dark"] .table-warning { background: #2b2313; border-right: 1px solid #515b65; }
body[data-sidebar-color="dark"] .table-success { background: #132f2a; border-right: 1px solid #515b65; }
.card-100 { height: calc(100% - 24px); }

/* Select2 */
.select2 { width: 100% !important; }
.select2-dropdown { z-index: 9999 !important; }
.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: inherit !important;
}
.select2-lh + .select2 .select2-selection--single .select2-selection__rendered {
    line-height: 36px !important;
}


.content-page {
    margin-left : 0!important;
}

#sidebar-menu>ul>li>a {
    padding: 0 15px!important;
    color: unset;
}

#sidebar-menu > ul > li > a:after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #ff8a9f;
    position: absolute;
    top: 45px;
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

#sidebar-menu > ul > li > a:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

#sidebar-menu > ul > li > a:not(:hover):after {
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

#sidebar-menu > ul > li > a.menuitem.active {
    font-weight: bold;
}

.content-page > .content > .container-fluid {
    padding: 0 6rem!important;
}

.custom-body {
    background-color: #f4f5f7;
}

.progress-bar {
    position: relative;
    height: 20px;
    background-color: #ccc;
    border-radius: 0 10px 10px 0;
    margin-left: -2px;
}

.progress-bar-inner {
    height: 100%;
    background-color: #007bff;
    border-radius: 0 10px 10px 0;
}

.progress-bar-percentage {
    position: relative;
    top: 55px;
    white-space: nowrap;
}

.progress-bar-percentage h1, .progress-bar-percentage span {
    display: inline-block;
}

.custom-warning-alert::after {
    content: "1";
    position: relative;
    top: -20px;
    right: 15px;
    font-size: 12px;
    background-color: #e12445;
    color: #ffffff;
    padding: 3px 6px;
    border-radius: 100%;
}

.text-custom-purple {
    color: #833080 !important;
}

.text-custom-orange {
    color: #e87518 !important;
}

.text-custom-pink {
    color: #de0091 !important;
}

.text-custom-red {
    color: #de0027 !important;
}

.btn-custom-purple {
    background-color: #833080 !important;
    color: white;
}

li::marker {
    color: #DF0028
}

.column-no-data {background-color: #e9ecef; border: 1px solid #ced4da; }