/* Consistent black circular social links in navigation and footer. */
.icons-menu-main a.iconfont-wrapper,
.social-list .soc-item a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #000;
    border-radius: 50%;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease;
}
.icons-menu-main a.iconfont-wrapper + a.iconfont-wrapper { margin-left: 8px; }
.icons-menu-main a.iconfont-wrapper .mbr-iconfont,
.social-list .soc-item a .mbr-iconfont {
    display: block;
    padding: 0 !important;
    margin: 0;
    color: #fff;
    font-size: 20px;
    line-height: 1;
}
.icons-menu-main a.iconfont-wrapper:hover,
.social-list .soc-item a:hover { background-color: #333; border-color: #333; }
.icons-menu-main a.iconfont-wrapper:focus-visible,
.social-list .soc-item a:focus-visible { outline: 3px solid #25d366; outline-offset: 3px; }

/* Footer: white circles and black symbols against the dark background. */
.social-list .soc-item a {
    background-color: #fff;
    border-color: #fff;
    color: #000;
}
.social-list .soc-item a .mbr-iconfont { color: #000; }
.social-list .soc-item a:hover { background-color: #e9e9e9; border-color: #e9e9e9; }

/* Override the theme's 30px clipping wrapper around each 40px circle. */
section.firmm4_footer3 .social-list .soc-item {
    box-sizing: border-box;
    display: inline-flex;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    overflow: visible;
    border-radius: 50%;
    background: transparent;
}
section.firmm4_footer3 .social-list .soc-item a {
    box-sizing: border-box;
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    border-radius: 50%;
    opacity: 1;
}
