/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

#expenditures,
#salaries,
#incomes,
#balance,
#yearly-net-balance-with-salaries,
#yearly-net-balance-with-salaries td {
    width: 100%;
    border: 1px solid;
    border-color: #e0e0e0;
}

th,
th.wdtheader,
#expenditures th,
#salaries th,
#incomes th,
#balance th,
#yearly-net-balance-with-salaries th {
    font-size: 10px;
    border: none;
    padding: 15px !important;
}

#incomes th {
    background: #5ab348;
    color: #fff;
}

#expenditures th,
#salaries th {
    background: #ff6b44;
    color: #fff;
}

#balance th,
#yearly-net-balance-with-salaries th {
    background: #9f9f9f;
    color: #fff;
}

#expenditures td,
#salaries td,
#incomes td,
#balance td {
    padding: 15px;
    border: 1px solid;
    border-color: #e0e0e0;
}

#salaries td {
    background: #ffffff;
}

td[data-sum]:after,
#yearly-net-balance-with-salaries td:after,
#salaries td.yearly-total-salaries:after {
    content: '\ Ft';
}

td.wdt-sum-cell {
    padding-right: 15px;
    font-weight: bold!important;
}

/*
td.wdt-sum-cell.formula:after {
    content: ' Ft';
}
*/

td.wdt-sum-cell.formula:before {
    content: '∑ = ';
}

td.wdt-sum-cell.formula.yearly-unit:after {
    content: '\ egység';
}

.wpdt-c .form-group {
    margin-bottom: 10px!important;
}

.wpDataTable tr > td:first-child:not(.wdt-sum-cell),
td.numdata:not(.wdt-sum-cell) {
    background: #daefff!important;
}

td[class~="formula"]:not(.wdt-sum-cell) {
    background: #fafafa!important;
}