/* +++++++++ Top menu WhiteLabel user ++++++++++ */
.navbar .megamenu {
    padding: 1rem;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1020;
}

.dropdown-menu.megamenu.show {
    padding: 24px 64px;
    margin: 0 48px;
    border-radius: 0 0 12px 12px;
    overflow: auto;
    max-height: calc(100vh - 100px) !important;
    width: calc(100% - 84px);

}

/* Scrollable dropdown style for screens with max-height of 760px */
@media screen and (max-height: 760px) {
    .dropdown-menu.megamenu.show {
        max-height: 700px;
        /* Set max-height */
        overflow-y: auto;
        /* Enable vertical scroll */
    }
}

h6.title {
    padding: 16px 2px;
    border-bottom: 1px solid #e4e4e4;
    margin-bottom: 32px;
    letter-spacing: 1px;
    font-size: 1.1rem;
}

span.menu-desc-item {
    display: block;
    color: #333;
    font-size: 0.8rem;
    font-weight: normal;
    margin-left: 25px;
}

ul.list-unstyled li a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

ul.list-unstyled li {
    margin-bottom: 12px;
}

.list-unstyled li i {
    width: 25px;
}

ul.list-unstyled li {
    padding: 16px 8px;
    height: 130px;
}

ul.list-unstyled li:hover {
    background-color: #f4f4f4;
    border-radius: 12px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.main-svc-nav {
    background-color: #fff;
    padding: 0 24px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    max-height: 40px;
    padding: 0;
    margin: 0 24px 0 0;
}

.dropdown-menu {
    border: none;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

a {
    color: #333;
}

li.nav-item.dropdown.has-megamenu {
    margin-left: 16px;
}

a.dropdown-item {
    margin-bottom: 16px;
}

a.dropdown-item i {
    width: 25px;
}

.volunteer-menu {
    width: 100%;
    background-color: #18b588;
    padding: 12px;
    text-align: center;
    border-radius: 12px;
    color: #fff;
}

.nav-link {
    position: relative;
    display: inline-block;
}

a.nav-link i {
    font-size: 1.2rem;
    font-weight: 400;
    margin-right: 12px;
    color: #333;
}

a.nav-link.dropdown-toggle img,
.mobile-profile img {
    border-radius: 50%;
    border: 2px solid #18b558;
    padding: 2px;
    object-fit: scale-down;
    max-width: 50px;
}

.mobile-profile img {
    margin: 8px 0;
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: red;
    color: white;
    padding: 4px 8px;
    border-radius: 50%;
    font-size: 12px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'%3e%3c/path%3e%3c/svg%3e");
}

.home-sector-button {
    background-color: #18b588;
    border-radius: 6px;
    padding: 4px 16px;
    max-width: 290px;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.home-sector-button a {
    color: #fff;
    text-decoration: none;
}

.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 24px 0;
    flex: 1;
    width: 100%;
}


/* +++++++++ Footer Styles +++++++++ */

.footer-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

footer {
    border-top: 1px solid #ccc;
    padding: 36px 0;
    color: #333;
    background-color: #e4e4e4;
    font-size: 0.8rem;
}

footer ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style-type: none;
}

.footer-about-container {
    display: flex;
    justify-content: flex-end;
    text-align: right;
}

.footer-logo-container {
    height: 100%;
    display: block;
    padding-left: 24px;
}

.footer-links-container {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.footer-links-container a {
    color: #333;
}

.footer-about-container {
    display: flex;
    justify-content: flex-start;
    text-align: right;
    background-color: #333;
    padding: 24px;
    color: #fff;
}

p.footer-sub {
    color: #fff;
}

p.footer-sub a {
    color: #fff;
    text-decoration: underline;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.5);
    /* Grey background with 50% opacity */
    z-index: 1000;
    /* Ensure it's below the dropdown but above other content */
}

.containerrr {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.footer-logo-new {
    max-height: 80px;
}

.megawidth {
    max-width: 400px;
}

ul.dropdown-menu.dropdown-menu-end.show {
    max-width: 400px;
}

/* By default, hide the .show-med element and display the .show-rest element */
.show-med {
    display: none;
}

.show-rest {
    display: flex;
}

.show-medf {
    display: none;
}

.show-restf {
    display: flex;
}



.money-wrapper {
    display: flex;
    justify-content: space-between;
    width: 90%;
    border: 1px solid #e4e4e4;
    padding: 12px;
    margin: 32px 0;
    align-content: center;
    border-radius: 6px;
}

.money-wrapper p {
    align-content: center;
    align-items: center;
    flex-direction: row;
    margin: 0;
}

.vol-bg {
    background-color: #18b588;
    display: flex;
    padding: 24px;
    color: #fff;
    text-align: center;
    margin: 32px auto;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
}

.vol-bg i {
    font-size: 1.3rem;
    margin-left: 16px;
}

.vol-bg a {
    color: #fff;
}

i.fa-heart.heart-red {
    color: red;
}


@media screen and (min-width: 1351px) {
    ul.list-unstyled li {
        padding: 16px 8px;
        height: 110px;
    }
}

/* ============ desktop view ============ */
@media all and (min-width: 992px) {

    .navbar .has-megamenu {
        position: static !important;
    }

    .navbar .megamenu {
        left: 0;
        right: 0;
        margin-top: 0;
    }

    .navbar .megamenu.belowMainMenu {
        left: inherit;
        right: inherit;
        margin-left: 0px;
    }

    .showResponsive {
        display: none !important;
    }

    .hideResponsive {
        display: block;
        /* or inline, inline-block, etc, depending on what you need */
    }

    ul#main_header_nav>li.nav-item.dropdown>ul.dropdown-menu.show {
        display: inline-flex;
    }

    #main_header_nav>li {
        margin-left: 15px;
    }

    .svc-mob {
        width: 167px;
    }

    #main_header_nav>li {
        margin-left: 15px;
    }

    .svc-mob {
        width: 167px;
    }


}

