.CalcH1 {
    font-size: 40px;
    line-height: 120%;
    font-weight: 300;
    text-align: center;
    margin-bottom: 22px;
}

.CalcText {
    font-size: 14px;
    line-height: 140%;
}

.CalcText b {
    font-weight: 500;
    font-size: 16px;
}

.Calc {
    color: #4B4B4B;
    max-width: 800px;
    margin: auto;
}
.Step {
    padding: 50px 30px;
}
.CalcPopup,
.Step {
    display: none;
}
.Step.active {
    display: block;
}
.CalcPopup.active {
    display: flex;
    justify-content: center;
    align-items: center;
}
.CalcBorder {
    border: 1px solid #DAE6EB;
    border-radius: 12px;
    margin: 25px 0;
    padding: 5px 25px;
    font-size: 12px;
    line-height: 150%;
}

.CalcBorder p {
    margin: 15px 0;
}

.CalcLittleText {
    font-size: 14px;
    line-height: 140%;
}

.CalcLittleText b {
    font-weight: 600;
}

.CalcTypeList {
    display: flex;
    flex-flow: row wrap;
    margin: 15px 0;
    justify-content: space-between;
}

.CalcType {
    /*border: 1px solid #DAE6EB;*/
    border-radius: 12px;
    margin: 5px;
    padding: 27px 15px 15px;
    width: calc(100% - 5px);
    color: #35637D;
    font-size: 12px;
    line-height: 150%;
    max-width: 150px;
    text-align: center;
    display: flex
;
    flex-flow: row wrap;
    justify-content: center;
    align-items: normal;
    position: relative;

}

.CalcInfoLabel {
    position: absolute;
    right: 6px;
    top: 6px;
    width: 25px;
    height: 26px;
    background: url("img/inf.png") center no-repeat;
    cursor: pointer;
}

.green-btn {
    background: #35637D;
    border-radius: 7px;
    cursor: pointer;
    color: #fff;
    font-size: 16px;
    text-align: center;
    padding: 13px;

}
.green-btn:hover {
    background: #3e7392;
    color: #fff;
}
.trans-btn {
    background: #fff;
    border: 1px solid #35637D;
    border-radius: 7px;
    cursor: pointer;
    color: #35637D;
    font-size: 16px;
    text-align: center;
    padding: 13px;
}
.Calc {
    position: relative;
}
.CalcTable {

    margin: 30px 0;
}

.CalcPopup {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}
.CalcPopup > div {

    background: #fff;
    overflow: auto;
    padding: 50px 30px;
    max-width: 800px;
    margin: auto;
    width: 100%;
    max-height: 100vh;
}
.CalcPopup img {
    margin: 32px 0;
}

.CalcTableTh {
    display: flex;
    font-size: 11px;
    line-height: 140%;

}

.CalcTableTr {
    display: flex;
    flex-flow: row wrap;
    font-size: 12px;
    line-height: 140%;
    font-weight: 300;
    color: #35637D;
    border-bottom: 1px solid #DAE6EB;
    position: relative;
}
.CalcEmptyTr {
    color: #BEBEBE;
}
.CalcTableTh {
    border-bottom: 1px solid #DAE6EB;
}

.CalcTableTr > div {
    width: 24%;

    margin-right: 1%;

    margin-bottom: 15px;

}

.CalcTableTr > div label {
    width: 100%;
    display: block;
    margin-bottom: 5px;
    color: #4B4B4B;
    font-size: 14px;
    font-weight: 400;
}
.CalcTableTr > div input {
    width: 100%;
    display: block;
    margin: 0;
    border: 1px solid #35637D;
    border-radius: 5px;
    height: 35px;
    padding: 5px 10px;
    box-sizing: border-box;
}

.CalcTableTr > div.CalcTableTrName {
    width: 60%;
    margin-right: 0;
}

.CalcPopupAddLine {
    display: flex;
    padding: 10px 0;
}

.CalcPopupAddLine > p {
    margin: 0;
    width: 50%;
    color: #35637D;
    font-size: 12px;
}
.CalcPopupAddLine > select,
.CalcPopupAddLine > input {
    margin: 0;
    width: 50%;
    border-radius: 5px;
    background: #fff;
    outline: none;
    border: 1px solid #35637D;
    padding: 10px;
    box-sizing: border-box;
}
.CalcPopupAddLine > select::placeholder,
.CalcPopupAddLine > input::placeholder{
    color:#BEBEBE;
}

