

/* Start:/local/components/mbdg/calc.electro.people/templates/.default/style.css?177805788810848*/
.block_all{
    display: none;
}
.error_input{
    border: 1px solid red !important;
}
.calc-radios:disabled {
    .calc-radio__btn, .calc-radio__btn:hover {
        border-color: var(--color-gray) !important;
        color: var(--color-gray) !important;
        background-color: var(--color-white) !important;
    }
}

.calc-people-form {
    padding: 30px;
    .calc-people-container {
        display: flex;
        width: 100%;
        justify-content: space-between;
        .calc-people-calculate-block {width: min-content;}
        .calc-people-result-block-sum-row__label{color: #737373;}
        .calc-people-result-block {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            width: 340px;
            background-color: #FFF8F4;
            border-radius: 6px;
            padding: 30px;
            .calc-people-result-block-default {
                height: 100%;
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 16px;
                font-weight: 400;
                font-size: 16px;
                line-height: 18px;
                text-align: center;
            }
            .calc-people-result-block-title {
                display: flex;
                justify-content: space-between;
                align-items: center;
            }
            .calc-form-title__icon {margin: 0 !important;}
            .calc-people-result-block-sum {
                display: flex;
                flex-direction: column;
                .calc-people-result-block-sum-row {
                    display: flex;
                    justify-content: space-between;
                    span {
                        font-weight: 400;
                        font-size: 16px;
                        line-height: 25px;
                        color: #000000;
                    }
                    span.calc-people-result-block-sum-row__sum span{
                        font-weight: 500;
                        font-size: 24px;
                        line-height: 29px;
                        color: #FF6414;
                    }
                }
                .calc-people-result-block-sum-row.display-none {display: none;}
            }
        }
        .calc-people-calculate-block-title, .calc-people-result-block-title {
            font-weight: 500;
            font-size: 24px;
        }
        .calc-people-calculate-block-items {
            .calc-people-calculate-block-items__row {
                display: flex;
                align-items: center;
                margin-bottom: 12px;
            }
            .calc-people-calculate-block-items__row:last-child {margin-bottom: 0;}
            .calc-table-label {
                width: 200px;
                font-weight: 400;
                font-size: 16px;
                line-height: 18px;
                vertical-align: middle;
                color: #83807C;
            }
            .calc-radio-input {
                display: inline-flex;
                gap: 4px;
                padding: 0;
                border: none;
                .calc-radios__radio {
                    margin: 0 !important;
                    width: auto !important;
                }
                .calc-radio__btn {
                    border-color: #EDEDED !important;
                    border-radius: 24px !important;
                    background-color: #EDEDED !important;
                    color: #000000E5 !important;
                    height: auto !important;
                    padding: 6px 16px;
                    min-height: 36px;
                    font-weight: 400;
                    font-size: 16px;
                    line-height: 24px;
                    vertical-align: middle;

                }
                .calc-radio__input:checked+.btn {
                    color: var(--color-white) !important;
                    background-color: var(--color-orange) !important;
                    border-color: var(--color-orange) !important;
                }
            }
        }
        .calc-table-consumption {
            display: flex;
            flex-direction: column;
            gap: 4px;
            .calc-table-consumption-blocks {
                display: flex;
                gap: 8px;
                .calc-table-consumption-input-title {
                    padding-bottom: 8px;
                    font-weight: 400;
                    font-size: 16px;
                    line-height: 18px;
                    color: #000000;
                }
                .calc-table-consumption-input {
                    height: 48px;
                    width: 140px;
                    border: none;
                    border-radius: 5px;
                    background-color: #F2F2F2;
                    padding: 16px 22px;
                }
            }
            .calc-table-consumption-sum {
                font-weight: 400;
                font-size: 14px;
                line-height: 16px;

            }
        }
    }

    .toggle {
        position: relative;
        display: inline-block;
        width: 46px;
        height: 24px;
    }
    .toggle-checkbox {
        opacity: 0;
        width: 0;
        height: 0;
    }
    .toggle-switch {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        transition: .4s;
        border-radius: 34px;
    }
    .toggle-switch:before {
        position: absolute;
        content: "";
        height: 20px;
        width: 20px;
        left: 2px;
        bottom: 2px;
        background-color: white;
        transition: .2s;
        border-radius: 50%;
    }
    .toggle-checkbox:checked + .toggle-switch {background-color: var(--color-orange);}
    .toggle-checkbox:checked + .toggle-switch:before {transform: translateX(21px);}
    .toggle-checkbox:disabled + .toggle-switch {
        cursor: not-allowed;
        opacity: 0.6;
        background-color: #a0a0a0;
    }
    .toggle-checkbox:checked:disabled + .toggle-switch {background-color: #7a7a7a;}
    .toggle-checkbox:disabled + .toggle-switch:before {
        background-color: #f0f0f0;
        opacity: 0.8;
    }
}

@media (max-width: 949px) {
    .calc-people-container {
        flex-wrap: wrap;
        gap: 20px;
        .calc-people-result-block {width: 100% !important;}
        .calc-people-result-block-title {margin-bottom: 10px;}
    }
}
@media (max-width: 620px) {
    .calc-people-container {
        .calc-people-calculate-block-items__row {
            flex-wrap: wrap;
            align-items: flex-start;
            gap: 8px;
            margin-bottom: 20px !important;
        }
    }
}

.calc-people-graph {
    border-top: 1px solid #ECECEC;
    display: flex;
    .graph-item:last-child {border-left: 1px solid #ECECEC;}
    .graph-item {
        width: 100%;
        padding: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        .graph-sum {
            font-weight: 400;
            font-size: 16px;
            line-height: 20px;
            letter-spacing: 0;
            color: #999999;
            span {
                font-weight: 500;
                color: #000000;
            }
        }
        .graph-item-container {
            display: flex;
            gap: 4px;
            justify-content: center;
            width: 100%;
            .graph-block {
                height: 400px;
                display: flex;
                flex-direction: column;
                align-items: self-start;
                justify-content: end;
                gap: 4px;
                width: 100%;
                .graph-block-label {min-height: fit-content !important;}
                .graph-block-label .graph-block-item-value {
                    text-align: center;
                    width: 100%;
                    p {
                        margin-bottom: 0;
                        word-break: break-all;
                        font-weight: 400;
                        font-size: 14px;
                        line-height: 12px;
                        color: #999999;
                        span {
                            font-weight: 500;
                            color: #000000;
                        }
                    }
                }
                .graph-block-item, .graph-block-label {
                    display: flex;
                    gap: 4px;
                    min-height: 25px;
                    width: 100%;
                    justify-content: end;
                    .graph-block-item-label {
                        min-width: 50px;
                        display: flex;
                        flex-direction: column;
                        align-items: self-end;
                        justify-content: center;
                        font-weight: 500;
                        font-size: 8px;
                        line-height: 10px;
                        letter-spacing: 0;
                        text-transform: uppercase;
                        color: #737373;
                        .graph-block-number {
                            font-size: 14px;
                            line-height: 12px;
                        }
                    }
                    .graph-block-item-value {
                        height: 100%;
                        border-radius: 10px;
                        align-content: center;
                        text-align: center;
                        width: 100%;
                        max-width: 150px;
                        span {
                            font-weight: 500;
                            font-size: 14px;
                            line-height: 12px;
                            letter-spacing: 0;
                            color: #ffffffc2;
                            word-break: break-all;
                            .graph-block-value {color: #FFFFFF;}
                        }
                    }
                }
            }
            .graph-block.right-block {
                align-items: self-end;
                .graph-block-item, .graph-block-label {
                    justify-content: start;
                    .graph-block-item-label {
                        display: flex;
                        flex-direction: column;
                        align-items: self-start;
                    }
                }
            }
        }
    }
}
@media (max-width: 895px) {
    .calc-people-graph {
        flex-direction: column;
        .graph-item:last-child {border-top: 1px solid #ECECEC;}
        .graph-item {padding: 30px 5px}
    }
}

/* End */
/* /local/components/mbdg/calc.electro.people/templates/.default/style.css?177805788810848 */
