.button,
.form-btn input.button,
.form .file-button .file-fake.button {
  outline: none;
  border: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 40px;
  font-size: 24px;
  font-weight: 400;
  line-height: 87%;
  text-transform: uppercase;
  border-radius: 100px;
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  background-color: #000CB5;
  color: white;
  font-family: 'URLKHM Display' !important;
  border: 1px solid transparent;
}

@media (max-width: 799px) {

  .button,
  .form-btn input.button,
  .form .file-button .file-fake.button {
    font-size: 20px;
  }
}

.button-stroke {
  color: #000CB5;
  border-color: #000CB5;
  background-color: white;
}

.button-bright,
input[type="submit"].button-bright,
.form .file-button .file-fake.button.button-bright {
  background-color: #AFCCFF;
  color: #000CB5;
}

@media (hover: hover) {

  .button:hover,
  .button-stroke:hover,
  .button-bright:hover,
  input[type="submit"].button-bright:hover,
  .form .file-button:hover .file-fake.button.button-bright {
    background-color: #0011FF;
    color: white;
  }
}

.realwork-form .form {
  padding: 30px;
  border-radius: 30px;
  background-color: #000CB5;
  color: white;
  font: inherit;
}

.realwork-form .form-item-input {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.realwork-form .form .label {
  padding: 0;
}

.realwork-form .form input[type="text"],
.realwork-form .form input[type="email"] {
  width: 100%;
  border: none;
  border-radius: 10px;
  height: 48px;
  color: black;
  padding: 14px;
  font-size: 18px;
  line-height: 100%;
}

@media (max-width: 1439px){
  .realwork-form .form input[type="text"],
  .realwork-form .form input[type="email"] {
    font-size: 16px;
  }
}

@media (max-width: 799px) {
  .realwork-form .form input[type="text"],
  .realwork-form .form input[type="email"] {
    height: 80px;
    padding: 16px;
  }
}

.realwork-form .form .file-button {
  height: 72px;
  width: 100%;
}

.realwork-form input[type="file"]::-webkit-file-upload-button {
  cursor: pointer;
}

.realwork-form .form .files-wrap {
  width: 100%;
  max-width: 509px;
  position: relative;
}

.realwork-form label.error {
  font-size: smaller;
  margin-top: -10px;
}

.file-error-box {
  position: absolute;
  top: 100%;
  left: 0;
}

.file-error-format,
.file-error-size {
  display: none;
  font-size: smaller;
}

.radio input[type="radio"] {
  left: -5000px;
  position: absolute;
  top: -5000px;
  visibility: hidden;
}

.radio input[type="radio"]~label.label {
  cursor: pointer;
  display: inline-block;
  position: relative;
  padding-left: 50px;
  font-weight: 400;
}

.radio input[type="radio"]~label.label::before {
  content: "";
  display: inline-block;
  vertical-align: top;
  position: absolute;
  left: 0;
  border-radius: 50%;
}

.realwork-form .form .checkbox input[type="checkbox"]~label.label,
.radio input[type="radio"]~label.label {
  min-height: 30px;
}

.realwork-form .form .checkbox input[type="checkbox"]~label.label {
  padding-top: 0;
  padding-left: 60px;
  /* font-size: 20px; */
  line-height: 100%;
}

.realwork-form .form .checkbox input[type="checkbox"]~label.label::before,
.radio input[type="radio"]~label.label::before {
  content: '';
  height: 30px;
  width: 30px;
  background: none;
  border: 1px solid white;
  position: absolute;
  top: -1px;
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.realwork-form .form .checkbox input[type="checkbox"]~label.error {
  order: 1;
  width: 100%;
  padding-left: 60px;
}
.realwork-form .form .checkbox input[type="checkbox"]~label.error::before {
  display:none;
}

@media (max-width: 799px){
  .realwork-form .form .checkbox input[type="checkbox"]~label.label::before,
  .radio input[type="radio"]~label.label::before {
    top: -3px;
  }
}

.realwork-form .form .checkbox input[type="checkbox"]~label.label::before {
  border-radius: 2px;
  left: 10px;
}

.radio input[type="radio"]:checked~label.label::before {
  background: white url(../../images/realwork/radio.svg) center / contain no-repeat;
}

.realwork-form .form .checkbox input[type="checkbox"]~label.label:hover::before {
  background: none;
}

.realwork-form .form .checkbox input[type="checkbox"]:checked~label.label::before {
  background: white url(../../images/realwork/checkbox.svg) center / contain no-repeat;
}

.realwork-form .checkbox label.error,
.realwork-form .radio label.error {
  margin: 0;
}

.realwork-form .checkbox,
.realwork-form .radio {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-item-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;  
}

.form-year {
  display: none;  
}

.form-year label.error {
  width: 100%;
}

.files-description {
  flex: 1;  
}

.captcha {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 4px;
  background-color: #ffffff;
  border: 1px solid #CCDEEB;
  border-radius: 16px;
  -webkit-transition: border 0.4s;
  -o-transition: border 0.4s;
  transition: border 0.4s;
}

.captcha.error {
  border-color: #FF4500;
}

.captcha__image {
  position: relative;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 189px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid #CCDEEB;
  overflow: hidden;
}

.captcha__image img {
  position: absolute;
  top: -1px;
  left: -1px;
  width: calc(100% + 2px) !important;
  max-width: none;
  height: calc(100% + 2px);
}

.captcha__reload {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  cursor: pointer;
  -webkit-transition: -webkit-transform 0.4s;
  transition: -webkit-transform 0.4s;
  -o-transition: transform 0.4s;
  transition: transform 0.4s;
  transition: transform 0.4s, -webkit-transform 0.4s;
}

.captcha__reload svg {
  display: block;
}

.captcha__input input[type=text] {
  max-width: 284px;
  padding: 0 10px;
  border: none;
  border-left: 1px solid #CCDEEB;
  border-radius: 0;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
}

.captcha__input input[type=text].error {
  border-color: #CCDEEB;
}

@media (hover: hover) {
  .captcha:hover {
    border-color: #005999;
  }

  .captcha__reload:hover {
    -webkit-transform: rotate(-360deg);
    -ms-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }

  .captcha__reload:hover path {
    fill: #005999;
  }
}

@media (max-width: 680px) {
  .captcha {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 242px;
    max-width: none;
  }

  .captcha__reload {
    margin-left: 3px;
  }

  .captcha__input input[type=text] {
    padding: 10px;
    border-top: 1px solid #CCDEEB;
    border-left: none;
  }
}