.CalcPopupAdd  {
    margin-top: 30px;
}
.CalcPopupAdd.dis  {
    pointer-events: none;
    filter: grayscale(1);
}

.CalcTableTh,
.CalcTableTr{
    padding: 15px 0 0;
    align-items: center;

}

.CalcTableTr > div.CalcTableTrCount
{
    width: 20%;
    margin-left: 5%;
    margin-right: 0;

}
.CalcTableTr > div.CalcTableTrColor input {
    width: 25px;
    height: 25px;
    border: 1px solid #35637D;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    background-position: center;
    background-size: cover;
    padding: 16px;

}
.CalcDecorPrice {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -25px;
    text-align: center;
    font-size: 14px;
    color: rgba(53, 99, 125, 1);
}
.CalcTableTrColor input.empty {

    background: #fff url("img/plus.svg") center center no-repeat;
    background-size: 110% auto !important;
}



.CalcPopupAddLine > [name="color"] {
    cursor: pointer;
    background: #fff url("img/plus.svg") 98% center no-repeat;
}


.CalcTableTr > div.CalcTableTrColor
 {
    width: 20%;
    margin-right: 5%;
}

.CalcTableTr > div.CalcTableTrA {
    width: 20%;
    margin-right: 5%;
}

.CalcTableTr > div.CalcTableTrB {
    width: 20%;
    margin-right: 15%;
    margin-left: auto;
}


.CalcTableTr > div.CalcTableTrDelete {
    width: 17px;
    height: 17px;
    cursor: pointer;
    background: url("img/close.png") center no-repeat;
    position: absolute;
    right: 0;
    top: 15px;
    right: 17px;
    top: 44px;
    margin-right: 0;
    margin-bottom: 0;
}




.CalcPopup .CalcH1 {
    margin-bottom: 32px;
}

.CalcDecorsList {
    display: flex;
    flex-flow: row wrap;
    margin: 22px -5px 32px;

}

.CalcDecor {
    width: calc(33.33% - 10px);
    margin: 5px;
    padding-top: calc(33.33% - 10px);
    border: 1px solid #35637D;
    border-radius: 12px;
    background-size: cover;
    position: relative;
    cursor: pointer;

    margin-bottom: 35px;
}
.CalcDecor:before {
    content: '';
    width: 31px;
    height: 62px;
    position: absolute;
    left: 0;
    top: 0;
    background: url("img/b.png");
}
.CalcDecorName {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 15px;
    text-align: center;
    color: #3E3E3E;
    font-size: 12px;
    line-height: 140%;

}
.dark .CalcDecorName {
    color: #fff;
}
.CalcDecorsList {
    max-width: 600px;
}
.CalcService {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 15px;
}
.CalcService input {
    display: none;
}
.CalcService > div {
    margin-left: auto;
}
.CalcService label {
    position: relative;
    padding-right: 30px;
    cursor: pointer;
    display: block;
    font-weight: bold;
}
.CalcService img {
    margin-right: 10px;
}
.CalcServices {
    margin: 32px 0;
    font-size: 14px;
    font-weight: 300;
}
.CalcService label > div {
    width: 24px;
    height: 24px;
    font-size: 24px;
    background-color: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 3px;
    margin-right: 10px;
    display: inline-block;
    position: absolute;
    top: -2px;
    right: 0;
}
.CalcService input:checked ~ label div {
    border-color: #35637D;
    /* box-shadow: 0 0 0 2px #2bb3c0; */
    background: #35637D url(https://plintus-bordur.ru/bitrix/components/opensource2/order/templates/example_refresh_delivery/images/check.svg) center no-repeat;
}
.CalcFinalTable {
    font-size: 12px;
    color: #35637D;
}

.CalcFinalTable .CalcTableTrNum {
    background: rgba(217, 217, 217, 0.37);
    width: 10%!important;
    margin: 0!important;
    padding: 3px 8px;
    line-height: 120%;
}

.CalcFinalTable  .CalcTableTrName {
    width: 40%!important;
    background: rgba(217, 217, 217, 0.37);
    padding: 3px 8px;
    line-height: 120%;
    margin: 0!important;
}

