*,
::after,
::before {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    opacity: 1;
    margin: 0;
    padding: 0;
}

a {
    cursor: pointer;
    text-decoration: none;
}

li {
    list-style: none;
}

h4 {
    font-size: 1.275rem;
    color: var(--bs-emphasis-color);
}

.bg-form-page {
    background-color: #23262b;
    background-image: url(/assets/images/bg.png);
    background-repeat: repeat;
    background-position: center center;
}

.alert-container {
    transition: opacity 0.7s, max-height 0.7s, margin 0.7s;
    opacity: 1;
    max-height: 100px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.tooltip {
    --bs-tooltip-bg: #9d6835 !important;
    --bs-tooltip-color: #fff !important;
}

.alert-container.compact {
    max-height: 55px;
}

.alert-container.hide-anim {
    opacity: 0;
    max-height: 0;
    margin-bottom: 0;
}

.text-renttner {
    color: #9d6835 !important;
}

.btn-renttner {
    color: #fff;
    background-color: #9d6835;
    border-color: #9d6835;
}

.btn-renttner:hover {
    color: #fff;
    background-color: #85582d;
    border-color: #7d532a;
}

.btn-renttner:focus,
.btn-renttner.focus {
    color: #fff;
    background-color: #85582d;
    border-color: #7d532a;
    box-shadow: 0 0 0 0.25rem rgba(157, 104, 53, 0.5);
}

.btn-renttner.disabled,
.btn-renttner:disabled {
    color: #fff;
    background-color: #9d6835;
    border-color: #9d6835;
    opacity: 0.65;
}

.btn-renttner:not(:disabled):not(.disabled):active,
.btn-renttner:not(:disabled):not(.disabled).active {
    color: #fff;
    background-color: #7d532a;
    border-color: #744d27;
}

.btn-renttner:not(:disabled):not(.disabled):active:focus,
.btn-renttner:not(:disabled):not(.disabled).active:focus {
    box-shadow: 0 0 0 0.25rem rgba(157, 104, 53, 0.5);
}

.btn-small {
    --bs-btn-padding-y: .25rem;
    --bs-btn-padding-x: .5rem;
    --bs-btn-font-size: .75rem;
}

.wrapper {
    align-items: stretch;
    display: flex;
    width: 100%;
}

#sidebar {
    max-width: 264px;
    min-width: 264px;
    background: var(--bs-dark);
    transition: all 0.35s ease-in-out;
}

.banner {
    height: 120px;
    background: url(/assets/images/charity.webp) center center/contain no-repeat;
}

.main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-width: 0;
    overflow: hidden;
    transition: all 0.35s ease-in-out;
    width: 100%;
    background: var(--bs-light-bg-subtle);
}

.login-header {
    background-color: #9d6835;
    color: #e9ecef;
    font-size: 1.5rem;
}

.login-header span {
    vertical-align: middle;
}

.sidebar-logo {
    padding: 1.15rem;
    background-color: #9d6835;
}

.sidebar-logo a {
    color: #e9ecef;
    font-size: 1.5rem;
    font-weight: 600;
}

.sidebar-logo a span {
    vertical-align: middle;
}

.sidebar-nav {
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
    margin-left: 0;
}

.sidebar-header {
    color: #e9ecef;
    font-size: .75rem;
    padding: 1.5rem 1.5rem .375rem;
}

a.sidebar-link {
    padding: .625rem 1.625rem;
    color: #e9ecef;
    position: relative;
    display: block;
    font-size: 0.875rem;
}

.sidebar-link[data-bs-toggle="collapse"]::after {
    border: solid;
    border-width: 0 .075rem .075rem 0;
    content: "";
    display: inline-block;
    padding: 2px;
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    transform: rotate(-135deg);
    transition: all .2s ease-out;
}

.sidebar-link[data-bs-toggle="collapse"].collapsed::after {
    transform: rotate(45deg);
    transition: all .2s ease-out;
}

.sidebar-link.active {
    background-color: rgba(255, 193, 7, 0.1);
    color: #c28343;
    font-weight: 600;
}

