/*form*/

.formblock .button {
    display: inline-block;
    background: #268FF0;
    border-radius: 6px;
    padding: 0 26px;
    border: 0;
    color: #fff;
    line-height: 52px;
    font-weight: 500;
    font-size: 18px;
    text-decoration: none;
    max-width: 100%;
    height: 52px;
    outline: none;
    cursor: pointer;
    text-align: center;
}

.formblock .button:hover {
    background: #71b3f0;
    text-decoration: none;
    color: #fff;
}
.green {
  color: #00A162;
  font-weight: 600;
}
.hidden {
  display: none;
}
.row {
  margin: 0 -15px;
}
.row:after {
  content: "";
  display: table;
  clear: both;
}
.col-sm-8 {
  width: 66.66666667%;
  padding: 0 15px;
  float: left;
}
.col-sm-4 {
  width: 33.33333333%;
  padding: 0 15px;
  float: left;
}


.over-overlay {
  position: fixed;
  top: 0;
  left: 0;
  overflow: auto;
  width: 100%;
  z-index: 200;
  min-height: 100vh;
  display: none;
}

.overlay {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(24, 38, 43, 0.9);
  z-index: 3;
  display: none;
}

.form-popup {
  /*display: none;*/
  max-width: 630px;
  margin: 0 auto;
  position: absolute;
  top: 10vh;
  left: 0;
  right: 0;
  z-index: 4;
}

.image-popup {
  display: none;
  margin: 0 auto;
  width: fit-content;
  position: absolute;
  top: 5vh;
  left: 0;
  right: 0;
  z-index: 4;
}

.image-popup img {
  max-width: 90vw;
  max-height: 90vh;
}

.close-icon {
  cursor: pointer;
  z-index: 4;
  position: absolute;
  top: 15px;
  right: 20px;
  height: 16px;
  width: 16px;
  color: #434d67;
}

.image-popup .close-icon {
  color: #fff;
  top: -6px;
  right: -30px; 
}

.close-icon::before {
  content: "×";
  font-size: 30px;
  line-height: 16px;
  font-family: "Times New Roman";
}

.callbackform__content {
  padding: 0 15px;
  margin: 0 auto;
  max-width: 100%;
  position: absolute;
  top: 12%;
  left: 0;
  right: 0;
}

.thanxmessage {
  display: none;
}

.callbackform__header {
  text-align: center;
}

.callbackform__header img {
  width: 50px;
  height: 50px;
  margin-left: 10px;
}

.callbackform__title {
  font-size: 48px;
  line-height: 50px;
  text-align: center;
  margin: 0 auto 32px;
  width: 650px;
  max-width: 100%;
}

.callbackform__title2 {
  font-size: 32px;
  line-height: 34px;
  text-align: center;
  margin: 0 0 16px;
}

.callbackform__message {
  border-radius: 16px;
  max-width: 630px;
  margin: 0 auto;
  padding: 48px 32px;
  text-align: center;
  background: #fff;
  box-shadow: 0px 25px 50px rgba(0, 64, 111, 0.1);
}

.callbackform__message p {
  font-size: 24px;
  line-height: 26px;
  color: #676767;
  max-width: 100%;
  margin: 0 auto 26px;
}

.callbackform__message p:last-child {
  margin: 0;
}

.callbackform__message .form-description {
  font-size: 20px;
  line-height: 24px;
  width: 450px;
  max-width: 100%;
}

.formblock {
  width: 354px;
  max-width: 100%;
  margin: 32px auto 0;
  text-align: left;
}

.formblock input[type="text"] {
  border: 1px solid rgba(27, 42, 48, 0.2);
  box-shadow: inset 0px 1px 1px rgba(27, 42, 48, 0.2);
  border-radius: 8px;
  height: 48px;
  font-size: 20px;
  line-height: 48px;
  padding: 0 16px;
  margin: 0 0 16px 0;
  width: 100%;
  outline: none;
}

.formblock input.error {
  border: 1px solid #ff0000;
}

.formblock input[type="text"]::-webkit-input-placeholder {
  color: #B3B3B3;
}

.formblock input[type="text"]::-moz-placeholder {
  color: #B3B3B3;
}

.formblock input[type="text"]:-moz-placeholder {
  color: #B3B3B3;
}

.formblock input[type="text"]:-ms-input-placeholder {
  color: #B3B3B3;
}

.formblock input[type="text"].input-other {
  margin: 0;
}
.js-roletocompany-container {
  margin: 0 0 8px 0;
}
.js-roletocompany-container.error {
  margin: -10px -10px -2px -10px;
  padding: 9px;
  border: 1px solid #ff0000;
  border-radius: 9px;
}

.formblock .btn {
  width: 100%;
  text-transform: none;
}

.form-block__agreecheck {
    position: relative;
    margin-top: 24px;
    text-align-last: left;
}

.form-block__agreecheck .agreecheck {
    position: absolute;
    left: 0;
    margin: 0;
    top: 2px !important;
}

.form-block__agreecheck label {
    padding: 0 0 0 22px;
    font-size: 14px;
    line-height: 17px;
    display: block;
}

