.calc {
    padding: 50px 0;
}
.calc .container {
    border-radius: 10px;
    border: 1px solid #cccccc;
    padding: 0;
}
.calc__btns {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #CCCCCC;
    padding-bottom: 10px;
    padding-top: 15px;
}
.calc-btn {
    font-size: 22px;
    cursor: pointer;
    font-weight: 700;
}
.calc-btn:not(:last-child) {
    margin-right: 30px;
}
.calc-btn.active {
    color: #008ed8;
    position: relative;
}
.calc-btn.active:after {
    content: '';
    position: absolute;
    bottom: -12px;
    height: 4px;
    left: 0;
    width: 100%;
    background: #008ed8;
}
.calc__tab {
    display: none;
    flex-direction: column;
    padding: 20px;
}
.calc__tab.active {
    display: flex;
}
.calc__tab-cont {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 30px;
}
.calc__tab-title {
    font-size: 30px;
    text-align: center;
    font-weight: 700;
    margin-bottom: 20px;
	color: var(--primary-two);
}
.calc__tab-label {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}
.calc__tab-label span {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}
.calc label {
    position: relative;
    background: rgb(238, 248, 250);
    border-radius: 5px;
    display: flex;
    width: 100%;
}
.calc label input {
    background: none;
    padding: 10px 20px;
    width: 100%;
    border-radius: 5px;
    transition-duration: .4s;
    font-size: 18px;
    border: 1px solid rgb(238, 248, 250);
}
.calc label span {
    position: absolute;
    top: 50%;
    margin-bottom: 0;
    font-weight: 400;
    color: #000000;
    transform: translateY(-50%);
}
.calc label input:hover {
    border: 1px solid rgb(63, 216, 246)
}
.l-right span {
    right: 40px;
}
.l-left span {
    left: 15px;
}
.l-left input {
    padding-left: 30px!important;
}
.calc__tab-type-btns {
    display: flex;
    position: relative;
}
.calc__tab-type-btns-cont {
    display: flex;
    margin-right: auto;
    margin-left: 20px;
}
.calc__tab-type-btn {
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
}
.calc__tab-type-btn:not(:last-child) {
    margin-right: 20px;
}
.calc__tab-type-btn.active {
    background: rgb(238, 248, 250);
}
.calc__tab-type-tab {
    display: none;
}
.calc__tab-type-tab.active {
    display: flex;
}
.calc__tab-type-btns-i {
    position: absolute;
    right: 5px;
    top: 5px;
    z-index: 1;
}
.calc__tab-refresh {
    display: flex;
    margin-top: 10px;
}
.calc__tab-refresh svg {
    margin-left: auto;
    cursor: pointer;
}
.calc__tab-right {
    background: rgb(238, 248, 250);
    padding: 40px 60px;
    border-radius: 5px;
}
.calc__tab-right-sub {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}
.calc__tab-right-title {
    text-align: center;
    font-size: 46px;
    font-weight: 900;
    color: #000000;
    margin-bottom: 20px;
}
.calc__tab-right-title span {
    font-size: 46px;
    font-weight: 900;
    color: #000000;
}
.calc__tab-right-ul {
    display: flex;
    flex-direction: column;
}
.calc__tab-right-ul li {
    display: flex;
    justify-content: space-between;
}
.calc__tab-right-ul li:before {
    display: none!important;
}
.calc__tab-right-ul li span {
    font-size: 16px;
}
.calc__tab-right-ul li span:last-child {
    color: #000000;
}
.calc__tab-pie-title {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
}
.calc__tab-pie canvas {
    width: 100%!important;
    height: 100%!important;
    margin: 0 auto;
}
.calc__tab-type-btns-i {
    position: relative;
}
.calc__tab-type-btns-i p {
    position: absolute;
    top: -10px;
    border: 1px solid silver;
    opacity: 0;
    visibility: hidden;
    transition-duration: .1s;
    width: 400px;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    right: 0;
    transform: translateY(-100%);
}
.calc__tab-type-btns-i:hover p{
    opacity: 1;
    pointer-events: all;
    visibility: visible;
}
.calc__tab-two {
    display: flex;
}
.calc select {
    background: none;
    padding: 10px 20px;
    width: 150px;
    border-radius: 5px;
    transition-duration: .4s;
    background: rgb(238, 248, 250);
    margin-left: 10px;
    font-size: 18px;
    border: 1px solid rgb(238, 248, 250);
}
.calc-tab-2 .calc__tab-refresh {
    margin-top: -20px;
}
.calc__tab-label-3 {
    position: relative;
    /*z-index: 5;*/
}
.calc__tab-label-3 select {
    width: 100%;
    margin-left: 0;
}
.calc__tab-label-3 .calc__tab-type-btns-i {
    position: absolute;
}
.calc__tab-label-3 .calc__tab-type-btns-i p {
    transform: translateY(100%);
    bottom: -10px;
    top: auto;
}
.calc__tab-tab {
    display: none;
}
.calc__tab-tab.active {
    display: block;
}
.calc__tab {
    position: relative;
}
.calc-tab-3 .calc__tab-left {
    margin-top: 120px;
}
.calc__tab-label-3 {
    position: absolute;
    left: 20px;
    width: calc((100% - 40px - 30px)/2 );
    top: 115px;
}

