/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 2021-10-04, 09:20:13
    Author     : Grafik
*/

@font-face {
    font-family: "Montserrat";
    font-weight: 400;
    src: url("/assets/fonts/Montserrat-Regular.woff2") format("woff2"),
        url("/assets/fonts/Montserrat-Regular.woff") format("woff");
}

@font-face {
    font-family: "Montserrat";
    font-weight: 500;
    src: url("/assets/fonts/Montserrat-SemiBold.woff2") format("woff2"),
        url("/assets/fonts/Montserrat-SemiBold.woff") format("woff");
}

@font-face {
    font-family: "Montserrat";
    font-weight: 800;
    src: url("/assets/fonts/Montserrat-ExtraBold.woff2") format("woff2"),
        url("/assets/fonts/Montserrat-ExtraBold.woff") format("woff");
}

html {
    font-size: 16px !important;

}

body {
    color: #070707;
    background: url("../img/bg_budzet-min.jpg") top right;
    font-family: "Montserrat" !important;
    font-weight: 400;
}

.right-side h1 {
    font-size: 36px;
    font-weight: 600;
    background: #fff;
    padding: 2rem 0;
    text-align: left;
    margin-bottom: 0;
    margin-top: 0;
    padding-left: 2rem;
}

h2 {
    display: inline;
}

.page {
    display: flex;
    height: 100%;
}

.page .left-side {
    width: 20%;
    background: #d9d8d8;
    position: fixed;
    height: 100%;
    z-index: 2;
}

.page .right-side {
    width: 80%;
    margin-left: 20%;

}


.main-outcome-graph,
.main-income-graph {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    margin: 0 auto;
    height: 260px;
    border-bottom: 1px solid #ddd;
}

.main-outcome-graph .graph-bar,
.main-income-graph .graph-bar {
    width: 40px;
    color: #222;
    background: #4336bf;
    position: relative;
    text-align: center;
    transform-style: preserve-3d;
    border-radius: 6px 6px 0 0;
    opacity: 0;
}

.main-outcome-graph .graph-bar span:first-child,
.main-income-graph .graph-bar span:first-child {
    font-weight: 500;
}

.main-outcome-graph .graph-bar::after,
.main-income-graph .graph-bar::after {
    content: " ";
    background: none;
    position: absolute;
    /* top: 0; */
    width: 137%;
    height: calc(100% - 5px);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateZ(-1px);
    border-radius: 6px 6px 0 0;
}

.main-outcome-graph .graph-bar span:first-child,
.main-income-graph .graph-bar span:first-child {
    position: relative;
    top: -22px;

}

.main-outcome-graph .graph-bar span:last-child,
.main-income-graph .graph-bar span:last-child {
    position: absolute;
    bottom: -75px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
}

.main-outcome-graph .graph-bar div.bar-title,
.main-income-graph .graph-bar div.bar-title {
    position: absolute;
    bottom: -46px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
}

.bar-title span {
    font-weight: 400 !important;
}

.left-side .site-brand {
    padding: 4rem 1rem;
    text-align: center;
}

.left-side .site-brand .unit-name {
    font-size: 1.125rem;
}

.left-side nav {
    padding: 3rem 4rem;
}

.left-side nav ul {}

.left-side nav ul li {}


.left-side nav li {
    font-size: 1.575rem;
    padding: 0.7rem;
}

.left-side nav li {
    border-bottom: 1px solid #aaa;

}

.left-side nav li:last-child {
    border-bottom: 0px;
}

.left-side #main-income {
    background: #fff;
    color: #4336bf;
    padding: 3rem 1rem;
    text-align: center;
}

.left-side #main-income span:first-child {
    display: block;
    font-size: 1.125rem;
}

.left-side #main-income span:last-child {
    font-size: 2.5rem;
    font-weight: 800;
}

.left-side nav li a {
    text-decoration: none;
    color: #000;
    display: flex;
    align-items: center;
}

.left-side nav li a span {
    padding-left: 1rem;
}

.left-side nav li a:hover {
    font-weight: 500;
}

.left-side nav li img {
    padding-right: 1rem;
    position: relative;
}

.right-side .outcome-wrap,
.right-side .income-wrap {
    margin-bottom: 7rem;
}

.right-side main,
.right-side header {
    padding: 0 6rem;
}

