/**
 * Joomill Social Share
 *
 * @copyright   Copyright (c) 2026 Jeroen Moolenschot | Joomill
 * @license     GNU General Public License version 3 or later
 * @link        https://www.joomill-extensions.com
 */

.share-container ul {
    overflow: visible;
}

.socialshare-buttons {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    font-size: 12px;
    margin: 0;
    padding: 0;
    width: 100%;
}

.socialshare-buttons li {
    box-sizing: border-box;
    height: 36px;
    line-height: 13px;
    list-style: none;
    margin: 0;
    padding: 2px;
}

.socialshare-buttons li a,
.socialshare-buttons li > span {
    box-sizing: border-box;
    border-radius: 5px;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 5px;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-weight: 700;
    height: 100%;
    padding: 7px 12px;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
    width: 100%;
}

.socialshare-buttons li a .socialshare-icon {
    display: flex;
    align-items: center;
}

.socialshare-buttons li a .socialshare-icon svg {
    height: 18px;
    width: 18px;
    margin: 0px;
}

.socialshare-buttons li a .socialshare-icon svg path {
    fill: #fff;
}

.socialshare-buttons li a:active {
    box-shadow: inset 1px 3px 15px 0 rgba(22, 0, 0, 0.25);
}

.socialshare-buttons li a .socialshare-text {
    display: flex;
    align-items: center;
    font-size: 11px;
    color: #fff;
}

.share-container {
    padding: 10px 0;
    display: inline-block;
}

.socialshare-buttons li.socialshare-facebook a {
    background-color: #0a55b7;
}

.socialshare-buttons li.socialshare-facebook a:hover,
.socialshare-buttons li.socialshare-facebook a:focus-visible {
    background-color: #166fe5;
}

.socialshare-buttons li.socialshare-linkedin a {
    background-color: #0a66c2;
}

.socialshare-buttons li.socialshare-linkedin a:hover,
.socialshare-buttons li.socialshare-linkedin a:focus-visible {
    background-color: #004182;
}

.socialshare-buttons li.socialshare-twitter a {
    background-color: #000000;
}

.socialshare-buttons li.socialshare-twitter a:hover,
.socialshare-buttons li.socialshare-twitter a:focus-visible {
    background-color: #222222;
}

.socialshare-buttons li.socialshare-threads a {
    background-color: #000000;
}

.socialshare-buttons li.socialshare-threads a:hover,
.socialshare-buttons li.socialshare-threads a:focus-visible {
    background-color: #222222;
}

.socialshare-buttons li.socialshare-mastodon a {
    background-color: #5557f0;
}

.socialshare-buttons li.socialshare-mastodon a:hover,
.socialshare-buttons li.socialshare-mastodon a:focus-visible {
    background-color: #563ACC;
}

.socialshare-buttons li.socialshare-bluesky a {
    background-color: #0070d6;
}

.socialshare-buttons li.socialshare-bluesky a:hover,
.socialshare-buttons li.socialshare-bluesky a:focus-visible {
    background-color: #005bb8;
}

.socialshare-buttons li.socialshare-pinterest a {
    background-color: #e60023;
}

.socialshare-buttons li.socialshare-pinterest a:hover,
.socialshare-buttons li.socialshare-pinterest a:focus-visible {
    background-color: #ad081b;
}

.socialshare-buttons li.socialshare-reddit a {
    background-color: #a82d00;
}

.socialshare-buttons li.socialshare-reddit a:hover,
.socialshare-buttons li.socialshare-reddit a:focus-visible {
    background-color: #962900;
}

.socialshare-buttons li.socialshare-tumblr a {
    background-color: #2f4155;
}

.socialshare-buttons li.socialshare-tumblr a:hover,
.socialshare-buttons li.socialshare-tumblr a:focus-visible {
    background-color: #445e7b;
}

.socialshare-buttons li.socialshare-whatsapp a {
    background-color: #006651;
}

.socialshare-buttons li.socialshare-whatsapp a:hover,
.socialshare-buttons li.socialshare-whatsapp a:focus-visible {
    background-color: #007a60;
}

.socialshare-buttons li.socialshare-telegram a {
    background-color: #0e5f88;
}

.socialshare-buttons li.socialshare-telegram a:hover,
.socialshare-buttons li.socialshare-telegram a:focus-visible {
    background-color: #0b4d6f;
}

.socialshare-buttons li.socialshare-viber a {
    background-color: #574e92;
}

.socialshare-buttons li.socialshare-viber a:hover,
.socialshare-buttons li.socialshare-viber a:focus-visible {
    background-color: #4b437e;
}

.socialshare-buttons li.socialshare-flipboard a {
    background-color: #b50808;
}

.socialshare-buttons li.socialshare-flipboard a:hover,
.socialshare-buttons li.socialshare-flipboard a:focus-visible {
    background-color: #e00a0a;
}

.socialshare-buttons li.socialshare-trello a {
    background-color: #0079bf;
}

.socialshare-buttons li.socialshare-trello a:hover,
.socialshare-buttons li.socialshare-trello a:focus-visible {
    background-color: #005a8f;
}

.socialshare-buttons li.socialshare-email a {
    background-color: #666666;
}

.socialshare-buttons li.socialshare-email a:hover,
.socialshare-buttons li.socialshare-email a:focus-visible {
    background-color: #555555;
}

.socialshare-mobileprefix {
    display: none;
}

/* Smartphones and Tablets */
@media (max-width: 767px) {
    .sticky-share {
        position: fixed;
        bottom: 0;
        left: 0;
        padding-left: 10px;
        right: 0;
        background: #ffffff;
        box-shadow: 2px 0 5px rgba(57, 63, 72, 0.1);
        z-index: 1000;
    }

    /* Keep the end of the page, such as the footer, reachable above the sticky bar */
    body:has(.sticky-share) {
        padding-bottom: 4rem;
    }

    li.socialshare-mobileprefix {
        display: flex;
    }

    li.socialshare-mobileprefix span {
        padding: 12px 12px;
    }
}
