.multi-step-form {
  background-color: #ffffff;
  border-radius: 0.3em;
  margin: 0 auto;
  padding: 1em;
  width: 500px;
  max-width: 100%;
}
.multi-step-form form {
  width: 500px;
  max-width: 100%;
  margin: 0 auto;
}

h2.moduleheadline {
  font-weight: bold;
  font-size: 2rem;
  line-height: 1.1em;
  margin: 0 auto 0.25rem;   
}
.subject-list {
  display: grid;
  place-content: center;
  width: 100%;
  margin: 0 auto 1rem;
}
.subject-list a {
  display: block;
  width: 100%;
  padding: 1rem;
  text-align: center;
  border: 1px solid #ccc;
  margin: 2px 0;
  text-decoration: none;
}
.formfields {
    margin: 2rem 0;
    width: 100%;
}
.formfield {
    margin: .5rem 0 1rem;
}


/* pretty checkbox & radio */
/* The container */
.pretty-input {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  user-select: none;
}
/* Hide the browser default checkbox */
.pretty-input input.checkbox-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.pretty-input label {
  font-size: 16px !important;
}

/* Create a custom checkbox */
.custom-check {
  position: absolute;
  top: -3px;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border: 1px solid #4C4C6D;
}
.radio-btn {
  border-radius: 50%;
}
.pretty-input:hover input ~ .custom-check {
  background-color: #ccc;
  border: 1px solid #ccc;
}
.pretty-input input:checked ~ .custom-check {
  background-color: #175cff;
  border: 1px solid #175cff;
}
.custom-check:after {
  content: "";
  position: absolute;
  display: none;
}
.pretty-input input:checked ~ .custom-check:after {
  display: block;
}
.pretty-input .custom-check:after {
  left: 8px;
  top: 3px;
  width: 8px;
  height: 13px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.pretty-input .radio-btn:after {
  top: 7px;
  left: 7px;
  width: 9px;
  height: 9px;
	border-radius: 50%;
	background: white;
}
}




/* Mark input boxes that gets an error on validation: */
input.error, select.error {
background-color: #ffdddd;
}
#prevBtn {
background-color: #bbbbbb;
}

#nextBtn {
    margin-left: auto;
}

.step {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbbbbb;
    border: none;  
    border-radius: 50%;
    display: inline-block;
    opacity: 0.5;
}
.step.active {
    opacity: 1;
}
/* Mark the steps that are finished and valid: */
.step.finish {
    background-color: #175cff;
}
.prevnext {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 500px;
    max-width: 100%;
    margin: 0 auto;
}

.prevnext.stepcontent {
  padding-top: 0;
}

.submitBtn {
  background-color: #175cff;
  border: 0px solid #175cff;
}
.submitBtn:hover {
  background-color: #52c4ff;
  border: 0px solid #52c4ff;
}
.stepalign {
    text-align:center;
}

.stepalign.stepcontent {
  margin-top: 0;
}


div.error {
    color: red;
    font-size: .9em;
}
.subheadline {
    color: #0a0832;
      line-height: 1.1em;
    padding-top: 10px;
}

.stepcontent{
  /* padding-top:1.5rem; */
}
.prevnext.stepcontent.hide {
    display: none;
}

.chatOrForm {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.chatOrForm label {
  padding: 0 1.5em 0 0;
  font-size: 1em;  
}

.chatOrForm button {
  color: #fff;
  border: 1px solid #175cff;
  background-color: #175cff;
  width: 260px;
  margin: 0.5rem auto;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
  font-weight: bold;
  padding: .8rem;
}

.chatOrForm button:hover, .chatOrForm button:focus {
  border: 1px solid #0a0832;
  background-color: #0a0832;
  color: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.24), 0 1px 2px rgba(0,0,0,0.36);
}


.background-gray, .background-gray .multi-step-form{
  background-color: rgba(240, 241, 243, 1) !important;
}

.multi-step-form .optin-statement {
  font-size: .84em;
  line-height: unset;
  text-align:left;
}

.multi-step-form .optin-statement a {
  color: inherit;
  text-decoration: underline;
}