.form-button.next,
.radio-button .label .checkmark:after,
.checkbox .label input:checked ~ .checkmark {
  background-color: #4299C5;
}

.radio-button .label input:checked ~ .checkmark,
.input:focus,
.input:hover,
.select:focus,
.select:hover,
.textarea:focus,
.textarea:hover {
  border-color: #4299C5;
}


.container {
  max-width: 1050px;
  width: calc(100% - 48px);
  margin: 0 auto;
}

.form {
  box-sizing: border-box;
  padding: 40px;
  border: 1px solid #dedede;
  border-radius: 8px;
  margin: 20px 0;
}

@media only screen and (max-width: 576px) {
  .form {
    padding: 20px;
  }
}

.form-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-button {
  outline: none;
  border: none;
  padding: 10px 28px;
  border-radius: 8px;
  cursor: pointer;
  margin: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.form-button.back {
  background-color: #E0E0E0;
  color: #404040;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.form-button.back:hover {
  background-color: #fff;
  color: #a0a0a0;
}

.form-button.next {
  color: #fff;
  background-image: url(dsg/arrow-right.svg);
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 14px auto;
  padding-right: 36px;
  transition: background-position 0.2s ease;
}

.form-button.next:hover {
  background-position: right 6px center;
}

.form-text {
  text-align: center;
}

.form-text h1 {
  all: unset;
  color: #333333;
  font-weight: 800;
  font-size: 28px;
  margin-bottom: 20px;
}
h2 {
  color: #333333;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 10px;
  text-align: left;
}
h3 {
  color: #333333;
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 10px;
  text-align: left;
  text-decoration: underline;
}

.form-text p {
  color: #2e2e2e;
  font-size: 15px;
}

@media only screen and (max-width: 576px) {
  .form-text p {
    font-size: 14px;
  }
}

.radio-buttons {
  margin: 0 auto;
  margin-top: 20px;
  max-width: 600px;
  width: 100%;
  display: flex;
  align-items: flex-start;
}

@media only screen and (max-width: 576px) {
  .radio-buttons {
    margin-top: 20px;
    flex-wrap: wrap;
  }
}

.radio-button {
  position: relative;
  transition: box-shadow 0.3s ease;
  line-height: 1em;
  margin: 0;
  margin-bottom: 28px;
  text-align: center;
}

@media only screen and (max-width: 576px) {
  .radio-button {
    margin-bottom: 20px;
  }
}

.radio-button.big {
  width: 31%;
  margin-right: 5%;
  font-size: 20px;
  font-weight: 700;
}

@media only screen and (max-width: 576px) {
  .radio-button.big {
    margin-right: 2%;
    font-size: 16px;
  }
}

@media only screen and (max-width: 480px) {
  .radio-button.big {
    width: 60%;
    margin: 0 auto;
    margin-bottom: 20px;
  }
}

.radio-button.big:nth-of-type(3n) {
  margin-right: 0;
}
@media only screen and (max-width: 480px) {
  .radio-button.big:nth-of-type(3n) {
    margin: 0 auto;
    margin-bottom: 20px;
  }
}

.radio-button.small {
  width: 18%;
  margin-right: 4%;
  font-size: 14px;
  font-weight: 700;
}

@media only screen and (max-width: 576px) {
  .radio-button.small {
    margin-right: 2%;
    font-size: 10px;
  }
}
@media only screen and (max-width: 480px) {
  .radio-button.small {
    width: 32%;
    margin-right: 2%;
  }
}

@media only screen and (max-width: 480px) {
  .radio-button.small:nth-of-type(3n) {
    margin-right: 0;
  }
}

.radio-button.small:nth-of-type(5n) {
  margin-right: 0;
}
@media only screen and (max-width: 480px) {
  .radio-button.small:nth-of-type(5n) {
    margin-right: 2%;
  }
}

.radio-button .label {
  display: block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  position: relative;
  box-shadow: 0px 6px 16px 0px rgba(0,0,0,0.10);
  border-radius: 100%;
  transition: box-shadow 0.3s ease;
}

.radio-button:hover .label {
  box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.2);
}

