/* GIF versions of the original Flash assets; link positions match SWF hit areas. */
.legacy-flash-image {
    display: block;
    border: 0;
}
.legacy-flash-nav {
    position: relative;
    display: block;
    line-height: 0;
}
.legacy-flash-nav .legacy-flash-hotspot {
    position: absolute;
    display: block;
    box-sizing: border-box;
    border-radius: 2px;
    background: transparent;
}
.legacy-flash-nav .legacy-flash-hotspot:hover {
    box-shadow: inset 0 0 0 1px rgba(0, 75, 151, .55);
}
.legacy-flash-nav .legacy-flash-hotspot:focus-visible {
    outline: 2px solid #004b97;
    outline-offset: -2px;
    background: rgba(255, 255, 255, .2);
}
.legacy-flash-link-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* The menu rests on its original first frame. Only the focused or hovered
   button reveals its own area from the animated GIF. */
.legacy-flash-menu .legacy-flash-hotspot:hover,
.legacy-flash-menu .legacy-flash-hotspot:focus-visible {
    background-image: url("meniu_final.gif");
    background-repeat: no-repeat;
    background-size: 256px 120px;
    background-position: var(--sprite-x) var(--sprite-y);
}