.calc__tab-right-title span {
    word-break: break-all;
}
@media (max-width: 1399px) {
    .calc {
        padding: 20px;
    }
    .calc-btn {
        font-size: 18px;
    }
    .calc-btn.active:after {
        height: 2px;
        bottom: -11px;
    }
    .calc__btns {
        padding: 10px 0;
    }
    .calc__tab-title {
        font-size: 34px;
    }
    .calc__tab-label span {
        font-size: 14px;
    }
    .calc label input {
        font-size: 14px;
    }
    .calc__tab-label {
        margin-bottom: 20px;
    }
    .calc__tab-type-btn {
        font-size: 12px;
    }
    .calc label span {
        font-size: 14px;
    }
    .calc__tab-type-btns-i p {
        font-size: 10px;
        padding: 10px;
        width: 300px;
    }
    .calc__tab-right {
        padding: 20px 15px;
    }
    .calc__tab-right-sub {
        font-size: 14px;
    }
    .calc__tab-right-title {
        font-size: 30px;
        margin-bottom: 10px;
    }
    .calc__tab-right-title span {
        font-size: 30px;
    }
    .calc__tab-right-ul li {
        margin-bottom: 5px;
    }
    .calc__tab-right-ul li span {
        font-size: 14px;
    }
    .calc__tab-pie-title {
        font-size: 16px;
    }
    .calc__tab-pie-title {
        margin-bottom: 5px;
    }
    .calc select {
        font-size: 14px;
    }
    .calc__tab-label-3 .calc__tab-type-btns-i {
        top: 0;
    }
    .calc-tab-3 .calc__tab-left {
        margin-top: 105px;
    }
    .calc__tab-label-3
}
@media (max-width: 999px) {
    .calc__tab-cont {
        grid-gap: 15px;
        grid-template-columns: 2fr 3fr;
    }
    .calc__tab-label-3 {
        width: calc((100% - 40px - 15px)/5*2 );
    }
    .calc__tab-type-btns-i p {
        width: 250px;
    }
}
@media (max-width: 759px) {
    .calc .container {
        padding: 0;
        border: none;
    }
    .calc-btn {
        font-size: 14px;
        font-weight: 400;
    }
    .calc-btn.active:after {
        bottom: -5px;
    }
    .calc-btn:not(:last-child) {
        margin-right: 10px;
    }
    .calc {
        padding: 10px;
    }
    .calc__btns {
        border: none;
    }
    .calc__tab {
        padding: 20px 0;
    }
    .calc__tab-title {
        font-size: 20px;
    }
    .calc__tab-cont {
        grid-template-columns: 1fr;
    }
    .calc__tab-label-3 {
        width: 100%;
        left: 0;
        top: 60px;
    }
    .calc-tab-3 .calc__tab-left {
        margin-top: 70px;
    }
}