.radio-button.big .label {
  width: 100%;
  padding-bottom: 100%;
}

.radio-button.small .label {
  width: 100%;
  padding-bottom: 100%;
}

.radio-button .label .icon {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  max-width: 45%;
  max-height: 45%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.radio-button .label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.radio-button .label .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  height: 100%;
  width: 100%;
  border-radius: 100%;
  transition: border 0.2s;
  box-sizing: border-box;
  border: 3px solid transparent;
}

.radio-button .label .checkmark:after {
  content: '';
  position: absolute;
  top: 10%;
  right: 10%;
  height: 14px;
  width: 14px;
  border-radius: 100%;
  background-image: url(dsg/check.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 8px auto;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.3s ease;
}

.radio-button .label input:checked ~ .checkmark:after {
  opacity: 1;
  transform: scale(2.4);
}

.radio-button.small .label .checkmark:after {
  height: 10px;
  width: 10px;
  background-size: 6px auto;
}

.radio-button-text {
  width: 100%;
  margin-top: 12px;
  font-size: 16px;
  font-weight: 600;
}
@media only screen and (max-width: 576px) {
  .radio-button-text {
    font-size: 13px;
  }
}

.radio-button-inner-text {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radio-button.small .radio-button-text {
  font-size: 14px;
}
@media only screen and (max-width: 576px) {
  .radio-button.small .radio-button-text {
    font-size: 10px;
  }
}

.checkboxes {
  margin: 0 auto;
  margin-top: 40px;
  max-width: 600px;
  width: 100%;
}
@media only screen and (max-width: 576px) {
  .checkboxes {
    margin-top: 20px;
  }
}

.checkbox {
  margin-bottom: 8px;
}
@media only screen and (max-width: 576px) {
  .checkbox {
    margin-bottom: 4px;
  }
}

.checkbox .label {
  display: inline-block;
  position: relative;
  padding-left: 30px;
  padding-top: 1px;
  cursor: pointer;
  font-size: 14px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
@media only screen and (max-width: 576px) {
  .checkbox .label {
    padding-left: 25px;
    padding-top: 2px;
    font-size: 12px;
  }
}

.checkbox .label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox .label .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  box-sizing: border-box;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 1px;
  transition: border 0.2s ease, background-color 0.4s ease, border-radius 0.3s ease;
  background-image: url(dsg/check.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px auto;
}

.checkbox .label input:checked ~ .checkmark {
  border: 1px solid transparent;
  border-radius: 100%;
}

.inputs {
  margin: 0 auto;
  margin-top: 20px;
  /*max-width: 900px;*/
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
@media only screen and (max-width: 576px) {
  .inputs {
    margin-top: 20px;
  }
}

.input-wrapper {
  width: calc(50% - 12px);
  margin-bottom: 16px;
}
@media only screen and (max-width: 576px) {
  .input-wrapper {
    width: 100%;
    margin-bottom: 8px;
  }
}

.input-wrapper .label,
.textarea-wrapper .label {
  display: block;
  font-size: 14px;
  background-color: #fafafa;
  padding: 10px;
  border-radius: 6px;
}
@media only screen and (max-width: 576px) {
  .input-wrapper .label,
  .textarea-wrapper .label {
    font-size: 12px;
  }
}

.input,
.textarea,
.select {
  height: 44px;
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  outline: none;
  border: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: border 0.2s ease;
  font-size: 14px;
}
@media only screen and (max-width: 576px) {
  .input,
  .textarea,
  .select {
    height: 40px;
    padding: 10px;
    font-size: 12px;
  }
}

.textarea {
  max-width: 100%;
  min-width: 100%;
  min-height: 150px;
  margin-bottom: 16px;
}

.select {
  margin-bottom: 20px;
}

.textarea-wrapper {
  width: 100%;
}

.is-disabled {
   pointer-events: none;  
   background-color: #f5f5f5;
}
div.is-disabled {
  display: none;
}

.qtip-content {
    font-size:14px;
    font-weight: normal;
}