.sidebar-item .sidebar-link.active i {
    color: #c28343;
}

.sidebar-dropdown .sidebar-link.active {
    background-color: rgba(255, 193, 7, 0.05);
    color: #c28343;
}

.avatar {
    height: 40px;
    width: 40px;
}

.navbar-expand .navbar-nav {
    margin-left: auto;
}

.content {
    flex: 1;
    max-width: 100vw;
    width: 100vw;
}

@media (min-width:768px) {
    .content {
        max-width: auto;
        width: auto;
    }
}

.card {
    box-shadow: 0 0 .875rem 0 rgba(34, 46, 60, .05);
    margin-bottom: 24px;
}

.text-default-color {
    color: var(--bs-emphasis-color);
}

.illustration {
    background-color: var(--bs-success-bg-subtle);
    color: var(--bs-emphasis-color);
}

.illustration-img {
    max-width: 150px;
    width: 100%;
}

#sidebar.collapsed {
    margin-left: -264px;
}

@media (max-width:767.98px) {
    .js-sidebar {
        margin-left: -264px;
    }

    #sidebar.collapsed {
        margin-left: 0;
    }

    .navbar,
    footer {
        width: 100vw;
    }
}

html[data-bs-theme="dark"] .theme-toggle .light-icon,
html[data-bs-theme="light"] .theme-toggle .dark-icon {
    cursor: pointer;
    padding: 10px;
    display: block;
    font-size: 1.25rem;
    color: var(--bs-secondary-color) !important;
}

html[data-bs-theme="dark"] .theme-toggle .dark-icon {
    display: none;
}

html[data-bs-theme="light"] .theme-toggle .light-icon {
    display: none;
}

span[data-bs-toggle="tooltip"] {
    cursor: help;
}

.btn span[data-bs-toggle="tooltip"] {
    cursor: inherit;
}

th[data-bs-toggle="tooltip"] {
    cursor: help;
}

.vertical-align-middle td,
.vertical-align-middle th {
    vertical-align: middle;
}

tr.blink {
    transition: background-color 0.2s ease-in-out;
}

html[data-bs-theme="dark"] tr.highlighted td {
    background-color: rgba(255, 193, 7, 0.1);
}

html[data-bs-theme="light"] tr.highlighted td {
    background-color: rgba(255, 193, 7, 0.2);
}

html[data-bs-theme="dark"] tr.blocked td {
    background-color: rgba(220, 53, 69, 0.3);
}

html[data-bs-theme="light"] tr.blocked td {
    background-color: rgba(220, 53, 69, 0.2);
}

.table {
    position: relative;
}

.table thead {
    position: sticky;
    top: 0;
    z-index: 1020;
}

.table thead th {
    position: sticky;
    top: 0;
    background-color: var(--bs-light-bg-subtle);
}

html[data-bs-theme="dark"] .table thead th {
    background-color: var(--bs-dark-bg-subtle);
}

.table thead th {
    box-shadow: 0 2px 2px -2px rgba(0, 0, 0, 0.2);
}

.table-responsive {
    overflow-y: auto;
    max-height: calc(100vh - 44px);
}

@keyframes blink-bg-success {
    0% {
        background-color: var(--bs-light-bg-subtle);
    }

    50% {
        background-color: var(--bs-success-bg-subtle);
    }

    100% {
        background-color: var(--bs-light-bg-subtle);
    }
}

@keyframes blink-bg-success-dark {
    0% {
        background-color: var(--bs-dark-bg-subtle);
    }

    50% {
        background-color: var(--bs-success-bg-subtle);
    }

    100% {
        background-color: var(--bs-dark-bg-subtle);
    }
}

html[data-bs-theme="dark"] .blinking-bg-success {
    animation: blink-bg-success-dark 0.7s infinite;
    animation-iteration-count: 4;
}

.blinking-bg-success {
    animation: blink-bg-success 0.7s infinite;
    animation-iteration-count: 4;
}