#calc-box {
    border: 1px solid #6664;
    border-radius: 15px;
    padding: 50px 64px;
    background-color: #c3c8ce7f;
}

.calculator__checkbox {
    position: relative;
    cursor: pointer;
    line-height: 20px;
}

.calculator__checkbox input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.calculator__checkbox .checkbox__content {
    padding-left: 15px;
}

.calculator__checkbox input[type="radio"] + .checkbox__content::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 15px;
    height: 15px;
    transform: translateY(-50%);
    border-radius: 15px;
    background: transparent content-box;
    padding: 2px;
    border: 1px solid #000;
}

.calculator__checkbox input[type="radio"]:checked + .checkbox__content::after {
    background-color: var(--accent-color);
}


/*
#calc-box input[type="radio"]:before {
    width: 15px;
    height: 15px;
    border-radius: 15px;
    top: -2px;
    left: -1px;
    position: relative;
    content: '';
    background-color: #fff;
    display: inline-block;
    visibility: visible;
    border: 2px solid white;
} */

/* #calc-box input[type="radio"]:checked:before {
    background-color: var(--accent-color);
} */

.calculator__checkbox-container {
    display: flex;
}

.calculator__checkbox { 
    display: flex;
    align-items: center;
}

.calculator__checkbox-wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.calculator-manufacturer { 
    grid-template-columns: none!important;
    grid-template-rows: repeat(2, minmax(0, 1fr))!important;
}

.el-second-col { 
    grid-column: 2;
}

.calculator__checkbox-wrap .checkbox__span {
    margin-right: .5rem;
}

.calculator__checkbox-wrap .calculator__checkbox:first-child {
    margin-left: 0;
}

.calculator__checkbox-wrap .checkbox__content {
    font-size: 110%;
    font-weight: 700;
    color: var(--accent-color);
    margin-right: .5rem;
}

.calculator__checkbox .checkbox__content { 
    margin-left: .5rem
}

.calculator__checkbox-wrap .calculator__p-muted {
    font-size: 110%;
    color: var(--accent-color);
    font-weight: 700;
}

.calculator__checkbox-units-wrap {
    display: flex;
    width: auto !important;
    border: 1px solid #fff;
    border-radius: 1rem;
}

.calculator__checkbox-units-wrap .calculator__checkbox {
    margin-inline: .5rem;
}

.calculator__checkbox-units-wrap .checkbox__content {
    margin-right: .5rem;
}

.calc-box-last .calculator__checkbox-units-wrap .calculator__checkbox {
    margin-right: 0;
}

.calculator__label-wrap {
    width: 100%;
    display: flex;
    gap: 0 10px;
    align-items: center;
}

.calculator__label-wrap .form-label {
    margin-bottom: 0;
}

.calculator__tooltip-wrap {
    position: relative;
}

.tooltip__action {
    display: block;
    width: 30px;
    height: 30px;
    font-size: 14px;
    background: #BECBCA;
    border: #fff solid 1px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tooltip__content {
    position: absolute;
    width: 300px;
    top: 0;
    visibility: hidden;
    right: -95px;
    opacity: 0;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    white-space: pre-line;
    padding: 15px 23px;
    background: #BECBCA;
    border: #fff solid 1px;
    border-radius: 16px;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.calculator__tooltip-wrap:hover .tooltip__content {
    visibility: visible;
    opacity: 1;
}

.calc-box {
    padding: 10px 25px;
    height: 100%;
}

.calc-box-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px 0;
    height: 100%;
}

.flex-1 {
    flex: 1 1 0%;
}

.h-full { 
    height: 100%;
}

.p-none { 
    padding: 0 0 !important;
}

.gap-2 {
    gap: 10px 0;
}

.justify-between { 
    justify-content: space-between;
}

.justify-end { 
    justify-content: end;
}

.calc-box-price-block { 
    height: 480px;
}

.calc-box-last {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    border: 1px solid #fff;
    border-radius: 50px;
    background-color: #d0d7d9;
    padding: 25px 25px;
}

.calc-box-first { 
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    border: 1px solid #fff;
    border-radius: 50px;
    background-color: #B3C2C1;
    padding: 25px 40px;
}
.block-flex-end { 
    display: flex;
    justify-content: flex-end;
}
.calculator__checkbox-buyer-wrap {
    display: flex;
    flex-direction: column;
    width: 280px;
}

.calc-box-first .hint { 
    margin: 25px 0;
}

.calc-box-first-title { 
    font-size: 16px;
    font-weight: 700;
    color: #3e6c61;
}

.calc-box-block {
    text-align: center;
}

.calc-box-block p {
    margin-bottom: 0;
}

.calc-box-block .result {
    font-size: 30px;
    font-weight: 500;
}

.calc-box-h3 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 20px 0;
    padding: 0 0 0 40px ;
}

#calc-box .calc-box-last .my-field,
#calc-box .calc-box-last .my-field input {
    margin: 0 auto;
}

#calc-box .my-field label {
    font-weight: 500;
    text-align: center;
}

div.slider-field {
    margin-top: 1rem;
}

div.slider-field>.row {
    padding-right: 0;
}

.form-label {
    font-size: 16px;
    font-weight: 500;
}

.slider-pic {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 10px;
    background: linear-gradient(to right, white, var(--accent-color));
    outline: none;
    -webkit-transition: opacity .15s ease-in-out;
    transition: opacity .15s ease-in-out;
    border: none;
    box-shadow: 2px 2px 3px var(--default-color);
}