.form-block__agreecheck a {
  text-decoration: underline;
  color: inherit;
}

.form-block__agreecheck a:hover {
  text-decoration: none;
}

.form-block__agreecheck.error {
    margin: 14px -10px -10px;
    padding: 9px;
    border: 1px solid #ff0000;
    border-radius: 9px;
}

.form-block__agreecheck.error .agreecheck {
    left: 8px;
    margin: 0;
    top: 11px !important;
}

.formblock input[type="checkbox"] {
  display: inline-block;
  position: absolute;
  left: 0;
  margin: 0;
  top: 5px;
}


.stap2 {
  display: none;
}

.checkbox-block {
  position: relative;
  padding: 0 0 0 22px;
  margin: -8px 0 16px 0;
}

.label-for-checkbox {
  display: inline-block;
  font-size: 18px;
  line-height: 22px;
}

.propustit {
  color: #9ca4b8;
  display: block;
  cursor: pointer;
  font-size: 18px;
  line-height: 48px;
  text-decoration: underline;
  text-align: left;
}

.propustit:hover {
  text-decoration: none;
}

.callbackform__link {
  color: #2589FF;
}

.callbackform__logo {
  position: absolute;
  top: 90%;
  width: 100%;
  text-align: center;
  z-index: -1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.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 {
    /*display: none;*/
    max-width: 494px;
    margin: 0 auto;
    position: absolute;
    top: 10vh;
    left: 0;
    right: 0;
    z-index: 6;
  }
  .callbackform__message {
    max-width: 494px;
    margin: 0 auto;
    padding: 48px 60px;
    text-align: center;
    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);
    border-radius: 12px;
  }

  .callbackform__title2 {
    font-size: 32px;
    line-height: 41px;
    letter-spacing: -0.01em;
    color: #474766;
    text-align: left;
    margin: 0 0 16px;
  }
  .callbackform__message .form-description {
    font-size: 18px;
    line-height: 28px;
    text-align: left;
    display: block;
    color: #474766;
    max-width: 100%;
    margin: 0 0 12px 0;
  }
  .formblock {
    max-width: 100%;
    width: 100%;
    margin: 24px 0 0 0;
    text-align: left;
  }
  
  .formblock input[type="text"] {
    border: 1px solid #CED1D9;
    box-shadow: none;
    border-radius: 8px;
    font-size: 18px;
    line-height: 28px;
    padding: 16px 20px;
    margin: 0 0 16px 0;
    width: 100%;
    outline: none;
}
  

.close-icon {
    cursor: pointer;
    z-index: 6;
    position: absolute;
    top: 24px;
    right: 24px;
    height: 16px;
    width: 16px;
    color: #474766;
}
      
.close-icon::before {
    content: "×";
    font-size: 40px;
    line-height: 16px;
    font-family: "Times New Roman";
    color: #474766;
    opacity: 0.5;
}


.form-block__agreecheck {
    position: relative;
    text-align-last: left;
    margin: 5px -10px -10px -10px;
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 9px;
    transition: border .3s;
}
.form-block__agreecheck.error {
    margin: 5px -10px -10px -10px;
    border: 1px solid rgba(243,80,80, 1);
    padding: 10px;
}

