input[type='checkbox'],
input[type='radio'] {
  display: none;
}

.bold-label {
  font-weight: bold;
  font-size: 20px;
  margin-top: 0.5em;
}

.is-disabled {
  opacity: 0.3;
  pointer-events: none;
}

.radio-btn {
  margin: 0 20px;
  position: relative;
}

.radio-btn input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.radio-btn input[type="radio"] + label {
  font-size: 15px;
  padding-top: 3px;
  padding-bottom: 3px;
  color: #031020;
  cursor: pointer;
}

.radio-btn input[type="radio"] + label:before {
  content: '';
  background: #cccccc;
  border-radius: 100%;
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-bottom: -3px;
  position: relative;
  margin-right: 0.5em;
  cursor: pointer;
  text-align: center;
}

.radio-btn input[type="radio"]:checked + label:before {
  background-color: #031020;
  -webkit-box-shadow: inset 0 0 0 3px #cccccc;
          box-shadow: inset 0 0 0 3px #cccccc;
}

.radio-btn input[type="radio"] + label:empty:before {
  margin-right: 0;
}

.check-btn {
  position: relative;
  display: inline-block;
  padding-left: 30px;
  margin: 0 20px;
}

.check-btn input[type="checkbox"] {
  position: absolute;
  opacity: 0;
}

.check-btn input[type="checkbox"] + label {
  font-size: 16px;
  padding-top: 5px;
  padding-bottom: 5px;
  color: #031020;
  cursor: pointer;
}

.check-btn input[type="checkbox"] + label:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-color: #666;
  width: 16px;
  height: 16px;
  border-radius: 2px;
}

.check-btn input[type="checkbox"]:checked + label::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 2px;
  width: 12px;
  height: 9px;
  background: url(../IMAGES/icon_check.svg) no-repeat center;
  background-size: contain;
}

.check-btn input[type="checkbox"]:checked + label:before {
  background-color: #000;
}

.check-btn input[type="checkbox"] + label:empty:before {
  margin-right: 0;
}

.p-form__checks {
  margin-top: 50px;
  margin-bottom: 20px;
}

.p-form__checks--first {
  margin-bottom: 0px;
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid #cccccc;
}

.p-form__checks-text {
  text-align: center;
  font-size: 15px;
  line-height: 2;
  color: #031020;
}

.p-form__checks-text span {
  display: block;
  font-size: 13px;
}

.p-form__checks-text a {
  color: #031020;
  text-decoration: underline;
}

.p-form__checks-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 35px;
}

@media screen and (max-width: 768px) {
  .p-form__checks-text {
    text-align: left;
  }
}
