

/* Start:/local/components/webtu/calculator.vodostok/templates/.default/style.css?16746288787416*/
.message_err {
    font-size: 16px;
    color: red;
}

.calculator {
    padding: 20px;
    background-color: #e8e8e8;
}

.calculator-section {
    padding-top: 30px;
    border-bottom: 1px solid #b8b8b8;
}

.calculator-section:first-child {
    padding-top: 0;
}

.calculator-section:last-child {
    border-bottom: none;
}

.calculator-section-block {
    float: left;
    margin-bottom: 20px;
    width: calc((100% - 30px) / 2);
}

.calculator-section-block:nth-child(2n + 1) {
    margin-right: 30px;
}

@media screen and (max-width: 900px) {
    .calculator-section-block{
        float: none;
        width: 100%;
    }

    .calculator-section-block:nth-child(2n + 1) {
        margin-right: 0;
    }
}

.calculator-section-block-title {
    margin-top: 0;
}

.calculator-checkbox-item {
    box-sizing: border-box;
    float: left;
    max-width: 204px;
    width: calc((100% - 20px) / 2);
    cursor: pointer;
}

.calculator-checkbox-item:nth-child(2n + 1) {
    margin-right: 20px;
}

.calculator-checkbox-item-img {
    position: relative;
    height: 120px;
    overflow: hidden;
    background-color: #fff;
}

.active .calculator-checkbox-item-img {
    box-shadow: inset 0 0 0 3px #21a73f;
}

.roof-type img {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 90%;
    max-height: 90%;
    transform: translate(-50%, -50%);
}

.calculator-checkbox-item-title {
    margin-top: 10px;
    font-weight: bold;
}

.calculator-checkbox-button {
    float: left;
    box-sizing: border-box;
    margin-right: 15px;
    margin-bottom: 15px;
    width: 115px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border: 2px solid #d0d0d0;
    cursor: pointer;
	background-color: white;
}

.calculator-checkbox-button.active {
    color: #fff;
    border: none;
    background-color: #21a73f;
}

.calculator-section-img {
    position: relative;
    float: left;
    margin-right: 30px;
    margin-bottom: 30px;
    width: 335px;
    height: 270px;
    background-color: #fff;
    border: 1px solid #d0d0d0;
}

@media screen and (max-width: 900px) {
    .calculator-section-img {
        float: none;
        width: 100%;
    }
}

.calculator-section-img img {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 90%;
    max-height: 90%;
    transform: translate(-50%, -50%);
}

.calculator-section_with_img .calculator-section-block {
    float: right;
    margin-right: 0;
    width: calc(100% - 370px);
}

@media screen and (max-width: 900px) {
    .calculator-section_with_img .calculator-section-block {
        float: none;
        width: 100%;
    }
}

.calculator-input-item {
    float: left;
    margin-bottom: 10px;
    width: calc((100% - 20px) / 2);
    font-size: 14px;
}

.calculator-input-item:nth-child(2n+1) {
    margin-right: 20px;
}

@media screen and (max-width: 1200px) {
    .calculator-input-item {
        float: none;
        width: 100%;
    }

    .calculator-input-item:nth-child(2n+1) {
        margin-right: 0;
    }
}

.calculator-input-item input[type="text"] {
    box-sizing: border-box;
    margin-right: 10px;
    width: 80px;
    height: 40px;
    line-height: 40px;
    background-color: #ffffff;
    border-color: #d0d0d0;
    border-radius: 0;
}

.calculator-input-item input[type="text"]:focus {
    background-color: #fff;
    border-color: #21a73f;
}

.calculator-input-item label {
    display: inline-block;
    width: calc(100% - 100px);
    vertical-align: middle;
}

.calculator-section_no_float .calculator-section-block {
    float: none;
    width: 100%;
}

.calculator-checkbox-image {
    position: relative;
    float: left;
    margin-right: 5px;
    margin-bottom: 5px;
    width: 75px;
    height: 40px;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
}

.calculator-checkbox-image.active::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    border: 2px solid #21a73f;
    border-radius: 50%
}

.calculator-checkbox-image.active::after {
    content: '';
    position: absolute;
    top: 46%;
    left: 50%;
    width: 10px;
    height: 5px;
    transform: translate(-50%, -50%) rotate(-45deg);
    border-left: 2px solid #21a73f;
    border-bottom: 2px solid #21a73f;
}

.calculator-submit.btn {
    display: block;
    margin: 30px auto;
    width: 250px;
    height: 45px;
}

.result-table {
    margin-top: 30px;
}

.result-table tr td {
    padding: 20px;
}

.result-table thead tr {
    font-size: 14px;
    text-transform: none;
}

table.result-table tbody tr:nth-child(2n),
table.result-table tbody tr:nth-child(2n + 1) {
    background-color: #fff;
}

.result-table tr .result-group-name {
    padding: 15px 0;
    font-weight: bold;
    background-color: #e8e8e8;
}

.result-item {
    position: relative;
    border: 2px solid #d0d0d0;
    opacity: 1;
    cursor: pointer;
}

.result-item.active {
    border: none;
    box-shadow: inset 0 0 0 2px #21a73f;
    opacity: 1;
    cursor: default;
}

.result-item td:first-child {
    position: relative;
    padding: 0;
    width: 93px;
}

.result-item.active td:first-child::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: #21a73f;
}

.result-item.active td:first-child::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 3px;
    width: 11px;
    height: 5px;
    transform: rotate(-45deg);
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

.result-item-image {
    float: left;
    display: table-cell;
    vertical-align: middle;
    width: 135px;
    height: 93px;
	padding-top: 2px;
}

.result-item-image img {
    max-width: 100%;
    max-height: 100%;
}

.result-item-name {
    font-size: 16px;
    font-weight: bold;
    pointer-events: none;
}

.active .result-item-name {
    pointer-events: auto;
}

.result-item-property {
    display: block;
    font-size: 14px;
    color: #9f9f9f;
}

.total-price {
    font-weight: bold;
}

@media screen and (max-width: 900px) {
    .result-table thead {
        display: none;
    }

    .result-item {
        display: block;
    }

    tr.result-item td {
        display: block;
        float: left;
        box-sizing: border-box;
        padding: 5px 20px 10px;
    }

    .result-item td:first-child {
        display: none;
    }

    .result-item td:nth-child(2) {
        padding: 10px 20px 5px;
        width: 100%;
    }

    .result-item.active td:nth-child(2)::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 16px;
        height: 16px;
        background-color: #21a73f;
    }

    .result-item.active td:nth-child(2)::after {
        content: '';
        position: absolute;
        top: 3px;
        left: 3px;
        width: 8px;
        height: 4px;
        transform: rotate(-45deg);
        border-left: 2px solid #fff;
        border-bottom: 2px solid #fff;
    }
}

.result-item.error {
    position: relative;
    border: none;
    box-shadow: 0 0 2px 0 red;
    z-index: 2;
    cursor: pointer;
}

.result-item.error td {
    padding: 10px;
    color: red;
}

.result-total {
    margin-top: 30px;
    margin-bottom: 20px;
    text-align: right;
}

.add-to-basket {
    text-align: right;
}
input[type="checkbox"] + label::before{
	background-color: white;
}
/* End */
/* /local/components/webtu/calculator.vodostok/templates/.default/style.css?16746288787416 */
