.activity-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: .5rem .5rem;
    border-radius: 12px;
    line-height: normal;
    /*box-shadow: var(--custom-box-shadow);*/
}

.activity-card.memo {
    border-left: 5px solid var(--mud-palette-info-darken);
    background-color: hsl(from var(--mud-palette-info-darken) h s 98%);
}

.activity-card.interna {
    border-left: 5px solid var(--mud-palette-success-darken);
    background-color: hsl(from var(--mud-palette-success-darken) h s 98%);
}

.activity-card.commessa {
    border-left: 5px solid var(--mud-palette-warning);
    background-color: hsl(from var(--mud-palette-warning) h s 98%);
}

.activity-left-section {
    display: flex;
    align-items: center;
    margin-left: 4px;
}

.title-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.activity-hours {
    font-weight: 700;
    color: var(--mud-palette-text-primary);
}

.activity-hours-section ::deep .mud-chip { margin: 5px 0 0 !important; }

.activity-body-section {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.title-section ::deep > .activity-title {
    font-weight: 800 !important;
    margin: 0 !important;
    line-height: normal !important;
    color: var(--mud-palette-text-primary);
}

.activity-body-section ::deep > .activity-subtitle {
    color: var(--mud-palette-gray-darker);
    margin: .2rem 0 !important;
    line-height: normal !important;
}

.activity-info-section {
    display: flex;
    flex-wrap: wrap;
}