/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

    This file contains rules for
    FILE SHARE MODULE
    that implement the UU design system specifically for Sitevision

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */


/* Style for list and links in the Sitevision file share module, style here is needed
   to override Sitevision default styles and make it fit the UU design system */
.sv-marketplace-sitevision-file-share ul {
    max-width: none;
}

.sv-marketplace-sitevision-file-share li {
    border: none !important;
    display: flex;
    min-height: 32px;
    padding: 0.25rem 0 !important;
}

.sv-marketplace-sitevision-file-share ul:has(button.env-button--link) li {
    min-height: 46px;
}

.sv-marketplace-sitevision-file-share li a {
    line-height: 1.5rem;
    text-decoration: underline;
}

/* Style for buttons in the Sitevision file share module, style here is needed to override
   Sitevision default styles and make it fit the UU design system */
.sv-marketplace-sitevision-file-share button:not(.env-button--link):hover,
.sv-marketplace-sitevision-file-share button:not(.env-button--link):focus {
    padding-left: 3.09375em !important;
}

.sv-marketplace-sitevision-file-share button.env-button--link:not(.env-button--icon-before) {
    border-left: 0;
    line-height: 1rem;
    padding-left: 0;
}

.sv-marketplace-sitevision-file-share button.env-button--link.env-button--icon-before {
    border-left: 0;
    display: flex;
    line-height: 1rem;
    margin-bottom: 0 !important;
    padding-left: 2.25rem;
}

.sv-marketplace-sitevision-file-share button.env-button--link.env-button--icon-before h2 {
    font-weight: normal;
    letter-spacing: .05em;
}

.sv-marketplace-sitevision-file-share button.env-button--link.env-button--icon-before:hover h2 {
    color:#fff;
}

/* Style for file type icons in the Sitevision file share module */
.sv-marketplace-sitevision-file-share svg {
    height: calc(var(--env-font-size-base)*1.25);
    margin-right: 0.75rem !important;
    width: calc(var(--env-font-size-base)*1.25);
}