.button {
    display: inline-block;
    background: #268FF0;
    border-radius: 6px;
    padding: 16px 24px;
    border: 0;
    color: #fff;
    line-height: 20px;
    font-weight: 400;
    font-size: 18px;
    text-decoration: none;
    max-width: 100%;
    outline: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.over-overlay {
    position: fixed;
    top: 0;
    overflow: auto;
    width: 100%;
    z-index: 200002;
    min-height: 100vh;
    display: none;
}
.overlay {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.37);
    z-index: 5;
    display: none;
}
.form-popup {
    max-width: 494px;
    margin: 0 auto;
    position: absolute;
    top: 5vh;
    left: 0;
    right: 0;
    z-index: 6;
}
/*.form-popup_thnx{*/
    /*max-width: 520px;*/
/*}*/
/*.form-popup_thnx .callbackform__message{*/
    /*max-width: 520px;*/
/*}*/
.close-icon {
    cursor: pointer;
    z-index: 6;
    position: absolute;
    top: 18px;
    right: 20px;
    height: 16px;
    width: 16px;
    color: #474766;
}

.close-icon::before {
    content: "x";
    font-size: 40px;
    line-height: 16px;
    font-family: "Times New Roman";
    color: #474766;
    opacity: 0.5;
}

h2.callbackform__title2 {
    font-size: 36px;
    line-height: 40px;
    letter-spacing: -0.01em;
    margin: 0 auto 24px;
    max-width: 100%;
    font-weight: 600;
    color: #474766;
    text-align: left;
}
h2.callbackform__title2 img {
    height: 36px;
}
.callbackform__message {
    border-radius: 16px;
    max-width: 494px;
    margin: 0 auto;
    padding: 48px 60px 48px 60px;
    background: #FFFFFF;
    box-shadow: 0px 42px 69px rgba(114, 120, 128, 0.07), 0px 17.5466px 34.8623px rgba(114, 120, 128, 0.045257), 0px 9.38125px 18.6412px rgba(114, 120, 128, 0.0363438), 0px 5.25905px 10.1908px rgba(114, 120, 128, 0.0304133), 0px 2.79304px 5.20106px rgba(114, 120, 128, 0.0250526), 0px 1.16225px 2.04905px rgba(114, 120, 128, 0.0181425);
}
.callbackform__message p {
    font-size: 20px;
    line-height: 26px;
    max-width: 100%;
    margin: 0 auto 26px;
    color: #474766;
}
.callbackform__message p:last-child {
    margin: 0;
}
.callbackform__message .form-description {
    font-size: 18px;
    line-height: 28px;
    text-align: left;
    color: #808899;
}
.form-block__agreecheck {
    position: relative;
    margin-top: 16px;
    text-align-last: left;
}
.form-block__agreecheck .agreecheck {
    opacity: 0;
    position: absolute;
    z-index: -1;
}
.agreecheck+label {
    display: block;
    user-select: none;
}
.agreecheck+label::before {
    position:absolute;
    top: 10px;
    left: 10px;
    cursor: pointer;
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    border: 1px solid #2589FF;
    border-radius: 2px;
}
.agreecheck:checked+label::before {
    border-color: #0b76ef;
    background-color: #0b76ef;
    content: url('https://roistat.com/img/ru/main/connection/checkbox.svg');
    display: flex;
    align-items: center;
    justify-content: center;
}
.form-block__agreecheck label {
    padding: 0 0 0 28px;
    font-size: 13px;
    line-height: 16px;
    color: #808899;
    display: block;
}
.form-block__agreecheck {
    position: relative;
    text-align-last: left;
    margin: 5px -10px -10px -10px;
    padding: 10px;
    border: 1px solid rgb(255 ,255, 255, 0);
    border-radius: 9px;
    transition: border .3s;
}
.form-block__agreecheck.error {
    margin: 5px -10px -10px -10px;
    border: 1px solid rgb(243,80,80, 1);
    padding: 10px;
}

.form-block__agreecheck.error .agreecheck {
    left: 8px;
    margin: 0;
    top: 11px;
}
.formblock .button{
    margin-top: 8px;
}
.formblock .button.btn-disabled{
    background: #F5F9FF;
    color: #808899;
}
.formblock__error-message{
    color: #F35050;
    margin: -8px 0 8px 0;
    line-height: 0px;
    opacity: 0;
    transition: all .3s;
    font-size: 13px;
}
.callbackform__content {
    padding: 0 15px;
    margin: 0 auto;
    width: 800px;
    max-width: 100%;
    position: absolute;
    top: 12%;
    left: 0;
    right: 0;
}
.formblock {
    width: 100%;
    max-width: 100%;
    margin: 16px 0 0 0;
    text-align: left;
    color: #474766;
}
.formblock input[type="text"] {
    border: 1px solid #CED1D9;
    border-radius: 6px;
    height: 48px;
    font-size: 18px;
    line-height: 28px;
    padding: 16px 20px;
    margin: 0 0 16px 0;
    width: 100%;
    color:  #474766;
}
.formblock input[type="text"]:focus {
    border: 1px solid #489CFF;
}
.formblock a{
    text-decoration: underline;
    color: inherit;
    display: inline;
}
.formblock input.error {
    border: 1px solid #F35050 !important;
    animation: .3s input-error linear;
}
@keyframes input-error {
    0%{
        transform: translate(0);
    }
    33%{
        transform: translate(5px);
    }
    66%{
        transform: translate(-5px);
    }
    100%{
        transform: translate(0);
    }
}
.formblock input[type="text"]::-webkit-input-placeholder {
    color: #808899;
}

