﻿/* Set padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.bg-about {
    background: url('/Content/images/aboutus.png') no-repeat center center;
    background-size: contain;
    color: white;
    height: 250px;
    position: relative;
}

.bg-donations {
    background: url('/Content/images/Donations.png') no-repeat center center;
    background-size: contain;
    color: white;
    height: 270px;
    position: relative;
}
.bg-impact {
    background: url('/Content/images/OurImpact.png') no-repeat center center;
    background-size: contain;
    color: white;
    height: 250px;
    position: relative;
}
.bg-applicationprocess {
    background: url('/Content/images/applicationprocess.jpeg') no-repeat center center;
    background-size: contain;
    color: white;
    height: 250px;
    position: relative;
}

.bg-contactus {
    background: url('/Content/images/ContactUs.png') no-repeat center center;
    background-size: contain;
    color: white;
    height: 250px;
    position: relative;
}

.bg-ourteam {
    background: url('/Content/images/OurTeam.png') no-repeat center center;
    background-size: contain;
    color: white;
    height: 250px;
    position: relative;
}
.bg-donatenow {
    background: url('/Content/images/Dontatenow.jpeg') no-repeat center center;
    background-size: contain;
    color: white;
    height: 250px;
    position: relative;
}
.bg-terms {
    background: url('/Content/images/TermsandConditions.png') no-repeat center center;
    background-size: contain;
    color: white;
    height: 250px;
    position: relative;
}
.bg-privacy {
    background: url('/Content/images/PrivacyPolicy.png') no-repeat center center;
    background-size: contain;
    color: white;
    height: 250px;
    position: relative;
}

.top-menu {
    background: #ffffff;
    border-bottom: 1px solid #e2e2e2;
    font-family: inherit;
    position: relative;
    z-index: 50;
}

.top-menu__list {
    list-style: none;
    margin: 0;
    padding: 0 1rem;
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
}

.top-menu__item {
    position: relative;
}

.top-menu__btn {
    background: none;
    border: none;
    padding: 1rem 0.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .35rem;
    color: #222;
}

    .top-menu__btn:focus,
    .top-menu__btn:hover {
        outline: none;
        color: #0a58ca;
    }

.top-menu__caret {
    font-size: .65rem;
    transition: transform .2s ease;
}

.top-menu__btn[aria-expanded="true"] .top-menu__caret {
    transform: rotate(180deg);
}

.top-menu__panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding-top: .5rem;
    min-width: 680px;
}

.top-menu__panel--open {
    display: block;
    animation: topMenuFade .15s ease;
}

@keyframes topMenuFade {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.top-menu__card {
    background: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    padding: 1.25rem 1.25rem .75rem;
    box-shadow: 0 4px 18px rgba(0,0,0,.08);
}

.top-menu__sections {
    display: grid;
    gap: 1rem 1.5rem;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
}

.top-menu__section {
    min-width: 0;
    width:640px;
}

.top-menu__heading {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin: 0 0 .4rem;
    color: #555;
}

.top-menu__links {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: .85rem;
    line-height: 1.35;
}

    .top-menu__links a {
        display: inline-block;
        padding: .2rem 0;
        text-decoration: none;
        color: #1d1d1d;
    }

        .top-menu__links a:hover,
        .top-menu__links a:focus {
            color: #0a58ca;
            outline: none;
        }

.top-menu__footer {
    border-top: 1px solid #ececec;
    margin-top: 1rem;
    padding-top: .6rem;
    text-align: right;
}

.top-menu__cta {
    font-size: .8rem;
    text-decoration: none;
    font-weight: 600;
    color: #0a58ca;
}

    .top-menu__cta:hover,
    .top-menu__cta:focus {
        text-decoration: underline;
        outline: none;
    }

@media (max-width: 900px) {
    .top-menu__panel {
        position: static;
        min-width: 100%;
        padding-top: 0;
    }

    .top-menu__sections {
        grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
    }

    .top-menu__list {
        flex-wrap: wrap;
    }
}
.top-menu__links.grid-3x3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.top-menu__links .menu-item a {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.menu-item-text {
    display: block;
    font-size: 0.875rem;
    color: #555;
    text-align:justify;
}




