/* Footer body */
footer.site-footer {
    background-color: var(--w3-white);
    font-size: 16px;
    margin-top: 4rem;
}

footer.site-footer a {
    text-decoration: none;
    transition: 0.2s;
    color: var(--w3-black);
}

footer.site-footer .current-menu-item a {
    color: var(--w3-primary-color);
}

footer.site-footer a:hover {
    color: var(--w3-primary-color);
}

footer.site-footer .menu-item:hover a {
    padding-left: 5px;
}

/* footer top */
footer.site-footer .footer-top {
    padding-top: 3rem;
    padding-bottom: 3rem;

    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

footer.site-footer .footer-top a:not(:hover) {
    color: var(--w3-white);
}

@media (min-width: 768px) {
    footer.site-footer .footer-top .custom-width {
        max-width: 264px;
    }
}

/* footer body */
footer.site-footer .footer-body {
    margin-top: 3rem;
}

footer.site-footer .widget-title {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 400;
    text-transform: uppercase;
}

footer.site-footer .menu {
    padding: 0;
    margin: 0;
    list-style: none;
}

footer.site-footer .menu .menu-item {
    margin-bottom: 12px;
}

footer.site-footer .social-media {
    gap: 10px;
    justify-content: flex-end;
}

footer.site-footer .social-media .list-item a {
    text-decoration: none;
    font-size: 20px;
}

/* footer copyright */
footer.site-footer .footer-copyright {
    margin-top: 3rem;
    padding-bottom: 1.5rem;
}

footer.site-footer .footer-copyright .col-12 {
    padding-top: 10px;
    border-top: 1px solid var(--w3-black);
}

footer.site-footer .footer-copyright .widget_nav_menu {
    margin: 0;
}
footer.site-footer .footer-copyright .menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    margin-left: calc((calc(var(--bs-gutter-x) * .5) + 0.5rem) * -1);
    line-height: 30px;
}

footer.site-footer .footer-copyright .menu .menu-item {
    padding: .5rem;
    position: relative;
}

footer.site-footer .footer-copyright .menu .menu-item a {
    font-weight: 400;
    padding: 0 !important;
}

@media (max-width: 578px) {
    footer.site-footer .footer-top,
    footer.site-footer .footer-body,
    footer.site-footer .footer-copyright {
        padding-left: 40px;
        padding-right: 40px;
    }

    footer.site-footer,
    footer.site-footer a {
        font-size: 14px;
    }

    footer.site-footer .widget-title {
        font-size: 16px;
    }

    footer.site-footer .footer-copyright .menu {
        flex-flow: column;
    }

    footer.site-footer .footer-copyright .menu .menu-item {
        padding: 0 .5rem;
    }
}