.CalcFinalTable  .CalcTableTrSize {
    width: 50%!important;
    background: rgba(217, 217, 217, 0.37);
    padding: 3px 8px;
    line-height: 120%;
    margin: 0!important;
}

.CalcFinalTable  .CalcTableTrColor {
    width: 50%!important;
    padding: 3px 8px;
    line-height: 120%;
    border: none !important;
    display: flex
;
    align-items: center;
    margin: 0 !important;
}
.CalcFinalTable  .CalcTableTrColor > div {
    width: 17px;
    height: 17px;
    border:1px  solid #35637D;
    border-radius: 50%;
    margin-left: auto;
}
.CalcFinalTable  .CalcTableTrCount {
    width: 15%!important;
    margin: 0!important;
    padding: 3px 8px;
    line-height: 120%;
    background: none!important;
}

.CalcFinalTable  .CalcTableTrPrice {
    width: 35% !important;
    padding: 3px 8px;
    line-height: 120%;
    background: none !important;
    margin: 0 !important;
}

.CalcFinalTable  .CalcTableTr {
    flex-flow: row wrap;
}
.CalcFinalServices  .CalcTableTr {
    flex-flow: row wrap;
}

.CalcFinalServices .CalcTableTr > * {
    width: 50%!important;
    margin: 0!important;

}
.CalcFinalServices .CalcTableTr,
.CalcFinalTableItog {
    display: flex;
    color: #4B4B4B;
    font-weight: 600;
    font-size: 14px;
    padding: 10px;
}

.CalcFinalTableItog > * {
    width: 50%;

}
.CalcFinalServices .CalcTableTr > *:last-child,
.CalcFinalTableItog > *:last-child {
    color: #35637D;
    text-align: right;
}
.CalcFinalServices .CalcTableTr > *:last-child {
    width: 50%!important;
    margin: 0!important;
    background: none!important;
}
.CalcSvaz {
    margin: 32px 0;
    border: 1px solid #DAE6EB;
    border-radius: 17px;
    padding: 20px 30px;

}

.CalcSvaz a {
    font-size: 16px;
    font-weight: 300;
    text-decoration: underline;
    color: #35637D;
    display: flex;
    margin-bottom: 5px;
    width: 100%;
}

.CalcSvaz a svg {
    margin-right: 5px;
}
.CalcFinalServices {
    margin-top: 32px;
}
.CalcFinalServicesHeader {
    color: #35637D;
    font-size: 15px;
    font-weight: 300;
    padding: 10px;
    border-radius: 7px;
    background: #DFEAEE;
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
}
@media (max-width: 990px) {

}
@media (max-width: 660px) {
    .CalcTableTr > div.CalcTableTrCount {
        width: 30%;
        margin-left: 3%;
    }
    .CalcTableTr > div.CalcTableTrColor {
        width: 20%;
        margin-right: 3%;
    }
    .CalcTableTr > div.CalcTableTrB {
        width: 30%;
        margin-right: 14%;
    }
    .CalcTableTr > div.CalcTableTrA {
        width: 30%;
        margin-right: 3%;
    }

    .CalcTableTr > div.CalcTableTrName {
        width: 53%;
        margin-right: 0;
    }
}
@media (max-width: 450px) {
    .CalcPopup > div {
        width: calc(100% - 30px);
        margin: auto 15px;
        padding: 20px;
        max-height: 100%;
    }
    .Step {
        padding: 20px 0;
    }
    .CalcPopup {
        top: 77px;
        z-index: 101;
    }
    .CalcPopupAddLine > p {
        width: 40%;
    }
    .CalcPopupAddLine > select, .CalcPopupAddLine > input {
        width: 60%;
    }

    .CalcTableTr > div.CalcTableTrCount {
        width: 30%;
        margin-left: 3%;
    }
    .CalcTableTr > div.CalcTableTrColor {
        width: 20%;
        margin-right: 3%;
    }
    .CalcTableTr > div.CalcTableTrB {
        width: 30%;
        margin-right: 14%;
    }
    .CalcTableTr > div.CalcTableTrA {
        width: 30%;
        margin-right: 3%;
    }

    .CalcTableTr > div.CalcTableTrName {
        width: 53%;
        margin-right: 0;
    }
}