.right-side header {
    background: white;
    padding-top: 2rem;
    display: flex;
    align-items: center;
}

header img {
    max-width: 74px;
    height: 100%;
}

.right-side main {
    /* background: rgba(203, 197, 255, 0.1); */
}



.right-side .section-header {
    padding: 4rem 0 1rem;
    margin-bottom: 2rem;
    font-size: 1.6rem;
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
}

.right-side #kalkulator-blok .section-header {
    padding-top: 2rem;
}

.right-side .section-header .section-title {
    width: 50%;
}

.right-side .section-header h2 {
    font-size: 1.8rem;
}

.right-side .subtitle {
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.right-side .section-header a {
    color: #b2b1b2;
    text-decoration: none;
}

.right-side .section-header a:hover {
    color: #000;
    font-weight: 500;
    text-decoration: underline;
}

.right-side .section-header a.active {
    color: #070707;
    font-weight: 500;
    text-decoration: underline;
}

.right-side .total-outcome,
.right-side .total-income {
    font-size: 1.5rem;
    text-align: right;

    padding: 1rem;
    border-radius: 6px;
}

.right-side .total-outcome .super-bold,
.right-side .total-income .super-bold {
    font-weight: 800;
    font-size: 2.6rem;
    letter-spacing: -1px;
}

.right-side .total-outcome .super-bold span,
.right-side .total-income .super-bold span {
    font-weight: 400;
    font-size: 1.5rem;
}

.right-side .subcategories ul {
    column-count: 4;
    column-rule: 1px solid #57332b2e;
}

.right-side .subcategories .subcategories-wrapper {
    background: #d9d8d8;
    padding: 1rem 3rem 3rem 3rem;
}

.right-side .subcategories .subcategories-wrapper h3 {
    margin-bottom: 2rem;
}

.right-side .subcategories .subcategories-wrapper h3 svg {
    margin-right: 12px;
    position: relative;
    top: 2px;
}

.right-side .subcategories ul li {
    padding: 0.6rem 3rem;
    font-size: 0.875rem;
    position: relative;
    /*    padding-left: 4rem;*/
    break-inside: avoid-column;
}

.right-side .subcategories ul li a {
    text-decoration: none;
    color: black;
}

.right-side .subcategories ul li a:hover {
    text-decoration: none;
    color: #181d72;
    font-weight: 500;
}

.right-side .subcategories ul li:hover a {
    color: #181d72;
    font-weight: 500;
}

.right-side .subcategories ul li:hover {
    /*    outline: 2px solid #181d72;*/
    cursor: pointer;
}

/* .right-side .subcategories ul li:before {
    content: url("/assets/img/ikona1.png");
    position: absolute;
    left: 16px;
    transform: translateY(-50%);
    top: 50%;
} */
.right-side .subcategories ul li::before {
    content: "";
    position: absolute;
    left: 16px;
    color: #fff;
    /* border: 1px solid; */
    padding: 8px 4px;
    font-size: 10px;
    border-radius: 32px;
    background: #fff;
}

.right-side .subcategories ul li img {
    padding-right: 0.8rem;
}

.right-side .subcategories ul li span {
    padding-top: 0.2rem;
}

.right-side .subcategories ul li span {
    color: #000;
}

.bolder {
    font-weight: 500;
}

.right-side .outcome-details,
.right-side #kalkulator-blok {
    padding: 4rem 6rem;
}

.right-side .income-wrap {}

.right-side .outcome-details {
    display: flex;
    background: rgb(255, 255, 255);
    background: -moz-linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.04) 100%);
    background: -webkit-linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.04) 100%);
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.04) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff", endColorstr="#000000", GradientType=1);
    margin-top: 4rem;

}

.right-side .outcome-details .details {
    width: 50%;
    padding-right: 2rem;
}

.right-side .outcome-details #details-graph {
    width: 40%;
    padding: 1rem 3rem 0;
}

.right-side .outcome-details .details table tr td {
    padding: 0.28rem 1rem;
    border-bottom: 1px solid #ddd;
}

.right-side .outcome-details .details table tr td:first-child {
    text-align: right;
}

