:root {
    --bs-dashbox-border-color-translucent:rgb(0 0 0 / 18%);
    --bs-dashbox-shadoxbox:0 0.1875rem 0.1875rem 0 rgba(14,34,56,.07);
    --bs-green: #3eaa3f;
    --bs-blue: #0d6efd;
    --bs-red: #a04040;
}
html, body { min-height:100% }
.debug {
    background-color:white;
}
.row-hover {
    display: block;
    color: #212529;
    text-decoration: none;
}
.row-hover:hover {
    background-color: #e1e1e1;
    color: #212529;
}
.hr-0 {
    margin: 1rem 0 0;
    border-bottom: 1px solid #c4c5c6;
}
/* --- BOOTSTRAP --- */
:focus {
    outline: 0 !important;
    box-shadow: none !important;
}
.card {
    border-color: var(--bs-dashbox-border-color-translucent);
    box-shadow: var(--bs-dashbox-shadoxbox);
}

.dropdown-toggle.no-arrow:after, .dropdown-toggle.no-arrow:before {
    display: none!important;
}

/* --- SETTINGS --- */
.bs-hidden { display: none }
.bs-flex { display: flex !important }
#icon-chevron {
    box-shadow: 0 0 5px #b1b1b1;
    border-radius: 50%;
    padding: 0 2px;
    margin-right: 7px;
    cursor: pointer;
    transform: rotate(0deg);
    transition: transform 1s linear;
}
#icon-chevron-menu {
    transform: rotate(0deg);
    transition: transform 1s linear;
}
#icon-chevron.open, #icon-chevron-menu.open{
    transform: rotate(360deg);
    transition: transform 1s linear;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: var(--bs-red);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--bs-red);
}

/* --- HEADER --- */
#main-navbar {
    border-bottom: 1px solid var(--bs-red);
}
#main-navbar .fi {
    margin-right: 7px;
}
#main-navbar .user-block {
    display: flex;
    align-items: center;
}
#main-navbar .user-block ul.dropdown-menu.show {
    left: -7em;
}
#main-navbar .user-block a.dropdown-toggle {
    color: var(--bs-green);
    text-decoration: none;
}
#main-navbar .user-block .dropdown-menu.show {
    width: max-content;
}
.login #main-navbar, .register #main-navbar {
    background-color: #021128 !important;
}

/* --- NAVIGATION --- */
body {
    background-color: #fbfbfb;
}
.isuser main {
    /*transition: 1s;*/
    padding-left: 230px;
}
#main-navbar .user-name {
    padding: 0 15px;
}
#main-navbar .user-name .details-name {
    padding-top: 10px;
    padding-bottom: 10px;
}
#main-navbar .user-name .details-name i {
    margin-right: 7px;
}
#main-navbar .user-name .details-center {
    flex-direction: column;
    display: none;
    min-width: 10rem;
    padding: 0.5rem 0;
    list-style: none;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
}
#main-navbar .details-center > div:nth-child(1),
#main-navbar .details-center > div:nth-child(2),
#main-navbar .details-center > div:nth-child(3) {
    padding-right: 15px;
    padding-left: 15px;
    text-align: center;
}
#main-navbar .user-name:hover .details-center,
#main-navbar .user-name:focus .details-center {
    display: flex;
    position: absolute;
    right: 20px;
    z-index: 1050;
    background-color: white;
}
#main-navbar .details-center .details-login-perm {
    padding-top: 5px;
    padding-bottom: 5px;
}
#main-navbar .details-center .details-last-login {
    border-bottom: 1px solid rgb(233 236 239);
    border-top: 1px solid rgb(233 236 239);
    padding-bottom: 5px;
    padding-top: 5px;
}
#main-navbar .details-center .details-last-login > div:nth-child(2){
    color: var(--bs-green);
    font-size: 80%;
    font-weight: 600;
}
#main-navbar .details-center .details-logout > a {
    padding: 5px 15px;
    display: block;
}
#navbar-sidebar { margin: 0 auto 0 6em; }

/* --- SIDEBAR --- */
.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    padding: 58px 0 0; /* Height of navbar */
    box-shadow: 0 2px 5px 0 rgb(0 0 0 / 5%), 0 2px 10px 0 rgb(0 0 0 / 5%);
    width: 230px;
    z-index: 600;
}
/* Sidebar Animation */
.sidebar.show {
    opacity: 1;
}
.sidebar {
    opacity: 0;
    /*-webkit-transition: opacity 1s ease-in-out;*/
    /*-moz-transition: opacity 1s ease-in-out;*/
    /*transition: opacity 1s ease-in-out;*/
}

