.calc-to {
    color: #575555;
    font-size: 16px;
    font-family: 'Segoe UI light', Verdana, sans-serif;
    max-width: 1188px;
    width: 100%;
    margin: 0 auto;

}

.calc-to__title {
    font-size: 24px;
    margin: 25px 0;
    text-align: center;
    display: block;
}

.calc-to__subtitle {
    font-size: 18px;
}

.calc-to__form-wrapper {
    overflow: hidden;
}

.calc-to__form {
    /*width: 500px;*/
}

.calc-to__row {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    margin: 10px 0;
}

.calc-to__row_align-right {
    justify-content: flex-end;
}

.calc-to__label {
    /*max-width: 110px;
    width: 100%;*/
    min-width: 100px;
    margin-right: 10px;
    font-weight: bold;
}

.calc-to__input {
    width: 100%;
    height: 32px;
    padding: 0 5px;
    box-sizing: border-box;
}

.calc-to__submit {
    color: #fff;
    font-size: 16px;
    width: 100%;
    max-width: 200px;
    margin: 10px 0;
    border: none;
    padding: 5px;
    background: #b00808;
}

.calc-to__submit:disabled,
.calc-to__submit:disabled:hover {
    background: #6d6c6c;
}

.calc-to__captcha {
    position: relative;
    margin-left: 10px;
    width: 55%;
}

.reloadCaptcha {
    position: absolute;
    top: 50%;
    margin-top: -13px;
    right: -30px;
    width: 26px;
    height: 26px;
    background: url('/bitrix/components/supportix/revocable_company_old/templates/.default/images/refresh.png') no-repeat center;
    background-size: contain;
    cursor: pointer;
    z-index: 2;
}

.tip-message {
    color: #b00808;
    font-size: 14px;
}

.tip-message__link {
    color: inherit;
    text-decoration: none;
}

.tip-message__link:hover {
    text-decoration: underline;
}

.calc-to__half {
    width: 47%;
    float: left;
    margin-right: 3%;
}

.calc-to__half:last-child {
    margin-right: 0;
}

.calc-to__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    z-index: 5;
    display: none;
}

.calc-to__popup {
    position: relative;
    top: auto;
    left: auto;
    width: 500px;
    min-height: 200px;
    max-width: 100%;
    background: #fff;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 20px;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .calc-to__popup {
        -webkit-align-items: stretch;
        -ms-flex-align: stretch;
        align-items: stretch;
        text-align: center;
    }
}

.calc-to__popup-close {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    /*background: url('data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDMxLjExMiAzMS4xMTIiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDMxLjExMiAzMS4xMTI7IiB4bWw6c3BhY2U9InByZXNlcnZlIiB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4Ij4KPHBvbHlnb24gcG9pbnRzPSIzMS4xMTIsMS40MTQgMjkuNjk4LDAgMTUuNTU2LDE0LjE0MiAxLjQxNCwwIDAsMS40MTQgMTQuMTQyLDE1LjU1NiAwLDI5LjY5OCAxLjQxNCwzMS4xMTIgMTUuNTU2LDE2Ljk3ICAgMjkuNjk4LDMxLjExMiAzMS4xMTIsMjkuNjk4IDE2Ljk3LDE1LjU1NiAiIGZpbGw9IiMwMDAwMDAiLz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==')no-repeat;*/
    background: url('images/close.svg') no-repeat;
    background-size: cover;
}

/*.calc-to__popup-content{
  width: inherit;
}*/
#textCont {
    text-decoration: underline;
    cursor: pointer;
}

#textCont:hover {
    text-shadow: 0px 0px;
}

.tip-message__link {
    text-decoration: underline;
}

.calc-to__submit {
    position: relative;
    display: inline-block;
    font-weight: 700;
    color: rgb(209, 209, 217);
    text-decoration: none;
    text-shadow: 0 -1px 2px rgba(0, 0, 0, .2);
    padding: .5em 1em;
    outline: none;
    border-radius: 3px;
    background: linear-gradient(rgb(224, 43, 43), rgb(176, 8, 8)) rgb(245, 31, 31);
    box-shadow: 0 1px rgba(255, 255, 255, .2) inset, 0 3px 5px rgba(0, 1, 6, .5), 0 0 1px 1px rgba(0, 1, 6, .2);
    transition: .2s ease-in-out;
    text-transform: uppercase;
    cursor: pointer;
}

