html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: #f5f5f7;
    /* color: #282C34; */
    color: #181818;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

header {
    position: relative;
    background-color: white;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    height: 50px;
    margin-left: 220px;
    transition: all .3s ease-in-out;
    z-index: 15;
}

header .header-container {
    height: 100%;
}

header .heading span {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

header .logo {
    background-image: url('../images/logo-light.png') !important;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    height: 50px;
    width: 50px;
}

header .header-user-avatar {
    border-radius: 25px;
    overflow: hidden;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    color: #555;
    display: block;
    padding: 10px;
    text-decoration: none;
    transition: all 0.3s;
}

.callout {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 1rem;
    padding: 1rem;
    width: 100%;
    border-width: 1px;
    border-style: solid;
    border-radius: 0.375rem;
}

.callout-success {
    background-color: #E3F9E3;
    border-color: #C2F9C1;
}

.callout-danger {
    background-color: #FFF0EF;
    border-color: #FFDEDC;
}

.callout-info {
    background-color: #E8F3FF;
    border-color: #D1E8FF;
}

.callout-warning {
    background-color: #FEF3CD;
    border-color: #FFE495;
}

.callout-neutral {
    background-color: #F1F2F3;
    border-color: #E4E5E9;
}

.card-rounded {
    border-radius: 25px !important;
}

.card-rounded .card-header {
    border-start-start-radius: 25px;
    border-start-end-radius: 25px;
}

.card-rounded .card-footer,
.card-rounded .card-footer {
    border-end-start-radius: 25px;
    border-end-end-radius: 25px;
}

.card-rounded .card-body {
    padding: 1.3rem;
}

.card {
    box-shadow: 1px 1px 5px rgb(0, 0, 0, 0.1);
    border: 1px solid #DCDCDC;
}

.card-header .card-title,
.section-header .section-title {
    letter-spacing: 1px;
}

.container.login-form-container {
    height: calc(100vh - 204px);
}

.form-label {
    color: #565656;
    display: block;
    margin-bottom: 5px;
}

button[type="submit"] {
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
}

button[type="submit"]:hover {
    background-color: #3e9792;
}

.card.login-form-card {
    background-color: #f8f8f8;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
    max-width: 500px;
    width: 100%;
}

.error-message {
    background-color: #f2dede;
    border-radius: 5px;
    border: 1px solid #a94442;
    color: #a94442;
    display: none;
    font-size: 14px;
    overflow: hidden;
}

.success-message {
    border-radius: 5px;
    font-size: 14px;
    overflow: hidden;
    display: none;
}

.sidebar {
    background-color: white;
    left: 0;
    bottom: 0;
    padding: 0 !important;
    position: fixed;
    top: 0;
    width: 220px;
    transition: left .3s ease-in-out;
    z-index: 10;
}

.sidebar.sidebar-sm {
    margin-top: 60px;
    width: 80%;
    transition: left .3s ease;
}

.menubar-overlay {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 9;
}

.sidebar.collapsed {
    left: -150px;
}

.sidebar.sidebar-sm.collapsed {
    left: -80%;
}

.sidebar-toggle {
    background-repeat: no-repeat;
    background-size: contain;
    filter: brightness(0) invert(1);
    position: absolute;
    top: 105px;
    right: 20px;
    height: 30px;
    width: 30px;
    cursor: pointer;
    border: none;
    z-index: 2;
}

.sidebar-toggle.toggle-btn-open {
    background-image: url('../images/icons/close-sidebar.png') !important;
}

.sidebar-toggle.toggle-btn-close {
    background-image: url('../images/icons/open-sidebar.png') !important;
}

.sidebar-toggle img {
    filter: brightness(0) invert(1);
}

.sidebar .logo {
    position: absolute;
    right: 0;
    background-image: url('../images/logo-light.png') !important;
    background-color: #f5f7fa;
    background-repeat: no-repeat;
    background-position: center center;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    z-index: 1;
    transition: all .3s ease-in-out;
}

.sidebar .logo.logo-large {
    width: 100%;
    height: 90px;
    background-size: 38%;
    top: 0;
}

.sidebar .logo.logo-small {
    width: 70px;
    height: 60px;
    background-size: 65%;
    top: 20px;
}

.sidebar .sidebar-heading {
    color: #AAAAAA;
    display: block;
    font-size: 12px;
    font-weight: 700;
    padding: 17px;
    text-transform: uppercase;
}

.sidebar .nav {
    margin-top: 9.5rem;
    margin-left: 0;
    transition: all .3s ease-in-out;
}

.sidebar.sidebar-sm .nav {
    margin-top: 1rem;
}

.sidebar.collapsed .nav {
    margin-left: 149px;
}

.sidebar-sm.collapsed .nav {
    margin-left: 0;
}

.sidebar .nav-item {
    padding: 4px 0;
    margin: 4px 0;
}

.sidebar .nav-item .nav-icon {
    display: inline-block;
    /* height: 12px; */
    text-align: center;
    /* width: 12px; */
    transition: all .3s ease-in-out;
}

.sidebar .nav-link {
    position: relative;
    color: grey;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.75rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 400;
    transition: all .3s ease-in-out;
    padding-inline: 27px;
}

/* .sidebar.collapsed .nav-link {
} */

.sidebar .nav-link .nav-icon i {
    font-size: 0.85rem;
    transition: all .3s ease-in-out;
}

.sidebar .nav-item.active>.nav-link {
    position: relative;
}

.sidebar .nav-item.active .nav-link {
    color: #134A83;
}

.sidebar .nav-link .text {
    letter-spacing: 1.5px;
    transition: all .3s ease-in-out;
}

.sidebar.collapsed .nav-link .text {
    display: none;
}

.sidebar .nav-link .popup-text {
    display: none;
}

.sidebar.collapsed .nav-link .popup-text {
    position: absolute;
    top: -4px;
    left: 71px;
    padding: 12px 25px 12px 10px;
    border-radius: 0 5px 5px 0;
    display: none;
    font-weight: 600;
    font-size: 0.65rem;
    letter-spacing: .0625rem;
}

.main-content:not(.public-facing-page .main-content, .registration-page .main-content) {
    width: calc(100% - 220px);
    margin-left: 220px;
    padding: 20px;
    transition: all .3s ease-in-out;
}

.sidebar.collapsed + .main-content:not(.public-facing-page .main-content, .registration-page .main-content) {
    width: calc(100% - 70px);
    margin-left: 70px;
}

/* .main-content-heading {
    color: #060606;
    font-weight: 600;
    margin-bottom: 20px;
} */

.alert {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 0.5rem;
}

.alert .icon {
    padding-left: 5px;
    padding-right: 20px;
}

.alert .fa-exclamation-triangle {
    font-size: 25px;
}

.popup-modal {
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    display: none;
    left: 50%;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    max-height: calc(100vh - 50px);
    z-index: 9999;
    overflow-y: auto;
}

.popup-modal .card {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 100%;
}

.popup-modal .card-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.view-avatar-modal {
    background: black;
    border-radius: 5px;
    max-height: 650px;
    max-width: 850px;
}

.popup-modal.popup-confirm-modal {
    width: 550px !important;
}

.popup-modal.popup-confirm-modal#reset-password-modal {
    width: 700px !important;
}

