.budget-summary-box { 
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    margin: 0 0 30px 0;
}

.budget-summary-item-wrapper {
    flex-grow: 1;
    flex-grow: 1;
}

.budget-summary-item-label {
    margin: 0 0 3px 0;
    font-size: 0.7rem;
    font-weight: normal;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

.budget-summary-item-amount {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
}

.all-values {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0 0 20px 0;
}

.budget-item-block {
    flex-grow: 1;
    flex-basis: 100%;
    margin: 0;
}

@media only screen and (min-width: 800px) {
    .budget-item-block {
        flex-grow: 1;
        flex-basis: calc(50% - 15px);
        margin: 0;
    }
}

.budget-item-title {
    box-sizing: border-box;
    margin: 0;
    padding: 0 10px;
    font-size: 1rem;
    line-height: 32px;
    border-radius: 5px;
}

.budget-item-block:nth-child(5n+1) .budget-item-title {
	background-color: #BDDDF4;
}

.budget-item-block:nth-child(5n+2) .budget-item-title {
	background-color: #B9F5D7;
}

.budget-item-block:nth-child(5n+3) .budget-item-title {
	background-color: #DCF4B5;
}

.budget-item-block:nth-child(5n+4) .budget-item-title {
	background-color: #ffe6af;
}

.budget-item-block:nth-child(5n+5) .budget-item-title {
	background-color: #ffd6cf;
}

.budget-item-block:nth-child(5n+6) .budget-item-title {
	background-color: #D1D8F3;
}

.budget-item-category-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.budget-item-category-list li {
    display: flex;
    padding: 8px 4px;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
}

.budget-item-category-list li:focus,
.budget-item-category-list li:active,
.budget-item-category-list li:hover {
    background-color: #f1f1f1;
}

.budget-item-category-list li:last-child {
    border: none;
}

.budget-item-name, .budget-item-edit, .budget-item-amount, .budget-category-total {
    line-height: 1.3em;
}

.budget-item-name {
    flex-grow: 1;
}

.budget-item-edit {
    flex-basis: 38px;
    flex-grow: 0;
    flex-shrink: 0;
    background-image: url("../../assets/images/icons/icon-pencil-gray.svg");
	background-repeat: no-repeat;
	background-size: 14px;
	background-position: center 2px;
}

.budget-item-amount {
    flex-grow: 0;
    flex-shrink: 0;
    padding: 0;
    font-weight: bold;
}

.budget-category-total {
    flex-grow: 1;
    font-size: 0.8rem;
    font-weight: bold;
    text-align: right;
    text-transform: uppercase;
}