.slider-pic::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 37px;
    height: 37px;
    border-radius: 50%;
    background: var(--surface-color);
    cursor: pointer;
    box-shadow: 2px 10px 10px var(--default-color), inset 0 -5px 5px #ccc;
}

.slider-pic::-moz-range-thumb {
    width: 37px;
    height: 37px;
    border: 0;
    border-radius: 50%;
    background: var(--surface-color);
    cursor: pointer;
    box-shadow: 2px 10px 10px var(--default-color), inset 0 -5px 5px #ccc;
}

#calc-box .calc-box-value-wrap {
    font-weight: 800;
    font-size: 38px;
    line-height: 1.15;
    color: transparent;
    position: relative;
    background-color: #005842;
    text-shadow: 3px 5px 4px rgba(127, 127, 127, 0.5);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    text-align: center;
}

#calc-box .calc-box-value-wrap small {
    font-size: 40%;
    text-align: center;
}

#calc-box .calc-box-hint {
    text-align: center;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--accent-color);
}

#calc-box .calc-box-description {
    font-size: 21px;
    font-weight: 600;
    line-height: 1.32;
    text-align: center;
}

#calc-box label.green-title {
    text-align: center;
    font-size: 110%;
    font-weight: 700;
    line-height: 1.25;
    color: var(--accent-color);
}

#calc-box .slider-label-start {}

#calc-box .slider-label-end {
    text-align: end;
    font-size: 1rem;
    color: var(--bs-body-color);
}

#calc-box .hint {
    font-size: 75%;
    margin-bottom: .75rem;
    line-height: 1.32;
    min-height: 2rem;
    vertical-align: bottom;
}

#calc-box input[type="number"]::-webkit-outer-spin-button,
#calc-box input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#calc-box input[type="text"], #calc-box input[type="number"] {
    border: 1px solid #fff;
    background-color: transparent;
    border-radius: 15px;
    padding: .15rem .75rem;
    margin-left: calc(var(--bs-gutter-x)* .5);
    max-width: 200px;
    /* -moz-appearance: textfield; */
}

#calc-box input[type="text"].darker, #calc-box input[type="number"].darker {
    background-color: #becbca;
}

#calc-box .form-control {
    border: unset;
    border-color: unset;
    box-shadow: unset;
}

#calc-box .calc-box-btn-wrapper {
    text-align: center;
}

#calc-box .calc-box-btn {
    display: block;
    border: 3px solid var(--surface-color);
    color: var(--contrast-color);
    background: var(--accent-color);
    box-shadow: inset 0 0 15px var(--default-color), 0 7px 10px var(--default-color);
    font-size: 27px;
    padding: 12px 40px;
    border-radius: 40px;
    transition: 0.3s;
    cursor: pointer;
}

#calc-box .calc-box-footer {
    color: #777;
    font-size: 0.7rem;
    line-height: 0.8rem;
    text-align: center;
}

#calc-box .calc-box-note {
    color: var(--accent-color);
    font-weight: 700;
    margin: 0 auto;
}

#calc-box .calc-box-exclamation {
    font-size: 480%;
    line-height: .75;
    margin-right: .75rem;
    color: transparent;
    position: relative;
    background-color: #005842;
    text-shadow: 3px 5px 4px rgba(127, 127, 127, 0.5);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    text-align: center;
}

#calc-box .calc-box-note-text {
    line-height: 125%;
    text-align: center;
    font-size: 20px;
}

@media (max-width: 1399px) {
    #calc-box .calc-box-value-wrap {
        font-size: 40px;
    }
}

@media (max-width: 1199px) {

    #calc-box .calc-box-last>*,
    #calc-box .calc-box-last .my-field {
        margin-bottom: .5rem;
    }
}

@media (max-width: 991px) {
    #calc-box .calculator__checkbox-wrap {
        flex-direction: column;
    }

    #calc-box .calculator__checkbox-wrap label {
        display: flex;
        flex-direction: row-reverse;
        justify-content: flex-end;
    }

    #calc-box .calculator__checkbox-wrap label span {
        margin-right: 0;
    }

    #calc-box .calculator__checkbox-wrap label input {
        margin-right: .5rem;
    }

    #calc-box .calculator__checkbox-wrap .calculator__checkbox {
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    #calc-box {
        padding: 30px;
    }

    .calculator__checkbox-wrap {
        margin-left: 0;
        grid-template-columns: none;
        grid-template-rows: auto;
    }
    .el-second-col { 
        grid-column: unset;
    }
    #calc-box .calc-box-last {
        padding: 15px 24px;
    }

    #calc-box .calc-box-btn {
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media (max-width: 539px) {
    .calc-box-first .hint { 
        min-height: 80px!important;
        margin-bottom: 0!important;
    }
    #calc-box .calc-box-value-wrap {
        font-size: 7.1vw;
    }
}

@media (max-width: 479px) {
    #calc-box {
        padding: 20px;
    }

    #calc-box .calc-box-btn {
        font-size: 24px;
    }
}

@media (max-width: 399px) {
    #calc-box {
        padding: 10px;
    }

    #calc-box .calculator__checkbox-container {
        flex-direction: column;
    }

    #calc-box .calculator__checkbox-wrap {
        margin-bottom: 1rem;
    }

    #calc-box .calc-box-btn {
        font-size: 16px;
    }

    #calc-box .calc-box-value-wrap {
        font-size: 6.6vw;
    }

    #calc-box .slider-field>.col-6 {
        width: 100%;
    }
}