.calc-to__submit:hover {
    background: linear-gradient(rgb(251, 68, 68), rgb(156, 8, 8)) rgb(245, 31, 31);
}

#circularG {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: auto;
    background: rgba(255, 255, 255, 0.5);
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -ms-align-items: center;
    align-items: center;
    justify-content: center;
    display: none;
    z-index: 4;
}

.circularG {


    position: absolute;
    background-color: rgba(230, 16, 9, 0.6);
    width: 11px;
    height: 11px;
    border-radius: 7px;
    -o-border-radius: 7px;
    -ms-border-radius: 7px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    animation-name: bounce_circularG;
    -o-animation-name: bounce_circularG;
    -ms-animation-name: bounce_circularG;
    -webkit-animation-name: bounce_circularG;
    -moz-animation-name: bounce_circularG;
    animation-duration: 1.1s;
    -o-animation-duration: 1.1s;
    -ms-animation-duration: 1.1s;
    -webkit-animation-duration: 1.1s;
    -moz-animation-duration: 1.1s;
    animation-iteration-count: infinite;
    -o-animation-iteration-count: infinite;
    -ms-animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    animation-direction: normal;
    -o-animation-direction: normal;
    -ms-animation-direction: normal;
    -webkit-animation-direction: normal;
    -moz-animation-direction: normal;
}

.circularG__wrapper {
    position: relative;
    width: 48px;
    height: 48px;
}

#circularG_1 {
    left: 0;
    top: 19px;
    animation-delay: 0.41s;
    -o-animation-delay: 0.41s;
    -ms-animation-delay: 0.41s;
    -webkit-animation-delay: 0.41s;
    -moz-animation-delay: 0.41s;
}

#circularG_2 {
    left: 5px;
    top: 5px;
    animation-delay: 0.55s;
    -o-animation-delay: 0.55s;
    -ms-animation-delay: 0.55s;
    -webkit-animation-delay: 0.55s;
    -moz-animation-delay: 0.55s;
}

#circularG_3 {
    top: 0;
    left: 19px;
    animation-delay: 0.69s;
    -o-animation-delay: 0.69s;
    -ms-animation-delay: 0.69s;
    -webkit-animation-delay: 0.69s;
    -moz-animation-delay: 0.69s;
}

#circularG_4 {
    right: 5px;
    top: 5px;
    animation-delay: 0.83s;
    -o-animation-delay: 0.83s;
    -ms-animation-delay: 0.83s;
    -webkit-animation-delay: 0.83s;
    -moz-animation-delay: 0.83s;
}

#circularG_5 {
    right: 0;
    top: 19px;
    animation-delay: 0.97s;
    -o-animation-delay: 0.97s;
    -ms-animation-delay: 0.97s;
    -webkit-animation-delay: 0.97s;
    -moz-animation-delay: 0.97s;
}

#circularG_6 {
    right: 5px;
    bottom: 5px;
    animation-delay: 1.1s;
    -o-animation-delay: 1.1s;
    -ms-animation-delay: 1.1s;
    -webkit-animation-delay: 1.1s;
    -moz-animation-delay: 1.1s;
}

#circularG_7 {
    left: 19px;
    bottom: 0;
    animation-delay: 1.24s;
    -o-animation-delay: 1.24s;
    -ms-animation-delay: 1.24s;
    -webkit-animation-delay: 1.24s;
    -moz-animation-delay: 1.24s;
}

#circularG_8 {
    left: 5px;
    bottom: 5px;
    animation-delay: 1.38s;
    -o-animation-delay: 1.38s;
    -ms-animation-delay: 1.38s;
    -webkit-animation-delay: 1.38s;
    -moz-animation-delay: 1.38s;
}


@keyframes bounce_circularG {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(.3);
    }
}

@-o-keyframes bounce_circularG {
    0% {
        -o-transform: scale(1);
    }

    100% {
        -o-transform: scale(.3);
    }
}

@-ms-keyframes bounce_circularG {
    0% {
        -ms-transform: scale(1);
    }

    100% {
        -ms-transform: scale(.3);
    }
}

@-webkit-keyframes bounce_circularG {
    0% {
        -webkit-transform: scale(1);
    }

    100% {
        -webkit-transform: scale(.3);
    }
}

@-moz-keyframes bounce_circularG {
    0% {
        -moz-transform: scale(1);
    }

    100% {
        -moz-transform: scale(.3);
    }
}

@media (max-width: 800px) {
    .calc-to__half {
        width: 90%;
    }
}