.right-side .outcome-details .details h3 {
    font-weight: 500;
    font-size: 1.6rem;
    border-bottom: 1px dashed;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.right-side .outcome-details .cost-per-citizen {
    /* align-self: center; */
    text-align: center;
    border-radius: 5px;
    padding: 2rem;
    background: #fff;
}

.right-side .outcome-details .cost-per-citizen #cost {
    font-size: 2rem;
    font-weight: 800;
    display: block;
    text-align: center;
    margin-bottom: 2rem;
}

.right-side .outcome-details .cost-per-citizen .small-text {
    margin-top: 1rem;
    display: block;
    margin-bottom: 1rem;
}

.sub-bolder {
    font-size: 2.875rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.sub-bolder span {
    font-weight: 400;
    font-size: 2.2rem;
}

/*.main-outcome-graph .graph-bar:nth-child(2){
    background: #7161f8; 
}
.main-outcome-graph .graph-bar:nth-child(2)::after {
    background: rgba(113,97,248,0.9);
}

.main-outcome-graph .graph-bar:nth-child(4){
    background: #736309; 
}
.main-outcome-graph .graph-bar:nth-child(4)::after {
    background: rgba(115,99,9,0.9);
}

.main-outcome-graph .graph-bar:nth-child(5){
    background: #bfab36; 
}
.main-outcome-graph .graph-bar:nth-child(5)::after {
    background: rgba(191,171,54,0.9);
}

.main-outcome-graph .graph-bar:nth-child(6){
    background: #dfc632; 
}
.main-outcome-graph .graph-bar:nth-child(6)::after {
    background: rgba(223,198,50,0.9);
}

.main-outcome-graph .graph-bar:nth-child(7),
.main-outcome-graph .graph-bar:nth-child(10){
    background: #5d7315; 
}
.main-outcome-graph .graph-bar:nth-child(7)::after,
.main-outcome-graph .graph-bar:nth-child(10)::after{
    background: rgba(93,115,21,0.9);
}

.main-outcome-graph .graph-bar:nth-child(8){
    background: #9cbf2c; 
}
.main-outcome-graph .graph-bar:nth-child(8)::after {
    background: rgba(156,191,44,0.9);
}

.main-outcome-graph .graph-bar:nth-child(9){
    background: #9cbf2c; 
}
.main-outcome-graph .graph-bar:nth-child(9)::after {
    background: rgba(156,191,44,0.9);
}*/
.kalkulator-wrap {
    display: flex;
}

.calculator {
    padding: 1rem 3rem 1rem 0rem;
    text-align: center;
    width: 56%;
}

.calculator>span {
    font-size: 1rem;
    display: block;
    text-align: left;
    margin-bottom: 10px;
    font-style: ;
}

.calculator p {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #333;
    text-align: left;
    padding: 1rem;
}

.kalkulator-footer p {
    font-size: 0.8rem;
    background: #fff;
    padding: 1rem;
}

table.calc-tab {
    width: 100%;
    margin: 0 auto;
    font-weight: 500;
    font-size: 1.6rem;
    box-shadow: 0 0 48px rgba(0, 0, 0, 0.1);
}

table.calc-tab td {
    border: 1px solid #4336bf2b;
    padding: 1.4rem 0.75rem;
    background: #fff;
    color: #5d7ca8;
}

table.calc-tab td:not(.calc-display):hover {
    background: #fc5c38;
    color: #fff;
    cursor: pointer;
}

.calc-tab .calc-display {
    text-align: right;
    height: 84px;
    color: #fff;
    background: #5d7ca8;
}

#lista-dzialow {
    /* max-width: 801px; */
    width: 100%;
    /* display: flex; */
    /* flex-direction: column; */
    column-count: 2;
}

#lista-dzialow li {
    padding: 1rem;
    break-inside: avoid-column;
}

#lista-dzialow span:last-child {
    font-weight: bold;
    font-size: 1.6rem;
}

#lista-dzialow span {
    display: block;
}

/* Tooltip */
.graph-bar+.tooltip>.tooltip-inner {
    background-color: #fff;
    color: #333;
    border: 1px solid #eee;
    padding: 15px;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.1);
}

.tooltip-inner div {
    font-size: 0.8rem;
    font-weight: 400;
    border-bottom: 1px solid;
    padding-bottom: 1rem;
}

.tooltip-inner span {
    font-size: 1.3rem;
}

.tooltip-inner span span {
    font-size: 0.7rem;
}