.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;
  background-color: #FFFFFF;
  transition: background-color .2s;
}
.agreecheck:checked+label::before {
  border-color: #0b76ef;
  background-color: #0b76ef;
  content: url('../img/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.error .agreecheck {
  left: 8px;
  margin: 0;
  top: 11px;
}
.formblock .btn{
    margin-top: 8px;
    font-size: 18px;
    line-height: 20px;
}
.formblock .btn.btn-disabled{
    background: #F5F9FF;
    color: #808899;
}
.formblock .btn.btn-disabled:hover{
    box-shadow: none;
}
.formblock__message {
    color: #474766;
    margin: -8px 0 8px 0;
    line-height: 0px;
    opacity: 0;
    transition: all .3s;
    font-size: 13px;
  }
.formblock__error-message{
    color: #F35050;
    margin: -8px 0 8px 0;
    line-height: 0px;
    opacity: 0;
    transition: all .3s;
    font-size: 13px;
  }

.formblock input.error {
    border: 1px solid #F35050;
    animation: .2s input-error linear;
}
@keyframes input-error {
    0%{
        transform: translate(0);
    }
    33%{
        transform: translate(5px);
    }
    66%{
        transform: translate(-5px);
    }
    100%{
        transform: translate(0);
    }
}

.callbackform__back-btn{
    position: absolute;
    top: 16px;
    left: 26px;
    transform: translate(0, 0);
    cursor: pointer;
    color: rgba(163, 163, 179);
    opacity: 0.3;
    transition: all .3s;
    font-size: 13px;
    line-height: 16px;
}
.callbackform__back-btn img{
    margin-right: 10px;
    position: relative;
    top: 2px;
    height: 16px;
}
.callbackform__back-btn:hover{
    opacity: 1;
    transform: translate(0, 5px);
}

.callbackform__title2{
    font-weight: 600;
    font-size: 28px;
    line-height: 34px;
    display: flex;
    align-items: center;
    letter-spacing: -0.01em;
    color: #474766;
    margin: 0 0 24px 0;
}

.formblock.callbackform__rol-and-site{
    font-size: 18px;
    line-height: 28px;
    color: #474766;
}

.formblock__role-checkbox{
    opacity: 0;
    position: absolute;
    z-index: -1;
}
.formblock__role-checkbox+label {
  display: block;
  user-select: none;
}
.formblock__role-checkbox+label::before {
  position:absolute;
  top: 0;
  left: 0;
  cursor: pointer;
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border: 1px solid #B9B9B9;
  border-radius: 50%;
  background-color: #FFFFFF;
  transition: background-color .2s;
}
.checkbox-block{
    padding: 0 0 0 35px;
    margin: 16px 0 0 0;
}
.checkbox-block label {
    font-size: 18px;
    line-height: 22px;
    display: flex;
    align-items: center;
    color: #B9B9B9;
    transition: all .2s;
  }
.formblock__role-checkbox:checked+label::before {
  border-color: #0b76ef;
  background-color: #0b76ef;
  background-image: url(../img/r-check.svg);
  background-repeat: no-repeat;
  background-position: center;
}
.formblock__role-checkbox:checked+label {
    color: #2589FF;
}
.js-roletocompany-container{
    margin: 0 0 -8px 0;
    padding: 0 0 8px 0;
    border: 1px solid #ffffff;
    transition: border .3s;
}
.js-roletocompany-container.error{
    margin: 0 0 -8px 0;
    padding: 0 0 8px 0;
    border: 1px solid #F35050;
}
.formblock input[type="text"]{
    color: #474766;
}
.formblock input[type="text"].input-other{
    margin: 16px 0 0 0;
    padding: 31px 15px;
    line-height: 24px;
}
.formblock__input-site-wrap{
    margin: 16px 0;
    padding: 3px;
    display: flex;
    border: 1px solid #CED1D9;
    box-shadow: none;
    border-radius: 8px;
    position: relative;
}
.formblock__input-site-wrap.error{
    border: 1px solid #F35050;
    animation: .2s input-error linear;
}

.formblock input[type="text"].input-site{
    border: none;
    padding: 16px 0 16px 12px;
    margin: 0;
    font-size: 18px;
    line-height: 24px;
    align-self: center;
    border-radius: 0;
}

.formblock__checkbox-nosite{
    opacity: 0;
    position: absolute;
    z-index: -1;
}
.formblock__checkbox-nosite+label {
  display: block;
  user-select: none;
}

.formblock__input-site-checkbox label {
    font-size: 18px;
    line-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B9B9B9;
    transition: all .2s;
    width: 121px;
    padding: 16px 0;
    background: #F5F9FF;
    box-sizing: border-box;
    border-radius: 6px;
    cursor: pointer;
  }

  .formblock__checkbox-nosite:checked+label {
    color: #FFFFFF;
    background: #F35050;
}

.pre-btn-qw{
    margin: 0 0 16px 0;
}
.pre-btn-qw__radio-wrap{
    margin: 16px 0 0 0;
    display: flex;
}
.pre-btn-qw__radio{
    margin: 0 16px 0 0;
    position: relative;
}

.pre-btn-qw__radio input{
    opacity: 0;
    position: absolute;
    z-index: -1;
}
.pre-btn-qw__radio input+label {
    display: block;
    user-select: none;
    padding: 0 0 0 35px;
    line-height: 22px;
    color: #B9B9B9;
}
.pre-btn-qw__radio input+label::before {
    position:absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    border: 1px solid #B9B9B9;
    border-radius: 50%;
    background-color: #FFFFFF;
    transition: background-color .2s;
}

.pre-btn-qw__radio input:checked+label::before {
    border-color: #0b76ef;
    background-color: #0b76ef;
    background-image: url(../img/r-check.svg);
    background-repeat: no-repeat;
    background-position: center;
  }
  .pre-btn-qw__radio input:checked+label {
      color: #2589FF;
  }

  @media screen and (max-width: 767px) {
    .callbackform__message {
        max-width: 494px;
        width: 100%;
        padding: 32px 48px;
      }
      .callbackform__title2{
        font-size: 24px;
        line-height: 28px;
        margin-bottom: 8px;
      }
      .callbackform__message .form-description{
        font-size: 16px;
        line-height: 24px; 
      }
      .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;
    }
    .formblock input[type="text"].input-site{
        font-size: 16px;
        line-height: 24px; 
    }
    .formblock.callbackform__rol-and-site{
        font-size: 16px;
        line-height: 24px;  
    }
    .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) {
    .callbackform__message {
        max-width: 494px;
        width: 100%;
        padding: 32px 24px;
      }
}


.callbackform__content .callbackform__message {
    border-radius: 16px;
    max-width: 630px;
    margin: 0 auto;
    padding: 48px 32px;
    text-align: center;
    background: #fff;
    box-shadow: 0px 25px 50px rgb(0 64 111 / 10%);
}

