/**
 *	Style for Form page
 *  Author: Diachuk R.M.
 * 
 */
@font-face {
  font-family: "Assistant";
  src: url("../fonts/Assistant.ttf") format("truetype");
  font-weight: normal;
}

html,
body {
  font-family: "Assistant" !important;
  padding: 0;
  margin: 0;
  line-height: 1.8;
}

button {
  font-family: "Assistant" !important;
}

body {
  display: flex;
  align-items: center;
}

header {
  padding: 20px 10px;
}

section {
  padding: 0 15px;
}

.form-title {
  margin-bottom: 10px;
  font-size: 32px;
  color: #083962;
}

.description {
  color: #083962;
}

.form-title-in {
  margin-bottom: 10px;
  font-size: 24px;
  color: #8c8c8c;
}

.form-sub-title-in {
  margin-bottom: 35px;
}

.agree {
  /*    text-align: center;
    margin-top: 35px;*/
}

.agree input {
  min-width: inherit;
}

.bsubmit {
  background-color: #4caf50 !important;
}

.progressBar {
  padding: 10px 30px 30px;
}

.logo {
  text-align: left;
}

.logo img {
  max-width: 250px;
}

.borderPage {
  border: 10px solid #083962;
  height: 100%;
  width: 100%;
}

.tac {
  text-align: center;
}

.mar {
  margin: auto;
}

.prBarSteps,
.prBarSteps span {
  display: flex;
  justify-content: center;
}

.prBarSteps span {
  width: 50px;
  height: 50px;
  align-items: center;
  border-radius: 100%;
  background-color: #ced4da;
  color: #fff;
  font-size: 30px;
  position: relative;
  z-index: 10;
}

.prBarSteps:before {
  position: absolute;
  height: 4px;
  top: 50%;
  margin-top: -3px;
  left: 0;
  width: 50%;
  content: "";
  background: #dee2e6;
  z-index: 5;
  transition: all 0.2s;
}

.prBarSteps:after {
  position: absolute;
  height: 4px;
  top: 50%;
  margin-top: -3px;
  right: 0;
  width: 50%;
  content: "";
  background: #dee2e6;
  z-index: 5;
  transition: all 0.2s;
}

.prBarSteps.active span {
  background: #3f6ad8;
}

.prBarSteps.success span,
.prBarSteps.success:before,
.prBarSteps.success:after {
  background: #24b572;
}

.prBarSteps.success span:after {
  content: "";
  background: url("../img/check-circle-regular.svg");
  position: absolute;
  z-index: 50;
  width: 24px;
  height: 24px;
  color: #fff;
  background-color: #24b572;
  margin-top: -1px;
  left: 13px;
  top: 15px;
}

.prBarSteps.active:before {
  background: #3f6ad8;
}

.prBarSteps.active:after {
  background: #3f6ad8;
}

.blockInpIcon {
  display: flex;
  margin-top: 5px;
}

.icon span {
  display: flex;
  width: 54px;
  height: 45px;
  justify-content: center;
  align-items: center;
  background: #f5f5f5;
  border: 1px solid #aaa;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border-left: 0;
}

.icon span {
  color: #ced4da;
}

input,
select {
 border: 1px solid #aaa;
  width: 100%;
  padding: 10px 15px;
  outline: none;
  min-height: 45px;
  font-size: 16px;
  margin-top: 0;
  min-width: 170px;
}
input#fileFF{
border:none;
}

#operator {
  width: auto;
  min-width: 60px;
  padding: 0 2px;
}

.blockInpIcon input,
.blockInpIcon select {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border: 1px solid #aaa;
}

.blockInpIcon input#mobile {
  border-radius: 0;
}

.control {
  margin-bottom: 10px;
}

.control label {
  font-size: 18px;
  color: #083962;
}

.noIcon input {
  margin-top: 5px;
}

.btnSteps {
  display: flex;
  justify-content: space-between;
  visibility: hidden;
  padding: 0 30px 30px;
  direction: ltr;
}

.btnSteps .show {
  visibility: visible;
}

.hrFormSub {
  padding: 0 30px 15px;
}

.hrFormSub hr {
  border: 0;
  border-bottom: 1px solid #ced4da;
}

.btnStep button {
  min-height: 44px;
  min-width: 120px;
  font-size: 18px;
  color: #fff;
  background-color: #3f6ad8;
  border: 0;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
}

.btnStep button.disabled,
.btnStep button.disabled:hover {
  background-color: #d6d5d5;
}

.btnStep button:hover {
  background-color: #083962;
}

/* =============== Radio button =============== */
input[type="radio"]:checked,
input[type="radio"]:not(:checked) {
  display: none;
}

input[type="radio"]:checked + label,
input[type="radio"]:not(:checked) + label {
  position: relative;
  padding: 14px 0 14px 22px;
  cursor: pointer;
  line-height: 20px;
  display: inline-block;
  color: #555;
  margin-left: 0px;
  margin-right: 30px;
}