#sidebarMenu a, a i { color: #8b8b8b; }
#sidebarMenu a i {
    display: inline-block;
    width: 35px;
    text-align: center;
}
#sidebarMenu .sMenu-l1 > a {
    padding-left: 5px;
    padding-right: 0;
}
#sidebarMenu a:hover,
#sidebarMenu a:hover > i {
    color: var(--bs-red);
    text-decoration: none;
}
#sidebarMenu ul > li:hover,
#sidebarMenu ul > li:hover a,
#sidebarMenu ul > li:active,
#sidebarMenu ul > li:active a,
#sidebarMenu li.active a,
#sidebarMenu li.active,
#sidebarMenu a.active {
    background-color: var(--light);
    color: var(--bs-red);
    text-decoration: none;
    border: 0;
}
#sidebarMenu a.list-group-item i:last-child{
    float:right;
}

@media (max-width: 991px) {
    .sidebar {
        width: 100%;
    }
}
.sidebar .sMenu-l1 > .active {
    box-shadow: -1px 1px 2px 0 rgb(0 0 0 / 16%), 0 1px 2px 0 rgb(0 0 0 / 12%);
}
.sidebar .sMenu-l1 > ul li { border: 0 }
.sidebar .sMenu-l2 > a {
    display: block;
    text-decoration: none;
    padding: 4px 0 5px 55px;
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: 0.5rem;
    overflow-x: hidden;
    overflow-y: auto;
}

/* SECTIONS */
section {
    padding-top: 3em;
}
section:last-child {
    padding-bottom: 3em;
}
/* FORM */
.grid-end-end {
    display: grid;
    align-items: end;
    justify-content: end;
}
form tbody tr:first-child { border-bottom: 2px solid #e1e1e1; }
form tbody tr:last-child { border-top: 2px solid #e1e1e1; }

/* LOGIN */
body.login,
body.login footer,
body.register,
body.register footer
{ background-color: #021128; }

body.login .jumbotron,
body.register .jumbotron
{
    background: transparent;
    color: white;
}

/* CONTENT */
#container {
    height: inherit;
    padding-top: 5em;
    padding-bottom: 5em;
}
body.login {
    color: #ffffff;
}
.login .card {
    border-radius: 0;
    background-color:unset;
    background-clip:unset;
    color: #ffffff;
}
.login .card {
    background: url("/theme/demo/img/login.jpg") no-repeat center center;
    background-size: contain;
}
.login .card > .row {
    justify-content: flex-end;
}
nav img {
    width: 40px;
}
/* Customers */
.customer-list .customer-info {
    display: none;
    padding-top: 0.5em;
    margin-top: 1em;
    background-color: white;
}
#bs-info-btn {
    cursor: pointer;
    font-size: 18px;
    padding: 2px;
    margin: 0 5px;
    border: 1px solid;
}
.btn-options {
    background-color: transparent;
    padding: 2px 4px;
}

/* --- FOOTER --- */
#footer {
    position: fixed;
    width: 100%;
    bottom: 0;
    border-top: 1px solid var(--bs-red);
    z-index: 600;
}
body.login #footer > .bottom,
body.register #footer > .bottom {
    color: white;
    padding-top: 5px;
    padding-bottom: 5px;
}
.bs-border {
    border-color: var(--bs-red) !important;
}
.bs-border i {
    color: var(--bs-red);
}
#footer > .bottom p {
    margin: 0;
    font-size: 11px;
}
.isuser #footer { background-color: white }
#footer > .top { display:none }

/* Page 404 */
body.page-404 { background-color: #1a1e21 }
.page-404 div.container { text-align: center; color: white }
.page-404 .title-404 {
    font-size: 70px;
    text-transform: uppercase;
    background-image: linear-gradient(353deg,#dbdbdb,#016cdb,#db0000,#be00d5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.page-404 .text-404 { margin-top: 4em }
.page-404 .text-404 span { color:red; font-weight: 700 }
.page-404 .warn-404 { color:#980000; font-weight: 700; font-size: 11px }
.page-404 .bi-bug { font-size: 3em; color: #8a00e1; }

/* Dashboards */
.dashboard-box {
    padding: 5px 8px;
}
.dashboard-box .dashboard-shield {
    padding: 5px 8px;
    margin-right: 15px;
    color: var(--bs-red);
    border: 1px solid var(--bs-red);
}

/* SEARCH FORM */
.bs-search { width: 100% }
.bs-search i {
    position: absolute;
    left: 10px;
    top: 25%;
    color: #c5c6c7;
}
.bs-search input {
    padding-left: 2.5em!important;
}
#searchForm {
    margin: 0 1em 0 auto;
}
#searchForm > div.input-group {
    width: 20em;
}
.save-success {
    position: relative;
    float: right;
    font-size: 21px;
    color: greenyellow;
}
tr.selected td:not(:nth-child(2)):not(:nth-child(6)),
tr.selected td:nth-child(6) > a{ display: none; }
tr.selected {
    cursor: move !important;
    margin: 0 auto 0 0;
    display: table;
}
.bs-l-action > a:not(:first-child),
.bs-l-action > i { margin-left: 7px }