.all {
    display: flex;
    gap: 50px;
}

.all > div {
    width: 50%;
}

.all > div > h3 {
    font-size: 1.2em;
    font-weight: 500;
    color: #fff;
}

.left-card {
    color: #000;
    background-color: #d9d9d9;
    border-radius: 20px;
    flex: 1;
}

.right-card {
    color: #fff;
    background-color: #0097d5;
    border-radius: 20px;
    flex: 1;
}

.right-column, .left-column {
    display: flex;
    flex-direction: column;
}

.left-grid, .right-grid {
    padding: 30px;
}

.all input#ca {
    width: auto;
}

.field-title, .chart-title {
    display: block;
    font-weight: 500;
    font-size: 1.2em;
}

.field-title {
    margin-bottom: 5px !important;
    line-height: 2;
}

.chart-title {
    color: #fff !important; 
    text-align: center;
    margin-bottom: 0;
}

.three-l, .ten-l {
    margin-top: 30px;
}

.right-grid-wrapper {
    display: flex;
}

.right-grid-wrapper > div {
    width: 50%;
}

#square-grey {
    width: 30px;
    height: 30px;
    background: #d9d9d9;
    border-radius: 5px;
}
  
#square-yellow {
    width: 30px;
    height: 30px;
    background: #ffbd59;
    border-radius: 5px;
}

.legend {
    display: flex;
    gap: 20px;
    justify-content: center;
    color: #000;
}

.legend p {
    padding: 0;
}

.legend-line {
    display: flex;
}

.legend-line p { 
    color: white;
}

.inaction {
    font-weight: 500;
    color: #fff;
    line-height: 1.1;
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 35px;
}

.savings {
    text-align: center;
    color: #fff;
}

.slider {
    width: calc(100% - 150px);
}

.wrapper_slider {
    position: relative;
}

.six-l {
    padding: 30px 0;
}

.four-l {
    position: absolute;
    left: 0;
}

.five-l {
    position: absolute;
    right: 150px;
}

.seven-l {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 500;
    color: #0097d5;
}

.eight-l {
    position: absolute;
    bottom: 0;
}

.eightpointfive-l {
    position: absolute;
    bottom: 0;
    left: calc((100% - 165px) / 2);
}

.nine-l {
    position: absolute;
    right: 140px;
    bottom: 0;
}

.fourteen-l {
    padding: 30px 0;
}

.fifteen-l {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 500;
    color: #0097d5;
}

.eleven-l {
    margin-bottom: 10px;
}

.twelve-l {
    position: absolute;
    left: 0;
}

.thirteen-l {
    position: absolute;
    right: 150px;
}

.sixteen-l {
    position: absolute;
    bottom: 0;
}

.sixteenpointfive-l {
    position: absolute;
    bottom: 0;
    left: calc((100% - 165px) / 2);
}

.seventeen-l {
    position: absolute;
    right: 140px;
    bottom: 0;
}

@media screen and (max-width: 991px) {
    .all {
        flex-direction: column;
    }

    .all > div {
        width: 100%;
        max-width: 700px;
        margin: auto;
    }
}

@media screen and (max-width: 480px) {
    .right-grid-wrapper {
        flex-direction: column;
    }

    .right-grid-wrapper > div {
        width: 100%;
    }

    .legend {
        flex-direction: column;
    }

    .wrapper_slider {
        padding-bottom: 10px;
    }

    .slider {
        width: 100%;
    }

    .seventeen-l, .nine-l, .thirteen-l, .five-l {
        right: 0;
    }

    .eight-l, .eightpointfive-l, .nine-l, .sixteen-l, .sixteenpointfive-l, .seventeen-l {
        bottom: 10px;
    }

    .sixteenpointfive-l, .eightpointfive-l {
        left: calc((100% - 15px) / 2);
    }

    .seven-l, .fifteen-l {
        right: unset;
        top: calc(100% + 5px);
    }

    .two-l input {
        width: 100%;
    }

    .one-r .chart-wrapper, .two-r .chart-wrapper {
        height: 200px;
        margin-bottom: 20px;
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