.formblock input[type="text"]::-moz-placeholder {
    color: #808899;
}

.formblock input[type="text"]:-moz-placeholder {
    color: #808899;
}

.formblock input[type="text"]:-ms-input-placeholder {
    color: #808899;
}

.formblock .button {
    width: 100%;
    text-transform: none;
}

.formblock .input-site {
    margin-top: 16px !important;
}
.formblock .input-other {
    margin-bottom: 0 !important;
}
.callback-form .input-name, .callback-form .input-mail {
    display: none;
}
span.label {
    display: block;
    margin-bottom: 16px;
    font-size: 20px;
    line-height: 24px;
}
.checkbox-block {
    position: relative;
    margin: -8px 0 16px 0;
}
.label-for-checkbox {
    display: inline-block;
    font-size: 18px;
    line-height: 22px;
}
.callbackform__message__grey-text{
    font-size: 18px;
    line-height: 28px;
    color: #808899;
    margin-top: 24px;
}

.callbackform__message__grey-text img {
    height: 18px;
}
.callbackform__message__grey-text a {
    color: #2589FF;
    display: inline;
}
.callbackform__message__grey-text a:hover {
    color: #64abff;
}

@media screen and (max-width: 767px) {
    .form-block__agreecheck .agreecheck {
        top: 0;
    }
    .form-block__agreecheck.error .agreecheck {
        top: 8px;
    }
    .callbackform__message {
        max-width: 494px;
        width: 100%;
        padding: 32px 48px;
    }
    h2.callbackform__title2 {
        font-size: 24px;
        line-height: 28px;
        margin-bottom: 16px;
    }
    h2.callbackform__title2 img {
        height: 24px;
    }
    .callbackform__message .form-description{
        font-size: 16px;
        line-height: 24px;
        margin: 0;
    }
    .callbackform__message__grey-text {
        font-size: 16px;
        line-height: 24px;
    }
    .callbackform__message__grey-text img {
        height: 16px;
    }
    .formblock{
        margin-top: 16px;
    }
    .formblock .btn{
        font-size: 16px;
        line-height: 24px;
    }
    .formblock input[type="text"]{
        font-size: 16px;
        line-height: 24px;
    }
    .formblock__input-site-checkbox label{
        font-size: 16px;
        line-height: 24px;
        width: 110px;
        padding: 16px 0;
    }
    .callbackform__back-btn{
        top: 8px;
    }
    .formblock.callbackform__rol-and-site{
        font-size: 16px;
        line-height: 24px;
    }
    .checkbox-block label{
        font-size: 16px;
        line-height: 20px;
    }
    .close-icon {
        cursor: pointer;
        z-index: 6;
        position: absolute;
        top: 14px;
        right: 24px;
        height: 16px;
        width: 16px;
        color: #474766;
    }
}
@media screen and (max-width: 576px) {
    .col-sm-3, .col-sm-4, .col-sm-6, .col-sm-8 {
        width: 100%;
    }
    .callbackform__message {
        max-width: 494px;
        width: 100%;
        padding: 32px 24px;
    }
}
.js-callback__message{
    display: none;
}



.info-switcher{
    width: 100%;
    position: relative;
    font-size: 18px;
    line-height: 18px;
    margin: 0 0 16px 0;
    color: #474766;
    z-index: 2;
}
.info-switcher__head{
    background: #FFFFFF;
    border: 1px solid #CED1D9;
    box-sizing: border-box;
    border-radius: 6px;
    padding: 14px 32px 14px 20px;
    cursor: pointer;
    position: relative;
}
.info-switcher__head_bold{
    font-weight: 600;
}
.info-switcher__head::after{
    content: '';
    width: 8px;
    height: 5px;
    background: url(https://roistat.com/img/index_new/icons/f107_m.svg) no-repeat;
    background-size: contain;
    right: 15px;
    top: 50%;
    position: absolute;
}
.info-switcher_opened .info-switcher__head{
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid transparent;
}
.info-switcher_opened .info-switcher__head::after{
    transform: rotate(180deg);
}
.info-switcher__nav{
    position: absolute;
    background: #FFFFFF;
    border: 1px solid #CED1D9;
    border-radius: 0 0 8px 8px;
    display: none;
    top: 100%;
    width: 100%;
    overflow: hidden;
}
.info-switcher_opened .info-switcher__nav{
    display: block;
}
.info-switcher__nav-elem{
    padding: 16px 20px;
    cursor: pointer;
}
.info-switcher__nav-elem:hover{
    background-color: #EBF4FF !important;
}
.info-switcher_litle-calc .info-switcher__head{
    padding: 20px 32px 20px 16px;
}
.info-switcher_period{
    margin: 20px 0 0 0;
    z-index: 3;
}
@media screen and (max-width: 1280px){
    .info-switcher{
        margin: 0 0 24px 0;
    }
    .info-switcher_litle-calc .info-switcher__head{
        padding: 14px 32px 14px 16px;
    }
}
@media screen and (max-width: 767px){
    .info-switcher {
        font-size: 16px;
    }
    .info-switcher_period{
        margin: 20px 0 0 0;
    }
}