body {
    background-color: #4d4d4d;
}
/*body:after {
    transition: opacity .25s linear;
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: -9999;
}
body.loading:after {
    background-image: url(../furniture/loading.gif);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-color: rgba(0,0,0,0.5);
    opacity: .7;
    z-index: 9999;
}*/
body.wait {
    cursor: wait;
}
body.wait a,
body.wait button {
    pointer-events: none;
}
.navbar.sticky-top {
    z-index: 1049;
}
.navbar-nav .dropdown-menu li {
    position: relative;
}
.navbar-nav .dropdown-menu .dropdown-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: -9px;
}
.navbar-nav .dropdown-menu .dropdown-submenu-left {
    right: 100%;
    left: auto;
}
.navbar-nav .dropdown-menu > li:hover > .dropdown-submenu {
    display: block;
}
@media (min-width: 992px) {
    .navbar .navbar-nav > .nav-item > .dropdown-menu{
        display: none;
    }
    .navbar .navbar-nav > .nav-item:hover > .dropdown-menu{
        display: block;
    }
    .navbar .navbar-nav > .nav-item > .dropdown-menu{
        margin-top:0;
    }
}
@media (max-width: 991px) {
    .navbar-nav .dropdown-menu .dropdown-submenu {
        position: relative;
        left: 0;
        top: 0;
        border:none;
        padding:5px;
    }
}

.breadcrumb {
    --bs-breadcrumb-divider-color: #fff;
    font-size: 0.9rem;
    line-height: 1.8;
}
.breadcrumb-item a {
    color: #fff;
}
.breadcrumb-item a:hover {
    color: #fafafa;
}
.breadcrumb-item.active a {
    text-decoration: none;
    pointer-events: none;
}

.system-announcement {
    background-color: #dc3545;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    text-align: center;
}
.system-announcement p:last-of-type {
    margin-bottom: 0;
}

button:disabled,
button[disabled] {
    opacity: 0.65;
}

h5.card-header {
    line-height: 1.4;
}

.card {
    box-shadow: 5px 5px 15px;
}

.col-form-label {
    font-weight: 600;
}
.form-check-label.wrap-indent {
    position:relative;
    padding-left:2.5ch;
    display: block;
    margin-bottom: 5px;
}
.form-check-label.wrap-indent [type="checkbox"],
.form-check-label.wrap-indent [type="radio"] {
    position: absolute;
    left: 0;
}

form label.error {
    color: #dc3545;
    font-weight: 400;
    font-size: 12px;
}

a .fa-info-circle {
    font-size: 1.2em;
    vertical-align: text-bottom;
    color:#476ddd;
}

.nav.nav-pills .nav-link:hover {
    background-color: #f6f6f6;
}

.page-notes {
    background-color: #434343;
    padding: 10px;
    border-radius: 5px;
}
.page-notes textarea.form-control {
    min-height: 100px;
    max-height: 300px;
}

.table.table-compact th,
.table.table-compact td {
    padding:4px;
    font-size: 13px;
}
.table-vertical-align th,
.table-vertical-align td {
    vertical-align: middle;
}
.table-vertical-border th:not(:last-child),
.table-vertical-border td:not(:last-child) {
    border-right:1px solid #f4f4f4;
}
.table th[data-sort] {
    position: relative;
    cursor: pointer;
}
.table th[data-sort]:after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}
.table th[data-sort].sort-asc:after {
    border-bottom: 5px solid;
}
.table th[data-sort].sort-desc:after {
    border-top: 5px solid;
}
.table td .btn + .btn {
    margin-left: 5px;
}
.table td .btn + .fa-exclamation-triangle {
    padding:0 10px;
}
.customer-events li .timestamp {
    font-size: 0.7rem;
    color: #333;
}
.customer-events li .event {
    font-size: 0.9rem;
    font-weight: 600;
}
.customer-events li .notes {
    font-size: 0.7rem;
}

.customer_score {
    font-weight: 600;
}
.customer_score .score_silver {
    background-color: #999;
    padding:0 4px;
    border-radius: 3px;
}
.customer_score .score_gold {
    background-color: #f4d942;
    padding:0 4px;
    border-radius: 3px;
}
.customer_score .score_platinum {
    background-color: #e0e0e0;
    color:#fff;
    padding:0 4px;
    border-radius: 3px;
}
.min-w-100 {
    min-width: 100px;
}
.min-w-150 {
    min-width: 150px;
}
.max-w-150 {
    max-width: 150px;
}
.max-w-300 {
    max-width: 300px;
}

.bootbox-alert,
.bootbox-confirm {
    backdrop-filter: blur(2px);
    background-color: #00000021;
}

.popover {
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1)) drop-shadow(0 6px 12px rgba(0, 0, 0, 0.08));
}
.popover-body ul {
    padding: 0 0 0 20px;
    margin:0;
}

.form-hover .row:not(.no-hover) {
    margin-top:0;
    padding: 2px 0;
    transition: background-color 0.2s;
}
.form-hover .row:not(.no-hover):hover {
    background-color: #f8f8f8;
}

.align-content-center .form-text {
    margin:0;
}
.form-switch .form-check-label {
    margin-top: -1px;
    vertical-align: top;
}
.switch-ratefixed .fas,
.switch-incfa .fas,
.switch-afl .fas,
.switch-pp .fas {
    min-width:15px;
    margin-right:10px;
    text-align: center;
}

ul.usage {
    list-style-type: none;
    padding: 0;
}
ul.usage li {
    position: relative;
    padding-left: 25px;
}
ul.usage li:before {
    position: absolute;
    left:0;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}
ul.usage li.product:before {
    content: "\f5ab";
    color: #198754;
}
ul.usage li.merchant:before {
    content: "\f1ad";
    color: #505050;
}
ul.usage li.channel:before {
    content: "\f6ff";
    color: #0072f7;
}
ul.usage li.brand:before {
    content: "\f02e";
    color: #f7b100;
}

.modal-stacked {
    margin-top:10px;
    backdrop-filter: blur(2px);
    background-color: #00000020;
}

@media (min-width: 991px) {
    .modal-800 .modal-dialog {
        max-width: 800px;
    }
}

.context-menu-list {
    max-height: calc(100vh - 100px);
    /*margin-top: 100px;*/
}