.popup-modal#edit-user-modal {
    width: 850px !important;
}

.modal-close-btn {
    cursor: pointer !important;
    opacity: 0.85;
}

.modal-close-btn:hover {
    /* filter: invert(48%) sepia(100%) saturate(3207%) hue-rotate(360deg) brightness(85%) contrast(100%); */
    opacity: 1;
}

.form-group {
    position: relative;
}

.select-icon {
    pointer-events: none;
    position: absolute;
    right: 1.75rem;
    top: 1.95rem;
}

.select-icon i {
    color: #134A83;
    font-size: 13px;
}

.form-control::-ms-expand {
    display: none;
}

.form-control::after {
    content: none;
}

form label {
    font-size: 0.825rem;
    font-weight: 600;
}

form input:not(input[type="submit"]),
form input.form-control:not(input[type="submit"]),
form select,
form select.form-control {
    background-color: #fcfdfe !important;
    border: 1px solid #ccc;
    box-shadow: none !important;
}

form.condensed-input input[type="text"],
form.condensed-input input[type="email"],
form.condensed-input select,
form.condensed-input .btn {
    height: 45px;
}

input[type='text']:not(.modal__checklist--input),
input[type='password'],
input[type='date'],
input[type='file'],
select,
textarea {
    background-color: #ffffff !important;
    border-radius: 0.375rem !important;
    /* border: 1px solid #ccc !important; */
}

input[type='submit'],
button {
    border-radius: 0.375rem !important;
}

input[type='checkbox']:not(.modal__checklist--tickbox) {
    background-color: #ffffff !important;
    border-radius: 0 !important;
    border: 1px solid #134a83 !important;
    height: 17px !important;
    width: 17px !important;
}

input[type='text']:disabled,
input[type='password']:disabled{
    background-color: #fcfcfc !important;
    opacity: 1;
}

input[type='checkbox']:checked {
    background-color: #3e9792 !important;
    border: 1px solid #134a83 !important;
}

input:focus,
select:focus,
textarea:focus {
    box-shadow: none !important;
}

textarea {
    resize: vertical !important;
}

#donor-list-table tbody td:nth-child(2),
#donor-list-table tbody td:nth-child(3),
#donor-list-table tbody td:nth-child(4),
#donor-list-table tbody td:nth-child(5),
#donor-list-table tbody td:nth-child(6),
#donor-list-table tbody td:nth-child(7),
#donor-list-table tbody td:nth-child(8),
#receipt-list-table tbody td:nth-child(4) {
    padding-right: 26px;
}

.form-control {
    margin-bottom: 20px;
    height: 40px;
    font-size: 0.825rem !important;
    /* border: none !important; */
    box-shadow: 1px 1px 5px rgb(0, 0, 0, 0.15) !important;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9998;
}

.overlay-closable {
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9998;
}

#footer {
    bottom: 0;
    position: absolute;
    width: 100%;
}

#footer .logo img {
    height: 30px;
}

#footer .footer-copyright {
    background: #060606 !important;
}

#footer .footer-copyright p {
    color: #AAA !important;
    font-size: 12px;
    letter-spacing: .4px !important;
    margin: 0;
    padding: 0 !important;
}

#footer .footer-copyright p .copy {
    font-size: 13px;
}

#footer span {
    color: #a3b6e7 !important;
    font-weight: 500 !important;
}