.menu .app-brand.demo {
    height: 100px;
    margin: 15px 0;
}

.app-brand-logo.demo img {
    height: 100px;
}

.app-brand-text.demo {
    font-size: 1.75rem;
    letter-spacing: -0.5px;
    text-transform: lowercase;
}

.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
    padding-top: 76px !important;
}

.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
    padding-top: 64px !important;
}

.content-wrapper .navbar {
    z-index: auto;
}

.demo-blocks>* {
    display: block !important;
}

.demo-inline-spacing>* {
    margin: 1rem 0.375rem 0 0 !important;
}

.demo-vertical-spacing>* {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing.demo-only-element> :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-lg>* {
    margin-top: 1.875rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing-lg.demo-only-element> :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-xl>* {
    margin-top: 5rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing-xl.demo-only-element> :first-child {
    margin-top: 0 !important;
}

.rtl-only {
    display: none !important;
    text-align: left !important;
    direction: ltr !important;
}

[dir="rtl"] .rtl-only {
    display: block !important;
}

.layout-demo-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 1rem;
}

.layout-demo-placeholder img {
    width: 900px;
}

.layout-demo-info {
    text-align: center;
    margin-top: 1rem;
}

.alert-notif {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1075;
}

/* .table th:first-child, .table th:last-child, .table td:first-child, .table td:last-child {
    border-width: 0 !important;
}

.table tr:last-child {
    border-bottom: 0 !important;
} */

.dashboard-bg {
    background-image: url('../img/logo/logo-long.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.barcode-scan,
.barcode-scan video,
.barcode-scan #qr-shaded-region {
    border-color: unset;
    border-radius: 0.5rem;
    width: 100% !important;
}

.barcode-scan>div:first-child {
    visibility: hidden;
}

.barcode-scan #html5-qrcode-anchor-scan-type-change {
    visibility: hidden !important;
}

#reader__dashboard_section_csr {
    display: flex !important;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

#reader__dashboard_section_csr span {
    margin: unset !important;
}

.html5-qrcode-element {
    display: inline-block;
    font-weight: 400;
    line-height: 1.53;
    color: #697a8d;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.4375rem 1.25rem;
    font-size: 0.9375rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease-in-out;
}

.html5-qrcode-element {
    color: #fff;
    background-color: #696cff;
    border-color: #696cff;
    box-shadow: 0 0.125rem 0.25rem 0 rgba(105, 108, 255, 0.4);
}

.html5-qrcode-element:hover {
    color: #fff;
    background-color: #5f61e6;
    border-color: #5f61e6;
    transform: translateY(-1px);
}

.btn-check:focus+.html5-qrcode-element,
.html5-qrcode-element:focus,
.html5-qrcode-element.focus {
    color: #fff;
    background-color: #5f61e6;
    border-color: #5f61e6;
    transform: translateY(0);
    box-shadow: none;
}

.btn-check:checked+.html5-qrcode-element,
.btn-check:active+.html5-qrcode-element,
.html5-qrcode-element:active,
.html5-qrcode-element.active,
.show>.html5-qrcode-element.dropdown-toggle {
    color: #fff;
    background-color: #595cd9;
    border-color: #595cd9;
}

.btn-check:checked+.html5-qrcode-element:focus,
.btn-check:active+.html5-qrcode-element:focus,
.html5-qrcode-element:active:focus,
.html5-qrcode-element.active:focus,
.show>.html5-qrcode-element.dropdown-toggle:focus {
    box-shadow: none;
}

.html5-qrcode-element.disabled,
.html5-qrcode-element:disabled {
    box-shadow: none;
}

@media (max-width: 767.98px) {
    #html5-qrcode-select-camera {
        width: 100% !important;
    }
}

.barcode-scan.small button,
.barcode-scan.small a {
    padding: 0.25rem 0.6875rem;
    font-size: 0.75rem;
    border-radius: 0.25rem;
}

.barcode-scan.small input,
.barcode-scan.small select {
    min-height: calc(1.53em + 0.5rem + 2px);
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    border-radius: 0.25rem;
}