.tooltip-inner div {
    font-size: 0.8rem;
    font-weight: 400;
    border-bottom: 1px solid;
}

@media (max-width: 1600px) {
    html {
        font-size: 15px !important;
    }

    .left-side nav {
        padding: 3rem 1rem;
    }

    .right-side .total-outcome,
    .right-side .total-income {
        font-size: 1.2rem;
    }

    .right-side .total-outcome .super-bold,
    .right-side .total-income .super-bold {
        font-size: 2.3rem;
    }
}

@media (max-width: 1400px) {
    .left-side nav li a {
        font-size: 1.3rem;
    }

    .right-side .total-outcome,
    .right-side .total-income {
        font-size: 1rem;
    }

    .right-side h1 {
        font-size: 28px;
    }

    .sub-bolder {
        font-size: 2rem;
    }

    .sub-bolder span {
        font-size: 1.2rem;
    }

    .right-side main,
    .right-side header {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .right-side .outcome-details .details table tr td {
        font-size: 0.8rem;
    }

    .right-side .outcome-details,
    .right-side #kalkulator-blok {
        padding: 4rem 3rem;
    }
}

@media (max-width: 1200px) {
    html {
        font-size: 13px !important;
    }

    .right-side .total-outcome .super-bold,
    .right-side .total-income .super-bold {
        display: block;
    }


}

@media (max-width: 992px) {
    html {
        font-size: 12px !important;
    }

    .graph-bar {
        width: 67px !important;
    }

    .graph-wrapper {
        overflow: scroll hidden;
        padding-top: 2rem;
        padding-bottom: 9rem;
    }

    .main-outcome-graph,
    .main-income-graph {
        width: 1000px;
    }

    .left-side nav li {
        margin-bottom: 16px;
    }

    .left-side nav li a {
        flex-direction: column;
    }

    .outcome-details {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 0px 0px;
        grid-auto-flow: row;
        grid-template-areas:
            "details details-graph"
            "details cost-per-citizen";
    }

    .right-side .outcome-details .details {
        grid-area: details;
        width: auto;
    }

    .right-side .outcome-details .details-graph {
        grid-area: details-graph;
        width: auto !important;
    }

    .right-side .outcome-details .cost-per-citizen {
        grid-area: cost-per-citizen;
    }




}

@media (max-width: 768px) {
    .outcome-details {
        display: flex !important;
        flex-direction: column;
    }

    .page .left-side {
        width: 100%;
        height: auto;
    }

    .page .right-side {
        width: 100%;
        margin-left: 0;
        margin-top: 9rem;
    }

    .left-side .site-brand {
        padding: 0;
    }

    .left-side nav ul {
        display: flex;
        justify-content: center;
        margin-bottom: 0;
    }

    .left-side nav li {
        margin-bottom: 0;
        border-bottom: 0;
        padding: 0.7rem 2rem;
    }

    .left-side nav {
        padding: 1rem 1rem;
    }

    .right-side .total-outcome .super-bold span,
    .right-side .total-income .super-bold span {
        display: block;
        line-height: 1rem;
    }

    .right-side .outcome-details .details table {
        width: 100%;
        margin-bottom: 2rem;
    }

    .sub-bolder {
        font-size: 3rem;
    }

    .right-side .outcome-details .details table tr td {
        font-size: 1rem;
    }

    .right-side .outcome-details .cost-per-citizen #cost {
        font-size: 3rem;
    }

    .right-side .subcategories ul li {
        padding: 0.6rem 1rem;
    }

    .right-side .subcategories ul {
        column-count: 2;
        column-rule: none;
    }

    .right-side .subcategories ul li::before {
        left: -6px;
    }

    .right-side .section-header {
        flex-direction: column;
        padding: 2rem 0 1rem;
    }

    .right-side .section-header .section-title {
        width: 100%;
    }

    .right-side #kalkulator-blok .section-header {
        padding: 2rem 0 1rem;
    }

    .kalkulator-wrap {
        flex-direction: column;
    }

    .calculator {
        padding: 0;
        width: 100%;
    }

    .right-side .outcome-details .details table tr td:first-child {
        width: 40%;
        font-size: 1.4rem;
    }

    .main-outcome-graph,
    .main-income-graph {
        height: 200px;
    }

    .right-side .outcome-wrap,
    .right-side .income-wrap {
        margin-bottom: 2rem;
    }
}