#central-body {

    .header-row {
        display: flex;
        width: 100%;
        flex-direction: column;
    }
}


#category-statistics {
    & {
        margin-top: clamp(0px, calc(116 / 1920 * 100vw), 116px);
        margin-bottom: 50px;
    }

    .title {
        font-size: clamp(21px, calc(24 / 1920 * 100vw), 24px);
        font-weight: 700;
    }

    .description {
        font-size: clamp(15px, calc(19 / 1920 * 100vw), 19px);
        font-weight: 700;
        padding-top: 17px;
        line-height: 1.7;
        max-width: 600px;
    }

    @media (min-width: 992px) {
        .description {
            max-width: unset;
        }
    }

    .col-stat-description {
        flex: 1 1 100%;
        max-width: 100%;
        padding-left: 16px;
    }

    @media (min-width: 992px) {
        .col-stat-description {
            flex: 1 1 50%;
            max-width: 50%;
            padding-left: 16px;
        }
    }

    @media (min-width: 1300px) {
        .col-stat-description {
            flex: 1 1 46%;
            max-width: 46%;
            padding-left: 16px;
        }
    }


    .col-stat-description-full {
        flex: 1 1 100%;
        max-width: 600px;
        padding-left: 16px;
    }

    @media (min-width: 992px) {
        .col-stat-description-full {
            flex: 1 1 60%;
            max-width: 60%;
        }
    }

    .col-stat-description-full .description {
        margin-bottom: clamp(60px, calc(130 / 1920 * 100vw), 130px);
    }


    .col-stat-graph {
        flex: 1;
        display: flex;
        justify-content: flex-end;
    }

    .x-chart-js__container--pie-full {
        width: 100%;
        max-width: 100%;
        padding-right: 0;
    }

    .x-chart-js__container--bar-full {
        width: 100%;
        max-width: 800px;
        padding-right: 0;
        margin: auto
    }

    .x-chart-js__canvas--pie-full {
        width: 100% !important;
        max-width: none;
        max-height: clamp(300px, calc(650 / 1920 * 100vw), 650px);
    }

    .stat-row-border {
        border-bottom: 2px solid var(--g-color-ligh-blue);
    }

    .stat-row-margin {
        margin-bottom: clamp(50px, calc(120 / 1920 * 100vw), 120px);
    }

    .stat-row-padding {
        padding-bottom: clamp(50px, calc(120 / 1920 * 100vw), 120px);
    }

    .x-chart-js__container {
        padding: 6px 15px 6px 10px;
        /*border: 2px solid #ababab;*/
        /*background: -o-linear-gradient(top, white, #d8d8d8);*/
        /*background: -webkit-gradient(linear, left top, left bottom, from(white), to(#d8d8d8));*/
        /*background: linear-gradient(to bottom, white, #d8d8d8);*/
        background: transparent;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .x-chart-js__container canvas {
        max-height: 320px;
    }


    @media (min-width: 768px) {
        .x-chart-js__container canvas {
            max-height: 300px;
        }
    }

    .x-chart-js__container {
        padding: 1px;
    }

    @media (min-width: 992px) {
        .x-chart-js__container {
            padding: 12px 30px 12px 0;
        }

        .x-chart-js__container canvas {
            max-height: 350px;
        }
    }

    .legend {
        margin-top: clamp(35px, calc(69 / 1920 * 100vw), 69px);
        margin-left: 0;
        display: flex;
        flex-direction: column;
        gap: clamp(15px, calc(24 / 1920 * 100vw), 24px);
        padding-bottom: clamp(18px, calc(55 / 1920 * 100vw), 55px);
    }

    @media (min-width: 992px) {
        .legend {
            margin-left: 11px;
        }
    }

    .legend-item {
        display: flex;
        font-size: clamp(15px, calc(19 / 1920 * 100vw), 19px);
        font-weight: 700;
        /* gap: 44px; */
        align-items: center;
    }

    .legend-title {
        margin-left: clamp(25px, calc(43 / 1920 * 100vw), 43px);
    }

    @media (max-width: 575px) {
        .legend-title {
            flex: 1;
        }
    }

    .legend-value {
        color: var(--g-color-ligh-blue);
        padding-left: 10px;
    }

    .graph-color {
        width: clamp(25px, calc(48 / 1920 * 100vw), 48px);
        height: clamp(25px, calc(48 / 1920 * 100vw), 48px);
        border-radius: 50%;
    }

    .x-chart-js__container {
        padding: 6px 15px 6px 10px;
        /*border: 2px solid #ababab;*/
        /*background: -o-linear-gradient(top, white, #d8d8d8);*/
        /*background: -webkit-gradient(linear, left top, left bottom, from(white), to(#d8d8d8));*/
        /*background: linear-gradient(to bottom, white, #d8d8d8);*/
        background: transparent;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .x-chart-js__container canvas {
        max-height: 320px;
    }


    @media (min-width: 768px) {
        .x-chart-js__container canvas {
            max-height: 300px;
        }
    }


    @media (min-width: 992px) {
        .x-chart-js__container {
            padding: 12px 30px 12px 0;
        }

        .x-chart-js__container canvas {
            max-height: 650px;
        }
    }


    .graph-1-color-1 {
        background-color: #007396;
    }

    .graph-1-color-2 {
        background-color: #00527B;
    }

    .graph-1-color-3 {
        background-color: #004769;
    }

    .graph-1-color-4 {
        background-color: #00B0ED;
    }

    .graph-1-color-5 {
        background-color: #0092C1;
    }


    .graph-2-color-1 {
        background-color: #00527B;
    }

    .graph-2-color-2 {
        background-color: #004769;
    }

    .graph-2-color-3 {
        background-color: #003751;
    }

    .graph-2-color-4 {
        background-color: #00B0ED;
    }

    .graph-2-color-5 {
        background-color: #0092C1;
    }

    .graph-2-color-6 {
        background-color: #007396;
    }


    .graph-3-color-1 {
        background-color: #9cd6ec;
    }

    .graph-3-color-2 {
        background-color: #7fcce8;
    }

    .graph-3-color-3 {
        background-color: #05afea;
    }

    .graph-3-color-4 {
        background-color: #7fc6f0;
    }

    .graph-3-color-5 {
        background-color: #3f94cd;
    }

    .graph-3-color-6 {
        background-color: #2bb8f0;
    }

    .category-buttons {

        & {
            display: flex;
            margin: 50px 0;
            position: relative;
            width: 100%;
            justify-content: center;
            text-align: center;
            z-index: 999;
        }

        @media (min-width: 992px) {
            & {
                margin: 68px 0;
            }
        }

        .col-buttons {
            display: flex;
            gap: 18px 30px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .link_strojni_park {
            padding: clamp(12px, calc(11 / 1920 * 100vw), 11px) clamp(12px, calc(27 / 1920 * 100vw), 27px);
            font-size: clamp(18px, calc(20 / 1920 * 100vw), 20px);
            pointer-events: all;
            transition: background .3s ease-in-out, color .3s ease-in-out;
            display: flex;
            gap: 10px;
            min-width: 212px;
            justify-content: center;
            background: var(--g-color-ligh-blue);
            color: white;
            border: 1px solid var(--g-color-ligh-blue);
        }

        .link_poptat_sluzbu {
            padding: clamp(12px, calc(11 / 1920 * 100vw), 11px) clamp(12px, calc(27 / 1920 * 100vw), 27px);
            font-size: clamp(18px, calc(20 / 1920 * 100vw), 20px);

            pointer-events: all;
            transition: background .3s ease-in-out, color .3s ease-in-out;
            display: flex;
            gap: 10px;
            min-width: 212px;
            justify-content: center;
            background: var(--g-color-dark-blue-on-white);
            color: white;
            border: 1px solid var(--g-color-dark-blue-on-white);
        }
    }


}
