.calc-page-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 30px auto;
}

.calc-wrap {
    position: relative;
    display: flex;
    border: 1px solid #E4E9F6;
    border-radius: 4px;
    max-width: 770px;
    min-height: 530px;
}

.calc-left {
    max-width: 265px;
    background: #F0F2F8;
    padding: 30px 19px;
    border-radius: 4px 0px 0px 4px;
}
.calc-group {
    width: 203px;
    position: relative;
    margin-bottom: 24px;
}
.calc-label {
    margin: 0;
}
.calc-label-name {
    display: block;
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 12px;
    letter-spacing: 0;
    color: #2F2B29;
    padding-bottom: 10px;
}
.calc-label-input {
    height: 40px;
    padding: 0 24px;
    border: 1px solid #FFFFFF;
    background: #FFFFFF url(/img/dropdown-arrow.svg) no-repeat calc(100% - 24px) 50%;
    border-radius: 2px;
    box-sizing: border-box;

    font-style: normal;
    font-weight: 300;
    font-size: 14px;
    line-height: 14px;
    letter-spacing: 0.02em;
    color: #2F2B29;
}
.calc-label-input:hover {
    border: 1px solid #E4E9F6;
}
.calc-label-input.open {
    border: 1px solid #E4E9F6;
}
.calc-dropdown.metal {
    z-index: 20;
}
.calc-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    background: #ffffff;
    width: 100%;
    max-height: 160px;
    border: 1px solid #E4E9F6;
    border-radius: 2px;
    overflow-y: scroll;
    z-index: 10;
}
.calc-dropdown-row {
    display: flex;
    align-items: center;
    height: 40px;
    padding: 0 24px;
    border-radius: 2px;
    font-style: normal;
    font-weight: 300;
    font-size: 14px;
    line-height: 14px;
    letter-spacing: 0.02em;
    color: #2F2B29;
    cursor: pointer;
}
.calc-dropdown-row:hover {
    background: #E4E9F6;
}


.calc-checkbox-group {
    width: 100%;
}
.calc-checkbox-wrap {
    display: flex;
    flex-wrap: wrap;
}
.calc-checkbox {
    position: relative;
    width: 52px;
    height: 52px;
    margin: 2px;
    border: 1px solid #E4E9F6;
    box-sizing: border-box;
    border-radius: 2px;
    cursor: pointer;
}

.calc-checkbox:hover {
    background-color: #F0F2F8;
}
.prokat-type {
    position: absolute;
    width: 0;
    height: 0;
}
.border {
    display: block;
    width: 100%;
    height: 100%;
}
.prokat-type:checked + .border {
    border: 1px solid #FFEA00;
}
.prokat-type:focus + .border {
    border: 2px solid #FFEA00;
}



.ugolok {
    background: #ffffff url(/img/prokat/1.svg) no-repeat center center;
}
.listy {
    background: #ffffff url(/img/prokat/2.svg) no-repeat center center;
}
.truba {
    background: #ffffff url(/img/prokat/3.svg) no-repeat center center;
}
.krug {
    background: #ffffff url(/img/prokat/4.svg) no-repeat center center;
}
.prof-truba {
    background: #ffffff url(/img/prokat/5.svg) no-repeat center center;
}
.kvadrat {
    background: #ffffff url(/img/prokat/6.svg) no-repeat center center;
}
.shveller {
    background: #ffffff url(/img/prokat/7.svg) no-repeat center center;
}
.lenta {
    background: #ffffff url(/img/prokat/8.svg) no-repeat center center;
}
.balka {
    background: #ffffff url(/img/prokat/9.svg) no-repeat center center;
}
.shestigrannik {
    background: #ffffff url(/img/prokat/10.svg) no-repeat center center;
}

.form_calc {
    display: flex;
    flex-direction: column;
    align-content: stretch;
    min-height: 100%;
    height: 100%;
}
.calc-right-wrap {
    display: none;
    flex-direction: column;
    align-content: stretch;
    /*min-height: 100%;
    height: 100%;*/
}
.calc-right-wrap.show {
    display: flex;
}

.calc-category-title h2 {
    margin: 30px 0 0 25px;
    font-weight: bold;
    font-size: 20px;
    line-height: 14px;
}