/* When the screen size is between 992px and 1492px, display the .show-med element and hide the .show-rest element */
@media screen and (min-width: 992px) and (max-width: 1492px) {
    .show-medf {
        display: block;
    }

    .show-restf {
        display: none;
    }

    ul.list-unstyled li {
        padding: 16px 8px;
        height: 110px;
    }

    h6.title {

        letter-spacing: 0;
        font-size: 1rem;
    }

    ul.dropdown-menu.show>li.nav-item.dropdown>.dropdown-menu.megamenu.show {
        max-height: 800px;
        overflow-x: scroll;
        /* max-width: 80%; */
    }

    ul.navbar-nav>li.nav-item.dropdown>ul.dropdown-menu.show {
        max-height: 800px;
    }
}

/* When the screen size is between 992px and 1292px, display the .show-med element and hide the .show-rest element */
@media screen and (min-width: 992px) and (max-width: 1292px) {
    .show-med {
        display: block;
    }

    .show-rest {
        display: none;
    }

    ul.list-unstyled li {
        padding: 16px 8px;
        height: 125px;
    }

    h6.title {

        letter-spacing: 0;
        font-size: 1rem;
    }

}

/* ============ desktop view .end// ============ */


/* ============ mobile view ============ */
@media screen and (max-width: 991.98px) {

    .navbar.fixed-top .navbar-collapse,
    .navbar.sticky-top .navbar-collapse {
        overflow-y: auto;
        max-height: 90vh;
        margin-top: 10px;
    }

    li.nav-item.dropdown.has-megamenu {
        margin-left: 0;
    }

    span.menu-desc-item {
        display: none;
    }

    ul.list-unstyled li {
        padding: 16px 8px;
        height: 130px;
    }

    ul.list-unstyled li {
        height: auto;
    }

    .dropdown-menu.megamenu.show {
        padding: 12px 0;
        margin: 0;
    }

    .dropdown-menu {
        box-shadow: none;
        border: none;
    }

    .navbar-nav {
        justify-content: space-between;
        width: 100%;
        margin-top: 32px;
    }

    .showResponsive {
        display: block;
        /* or inline, inline-block, etc, depending on what you need */
    }

    .hideResponsive {
        display: none !important;
    }

    .svc-mob {
        display: flex;
        justify-content: space-between;
        width: 100%;
        align-items: center;
        margin: 4px 0;
    }

    .mob-mid-menu {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        width: 100%;

    }

    div#main_nav {
        margin-bottom: 64px;
    }

    li.nav-item.dropdown.has-megamenu {
        margin: 24px 0 0;
    }

    .svc-mob div {
        width: 100%;
    }

    .navbar-brand img {
        padding: 0;
        margin: 0;

    }

    .mobile-footer-end {
        display: flex;
        align-items: center;
        margin-top: 32px;
        justify-content: flex-start;
        height: 80px;

    }

    .mobile-footer-end i {
        font-size: 1.6rem;
        margin-right: 24px;
        background-color: #e4e4e4;
        padding: 12px;
        border-radius: 50%;
        border: 1px solid #ccc;
    }

    .mobile-footer-end p {
        display: flex;
        margin-top: 12px;

    }

    ul.navbar-nav.d-flex.align-items-center.showResponsive.mob-mid-menu {
        margin-top: 0;
    }

    ul.dropdown-menu.dropdown-menu-end.show {
        position: absolute;
    }

    ul.navbar-nav>li.nav-item.dropdown>ul.dropdown-menu.show {
        display: inherit;
        max-height: 500px;
        overflow-x: hidden;
    }

    li.nav-item.dropdown.has-megamenu {
        margin-top: 0px;
    }

    #main_nav,
    ul.navbar-nav,
    ul.dropdown-menu.show {
        max-width: 100%;
    }
}

/* ============ mobile view .end// ============ */

ul.dropdown-menu.normal-layout.show {
    display: flex;
    flex-direction: column;
    min-width: fit-content;
    padding: 16px;
    margin-left: 32px;
    margin-top: 12px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    left: -50px !important;
    max-width: 350px;
}

.normal-layout i {
    width: 25px;
}

ul.dropdown-menu.normal-layout.show li {
    margin-bottom: 16px;
}

.goal-container-amount i.fa-memo-pad {
    margin-left: 5px;
}

.goal-icons {
    display: flex;
    padding-top: 50px;
    vertical-align: middle;
}

.goal-icons i {
    margin-left: 10px;
}

ul.navbar-nav {
    margin-left: 24px;
}

li.nav-item.active {
    margin-left: 16px;
}

.ft-lgo {
    max-height: 70px !important;
}