body {
    font-family: 'Lato', sans-serif;
    font-size: 12px;
}

.chart {
    display: block;
    max-width: 650px;
    margin: auto;
    padding: 30px 0
}

.chart .chart-header {
    margin-bottom: 45px;
    text-align: center;
}

.bar-chart .chart-wrapper {
    position: relative;
    height: 300px;
    max-width: 100%;
    margin: 0 30px 30px 30px;
}
.bar-chart .scale {
    position: absolute;
    left: 0;
    right: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.bar-chart .scale li {
    text-align: right;
    list-style: none;
    border-bottom: 1px solid #444;
    position: relative;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -moz-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.bar-chart .scale li:first-child {
    position: absolute;
    top: 0;
    width: 100%;
}
.bar-chart .scale li span {
    position: absolute;
    top: 100%;
    transform: translateY(-50%);
    right: calc(100% + 19px);
}
.bar-chart .bars {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border-left: 1px solid #444;
    border-bottom: 1px solid #444;
    box-sizing: border-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
}
.bar-chart .bars li {
    position: relative;
    list-style: none;
    flex: 1;
    width: 100px;
    height: 100%;
    margin: 0;
    text-align: center;
    cursor: pointer;
}
.bar-chart .bars li .bar {
    display: block;
    position: absolute;
    width: calc(100% - 8px);
    max-width: 120px;
    height: 0;
    margin: auto;
    bottom: 0;
    left: 0;
    right: 0;
    background: #49E;
    transition: all .5s;
}
.bar-chart .bars li:nth-child(6n + 1) .bar {
    background: #1E28D7;
}
.bar-chart .bars li:nth-child(6n + 2) .bar {
    background: #FF2C41;
}
.bar-chart .bars li:nth-child(6n + 3) .bar {
    background: #9E259B;
}
.bar-chart .bars li:nth-child(6n + 4) .bar {
    background: #00BCFD;
}
.bar-chart .bars li:nth-child(6n + 5) .bar {
    background: #00D4CA;
}
.bar-chart .bars li:nth-child(6n) .bar {
    background: #B9B9B9;
}
.bar-chart .bars li .bar:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    max-height: 100%;
    background-image: linear-gradient(to bottom, rgba(255,255,255,.5) 0, transparent 50px);
}

.bar-chart .bars li:hover .bar {
    background: #5760AB;
}

.bar-chart .bars li .bar-value {
    content: attr(data-value);
    position: absolute;
    display: block;
    bottom: 100%;
    left: 50%;
    margin-bottom: 5px;
    opacity: 0;
    transform: translate(-50%, -20px);
    transition: all .2s;
    z-index: 1;
}

.bar-chart .bars li:hover .bar-value {
    opacity: 1;
    transform: translate(-50%, 0);
}

.bar-chart .bars li span {
    width: 100%;
    position: absolute;
    bottom: -2em;
    left: 0;
    text-align: center;
}


.donut-chart .chart-outer-wrapper {
    max-width: 300px;
    padding: 0 30px 30px 30px;
    margin: auto;
}
.donut-chart .chart-wrapper {
    position: relative;
    width: 300px;
    max-width: 100%;
    padding-top: 100%;
}
.donut-chart .chart-wrapper svg,
.donut-chart .chart-wrapper .labels {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.donut-chart .chart-wrapper .labels label {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform-origin: center left;
    font-weight: 900;
}
.donut-chart .chart-wrapper .labels label span {
    display: inline-block;
}
.donut-chart circle {
    stroke-width: 9;
}
.donut-chart .donut-sections circle:nth-child(6n + 1) {
    stroke: #1E28D7;
}
.donut-chart .donut-sections circle:nth-child(6n + 2) {
    stroke: #FF2C41;
}
.donut-chart .donut-sections circle:nth-child(6n + 3) {
    stroke: #9E259B;
}
.donut-chart .donut-sections circle:nth-child(6n + 4) {
    stroke: #00BCFD;
}
.donut-chart .donut-sections circle:nth-child(6n + 5) {
    stroke: #00D4CA;
}
.donut-chart .donut-sections circle:nth-child(6n) {
    stroke: #B9B9B9;
}


.groups-infographic .chart-wrapper > div {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    margin: 0 5px 10px 5px;
    padding: 10px;
    box-sizing: border-box;
    background: #D8D9ED;
}

.groups-infographic .chart-wrapper > div:before {
    content: '';
    display: block;
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: .03;
}

.groups-infographic .section-tereny:before {
    background-image: url(../img/plant.svg);
}

.groups-infographic .section-biura:before {
    background-image: url(../img/office.svg);
}

.groups-infographic .section-hale:before {
    background-image: url(../img/manufacturing.svg);
}

.groups-infographic .chart-wrapper h4 {
    color: #fff;
    font-size: 30px;
    margin-top: 0;
    width: 100%;
}

.groups-infographic .chart-wrapper .value-wrapper {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    padding: 5px 0;
    width: 33%;
}

.groups-infographic .chart-wrapper .value-label {
    text-align: center;
    font-size: 18px;
    font-weight: 900;
    padding: 10px 5px;
    box-sizing: border-box;
    color: #777;
}

.groups-infographic .chart-wrapper .value-label small {
    display: block;
    font-size: 12px;
    color: #000;
}

.groups-infographic .chart-wrapper .svg-wrapper {
    position: relative;
    width: 50%;
    text-align: center;
}

.groups-infographic .chart-wrapper .value-wrapper svg {
    min-width: 20px;
    opacity: .5;
}

.groups-infographic .chart-wrapper .value-wrapper:nth-of-type(6n + 1) svg {
    fill: #1E28D7;
}
.groups-infographic .chart-wrapper .value-wrapper:nth-of-type(6n + 2) svg {
    fill: #FF2C41;
}
.groups-infographic .chart-wrapper .value-wrapper:nth-of-type(6n + 3) svg {
    fill: #9E259B;
}
.groups-infographic .chart-wrapper .value-wrapper:nth-of-type(6n + 4) svg {
    fill: #00BCFD;
}
.groups-infographic .chart-wrapper .value-wrapper:nth-of-type(6n + 5) svg {
    fill: #00D4CA;
}
.groups-infographic .chart-wrapper .value-wrapper:nth-of-type(6n) svg {
    fill: #B9B9B9;
}

.groups-infographic .chart-wrapper .svg-wrapper .svg-overlay {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    min-width: 20px;
    margin: auto;
    border-radius: 50%;
    background-image: radial-gradient(transparent 50%, rgba(255,255,255,1));
}

.boxes-infographic .chart-header {
    margin: 0 auto 45px auto;
    text-align: center;
    max-width: 300px;
    border: 2px solid #000;
    padding: 5px 10px;
    position: relative;
}

.boxes-infographic .chart-header:before {
    content: '';
    position: absolute;
    display: block;
    width: 0;
    left: calc(50% - 1px);
    height: 20px;
    border-right: 2px dashed #000;
    top: 100%;
}

.boxes-infographic .chart-header:after {
    content: '';
    position: absolute;
    display: block;
    width: 0;
    left: calc(50% - 1px);
    height: 20px;
    border-right: 2px dashed #000;
    top: 100%;
}

.boxes-infographic .chart-wrapper {
    display: flex;
    flex-grow: 1;
    flex-basis: 0;
    position: relative;
}

.boxes-infographic .chart-wrapper:before {
    content: '';
    display: block;
    position: absolute;
    left: 17%;
    right: 17%;
    top: -26px;
    border-top: 2px dashed #000;
}

.boxes-infographic .chart-wrapper > div:before {
    content: '';
    position: absolute;
    display: block;
    width: 0;
    left: calc(50% - 1px);
    height: 30px;
    border-right: 2px dashed #000;
    bottom: 100%;
}

.boxes-infographic .chart-wrapper > div:after {
    content: '';
    position: absolute;
    display: block;
    width: 8px;
    left: calc(50% - 6px);
    height: 8px;
    border: 2px solid #000;
    border-radius: 50%;
    bottom: calc(100% - 6px);
    background-color: #fff;
}

.boxes-infographic .item-wrapper {
    position: relative;
    margin: 5px;
    padding: 10px 20px 20px;
    width: 100%;
    color: #fff;
    text-align: center;
    word-break: break-word;
}

.boxes-infographic .item-wrapper:nth-child(1) {
    background-color: #9E259B;
}

.boxes-infographic .item-wrapper:nth-child(2) {
    background-color: #00BCFD;
}

.boxes-infographic .item-wrapper:nth-child(3) {
    background-color: #00D4CA;
}

.boxes-infographic .item-header {
    font-size: 20px;
}
.boxes-infographic .item-value {
    font-weight: 900;
    font-size: 25px;
}

.map-chart {
    margin-bottom: 125px;
}
.map-chart .bars li span {
    text-align: left;
    white-space: nowrap;
    transform: translate(-100%, 0) rotate(-90deg);
    transform-origin: right;
    display: block;
    width: auto;
    position: absolute;
    left: 50%;
}

.map-chart .bars li .bar-value {
    background: #EE273B;
    color: #fff;
    padding: 3px;
}