.calc-content { 
    display: flex;
    justify-content: space-between;
    width: calc(770px - 265px);
    padding: 25px;
	text-align:left;
}
.calc-content .calc-label {
    margin-bottom: 20px;
}
.calc-ugolok-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 303px;
}
.calc-col {
    display: flex;
    flex-direction: column;
}
.calc-content-input {
    display: inline-block;
    width: 90px;
    height: 33px;
    background: #ffffff;
    border: 1px solid #dadada;
    border-radius: 2px;
    padding: 0 20px;
    box-sizing: border-box;

    font-style: normal;
    font-weight: 300;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0;
    color: #2F2B29;
}
.calc-content-input:hover {
    border: 1px solid #E4E9F6;
}
.calc-content-input:focus {
    border: 1px solid #A3B8EF;
}
.calc-unit {
    display: inline-block;
    margin-left: 3px;
    font-style: normal;
    font-weight: 300;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0;
    color: #2F2B29;
}


.calc-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    /*margin-top: auto;*/
}
.calc-btn {
    width: 197px;
    height: 56px;
    background: #FFEA00;
    box-shadow: 4px 4px 12px rgba(255, 225, 0, 0.16);
    border: none;
    font-style: normal;
    font-weight: 550;
    font-size: 14px;
    line-height: 14px;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #2F2B29;
    cursor: pointer;
}
.calc-btn:hover {
    background: #FFD900;
    box-shadow: 8px 8px 24px rgba(255, 225, 0, 0.2);
}
.calc-btn:active {
    box-shadow: none;
}
.calc-btn:disabled {
    background: #C9C9C9;
    box-shadow: none;
}
.calc-result {
    padding-right: 30px;
    font-style: normal;
    font-weight: 550;
    font-size: 24px;
    line-height: 33px;
    color: #2F2B29;
}
.calc-total {
    display: inline;
}



.calc-content .calc-group {
    margin-bottom: 0;
    max-width: 200px;
}
.calc-content .calc-label-input {
    background: #ffffff url(/img/dropdown-arrow.svg) no-repeat calc(100% - 24px) 50%;
    border-radius: 2px;
    width: 200px;
    height: 33px;
    border: 1px solid #dadada;
    padding: 0 20px;
}
.calc-content .calc-dropdown {
    top: calc(100% - 18px);
    background: #ffffff;
    border: 1px solid #dadada;
}
.calc-dropdown-row:hover {
    background: #F0F2F8;
}


/* .calc-balka .calc-label-input {
    width: 301px;
} */


.calc-banner {
    display: block;
    width: 290px;
    max-height: auto;
    background-color: #fff;
    padding: 8px;
    margin-left: 30px;
    border-radius: 4px;
    box-shadow: 0px 2px 24px rgba(47, 43, 41, 0.08);
}
@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }

    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%, 60% {
        transform: translate3d(4px, 0, 0);
    }

    15%, 95% {
        transform: translate3d(-1px, 0, 0);
    }
    25%, 85% {
        transform: translate3d(2px, 0, 0);
    }

    35%, 55%, 75% {
        transform: translate3d(-4px, 0, 0);
    }

    45%, 65% {
        transform: translate3d(4px, 0, 0);
    }
}
.calc-banner.animate {
    animation: shake 1s cubic-bezier(.36,.07,.19,.97) both;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}
