/* Widgets */

.widget header {
    text-transform: uppercase;
    margin: 0.5rem 0;
    border-bottom: 3px solid var(--color-bg-accent);
}

.widget-header {
    display: block;
    font-size: 1.72rem;
    font-weight: bold;
    margin: 1rem 0 0.5rem;
}

.widget-header-small {
    display: block;
    font-size: 1rem;
    font-weight: bold;
}

.widget-header-small.button {
    text-align: center;
}

.widget ul {
    margin-left: 0;
}

.widget ul li {
    border-bottom: 1px dotted var(--color-fg-main);
    padding: 0.2rem;
    font-size: 0.9rem;
    list-style: none;
}

.widget-title {
    font-size: 1.3rem;
}

/* Widgets -- Authorbox/Memberbox */

.memberbox {
    background-color: var(--color-bg-main);
    color: var(--color-fg-main);
    padding: 1rem 0.7rem;
    border-style: solid hidden;
    border-color: var(--color-fg-main);
    border-width: 1px;
    flex-wrap: nowrap;
}

.memberbox .member-bio {
    max-width: 100%;
    word-break: normal;
}

.memberbox img {
    border: 3px solid var(--color-fg-main);
    display: inline-block;
    width: 90px;
    height: 90px;
    min-width: 90px; /* Fixes issue where width is not respected */
}

.social a, .social .clickable {
    font-size: 1.5rem;
    color: var(--color-fg-main);
}

.social a:hover, .social .clickable:hover {
    color: var(--color-bg-accent) !important;
}

.social .fab:not(.fa-square):not(.fa-circle)::before,
.social .fab:not(.fa-square):not(.fa-circle)::before,
.social .fab:not(.fa-square):not(.fa-circle)::before {
    color: var(--color-bg-main);
}

.social .fab:not(.fa-square):not(.fa-circle):hover::before,
.social .fab:not(.fa-square):not(.fa-circle):hover::before,
.social .fab:not(.fa-square):not(.fa-circle):hover::before {
    color: var(--color-fg-accent);
}

@media only screen and (max-width: 639px) {
    #social-icons {
        justify-content: center !important;
    }
}

@media only screen and (min-width: 640px) {
    #social-icons {
        justify-content: flex-end !important;
    }
}
