/* wykres chart Line i pie */

@media screen and (max-width: 518px) {
    .charLine {
        height: 80vh !important;
        width: 100% !important;
    }

    .chartPie {
        margin-bottom: 20px !important;
    }
}

/* iphone SE / ekran poziomo */

@media screen and (max-width: 569px) and (orientation: landscape){
    .wrapperChart {
        height: 100vh !important;
        width: 100% !important;
    }
}

/* iphone x / ekran poziomo */

@media screen and (max-width: 813px) and (orientation: landscape){
    .wrapperChart {
        height: 100vh !important;
        width: 100% !important;
    }
}

/* iphone 6/7/8 plus / ekran poziomo */

@media screen and (max-width: 737px) and (orientation: landscape){
    .wrapperChart {
        height: 100vh !important;
        width: 100% !important;
    }
}

/* custom legend */

.canvas-con {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 365px;
    position: relative;
}
.canvas-con-inner {
    height: 100%;
}
.canvas-con-inner, .legend-con {
    display: inline-block;
}
.legend-con {
    display: flex;
    justify-content: center;;
}
.legend-con ul {
    list-style: none;
    padding: 0;
}
.legend-con li {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}
.legend-con li span {
    display: inline-block;
}
.legend-con li span.chart-legend {
    width: 25px;
    height: 25px;
    margin-right: 10px;
    padding: 12px;
    display: block;
}

/* rwd legend */

@media screen and (max-width: 518px) {
    .legend-con li {
        margin-bottom: 10px;
    }
}