.calc-banner-wrap {
    border: 1px solid #E4E9F6;
    padding: 15px 16px;
    width: 100%;
    height: 100%;
}
.calc-banner-title {
    font-style: normal;
    font-weight: bold;
    font-size: 20px;
    line-height: 25px;
    color: #2F2B29;
    margin: 0;
}
.calc-banner-title a {
    color: #FFEA00;
    text-decoration: none;
}
.calc-banner-title a:hover {
    color: #000;
}
.calc-banner-text {
    padding-top: 10px;
    font-size: 14px;
    line-height: 22px;
}
.calc-banner-text a {
    color: inherit;
    text-decoration: underline;
}
.calc-banner-text a:hover {
    color: rgb(109, 109, 109);
}
.calc-banner-bullets {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 490px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.calc-banner-bullet {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 22px;
    color: #2F2B29;
    padding-left: 30px;
    background: url(/img/prokat/mark.svg) no-repeat left 4px;
    padding-bottom: 10px;
}

.calc-banner-btn {
    margin-top: 10px;
    display: block;
    width: 200px;
    height: 40px;
    margin: 0 auto;
    background: #FFEA00;
    box-shadow: 4px 4px 12px rgba(255, 234, 0, 0.16);

    text-align: center;
    font-style: normal;
    font-weight: 450;
    font-size: 14px;
    line-height: 40px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #2F2B29;
	text-decoration:none;
}
.calc-banner-btn:hover {
    text-decoration: none;
    color: #2F2B29;
    background: #FFD900;
    box-shadow: 8px 8px 24px rgba(255, 225, 0, 0.2);
}
.calc-banner-btn:active {
    box-shadow: none;
}
.calc-banner-btn:disabled {
    background: #C9C9C9;
    box-shadow: none;
}

.calc-banner-ellipse {
    position: absolute;
    bottom: 0;
    right: 0;
}

.calc-banner-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: url(/img/prokat/close-icon.svg) no-repeat center;
    width: 30px;
    height: 30px;
    cursor: pointer;
}


@media(max-height: 900px) {

    .calc-title {
        max-width: 100%;
        font-size: 26px;
        font-weight: 450;
        line-height: 30px;
    }
    .calc-page-wrap {
        margin: 15px auto;
    }
    .calc-wrap {
        min-height: auto;
    }
    .calc-left {
        padding: 15px 19px;
    }
    .calc-category-title h2 {
        font-size: 20px;
        line-height: 20px;
        margin: 15px 0 0 20px;
    }
    .calc-content {
        padding: 12px 20px;
    }
    .calc-content .calc-label {
        margin-bottom: 12px;
    }
    .calc-label-name {
        padding-bottom: 5px;
    }
    .calc-content-input {
        height: 24px;
        padding: 0 10px;
    }
    .calc-result {
        font-size: 20px;
        line-height: 24px;
    }

    .calc-checkbox-wrap {
        max-width: 240px;
    }
    .calc-checkbox {
        position: relative;
        width: 40px;
        height: 40px;
        margin: 2px;
        border: 1px solid #E4E9F6;
        box-sizing: border-box;
        border-radius: 2px;
        cursor: pointer;
        background-size: 15px;
    }
    .calc-footer {
        padding: 5px 20px 20px 20px;
    }
    .calc-btn {
        width: 120px;
        height: 40px;
        font-weight: 550;
        font-size: 12px;
        line-height: 14px;
        letter-spacing: 1px;
    }
}

@media(max-width: 991px) {

    
    .calc-wrap {
        max-width: 678px;
        min-height: 640px;
        margin: 40px auto;
    }
    
    .calc-left {
        min-width: 311px;
        max-width: 311px;
    }

    .calc-content {
        width: calc(678px - 311px);
        padding: 30px;
        flex-direction: column;
    }

    .calc-col {
        align-items: flex-start;
    }
    .calc-col-img {
        margin-top: 20px;
    }

    .calc-footer {
        padding: 30px;
        flex-direction: column;
        align-items: flex-start;
    }
    .calc-result {
        margin-top: 25px;
    }

}

@media(max-width: 767px) {
    .calc-title {
        font-size: 24px;
        line-height: 35px;
    }
    .calc-wrap {
        flex-direction: column;
    }
    .calc-left {
        min-width: 100%;
        max-width: 100%;
        padding: 30px 10px;
    }
    .calc-content {
        width: 100%;
        padding: 30px 10px;
        flex-direction: column;
    }
    .calc-ugolok-wrap {
        width: 100%;
        flex-direction: column;
    }
    .calc-footer {
        padding: 30px 10px;
        flex-direction: column;
        align-items: center;
    }
    .calc-result {
        padding-right: 0px;
        font-size: 24px;
        line-height: 33px;
    }

    .calc-group {
        width: 100%;
    }
    .calc-label {
        width: 100%;
    }
    .calc-content-input {
        width: 70%;
        min-width: 210px;
    }
    .calc-balka .calc-label-input {
        width: 100%;
    }
    .calc-label-input {
        width: 100%;
        min-width: 100%;
    }
}