:root {
    --tblr-body-bg: #f3f3f3;
}

.pointer {
    cursor: pointer;
}

.loading::after {
    content: "";
    position: absolute;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url('/static/img/spinner.svg') 50% 50% no-repeat rgba(0, 0, 0, 0.1);
}

.toast-container .bi-check-circle-fill::before {
    content: "\ea6a";
    font-family: tabler-icons !important;
}

.toast-container .bi-x-circle-fill::before {
    content: "\ea6a";
    font-family: tabler-icons !important;
}

.toast-container .toast {
    background-color: #f6f6f6 !important;
}

.nav-item.dropdown.profile {
    padding: 15px 0px;
    margin: 5px 0px;
    border: 1px solid #eee;
    border-left: 0px;
    border-right: 0px;
}

@media (min-width: 992px) {
    .navbar-vertical.navbar-expand-lg {
        width: 18rem;
    }
    .navbar-expand-lg.navbar-vertical ~ .navbar,
    .navbar-expand-lg.navbar-vertical ~ .page-wrapper {
      margin-left: 18rem; 
    }
}


@media (max-width: 992px) {
    .nav-item.dropdown.profile {
        border: 0px;
    }
}

.navbar-brand-image {
    height: 2.5rem;
}

/* navbar */
.nav-link .nav-link-icon {
    width: auto;
    height: auto;
    margin-left: 1rem;
    margin-right: 1rem;
    opacity: 0.7;
    font-size: 1.5rem;
}

.nav-link .nav-link-icon .ti {
    font-size: 1.5rem;
}

.nav-link .nav-link-title {
    font-size: 1rem;
}

/* navbar active */
.nav-item.active {
    background: rgba(32, 107, 196, 0.1);
    
}

.nav-item.active .nav-link-icon {
    color: rgb(32, 107, 196);
    
}

.nav-item.active .nav-link-title {
    color: rgb(32, 107, 196);
}

@media (min-width: 992px) {
    .navbar-vertical.navbar-expand-lg .navbar-collapse .nav-item.active:after {
        border: 0px;
    }
}

label.error {
    font-style: italic;
    font-size: 0.8rem;
    font-weight: 500;
    color: red;
}

.form-control.error {
    border: 0.15rem solid red;
}

.form-control.error:focus {
    box-shadow: 0 0 0 0.25rem rgb(255, 0, 0, 0.1);
}

.modal-blur {
    background-color: rgba(0, 0, 0, 0.3);
}

.ti {
    font-size: 1.1rem;
    padding-bottom: 0.1rem;
}

.btn-back {
    float: left;
    margin: 0.2rem 1rem;
    margin-left: 0rem;
}


.float-left {
    float: left;
}

.float-right {
    float: right;
}

.alert.alert-danger {
    background-color: rgba(214, 57, 57, 0.1);
}

.alert.alert-warning {
    background-color: rgba(247, 103, 7, 0.1);
}

.alert.alert-info {
    background-color: rgba(66, 153, 225, 0.1);
}

.alert.alert-success {
    background-color: rgba(47, 179, 69, 0.1);
}

.form-group label {
    /* padding: 0.3rem 0rem; */
    font-weight: bolder;
}

.form-check label {
    font-weight: bolder;
}

/* need to regroup this custom to the correct file */

.form-code > div {
    border-radius: 4px;
}

.form-code {
    max-width: 500px;
    font-size: 13px;
}

/* this override table-hover */
.table-hover tbody tr:hover {
    cursor: pointer;
    /* background-color: rgba(32, 107, 196, 0.1) !important; */
}

.dataTables_wide_filter input {
    width: max-content;
}

.page-body {
    height: 100vh;
    padding-bottom: 20vh;
    overflow: auto;
}

.app-version {
    background: #eee;
    padding: 10px 15px; 
    position: fixed; 
    z-index: 1000; 
    bottom: 0;
    right: 0;
}


div.ace_editor {
    height: 200px;
}

.form-expand label::after {
    content: " [Dbl Click to Expand]"
}

.form-expand.form-full label::after {
    content: " [Dbl Click to Restore]"
}
.form-expand.form-full div.ace_editor {
    height: 75vh
}

.form-full {
    background: #fff;
    padding: 10px;
    position: fixed;
    left: 0;
    top: 79px;
    right: 0;
    bottom: 40px;
    z-index: 5;
}