/*
 * Shared base for every header icon that opens a view, panel or drawer.
 * Add .pa-functional-icon to all future interactive header icons and use
 * .pa-functional-icon__badge for their counters.
 */
.pa-functional-icon {
    position: relative !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 7px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #fff !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transform: scale(1);
    transform-origin: center;
    transition: transform 160ms ease !important;
}

.pa-functional-icon svg,
.pa-functional-icon > i,
.pa-functional-icon > .pa-header-icon-fallback {
    width: 29px !important;
    height: 29px !important;
    display: block !important;
    color: currentColor !important;
    fill: none !important;
    transform: scale(1);
    transform-origin: center;
    transition: transform 160ms ease !important;
}

.pa-functional-icon:hover,
.pa-functional-icon:focus-visible,
.pa-functional-icon[aria-expanded="true"] {
    border-color: transparent !important;
    background: transparent !important;
    color: #fff !important;
    outline: none;
}

.pa-functional-icon:hover svg,
.pa-functional-icon:hover > i,
.pa-functional-icon:hover > .pa-header-icon-fallback,
.js-pa-user-drawer-open:hover .pa-functional-icon svg {
    transform: scale(1.16);
}

.pa-functional-icon:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .3) !important;
}

.pa-functional-icon__badge {
    position: absolute !important;
    z-index: 2 !important;
    top: 1px !important;
    right: 0 !important;
    min-width: 15px !important;
    height: 15px !important;
    padding: 0 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255, 255, 255, .8) !important;
    border-radius: 999px !important;
    background: #b52f36 !important;
    color: #fff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .28) !important;
    font: 700 9px/15px Montserrat, Arial, sans-serif !important;
    text-align: center !important;
    pointer-events: none !important;
}

.pa-functional-icon__badge[hidden],
.pa-functional-icon__badge[data-count="0"] {
    display: none !important;
}

@media (max-width: 767px) {
    .pa-functional-icon {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
        padding: 7px !important;
    }

    .pa-functional-icon svg,
    .pa-functional-icon > i,
    .pa-functional-icon > .pa-header-icon-fallback {
        width: 27px !important;
        height: 27px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pa-functional-icon,
    .pa-functional-icon svg,
    .pa-functional-icon > i,
    .pa-functional-icon > .pa-header-icon-fallback {
        transition: none !important;
    }
}

/* Appin yhteinen kosketus- ja kokoluokka: vähintään 44 px. */
.pa-app-shell .pa-functional-icon {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    padding: 8px !important;
}

.pa-app-shell .pa-functional-icon svg,
.pa-app-shell .pa-functional-icon i,
.pa-app-shell .pa-functional-icon > img,
.pa-app-shell .pa-functional-icon > .pa-header-icon-fallback {
    width: 29px !important;
    height: 29px !important;
}

@media (max-width: 767px) {
    .pa-app-shell .pa-functional-icon {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        padding: 7px !important;
    }

    .pa-app-shell .pa-functional-icon svg,
    .pa-app-shell .pa-functional-icon i,
    .pa-app-shell .pa-functional-icon > img,
    .pa-app-shell .pa-functional-icon > .pa-header-icon-fallback {
        width: 27px !important;
        height: 27px !important;
    }
}


/* PääAsia UI polish 2.1.1 source: assets\css\functional-icons.css */
/*
 * Shared base for every functional icon that opens a view, panel or drawer.
 * Add .pa-functional-icon to all future interactive icons and use
 * .pa-functional-icon__badge for their counters.
 */
.pa-functional-icon {
    position: relative !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 7px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #fff !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transform: scale(1);
    transform-origin: center;
    transition: transform 160ms ease !important;
}

.pa-functional-icon svg,
.pa-functional-icon i,
.pa-functional-icon > img,
.pa-functional-icon > .pa-header-icon-fallback {
    width: 29px !important;
    height: 29px !important;
    display: block !important;
    color: currentColor !important;
    fill: none !important;
    transform: scale(1);
    transform-origin: center;
    transition: transform 160ms ease !important;
}

.pa-functional-icon:hover,
.pa-functional-icon:focus-visible,
.pa-functional-icon[aria-expanded="true"] {
    border-color: transparent !important;
    background: transparent !important;
    color: #fff !important;
    outline: none;
}

.pa-functional-icon:hover svg,
.pa-functional-icon:hover i,
.pa-functional-icon:hover > img,
.pa-functional-icon:hover > .pa-header-icon-fallback,
.js-pa-user-drawer-open:hover .pa-functional-icon svg {
    transform: scale(1.16);
}

.pa-functional-icon:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .3) !important;
}

.pa-functional-icon__badge {
    position: absolute !important;
    z-index: 2 !important;
    top: 1px !important;
    right: 0 !important;
    min-width: 15px !important;
    height: 15px !important;
    padding: 0 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255, 255, 255, .8) !important;
    border-radius: 999px !important;
    background: #b52f36 !important;
    color: #fff !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .28) !important;
    font: 700 9px/15px Montserrat, Arial, sans-serif !important;
    text-align: center !important;
    pointer-events: none !important;
}

.pa-functional-icon__badge[hidden],
.pa-functional-icon__badge[data-count="0"] {
    display: none !important;
}

@media (max-width: 767px) {
    .pa-functional-icon {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
        padding: 7px !important;
    }

    .pa-functional-icon svg,
    .pa-functional-icon i,
    .pa-functional-icon > img,
    .pa-functional-icon > .pa-header-icon-fallback {
        width: 27px !important;
        height: 27px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pa-functional-icon,
    .pa-functional-icon svg,
    .pa-functional-icon i,
    .pa-functional-icon > img,
    .pa-functional-icon > .pa-header-icon-fallback {
        transition: none !important;
    }
}
.pa-ui-icon.fa-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-size: 27px;
    line-height: 1;
    fill: currentColor;
    stroke: none;
}