input[type="radio"]:checked + label:before,
input[type="radio"]:not(:checked) + label:before {
  content: "";
  position: absolute;
  right: -24px;
  top: 14px;
  width: 18px;
  height: 18px;
  border: 1px solid #ababab;
  border-radius: 100%;
  background: #fff;
}

input[type="radio"]:checked + label:after,
input[type="radio"]:not(:checked) + label:after {
  content: "";
  width: 10px;
  height: 10px;
  background: #3f6ad8;
  position: absolute;
  top: 18px;
  right: -20px;
  border-radius: 100%;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

input[type="radio"]:not(:checked) + label:after {
  opacity: 0;
  -webkit-transform: scale(0);
  transform: scale(0);
}

input[type="radio"]:checked + label:after {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}

input[type="radio"] {
  width: 20px;
}

.singleSect {
  display: none;
}

.singleSect.select {
  display: block;
}

.othRadio {
  width: auto;
  min-width: 250px;
  display: none;
}

.othRadio.active {
  display: inline-block;
}

.error {
  color: #f00;
  font-size: 14px;
  padding: 3px;
}

.three input[type="checkbox"] {
  margin: 0;
  min-height: 20px;
  margin-right: 8px;
}

input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  cursor: pointer;
  font-size: 17px;
}

.blockCheck label {
  margin-right: 38px;
  margin-top: -50px;
  display: block;
}

.othCheckbox {
  width: auto;
  min-width: 250px;
  display: none;
}

.othCheckbox.active {
  display: inline-block;
}

.companyTerm {
  padding: 0 8px;
  line-height: 1.2;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: #083962;
}

#signature {
  color: #083962;
}

#clear {
  background: #ce0000;
  color: #fff;
  padding: 6px 12px;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  margin-right: 10px;
}

#signature canvas {
  margin-bottom: -10px;
  border: 1px solid #d6d5d5;
}

.erTerm {
  display: block;
}

.myOtheDflex {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.myDflex {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  align-items: center;
}

/* ==== Popup ==== */
.r-popup {
  display: none;
  position: fixed;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.75);
  width: 100%;
  height: 100vh;
  top: 0;
  z-index: 100;
}

.r-popup.active {
  display: block;
}

.r-popup .message {
  display: none;
}

.window-pop {
  background-color: #fff;
  width: 100%;
  height: 100%;
  max-width: 520px;
  max-height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  top: calc(50% - 160px);
  right: calc(50% - 260px);
}

.close-pop {
  width: 30px;
  position: absolute;
  right: -36px;
  top: -34px;
  cursor: pointer;
}

.dn {
  display: none;
}

#serial_number {
  width: auto;
  min-width: 250px;
  border: 1px solid #aaa;
  padding: 0 10px;
  min-height: 22px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

label[for="checkboxTerm"] {
  font-size: 20px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

.loader {
  overflow: hidden;
  width: 44px;
  height: 44px;
  position: absolute;
}

.loader img {
  width: 140px;
  position: absolute;
  top: -24px;
  left: -48px;
}

.select-list {
  max-width: fit-content;
}

@media screen and (max-width: 768px) {
  body {
    height: 100%;
  }

  .form-title,
  .form-sub-title {
    margin-right: 0px;
    font-size: 26px;
    line-height: 1.4;
  }

  #serial_number {
    width: auto;
    min-width: 200px;
  }

  #clear {
    margin-right: 0px;
    margin-top: 22px;
    display: inline-block;
  }

  .myOtheDflex {
    display: block;
  }

  .myDflex {
    margin-top: 7px;
  }

  .mobFlR input {
    margin-top: 0px !important;
  }

  .mobFlRBl {
    height: 90px;
    margin-bottom: -34px;
    width: 100%;
  }

  .mobFlRBl label {
    position: absolute;
    top: 105px;
    margin-right: 30px;
  }

  .agree {
    text-align: inherit;
  }

  .agree input {
    margin: 0px -12px 0 0 !important;
  }

  .three input[type="checkbox"] {
    position: absolute;
    margin-top: -10px;
    margin-left: -16px;
  }

  .blockCheck label {
    margin-right: 18px;
    margin-top: -46px;
  }

  .window-pop {
    right: inherit;
  }

  input[type="radio"]:checked + label,
  input[type="radio"]:not(:checked) + label {
    margin-right: 14px;
  }

  input[type="date"] {
    text-align: right;
  }

  ol {
    padding-right: 0;
  }

  ul {
    padding-right: 20px;
  }
}
.blockRadio2{
display: flex;
    flex-direction: column;
}
input[type="radio"]:checked + label.variant_1:before, input[type="radio"]:not(:checked) + label.variant_1:before{
right:-25px;}
input[type="radio"]:checked + label.variant_1:after, input[type="radio"]:not(:checked) + label.variant_1:after {
    right: -21px;}
input[type="radio"]:checked + label.variant_1, input[type="radio"]:not(:checked) + label.variant_1{
    margin-right: 55px;}