.socialwall {
    font-size: 0;
    margin: 5px -5px;
}

.socialwall p,
.socialwall button,
.socialwall .share-link {
    font-size: 15px;
}

.socialwall-col {
    aspect-ratio: 1;
    border: 5px solid #fff;
    background-color: #006cb3;
    color: #fff;
    float: left;
    padding: 0;
    width: 100%;
}

@media (min-width: 576px) {
    .socialwall-col {
        width: 50%;
    }
}

@media (min-width: 768px) {
    .socialwall-col {
        width: 25%;
    }
}

@media (min-width: 992px) {
    .socialwall-col {
        width: 25%;
    }

    .socialwall-col.featured {
        width: 50%;
    }
}


.socialwall-post {
    cursor: pointer;
    height: 100%;
    position: relative;
    width: 100%;
}

.socialwall-post-cta-overlay {
    background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.4) 40%, rgba(0,0,0,1) 80%);
    bottom: 0;
    overflow: hidden;
    padding: 1rem;
    position: absolute;
    width: 100%;
}

.socialwall-post-cta-overlay p {
    margin-bottom: 3.5rem;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.socialwall-post-button {
    bottom: 1rem;
    position: absolute;
    right: 1rem;
}

.socialwall-preview-image {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.socialwall-overlay {
    background: #fff;
    bottom: 0;
    left: -100%;
    opacity: 0;
    padding: 40px 0 0 0;
    position: fixed;
    top: 130px;
    transition: opacity 300ms linear, left 0ms linear 300ms;
    width: 100%;
    z-index: 1;
}

.socialwall-clicked {
    overflow: hidden;
}

.socialwall-clicked .socialwall-overlay {
    left: 0;
    transition: opacity 300ms linear;
    opacity: 1;
    overflow-x: scroll;
}

.socialwall-detail {
    background-color: #EAEAEA;
    opacity: 0;
    padding: 40px;
    transition: opacity 300ms linear 300ms;
}

.socialwall-clicked .socialwall-detail {
    opacity: 1;
}

.socialwall-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
}

.socialwall-sharer {
    margin-left: 10px;
    position: relative;
    height: 21px;
}

.socialwall-sharer .share-icon {
    cursor: pointer;
    display: inline-block;
}

.socialwall-sharer .share-overlay {
    border: 1px solid #fff;
    border-bottom: none;
    bottom: 40px;
    box-shadow: 0px 1px 3px rgba(33, 33, 33, 0.5);
    height: 0;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    transition: opacity 220ms;
    z-index: 1;
}

.socialwall-sharer a {
    background: #f2f2f2;
    border-bottom: 1px solid #fff;
    display: block;
    padding: 7px 21px 7px 14px;
    font-size: 14px;
}

.socialwall-sharer-visible .socialwall-sharer .share-overlay {
    height: auto;
    opacity: 1;
}

.tx-credia-socialwall .icon-linkedin {
    background-position: -100px -76px;
}

.tx-credia-socialwall .icon-instagram {
    background-position: 0px -126px;
}

.socialwall-overlay .sprite-social,
.socialwall-col.inactive {
    display: none;
}

.socialwall-overlay[data-provider="instagram"] .icon-instagram,
.socialwall-overlay[data-provider="linkedin"] .icon-linkedin {
    display: inline-block;
}

#socialwall-detail-text {
    word-break: break-word;
}


/* Footer actions below the Socialwall */
.socialwall-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0 2.5rem;
}

.socialwall-footer__load-more {
    margin: 0;
}

.socialwall-follow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin: 0;
    padding: 1rem 1.25rem;
    background: #f3f5f6;
}

.socialwall-follow[hidden] {
    display: none;
}

.socialwall-follow__label {
    font-size: 15px;
}

.socialwall-follow__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.socialwall-follow__link {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid currentColor;
    text-decoration: none;
}

.socialwall-follow__link:hover,
.socialwall-follow__link:focus {
    text-decoration: none;
}
