
BuildingHover
{
    background-color: rgba(black, 0.4);
    color: white;
    font-family: Verdana;
    font-size: 18px;
    position: absolute;
    top: 0px;
    right: 410px;
    width: 450px;
    pointer-events: none;
    z-index: 800;

    flex-direction: column;
    background-color: rgba(black, 0.5);
    opacity: 1;
    transform: translateX(-8px);
    
    transition: width 0.2s ease-out;

    *
    {
        pointer-events: none;
        overflow: hidden;
        text-overflow: clip;
        opacity: 1;
        
        transition: opacity 0.2s ease-out;

        &:intro
        {
            opacity: 0;
        }
    }

    .header 
    {
        width: 100%;
        height: 72px;
        padding: 4px;
        background-color: rgba(black, 0.6);
        gap: 8px;

        *
        {
            white-space: nowrap;
        }

        .icon
        {
            width: 64px;
            height: 64px;
            background-position: center;
            background-size: contain;
            background-repeat: no-repeat;
            flex-shrink: 0;
        }

        .info
        {
            flex-direction: column;
            justify-content: space-around;
            flex-grow: 1;

            p
            {
                width: 100%;
                background-color: rgba(black, 0);
                flex-shrink: 0;
            }

            .name
            {
                font-weight: black;
                font-size: 24px;
            }

            .count
            {
                justify-content: flex-start;
                text-align: left;
                font-size: 16px;
                font-weight: normal;
            }
        }

        .price
        {
            flex-shrink: 0;
            height: 100%;
            justify-content: center;
            align-items: center;
        }
    }

    .body
    {
        flex-direction: column;
        padding: 4px;
        gap: 4px;
        font-size: 16px;

        p
        {
            background-color: rgba(black, 0.4);
            padding: 4px;
            max-height: 80px;
        }
    }

    &.locked
    {
        img
        {
            opacity: 1;
            filter: brightness(0) invert(1);
        }
    }

    &:intro
    {
        width: 0px;
    }
}